1 2014-05-16 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9 Don't do #include_next.
10 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12 Don't do #include_next.
13 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18 2014-05-16 Allan McRae <allan@archlinux.org>
20 * po/sv.po: Update Swedish translation from translation project.
22 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
28 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29 errno if the TIOCGPTN ioctl fails with an error different than
31 * login/tst-ptsname.c: New file.
32 * login/Makefile (tests): Add tst-ptsname.
35 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
42 herrno to return EAI_AGAIN.
44 2014-05-14 Roland McGrath <roland@hack.frob.com>
46 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
54 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
56 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
58 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
60 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
62 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
64 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
66 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
68 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
70 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
72 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
73 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
74 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
75 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
76 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
77 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
78 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
79 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
80 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
83 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
85 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
87 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
89 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
91 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
93 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
95 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
97 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
99 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
106 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
111 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
125 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
132 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
136 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
137 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
138 (libpthread-sysdep_routines): Add elision-related stuff here instead.
139 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
140 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
141 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
142 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
143 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
144 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
146 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
147 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
148 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
149 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
150 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
151 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
152 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
153 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
154 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
155 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
156 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
158 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
159 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
162 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
163 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
164 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
165 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
166 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
168 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
169 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
171 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
172 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
173 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
174 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
175 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
181 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
184 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
185 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
188 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
189 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
190 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
192 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
193 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
194 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
196 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
197 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
198 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
206 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
207 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
208 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
209 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
217 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
218 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
219 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
220 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
226 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
229 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
230 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
232 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
233 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
234 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
235 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
238 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
239 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
241 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
242 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
243 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
251 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
252 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
253 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
254 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
261 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
262 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
263 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
264 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
265 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
266 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
267 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
269 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
275 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
278 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
282 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
283 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
284 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
285 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
289 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
290 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
292 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
293 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
294 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
297 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
298 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
302 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
303 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
304 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
305 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
310 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
312 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
314 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
315 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
316 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
318 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
319 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
320 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
321 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
322 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
324 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
325 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
327 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
330 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
331 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
332 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
333 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
334 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
335 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
336 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
338 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
341 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
343 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
344 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
346 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
349 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
354 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
358 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
368 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
372 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
373 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
374 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
376 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
378 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
380 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
381 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
382 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
384 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
385 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
386 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
387 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
388 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
390 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
391 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
392 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
393 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
394 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
395 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
396 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
397 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
398 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
399 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
405 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
406 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
407 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
408 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
409 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
410 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
411 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
412 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
413 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
414 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
415 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
416 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
417 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
445 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
450 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
451 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
452 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
455 that was previously under [RESET_PID].
456 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
457 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
458 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
460 * sysdeps/i386/nptl/Implies: New file.
461 * sysdeps/x86_64/nptl/Implies: New file.
462 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
463 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
464 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
465 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
467 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
468 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
469 (__libc_vfork): New strong alias.
470 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
471 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
474 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
475 (__libc_vfork): New strong alias.
476 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
477 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
479 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
480 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
481 (__libc_vfork): New strong alias.
482 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
483 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
484 * nptl/pt-vfork.c: New file.
485 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
486 (libpthread: GLIBC_2.20): New version set (empty).
488 2014-05-14 Will Newton <will.newton@linaro.org>
490 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
493 2014-05-14 Joseph Myers <joseph@codesourcery.com>
496 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
497 arguments with exponent 65 or above.
498 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
499 arguments 0x1p113L or above.
500 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
501 to arguments 0x1p107L or above.
502 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
503 positive arguments with exponent 65 or above.
504 * math/auto-libm-test-in: Add more tests of log1p.
505 * math/auto-libm-test-out: Regenerated.
508 * math/s_cacos.c (__cacos): Ensure zero real part of result from
509 non-finite arguments is +0.
510 * math/s_cacosf.c (__cacosf): Likewise.
511 * math/s_cacosl.c (__cacosl): Likewise.
512 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
513 * sysdeps/i386/fpu/libm-test-ulps: Update.
514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
517 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
519 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
520 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
521 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
522 for explicit high bit of mantissa when testing for argument equal
524 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
525 * sysdeps/i386/fpu/libm-test-ulps: Update.
526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
530 (__erf): Scale by 16 instead of 8 in potentially underflowing
531 case. Ensure exception if result actually underflows.
532 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
533 (__erff): Scale by 16 instead of 8 in potentially underflowing
534 case. Ensure exception if result actually underflows.
535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
536 (efx8): Remove variable.
537 (__erfl): Scale by 16 instead of 8 in potentially underflowing
538 case. Ensure exception if result actually underflows.
539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
540 (efx8): Remove variable.
541 (__erfl): Scale by 16 instead of 8 in potentially underflowing
542 case. Ensure exception if result actually underflows.
543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
544 (efx8): Remove variable.
545 (__erfl): Scale by 16 instead of 8 in potentially underflowing
546 case. Ensure exception if result actually underflows.
547 * math/auto-libm-test-in: Add more tests of erf.
548 * math/auto-libm-test-out: Regenerated.
550 2014-05-14 Andreas Schwab <schwab@suse.de>
552 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
553 Remove code conditionalized on USE___THREAD.
555 * config.h.in (HAVE_PT_CHOWN): Define as 0.
556 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
559 2014-05-14 Joseph Myers <joseph@codesourcery.com>
561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
562 Define unconditionally.
563 (__ASSUME_O_CLOEXEC): Likewise.
564 (__ASSUME_SOCK_CLOEXEC): Likewise.
565 (__ASSUME_IN_NONBLOCK): Likewise.
566 (__ASSUME_PIPE2): Likewise.
567 (__ASSUME_EVENTFD2): Likewise.
568 (__ASSUME_SIGNALFD4): Likewise.
569 (__ASSUME_DUP3): Likewise.
570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
571 (__ASSUME_DUP3): Do not define.
572 (__ASSUME_EVENTFD2): Likewise.
573 (__ASSUME_IN_NONBLOCK): Likewise.
574 (__ASSUME_O_CLOEXEC): Likewise.
575 (__ASSUME_PIPE2): Likewise.
576 (__ASSUME_SIGNALFD4): Likewise.
577 (__ASSUME_SOCK_CLOEXEC): Likewise.
578 (__ASSUME_UTIMES): Undefine.
579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
580 (__ASSUME_UTIMES): Do not define.
581 (__ASSUME_O_CLOEXEC): Likewise.
582 (__ASSUME_SOCK_CLOEXEC): Likewise.
583 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
584 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
586 (__ASSUME_PIPE2): Likewise.
587 (__ASSUME_EVENTFD2): Likewise.
588 (__ASSUME_SIGNALFD4): Likewise.
589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
590 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
592 (__ASSUME_EVENTFD2): Likewise.
593 (__ASSUME_SIGNALFD4): Likewise.
594 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
595 (__ASSUME_32BITUIDS): Likewise.
596 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
597 (__ASSUME_IPC64): Likewise.
598 (__ASSUME_ST_INO_64_BIT): Likewise.
599 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
600 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
602 (__ASSUME_UTIMES): Do not define.
603 (__ASSUME_PSELECT): Likewise.
604 (__ASSUME_PPOLL): Likewise.
605 (__ASSUME_O_CLOEXEC): Likewise.
606 (__ASSUME_SOCK_CLOEXEC): Likewise.
607 (__ASSUME_IN_NONBLOCK): Likewise.
608 (__ASSUME_PIPE2): Likewise.
609 (__ASSUME_EVENTFD2): Likewise.
610 (__ASSUME_SIGNALFD4): Likewise.
611 (__ASSUME_DUP3): Likewise.
612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
613 (__ASSUME_UTIMES): Likewise.
614 (__ASSUME_O_CLOEXEC): Likewise.
615 (__ASSUME_SOCK_CLOEXEC): Likewise.
616 (__ASSUME_IN_NONBLOCK): Likewise.
617 (__ASSUME_PIPE2): Likewise.
618 (__ASSUME_EVENTFD2): Likewise.
619 (__ASSUME_SIGNALFD4): Likewise.
620 (__ASSUME_DUP3): Likewise.
621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
622 (__ASSUME_UTIMES): Likewise.
623 (__ASSUME_O_CLOEXEC): Likewise.
624 (__ASSUME_SOCK_CLOEXEC): Likewise.
625 (__ASSUME_IN_NONBLOCK): Likewise.
626 (__ASSUME_PIPE2): Likewise.
627 (__ASSUME_EVENTFD2): Likewise.
628 (__ASSUME_SIGNALFD4): Likewise.
629 (__ASSUME_DUP3): Likewise.
630 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
632 (__ASSUME_UTIMES): Likewise.
633 (__ASSUME_EVENTFD2): Likewise.
634 (__ASSUME_SIGNALFD4): Likewise.
635 * sysdeps/unix/sysv/linux/tile/kernel-features.h
636 (__ASSUME_O_CLOEXEC): Likewise.
637 (__ASSUME_SOCK_CLOEXEC): Likewise.
638 (__ASSUME_IN_NONBLOCK): Likewise.
639 (__ASSUME_PIPE2): Likewise.
640 (__ASSUME_EVENTFD2): Likewise.
641 (__ASSUME_SIGNALFD4): Likewise.
642 (__ASSUME_DUP3): Likewise.
643 (__ASSUME_UTIMES): Undefine.
645 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
646 feclearexcept. Remove symbol versioning code.
647 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
648 symbol versioning code.
649 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
650 symbol versioning code.
651 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
652 feupdateenv. Remove symbol versioning code.
653 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
654 fegetexceptflag. Remove symbol versioning code.
655 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
656 fesetexceptflag. Remove symbol versioning code.
657 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
658 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
659 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
660 (__posix_fadvise64_l32): Remove prototype.
661 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
664 2014-05-13 Roland McGrath <roland@hack.frob.com>
666 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
667 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
668 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
669 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
671 2014-05-13 Sami Kerola <kerolasa@iki.fi>
673 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
674 current working directory
676 2014-05-13 Roland McGrath <roland@hack.frob.com>
678 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
679 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
680 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
681 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
682 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
683 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
684 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
686 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
688 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
690 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
692 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
694 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
696 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
698 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
699 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
700 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
702 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
703 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
704 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
706 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
707 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
708 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
710 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
711 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
712 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
713 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
714 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
715 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
716 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
717 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
718 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
719 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
721 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
722 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
724 * sysdeps/unix/sysv/linux/arm/Makefile
725 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
726 Add rt-aeabi_unwind_cpp_pr1.
727 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
728 Add nptl-aeabi_unwind_cpp_pr1.
729 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
730 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
731 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
732 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
733 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
734 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
736 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
737 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
738 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
739 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
741 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
742 Deconditionalize the code that was previously under [RESET_PID].
743 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
745 * sysdeps/generic/exit-thread.h: New file.
746 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
747 * include/unistd.h (__exit_thread): Remove declaration.
748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
749 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
750 * csu/libc-start.c: Include <exit-thread.h>.
751 (LIBC_START_MAIN): Pass no argument to __exit_thread.
752 * nptl/pthread_create.c: Include <exit-thread.h>.
753 (start_thread): Call __exit_thread in place of __exit_thread_inline.
754 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
755 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
756 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
757 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
758 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
759 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
760 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
761 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
762 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
763 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
764 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
765 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
766 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
767 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
768 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
769 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
771 2014-05-13 Andreas Schwab <schwab@suse.de>
773 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
775 2014-05-12 Joseph Myers <joseph@codesourcery.com>
777 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
778 (__ASSUME_UTIMES): Do not condition on kernel version.
779 (__ASSUME_PSELECT): Define unconditionally.
780 (__ASSUME_PPOLL): Likewise.
781 (__ASSUME_ATFCTS): Likewise.
782 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
783 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
784 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
785 (__ASSUME_UTIMENSAT): Define unconditionally.
786 (__ASSUME_PRIVATE_FUTEX): Likewise.
787 (__ASSUME_FALLOCATE): Likewise.
788 (__ASSUME_O_CLOEXEC): Likewise.
789 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
790 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
791 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
792 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
793 (__ASSUME_IN_NONBLOCK): Likewise.
794 (__ASSUME_PIPE2): Likewise.
795 (__ASSUME_EVENTFD2): Likewise.
796 (__ASSUME_SIGNALFD4): Likewise.
797 (__ASSUME_DUP3): Likewise.
798 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
799 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
800 (__ASSUME_AT_RANDOM): Likewise.
801 (__ASSUME_PREADV): Likewise.
802 (__ASSUME_PWRITEV): Likewise.
803 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
804 (__ASSUME_F_GETOWN_EX): Define unconditionally.
805 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
807 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
809 (__ASSUME_O_CLOEXEC): Define unconditionally.
810 (__ASSUME_PSELECT): Do not undefine conditionally.
811 (__ASSUME_PPOLL): Likewise.
812 (__ASSUME_ATFCTS): Likewise.
813 (__ASSUME_SET_ROBUST_LIST): Likewise.
814 (__ASSUME_UTIMENSAT): Likewise.
815 (__ASSUME_FDATASYNC): Define unconditionally.
816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
817 (__ASSUME_SIGFRAME_V2): Likewise.
818 )__ASSUME_EVENTFD2): Likewise.
819 (__ASSUME_SIGNALFD4): Likewise.
820 (__ASSUME_PSELECT): Do not undefine conditionally.
821 (__ASSUME_PPOLL): Likewise.
822 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
823 (__ASSUME_PSELECT): Define unconditionally.
824 (__ASSUME_PPOLL): Likewise.
825 (__ASSUME_O_CLOEXEC): Likewise.
826 (__ASSUME_SOCK_CLOEXEC): Likewise.
827 (__ASSUME_IN_NONBLOCK): Likewise.
828 (__ASSUME_PIPE2): Likewise.
829 (__ASSUME_EVENTFD2): Likewise.
830 (__ASSUME_SIGNALFD4): Likewise.
831 (__ASSUME_DUP3): Likewise.
832 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
833 (__ASSUME_O_CLOEXEC): Likewise.
834 (__ASSUME_SOCK_CLOEXEC): Likewise.
835 (__ASSUME_IN_NONBLOCK): Likewise.
836 (__ASSUME_PIPE2): Likewise.
837 (__ASSUME_EVENTFD2): Likewise.
838 (__ASSUME_SIGNALFD4): Likewise.
839 (__ASSUME_DUP3): Likewise.
840 * sysdeps/unix/sysv/linux/mips/kernel-features.h
841 (__ASSUME_EVENTFD2): Likewise.
842 (__ASSUME_SIGNALFD4): Likewise.
843 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
845 2014-05-12 Andreas Schwab <schwab@suse.de>
848 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
849 (_nss_nis_gethostbyname4_r): Return error if item length is larger
850 than maximum RPC packet size.
851 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
852 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
853 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
854 (_nss_nis_getservbyport_r): Likewise.
856 2014-05-12 Will Newton <will.newton@linaro.org>
858 * malloc/Makefile (tests): Add tst-mallopt.
859 * malloc/tst-mallopt.c: New file.
861 2014-05-09 Roland McGrath <roland@hack.frob.com>
863 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
864 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
866 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
868 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
869 (tst-tlsmod6.so): Likewise.
871 2014-05-09 Roland McGrath <roland@hack.frob.com>
873 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
875 2014-05-09 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
880 (__fegetenv): Save SSE state in envp->__eip if supported.
881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
882 envp->__eip if supported.
883 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
885 (__fesetenv): Always set __eip, __cs_selector, __opcode,
886 __data_offset and __data_selector in environment to 0. Set SSE
888 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
890 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
892 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
894 2014-05-09 Will Newton <will.newton@linaro.org>
896 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
897 and libc_relro_required for ARM.
898 * sysdeps/arm/preconfigure: Regenerate.
900 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
901 Stefan Liebler <stli@linux.vnet.ibm.com>
903 * config.make.in (enable-lock-elision): New Makefile variable.
904 * configure.ac: Likewise.
905 * configure: Regenerate.
906 * sysdeps/s390/configure.ac:
907 Add check for gcc transactions support.
908 * sysdeps/s390/configure: Regenerate.
909 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
910 Build elision files if enabled.
911 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
912 Add lock elision support for s390.
913 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
914 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
915 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
916 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
917 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
918 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
923 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
925 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
927 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
928 (__lll_timedlock_elision, __lll_lock_elision)
929 (__lll_unlock_elision, __lll_trylock_elision)
930 (lll_timedlock_elision, lll_lock_elision)
931 (lll_unlock_elision, lll_trylock_elision): Add.
932 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
933 (pthread_mutex_t): Add lock elision support for s390.
935 2014-05-14 Wilco <wdijkstr@arm.com>
937 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
938 * sysdeps/arm/fedisblxcpt.c: Likewise.
939 * sysdeps/arm/feenablxcpt.c: Likewise.
940 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
941 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
942 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
943 Call optimized (libc_fesetenv_vfp).
944 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
945 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
946 Call optimized (libc_feupdateenv_vfp).
947 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
948 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
950 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
951 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
953 2014-05-14 Wilco <wdijkstr@arm.com>
955 * sysdeps/arm/fclrexcpt.c: Cleanup.
956 * sysdeps/arm/fedisblxcpt.c: Cleanup.
957 * sysdeps/arm/feenablxcpt.c: Cleanup.
958 * sysdeps/arm/fegetenv.c: Cleanup.
959 * sysdeps/arm/fegetexcept.c: Cleanup.
960 * sysdeps/arm/fegetround.c: Cleanup.
961 * sysdeps/arm/feholdexcpt.c: Cleanup.
962 * sysdeps/arm/fesetenv.c: Cleanup.
963 * sysdeps/arm/fesetround.c: Cleanup.
964 * sysdeps/arm/feupdateenv.c: Cleanup.
965 * sysdeps/arm/fgetexcptflg.c: Cleanup.
966 * sysdeps/arm/fraiseexcpt.c: Cleanup.
967 * sysdeps/arm/fsetexcptflg.c: Cleanup.
968 * sysdeps/arm/ftestexcept.c: Cleanup.
969 * sysdeps/arm/get-rounding-mode.h: Cleanup.
970 * sysdeps/arm/setfpucw.c: Cleanup.
972 2014-05-09 Will Newton <will.newton@linaro.org>
974 * sysdeps/arm/armv7/strcmp.S: New file.
975 * NEWS: Mention addition of ARMv7 optimized strcmp.
977 2014-05-08 Roland McGrath <roland@hack.frob.com>
979 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
980 look for %.ac rather than %.in.
982 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
983 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
984 * sysdeps/mach/hurd/configure: Regenerated.
985 * sysdeps/unix/sysv/linux/configure: Regenerated.
987 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
989 2014-05-07 Steve Ellcey <sellcey@mips.com>
992 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
996 2014-05-07 Andreas Schwab <schwab@suse.de>
998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
999 when skipping over non-matching result from nscd.
1001 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1004 * nptl/sockperf.c (client): Check socket return value.
1007 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1008 nscd security class.
1010 2014-05-06 Roland McGrath <roland@hack.frob.com>
1012 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1013 * sysdeps/arm/unwind.h: ... here.
1015 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1018 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1021 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1023 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1024 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1025 multiarch strncpy for PPC64.
1026 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1027 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1029 multiarch optimizations.
1030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1031 (__libc_ifunc_impl_list): Likewise.
1032 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1033 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1034 multiarch stpncpy for PPC64.
1035 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1036 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1038 2014-05-06 Andreas Schwab <schwab@suse.de>
1041 * gmon/mcount.c (_MCOUNT_DECL): Use
1042 atomic_compare_and_exchange_bool_acq instead of
1043 catomic_compare_and_exchange_bool_acq.
1045 2014-05-05 Roland McGrath <roland@hack.frob.com>
1047 * elf/Makefile (others, install-bin): Remove pldd.
1048 (pldd-modules): Variable removed.
1049 ($(objpfx)pldd): Target removed.
1050 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1051 (others, install-bin): Append pldd here.
1052 ($(objpfx)pldd): New target.
1054 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1055 to 0, so the first #if test emitted later doesn't see it undefined.
1056 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1057 * sysdeps/gnu/errlist.c: Regenerated.
1059 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1062 [libc_hidden_builtin_def]: Define to empty value.
1063 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1064 [libc_hidden_builtin_def]: Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1066 [libc_hidden_builtin_def]: Likewise.
1067 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1068 [libc_hidden_builtin_def]: Likewise.
1069 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1070 __redirect_memcpy and define ifunc as default hidden symbol.
1071 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1072 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1074 2014-05-04 Adam Conrad <adconrad@0c3.net>
1076 * locale/iso-4217.def: Reintroduce XDR currency.
1078 2014-05-04 Allan McRae <allan@archlinux.org>
1080 * po/eo.po: Update Esperanto translation from translation project.
1082 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1084 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1085 and FEATURE_INDEX_MAX to 1.
1086 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1088 2014-05-01 Steve Ellcey <sellcey@mips.com>
1090 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1091 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1092 * iconvdata/big5.c (ONE_DIRECTION): Define.
1093 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1094 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1095 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1096 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1097 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1098 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1099 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1100 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1101 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1102 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1103 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1104 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1105 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1106 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1107 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1108 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1109 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1110 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1111 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1112 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1113 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1114 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1115 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1116 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1117 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1118 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1119 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1120 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1121 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1122 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1123 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1124 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1125 * iconvdata/johab.c (ONE_DIRECTION): Define.
1126 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1127 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1128 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1129 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1130 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1131 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1132 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1133 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1134 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1135 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1137 2014-05-01 Roland McGrath <roland@hack.frob.com>
1139 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1140 (_IO_JUMPS_OFFSET): Define to 0.
1142 * nptl/sysdeps/pthread/bits/libc-lock.h
1143 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1144 (__libc_lock_define_initialized_recursive): Always define using
1145 initializer. Modern compilers treat uninitialized (implicit zero) and
1146 explicit zero initializers the same (i.e. put the datum in bss).
1148 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1150 * nscd/nscd-client.h: Include <string.h>.
1152 2014-05-01 David S. Miller <davem@davemloft.net>
1155 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1156 multiple zero bytes exist at the end of a string.
1157 Reported by Aurelien Jarno <aurelien@aurel32.net>
1159 * string/test-strcmp.c (check): Add explicit test for situations where
1160 there are multiple zero bytes after the first.
1162 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1165 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1166 when compiling wprintf.
1167 * stdio-common/tstdiomisc.c (t3): New function.
1170 2014-05-01 Steve Ellcey <sellcey@mips.com>
1172 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1173 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1174 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1175 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1177 2014-05-01 Steve Ellcey <sellcey@mips.com>
1179 * stdlib/longlong.h: Updated from GCC.
1181 2014-05-01 Will Newton <will.newton@linaro.org>
1182 Bernard Ogden <bernie.ogden@linaro.org>
1184 * NEWS: Update fixed bug list.
1187 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1189 2014-04-30 David S. Miller <davem@davemloft.net>
1191 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1192 (libc_feholdexcept_setround_sparc_ctx): New function.
1193 (libc_fesetenv_sparc_ctx): Likewise.
1194 (libc_feupdateenv_sparc_ctx): Likewise.
1195 (libc_feholdsetround_sparc_ctx): Likewise.
1196 (libc_feholdexcept_setround_ctx): Define.
1197 (libc_feholdexcept_setroundf_ctx): Likewise.
1198 (libc_feholdexcept_setroundl_ctx): Likewise.
1199 (libc_fesetenv_ctx): Likewise.
1200 (libc_fesetenvf_ctx): Likewise.
1201 (libc_fesetenvl_ctx): Likewise.
1202 (libc_feupdateenv_ctx): Likewise.
1203 (libc_feupdateenvf_ctx): Likewise.
1204 (libc_feupdateenvl_ctx): Likewise.
1205 (libc_feresetround_ctx): Likewise.
1206 (libc_feresetroundf_ctx): Likewise.
1207 (libc_feresetroundl_ctx): Likewise.
1208 (libc_feholdsetround_ctx): Likewise.
1209 (libc_feholdsetroundf_ctx): Likewise.
1210 (libc_feholdsetroundl_ctx): Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1213 with __USE_GNU instead of XOPEN cpp guards.
1215 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1219 with XOPEN cpp guards.
1221 2014-04-30 Julian Brown <julian@codesourcery.com>
1224 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1227 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1230 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1232 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1233 * sysdeps/unix/sysv/linux/configure: Regenerated.
1234 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1235 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1236 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1237 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1238 * README: Update reference to required Linux kernel version.
1239 * manual/install.texi (Linux): Update reference to required Linux
1240 kernel headers version.
1241 * INSTALL: Regenerated.
1243 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1245 [POSIX] (limits.h): Likewise.
1246 [POSIX] (math.h): Likewise.
1247 [POSIX] (sys/wait.h): Likewise.
1248 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1250 [POSIX] (stddef.h): Do not allow header inclusion.
1252 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1256 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1258 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1259 Return immediately after lll_futex_wake.
1261 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1264 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1266 (datahead_init_pos): Call datahead_init_common early.
1267 (datahead_init_neg): Likewise.
1269 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1270 datahead_init_neg): New functions.
1271 * nscd/aicache.c (addhstaiX): Use them.
1272 * nscd/grpcache.c (cache_addgr): Likewise.
1273 * nscd/hstcache.c (cache_addhst): Likewise.
1274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1275 * nscd/netgroupcache.c (do_notfound): Likewise.
1276 (addgetnetgrentX): Likewise.
1277 (addinnetgrX): Likewise.
1278 * nscd/pwdcache.c (cache_addpw): Likewise.
1279 * nscd/servicescache.c (cache_addserv): Likewise.
1281 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1282 Atsushi Onoe <atsushi@onoe.org>
1287 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1288 one response is valid.
1289 * resolv/res_send.c (send_dg): Check for validity of other
1290 response if the current response is a referral.
1292 2014-04-29 Steve Ellcey <sellcey@mips.com>
1294 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1296 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1299 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1300 Always divide by positive zero when computing -Inf result.
1301 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1302 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1304 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1307 FPSCR if value do not change.
1308 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1309 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1310 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1311 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1312 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1313 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1316 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1318 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1319 * sysdeps/unix/sysv/linux/hppa: Move directory from
1320 ports/systeps/unix/sysv/linux/hppa.
1321 * README: Update listing for hppa-*-linux-gnu.
1323 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1326 * manual/stdio.texi (Hook functions): Fix types of stream hook
1329 * socket/sys/socket.h: Fix typo in comment.
1331 2014-04-28 Wilco <wdijkstr@arm.com>
1333 * sysdeps/arm/fenv_private.h: New file.
1334 * sysdeps/arm/math_private.h: New file.
1335 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1337 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1339 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1341 (La_x86_64_retval): Likewise.
1343 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1345 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1346 fpsr if value didn't change.
1347 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1348 to fpcr if value didn't change.
1349 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1350 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1351 fpsr or fpcr if value didn't change.
1352 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1353 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1354 fpcr if value didn't change.
1355 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1356 to fpsr if value didn't change.
1358 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1360 * nptl/tst-sem3.c: Use test-skeleton.c
1361 (main): Rename to do_test. Use return instead of
1363 * nptl/tst-sem4.c: Use test-skeleton.c
1364 (main): Rename to do_test.
1366 2014-04-22 David S. Miller <davem@davemloft.net>
1368 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1369 (struct sigaction): New struct member __glibc_reserved0, change
1370 type of sa_flags to int.
1372 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1374 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1375 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1377 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1379 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1380 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1382 2014-04-22 Will Newton <will.newton@linaro.org>
1383 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1385 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1386 (__longjmp): Add longjmp and longjmp_target SystemTap
1388 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1389 (__sigsetjmp): Add setjmp SystemTap probe.
1391 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1393 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1396 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1400 * sysdeps/powerpc/fpu/fenv_private.h
1401 (libc_feholdexcept_setroundl_ctx): Define to
1402 libc_feholdexcept_setround_ppc_ctx.
1403 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1404 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1405 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1406 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1408 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1410 * sysdeps/aarch64/math-tests.h: New file.
1412 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1414 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1417 Check and set bit_AVX2_Usable.
1418 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1420 (bit_AVX2): Likewise.
1421 (index_AVX2_Usable): Likewise.
1422 (CPUID_AVX2): Likewise.
1423 (HAS_AVX2): Likewise.
1425 2014-04-17 Will Newton <will.newton@linaro.org>
1427 * manual/setjmp.texi (System V contexts): Add note that
1428 calling setcontext on a context created by a call to a
1429 signal handler is undefined. Update text to note that
1430 setcontext from a signal handler is possible but not
1434 * stdlib/tst-setcontext.c: Include signal.h.
1435 (main): Check that the signal stack before and
1436 after swapcontext is the same.
1438 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1439 Re-implement to restore registers in user code and avoid
1440 rt_sigreturn system call.
1442 2014-04-17 Wilco <wdijkstr@arm.com>
1444 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1445 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1446 * math/test-fenv.c: Skip exception trap tests on targets which only
1447 support non-stop mode.
1449 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1450 Wilco Dijkstra <wilco.dijkstra@arm.com>
1452 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1453 (libc_feholdsetround_aarch64_ctx)
1454 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1455 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1456 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1457 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1458 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1459 (libc_feresetround_noexl_ctx): Define.
1461 2014-04-16 Richard Henderson <rth@redhat.com>
1463 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1465 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1468 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1469 const from the non-libc, non-ldso copy.
1471 * sysdeps/alpha/libm-test-ulps: Regenerate.
1473 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1474 Wilco Dijkstra <wilco.dijkstra@arm.com>
1476 * sysdeps/aarch64/fpu/math_private.h: New file.
1478 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1480 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1482 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1484 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1485 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1487 Intel MPX bound registers before _dl_profile_fixup.
1488 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1489 registers after _dl_profile_fixup. Save and restore bound
1490 registers bnd0/bnd1 when calling _dl_call_pltexit.
1491 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1492 (LR_BND_OFFSET): Likewise.
1493 (LRV_BND0_OFFSET): Likewise.
1494 (LRV_BND1_OFFSET): Likewise.
1496 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1498 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1500 * sysdeps/mach/hurd/i386/tls.h: ... here.
1501 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1502 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1505 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1507 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1509 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1513 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1516 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1517 * sysdeps/s390/configure: Regenerate.
1520 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1521 Set round-to-nearest internally to reduce error accumulation.
1523 2014-04-16 Alan Modra <amodra@gmail.com>
1527 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1528 * math/libm-test.inc (frexp_test_data): Add tests.
1529 * NEWS: Update fixed bug list.
1531 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1533 * benchtests/Makefile: Depend on libraries in build directory.
1534 (bench-math): Separate out math tests.
1535 (bench-pthread): Separate out pthread tests.
1536 (bench): Include math and pthread tests.
1538 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1541 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1542 _dl_debug_initialize.
1544 * configure.ac: Remove SELinux header check.
1545 * configure: Regenerate.
1546 * nscd/selinux.c (perms): Array of const char* to permission names.
1547 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1548 default policy. Call string_to_security_class and string_to_av_perm to
1549 translate strings. Enforce default policy and call avs_has_perm with
1550 results of translated strings.
1552 2014-04-13 David S. Miller <davem@davemloft.net>
1554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1556 2014-04-12 Allan McRae <allan@archlinux.org>
1559 * manual/string.texi (Collation Functions): Fix qsort argument
1561 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1563 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1565 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1566 Make the test a no-op if there are no exceptions defined.
1568 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1570 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1571 enable-hardcoded-path-in-tests
1573 2014-04-11 Will Newton <will.newton@linaro.org>
1575 * benchtests/Makefile (extra-objs): Add json-lib.o.
1576 (bench-func): Tidy up JSON output.
1577 * benchtests/bench-skeleton.c: Include json-lib.h.
1578 (main): Use JSON library functions to do output of
1580 * benchtests/bench-timing-type.c (main): Output the
1581 timing type simply, leaving formatting to the user.
1582 * benchtests/json-lib.c: New file.
1583 * benchtests/json-lib.h: Likewise.
1585 2014-04-11 Torvald Riegel <triegel@redhat.com>
1588 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1589 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1590 memory barriers. Add comments.
1591 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1592 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1593 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1594 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1595 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1596 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1598 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1600 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1601 * sysdeps/s390/s390-64/configure.ac: ... this ...
1602 * sysdeps/s390/configure.ac: ... to here.
1603 * sysdeps/s390/s390-32/configure: Delete file.
1604 * sysdeps/s390/s390-64/configure: Delete file.
1605 * sysdeps/s390/configure: Regenerate.
1607 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1609 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1611 2014-04-11 Will Newton <will.newton@linaro.org>
1613 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1614 to zero if it is not defined elsewhere. (mtrim): Test
1615 the value of MALLOC_DEBUG with #if rather than #ifdef.
1617 2014-04-10 Torvald Riegel <triegel@redhat.com>
1619 * benchtests/pthread_once-inputs: New file.
1620 * benchtests/pthread_once-source.c: New file.
1621 * benchtests/README: Update documentation.
1623 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1624 H.J. Lu <hongjiu.lu@intel.com>
1626 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1627 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1628 * sysdeps/x86_64/configure: Regenerated.
1629 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1631 (REGISTER_SAVE_RAX): Likewise.
1632 (REGISTER_SAVE_RCX): Likewise.
1633 (REGISTER_SAVE_RDX): Likewise.
1634 (REGISTER_SAVE_RSI): Likewise.
1635 (REGISTER_SAVE_RDI): Likewise.
1636 (REGISTER_SAVE_R8): Likewise.
1637 (REGISTER_SAVE_R9): Likewise.
1638 (REGISTER_SAVE_BND0): Likewise.
1639 (REGISTER_SAVE_BND1): Likewise.
1640 (REGISTER_SAVE_BND2): Likewise.
1641 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1642 bound registers when calling _dl_fixup.
1644 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1646 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1647 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1649 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1650 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1651 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1652 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1653 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1654 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1655 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1657 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1660 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1661 pathconf(_PC_NAME_MAX).
1663 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1667 (__PTHREAD_SPINS): Move definition to ...
1668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1669 (__PTHREAD_SPINS): ... here.
1670 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1671 (__PTHREAD_SPIN): Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1673 (__PTHREAD_SPIN): Likewise.
1674 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1675 (__PTHREAD_SPIN): Likewise.
1676 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1677 (__PTHREAD_SPIN): Likewise.
1678 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1679 (__PTHREAD_SPIN): Likewise.
1680 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1681 (__PTHREAD_SPIN): Likewise.
1682 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1683 (__PTHREAD_SPIN): Likewise.
1684 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1685 (__PTHREAD_SPIN): Likewise.
1686 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1687 (__PTHREAD_SPIN): Likewise.
1688 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1689 (__PTHREAD_SPIN): Likewise.
1690 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1691 (__PTHREAD_SPIN): Likewise.
1692 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1693 (__PTHREAD_SPIN): Likewise.
1695 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1696 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1697 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1698 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1700 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1701 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1702 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1703 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1705 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1706 strlen symbol for non multi-arch builds.
1707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1708 missing hidden_def and weak_alias.
1710 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1712 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1714 2014-04-07 Will Newton <will.newton@linaro.org>
1716 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1717 and contents. [!_LIBC] Remove #ifndef and contents.
1718 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1719 * string/memccpy.c (__memccpy): Use ANSI prototype.
1720 * string/memfrob.c (memfrob): Likewise.
1721 * string/strcoll.c (STRCOLL): Likewise.
1722 * string/strlen.c (strlen): Likewise.
1723 * string/strtok.c (STRTOK): Likewise.
1724 * string/strcat.c: Remove unused #include of memcopy.h.
1725 (strcat): Use ANSI prototype.
1726 * string/strchr.c: Remove unused #include of memcopy.h.
1727 (strchr): Use ANSI prototype.
1728 * string/strcmp.c: Remove unused #include of memcopy.h.
1729 (strcmp): Use ANSI prototype.
1730 * string/strcpy.c: Remove unused #include of memcopy.h.
1731 (strcpy): Use ANSI prototype.
1733 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1736 * config.make.in (config-extra-cppflags): Set it from
1737 libc_extra_cppflags.
1738 * configure.ac (libc_extra_cflags): Make it accumulate over
1739 configure fragments.
1740 (libc_extra_cppflags): New flag.
1741 * configure. Regenerate.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1743 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1744 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1749 result for FE_DOWNWARD rounding mode.
1750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1754 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1756 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1757 in function argument name.
1759 2014-04-03 David Svoboda <svoboda@cert.org>
1762 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1765 2014-04-03 Roland McGrath <roland@hack.frob.com>
1767 * elf/dl-unmap-segments.h: New file.
1768 * sysdeps/generic/ldsodefs.h
1769 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1770 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1771 * elf/dl-fptr.c: Likewise.
1772 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1773 * sysdeps/aarch64/tlsdesc.c: Likewise.
1774 * sysdeps/arm/tlsdesc.c: Likewise.
1775 * sysdeps/i386/tlsdesc.c: Likewise.
1776 * sysdeps/tile/dl-runtime.c: Likewise.
1777 * sysdeps/x86_64/tlsdesc.c: Likewise.
1778 * elf/dl-load.h: New file.
1779 * elf/dl-load.c: Include it.
1780 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1781 Macros moved to dl-load.h.
1782 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1783 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1784 Use _dl_unmap_segments in place of __munmap.
1785 Break out segment-mapping loop into ...
1786 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1788 2014-04-03 Will Newton <will.newton@linaro.org>
1790 * elf/dl-lookup.c (do_lookup_x): Remove comment
1791 referring to nested function and move variable
1792 declarations down to before first use.
1794 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1798 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1800 * math/s_catanf.c (__catanf): Likewise.
1801 * math/s_catanh.c (__catanh): Likewise.
1802 * math/s_catanhf.c (__catanhf): Likewise.
1803 * math/s_catanhl.c (__catanhl): Likewise.
1804 * math/s_catanl.c (__catanl): Likewise.
1805 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1806 by positive zero when computing -Inf result.
1807 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1808 (catanh_test): Likewise.
1809 * sysdeps/i386/fpu/libm-test-ulps: Update.
1810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1814 instead of using underflowing value in computing result.
1815 * math/s_clog10.c (__clog10): Likewise.
1816 * math/s_clog10f.c (__clog10f): Likewise.
1817 * math/s_clog10l.c (__clog10l): Likewise.
1818 * math/s_clogf.c (__clogf): Likewise.
1819 * math/s_clogl.c (__clogl): Likewise.
1820 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1821 (clog10_test): Likewise.
1822 * sysdeps/i386/fpu/libm-test-ulps: Update.
1823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1825 2014-04-02 Alan Modra <amodra@gmail.com>
1828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1829 output when value is near a power of two. Use int64_t for lx and
1830 remove casts. Use decimal rather than hex exponent constants.
1831 Don't use long double multiplication when double will suffice.
1832 * math/libm-test.inc (nextafter_test_data): Add tests.
1833 * NEWS: Add 16739 and 16786 to bug list.
1835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1837 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1839 2014-04-01 Will Newton <will.newton@linaro.org>
1841 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1842 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1844 2014-04-01 Florian Weimer <fweimer@redhat.com>
1847 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1848 * nptl/tst-setuid2.c: New file.
1849 * nptl/Makefile (xtests): Add tst-setuid2.
1851 2014-04-01 Alan Modra <amodra@gmail.com>
1854 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1856 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1860 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1861 set errno as appropriate.
1862 * math/w_scalbf.c (__scalbf): Likewise.
1863 * math/w_scalbl.c (__scalbl): Likewise.
1864 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1865 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1866 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1870 * math/w_atan2.c: Include <errno.h>.
1871 (__atan2): Set errno for result underflowing to zero.
1872 * math/w_atan2f.c: Include <errno.h>.
1873 (__atan2f): Set errno for result underflowing to zero.
1874 * math/w_atan2l.c: Include <errno.h>.
1875 (__atan2l): Set errno for result underflowing to zero.
1876 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1878 * math/auto-libm-test-out: Regenerated.
1880 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1883 Encode instruction correctly in little endian.
1884 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1890 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1893 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1896 * sysdeps/unix/sysv/linux/kernel-features.h
1897 [__sparc__ && !__arch64__ && !__sparc_v9__]
1898 (__ASSUME_SET_ROBUST_LIST): Do not define.
1899 [__sparc__ && !__arch64__ && !__sparc_v9__]
1900 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1901 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1903 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1904 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1905 (__ASSUME_REQUEUE_PI): Likewise.
1906 (__ASSUME_SET_ROBUST_LIST): Likewise.
1907 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1908 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1911 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1913 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1915 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1917 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1918 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1920 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1921 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1927 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1929 2014-03-31 Will Newton <will.newton@linaro.org>
1931 * benchtests/Makefile (bench): Add ffs and ffsll to list
1933 * benchtests/ffs-inputs: New file.
1934 * benchtests/ffsll-inputs: Likewise.
1936 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1939 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1940 too large before casting to int.
1941 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1942 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1943 * math/libm-test.inc (scalb_test_data): Add more tests.
1945 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1947 * benchtests/Makefile (DETAILED_OPT): New make option.
1948 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1950 * benchtests/bench-skeleton.c: Include stdbool.h.
1951 (main): Store and print timings per input.
1952 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1953 member to each argument value.
1954 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1955 (_print_arg_data): Initialize per-input timing to 0.
1957 * benchtests/Makefile (timing-type): New binary.
1958 (bench-clean): Also remove bench-timing-type.
1959 (bench): New target for timing-type.
1960 (bench-func): Print output in JSON format.
1961 * benchtests/bench-skeleton.c (main): Print output in JSON
1963 * benchtests/bench-timing-type.c: New file.
1964 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1965 (TIMING_PRINT_STATS): Remove.
1966 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1969 * benchtests/bench-modf.c: Remove.
1970 * benchtests/modf-inputs: New inputs file.
1972 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1975 * math/s_clog10.c (M_PI_LOG10E): New macro.
1976 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1977 imaginary parts are 0.
1978 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1979 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1980 imaginary parts are 0.
1981 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1982 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1983 imaginary parts are 0.
1984 * math/libm-test.inc (clog10_test_data): Update expected results
1985 for when real and imaginary parts are 0.
1987 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1989 * elf/dl-load.c: Finish conversion of __builtin_expect into
1992 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1996 1+x for argument with exponent below -67.
1997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1999 * math/auto-libm-test-in: Add more tests of exp.
2000 * math/auto-libm-test-out: Regenerated.
2002 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2005 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2006 (nscd_getnetgrent): Use it.
2009 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2012 2014-03-27 Andi Kleen <ak@linux.intel.com>
2014 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2015 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2016 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2017 (lll_robust_unlock): Remove out of line section. Use cfi
2019 (LLL_STUB_UNWIND_INFO*): Remove.
2020 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2021 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2022 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2023 (lll_robust_unlock): Remove out of line section. Use cfi
2025 (LLL_STUB_UNWIND_INFO*): Remove.
2027 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2033 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2035 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2037 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2040 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2042 * math/test-fenv-preserve.c: New file.
2043 * math/Makefile (tests): Add test-fenv-preserve.
2045 2014-03-26 Will Newton <will.newton@linaro.org>
2047 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2049 2014-03-25 Roland McGrath <roland@hack.frob.com>
2051 * scripts/versionlist.awk: Partition the version sets and emit all
2052 GLIBC_* (sorted) before all others (sorted).
2054 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2056 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2057 GLIBC_2.2.5 version.
2059 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2064 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2069 2014-03-25 Andreas Schwab <schwab@suse.de>
2071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2072 label to be used after in6ailist is initialized.
2074 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2076 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2077 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2079 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2083 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2085 (fp_formats): Update initializers.
2086 (init_fp_formats): Initialize new field.
2087 (output_for_one_input_case): Allow underflow for results up to
2089 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2090 * math/auto-libm-test-in: Don't mark some underflows from asin and
2092 * math/auto-libm-test-out: Regenerated.
2093 * sysdeps/i386/fpu/libm-test-ulps: Update.
2094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2096 2014-03-25 Andreas Schwab <schwab@suse.de>
2098 * libio/Makefile (tst-ftell-partial-wide-ENV)
2099 (tst-ftell-active-handler-ENV): Define.
2101 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2103 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2105 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2107 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2109 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2111 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2112 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2113 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2115 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2118 * elf/dl-load.c (open_verify): Add mode parameter.
2119 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2120 (open_path): Change from boolean 'secure' to complete flag 'mode'
2121 (_dl_map_object): Adjust.
2122 * elf/Makefile (tests): Add tst-dlopen-aout.
2123 * elf/tst-dlopen-aout.c: New test.
2125 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2128 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2129 (struct stat): Rename member pad0 to __glibc_reserved0.
2132 * sysdeps/s390/s390-32/bits/wordsize.h
2133 (__WORDSIZE32_SIZE_ULONG): New define.
2134 * sysdeps/s390/s390-64/bits/wordsize.h
2135 (__WORDSIZE32_SIZE_ULONG): Likewise.
2136 * sysdeps/generic/stdint.h (SIZE_MAX):
2137 Define as UL if __WORDSIZE32_SIZE_ULONG.
2140 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2141 (__glibc_reserved0): New variable.
2142 (sa_flags): Change type to int.
2144 * posix/Makefile (before-compile): Use += before-compile instead
2147 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2148 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2150 2014-03-20 Andreas Schwab <schwab@suse.de>
2153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2154 non-matching result from nscd.
2156 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2158 * scripts/bench.py: Moved to ...
2159 * benchtests/scripts/bench.py: ... here.
2160 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2162 2014-03-24 Andreas Schwab <schwab@suse.de>
2165 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2166 alloca_account and account alloca use for struct in6ailist.
2168 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2171 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2172 rounding mode to recompute results that overflow to infinity or
2174 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2176 * math/auto-libm-test-out: Regenerated.
2177 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2178 (ccosh_test): Likewise.
2179 (csin_test_data): Use plus_oflow.
2180 (csin_test): Use ALL_RM_TEST.
2181 (csinh_test_data): Use plus_oflow.
2182 (csinh_test): Use ALL_RM_TEST.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2186 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2188 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2189 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2190 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2193 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2195 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2196 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2197 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2200 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2201 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2203 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2204 * sysdeps/i386/fpu/libm-test-ulps: Update.
2205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2209 * scripts/bench.pl: Remove file.
2210 * scripts/bench.py: New benchmark script.
2211 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2212 * benchtests/README: Mention python dependency.
2213 * scripts/pylintrc: New file.
2214 * scripts/pylint: New file.
2216 * bits/mathdef.h: Use #ifdef instead of #if.
2217 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2218 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2219 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2220 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2221 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2222 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2224 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2225 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2227 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2229 and strpbrk-ppc64 objects.
2230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2231 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2232 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2233 multiarch strpbrk for POWER7.
2234 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2235 multiarch strpbrk for PPC64.
2236 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2238 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2241 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2243 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2244 (atan_test): Likewise.
2245 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2246 (atanh_test): Use ALL_RM_TEST.
2247 (atan2_test_data): Likewise.
2248 (cabs_test): Likewise.
2249 (cacosh_test): Likewise.
2250 (carg_test): Likewise.
2251 (casin_test): Likewise.
2252 (casinh_test): Likewise.
2253 (cbrt_test): Likewise.
2254 (csqrt_test): Likewise.
2255 (erf_test): Likewise.
2256 (erfc_test): Likewise.
2257 (pow10_test): Likewise.
2258 (exp2_test): Likewise.
2259 (hypot_test): Likewise.
2260 (j0_test): Likewise.
2261 (j1_test): Likewise.
2262 (lgamma_test): Likewise.
2263 (gamma_test): Likewise.
2264 (sincos_test): Likewise.
2265 (tanh_test): Likewise.
2266 (y0_test): Likewise.
2267 (y1_test): Likewise.
2268 * sysdeps/i386/fpu/libm-test-ulps: Update.
2269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2275 and strcspn-ppc64 objects.
2276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2277 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2278 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2279 multiarch strcspn for POWER7.
2280 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2281 multiarch strcspn for PPC64.
2282 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2284 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2287 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2289 * math/gen-libm-test.pl (generate_testfile): Expect only function
2290 name as argument to AUTO_TESTS_* and pass results for all rounding
2291 modes to parse_args.
2292 (parse_auto_input): Separate inputs of automatic tests from
2293 outputs before storing in %auto_tests.
2294 * math/libm-test.inc (acos_test_data): Update call to
2296 (acos_test): Use ALL_RM_TEST.
2297 (acos_tonearest_test_data): Remove.
2298 (acos_test_tonearest): Likewise.
2299 (acos_towardzero_test_data): Likewise.
2300 (acos_test_towardzero): Likewise.
2301 (acos_downward_test_data): Likewise.
2302 (acos_test_downward): Likewise.
2303 (acos_upward_test_data): Likewise.
2304 (acos_test_upward): Likewise.
2305 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2306 (asin_test_data): Likewise.
2307 (asin_test): Use ALL_RM_TEST.
2308 (asin_tonearest_test_data): Remove.
2309 (asin_test_tonearest): Likewise.
2310 (asin_towardzero_test_data): Likewise.
2311 (asin_test_towardzero): Likewise.
2312 (asin_downward_test_data): Likewise.
2313 (asin_test_downward): Likewise.
2314 (asin_upward_test_data): Likewise.
2315 (asin_test_upward): Likewise.
2316 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2317 (atan_test_data): Likewise.
2318 (atanh_test_data): Likewise.
2319 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2320 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2321 (carg_test_data): Likewise.
2322 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2323 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2324 (ccosh_test_data): Likewise.
2325 (cexp_test_data): Likewise.
2326 (clog_test_data): Likewise.
2327 (clog10_test_data): Likewise.
2328 (cos_test_data): Update call to AUTO_TESTS_f_f.
2329 (cos_test): Use ALL_RM_TEST.
2330 (cos_tonearest_test_data): Remove.
2331 (cos_test_tonearest): Likewise.
2332 (cos_towardzero_test_data): Likewise.
2333 (cos_test_towardzero): Likewise.
2334 (cos_downward_test_data): Likewise.
2335 (cos_test_downward): Likewise.
2336 (cos_upward_test_data): Likewise.
2337 (cos_test_upward): Likewise.
2338 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2339 (cosh_test): Use ALL_RM_TEST.
2340 (cosh_tonearest_test_data): Remove.
2341 (cosh_test_tonearest): Likewise.
2342 (cosh_towardzero_test_data): Likewise.
2343 (cosh_test_towardzero): Likewise.
2344 (cosh_downward_test_data): Likewise.
2345 (cosh_test_downward): Likewise.
2346 (cosh_upward_test_data): Likewise.
2347 (cosh_test_upward): Likewise.
2348 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2349 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2350 (ctan_test_data): Likewise.
2351 (ctan_test): Use ALL_RM_TEST.
2352 (ctan_tonearest_test_data): Remove.
2353 (ctan_test_tonearest): Likewise.
2354 (ctan_towardzero_test_data): Likewise.
2355 (ctan_test_towardzero): Likewise.
2356 (ctan_downward_test_data): Likewise.
2357 (ctan_test_downward): Likewise.
2358 (ctan_upward_test_data): Likewise.
2359 (ctan_test_upward): Likewise.
2360 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2361 (ctanh_test): Use ALL_RM_TEST.
2362 (ctanh_tonearest_test_data): Remove.
2363 (ctanh_test_tonearest): Likewise.
2364 (ctanh_towardzero_test_data): Likewise.
2365 (ctanh_test_towardzero): Likewise.
2366 (ctanh_downward_test_data): Likewise.
2367 (ctanh_test_downward): Likewise.
2368 (ctanh_upward_test_data): Likewise.
2369 (ctanh_test_upward): Likewise.
2370 (erf_test_data): Update call to AUTO_TESTS_f_f.
2371 (erfc_test_data): Likewise.
2372 (exp_test_data): Likewise.
2373 (exp_test): Use ALL_RM_TEST.
2374 (exp_tonearest_test_data): Remove.
2375 (exp_test_tonearest): Likewise.
2376 (exp_towardzero_test_data): Likewise.
2377 (exp_test_towardzero): Likewise.
2378 (exp_downward_test_data): Likewise.
2379 (exp_test_downward): Likewise.
2380 (exp_upward_test_data): Likewise.
2381 (exp_test_upward): Likewise.
2382 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2383 (exp10_test): Use ALL_RM_TEST.
2384 (exp10_tonearest_test_data): Remove.
2385 (exp10_test_tonearest): Likewise.
2386 (exp10_towardzero_test_data): Likewise.
2387 (exp10_test_towardzero): Likewise.
2388 (exp10_downward_test_data): Likewise.
2389 (exp10_test_downward): Likewise.
2390 (exp10_upward_test_data): Likewise.
2391 (exp10_test_upward): Likewise.
2392 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2393 (expm1_test_data): Likewise.
2394 (expm1_test): Use ALL_RM_TEST.
2395 (expm1_tonearest_test_data): Remove.
2396 (expm1_test_tonearest): Likewise.
2397 (expm1_towardzero_test_data): Likewise.
2398 (expm1_test_towardzero): Likewise.
2399 (expm1_downward_test_data): Likewise.
2400 (expm1_test_downward): Likewise.
2401 (expm1_upward_test_data): Likewise.
2402 (expm1_test_upward): Likewise.
2403 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2404 (fma_test): Use ALL_RM_TEST.
2405 (fma_towardzero_test_data): Remove.
2406 (fma_test_towardzero): Likewise.
2407 (fma_downward_test_data): Likewise.
2408 (fma_test_downward): Likewise.
2409 (fma_upward_test_data): Likewise.
2410 (fma_test_upward): Likewise.
2411 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2412 (j0_test_data): Update call to AUTO_TESTS_f_f.
2413 (j1_test_data): Likewise.
2414 (jn_test_data): Update call to AUTO_TESTS_if_f.
2415 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2416 (log_test_data): Update call to AUTO_TESTS_f_f.
2417 (log10_test_data): Likewise.
2418 (log1p_test_data): Likewise.
2419 (log2_test_data): Likewise.
2420 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2421 (pow_tonearest_test_data): Likewise.
2422 (sin_test_data): Update call to AUTO_TESTS_f_f.
2423 (sin_test): Use ALL_RM_TEST.
2424 (sin_tonearest_test_data): Remove.
2425 (sin_test_tonearest): Likewise.
2426 (sin_towardzero_test_data): Likewise.
2427 (sin_test_towardzero): Likewise.
2428 (sin_downward_test_data): Likewise.
2429 (sin_test_downward): Likewise.
2430 (sin_upward_test_data): Likewise.
2431 (sin_test_upward): Likewise.
2432 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2433 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2434 (sinh_test): Use ALL_RM_TEST.
2435 (sinh_tonearest_test_data): Remove.
2436 (sinh_test_tonearest): Likewise.
2437 (sinh_towardzero_test_data): Likewise.
2438 (sinh_test_towardzero): Likewise.
2439 (sinh_downward_test_data): Likewise.
2440 (sinh_test_downward): Likewise.
2441 (sinh_upward_test_data): Likewise.
2442 (sinh_test_upward): Likewise.
2443 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2444 (sqrt_test): Use ALL_RM_TEST.
2445 (sqrt_tonearest_test_data): Remove.
2446 (sqrt_test_tonearest): Likewise.
2447 (sqrt_towardzero_test_data): Likewise.
2448 (sqrt_test_towardzero): Likewise.
2449 (sqrt_downward_test_data): Likewise.
2450 (sqrt_test_downward): Likewise.
2451 (sqrt_upward_test_data): Likewise.
2452 (sqrt_test_upward): Likewise.
2453 (tan_test_data): Update call to AUTO_TESTS_f_f.
2454 (tan_test): Use ALL_RM_TEST.
2455 (tan_tonearest_test_data): Remove.
2456 (tan_test_tonearest): Likewise.
2457 (tan_towardzero_test_data): Likewise.
2458 (tan_test_towardzero): Likewise.
2459 (tan_downward_test_data): Likewise.
2460 (tan_test_downward): Likewise.
2461 (tan_upward_test_data): Likewise.
2462 (tan_test_upward): Likewise.
2463 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2464 (tgamma_test_data): Likewise.
2465 (y0_test_data): Likewise.
2466 (y1_test_data): Likewise.
2467 (yn_test_data): Update call to AUTO_TESTS_if_f.
2468 (main): Do not call removed functions.
2470 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2472 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2473 (ldexp_test_data): Remove.
2474 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2476 (scalb_test): Use ALL_RM_TEST.
2478 2014-03-19 Andreas Schwab <schwab@suse.de>
2480 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2482 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2485 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2487 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2488 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2489 (__ASSUME_PREADV): Undefine.
2490 (__ASSUME_PWRITEV): Likewise.
2492 2014-03-18 Roland McGrath <roland@hack.frob.com>
2494 * bits/mman-linux.h: Add comment about non-Linux use.
2495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2496 bits/mman-linux.h resting place.
2498 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2499 * bits/mman-linux.h: ... here.
2501 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2503 * conform/conformtest.pl: Add standard definition when calling C
2504 preprocessor on data files.
2505 (checknamespace): Remove unused variable.
2507 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2509 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2510 minus_oflow, plus_uflow and minus_uflow in expected results.
2511 * math/libm-test.inc (scalbn_test_data): Add more tests of
2512 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2514 (scalbn_test): Use ALL_RM_TEST.
2515 (scalbln_test_data): Add more tests of negative arguments. Use
2516 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2517 (scalbln_test): Use ALL_RM_TEST.
2519 2014-03-18 Roland McGrath <roland@hack.frob.com>
2521 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2523 2014-03-18 Will Newton <will.newton@linaro.org>
2525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2528 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2530 * Makerules [!subdir] (check-abi): Exit with error status if a
2533 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2535 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2536 for rint. Include results for all rounding modes.
2537 (nearbyint_test): Use ALL_RM_TEST.
2538 (rint_test_data): Include all tests used for nearbyint.
2540 2014-03-17 Will Newton <will.newton@linaro.org>
2542 * nptl/sysdeps/pthread/pthread.h: Revert previous
2545 * sysdeps/generic/ldsodefs.h: Revert previous
2548 * libio/genops.c: Revert previous change.
2549 * libio/libioP.h: Likewise.
2550 * stdio-common/vfprintf.c: Likewise.
2552 * sysdeps/generic/math_private.h: Revert previous
2555 * sysdeps/generic/math_private.h: Check whether
2556 HAVE_RM_CTX is defined with #ifdef rather
2559 * argp/argp-fmtstream.h: Check whether
2560 __STRICT_ANSI__ is defined with #ifdef rather
2562 * argp/argp.h: Likewise.
2564 * libio/genops.c: Check whether
2565 _IO_JUMPS_OFFSET is defined with #ifdef rather
2567 * libio/libioP.h: Likewise.
2568 * stdio-common/vfprintf.c: Likewise.
2570 * sysdeps/generic/ldsodefs.h: Check whether
2571 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2574 * nptl/sysdeps/pthread/pthread.h: Check
2575 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2578 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2580 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2582 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2586 * libio/fileops.c (_IO_file_open): Seek to end of file but
2587 don't cache the offset.
2588 (get_file_offset): Remove function.
2589 (do_ftell): Use cached offset when available.
2590 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2591 don't cache the offset.
2592 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2594 (do_one_test): Call it.
2595 (do_ftell_test): Fix up expected old offset for a+ mode.
2596 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2599 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2600 up test status with function return status.
2601 (do_write_test): Likewise.
2602 (do_append_test): Likewise.
2604 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2605 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2608 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2610 * math/gen-libm-test.pl (parse_args): Handle results specified for
2611 each rounding mode separately.
2612 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2613 tests and results from lrint_tonearest_test_data,
2614 lrint_towardzero_test_data, lrint_downward_test_data and
2615 lrint_upward_test_data.
2616 (lrint_test): Use ALL_RM_TEST.
2617 (lrint_tonearest_test_data): Remove.
2618 (lrint_test_tonearest): Likewise.
2619 (lrint_towardzero_test_data): Likewise.
2620 (lrint_test_towardzero): Likewise.
2621 (lrint_downward_test_data): Likewise.
2622 (lrint_test_downward): Likewise.
2623 (lrint_upward_test_data): Likewise.
2624 (lrint_test_upward): Likewise.
2625 (llrint_test_data): Merge in per-rounding-mode tests and results
2626 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2627 llrint_downward_test_data and llrint_upward_test_data.
2628 (llrint_test): Use ALL_RM_TEST.
2629 (llrint_tonearest_test_data): Remove.
2630 (llrint_test_tonearest): Likewise.
2631 (llrint_towardzero_test_data): Likewise.
2632 (llrint_test_towardzero): Likewise.
2633 (llrint_downward_test_data): Likewise.
2634 (llrint_test_downward): Likewise.
2635 (llrint_upward_test_data): Likewise.
2636 (llrint_test_upward): Likewise.
2637 (rint_test_data): Merge in per-rounding-mode tests and results
2638 from rint_tonearest_test_data, rint_towardzero_test_data,
2639 rint_downward_test_data and rint_upward_test_data. Add
2640 per-rounding-mode results for tests not in those arrays.
2641 (rint_test): Use ALL_RM_TEST.
2642 (rint_tonearest_test_data): Remove.
2643 (rint_test_tonearest): Likewise.
2644 (rint_towardzero_test_data): Likewise.
2645 (rint_test_towardzero): Likewise.
2646 (rint_downward_test_data): Likewise.
2647 (rint_test_downward): Likewise.
2648 (rint_upward_test_data): Likewise.
2649 (rint_test_upward): Likewise.
2650 (main): Don't call removed functions.
2652 2014-03-14 Roland McGrath <roland@hack.frob.com>
2654 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2655 "Compiled on ..." crapola. It is anti-useful.
2657 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2659 * scripts/evaluate-test.sh: Handle fourth argument to determine
2660 whether test run should stop on failure.
2661 * Makeconfig (stop-on-test-failure): New variable.
2662 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2663 $(stop-on-test-failure).
2664 * Makefile (tests): Give a summary of results from testing and
2665 exit with failure status if they include an ERROR or FAIL.
2667 * manual/install.texi (Configuring and compiling): Mention
2668 stop-on-test-failure=y.
2669 * INSTALL: Regenerated.
2671 2014-03-14 Roland McGrath <roland@hack.frob.com>
2673 * scripts/versionlist.awk: New file.
2674 * Makerules [$(build-shared) = yes]
2675 (postclean-generated): Add Versions.def, not Versions.def.v and
2677 ($(common-objpfx)Versions.def.v.i): Target removed.
2678 ($(common-objpfx)Versions.def): New target.
2679 ($(common-objpfx)Versions.all): Depend on that rather that
2680 $(common-objpfx)Versions.def.v.
2681 * Versions.def: File removed.
2683 * Makeconfig (+gccwarn): Add -Wundef.
2684 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2685 a dl-sysdep.h breaking its contract.
2686 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2687 * include/stackinfo.h: New file.
2688 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2689 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2690 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2691 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2692 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2693 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2694 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2695 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2696 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2697 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2698 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2699 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2700 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2701 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2702 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2704 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2709 * math/libm-test.inc (round_test_data): Add more tests.
2712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2714 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2717 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2719 * math/libm-test.inc (ceil_test_data): Add more tests.
2721 * math/libm-test.inc (trunc_test_data): Add more tests related to
2724 2014-03-14 Roland McGrath <roland@hack.frob.com>
2726 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2727 with #if rather than #ifdef.
2728 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2730 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2732 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2733 first. Disable AVX-512 GCC support if assembler doesn't support
2735 * sysdeps/x86_64/configure: Regenerated.
2737 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2739 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2740 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2741 (__old_pthread_attr_setstack): Likewise.
2742 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2743 [!_STACK_GROWS_DOWN]: Likewise.
2745 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2747 * config.make.in (have-bash2): Delete.
2748 * configure.ac (libc_cv_have_bash2): Delete.
2749 * configure: Regenerate.
2750 * elf/Makefile (common-ldd-rewrite): Rename to ...
2751 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2752 (sh-ldd-rewrite): Delete.
2753 (bash-ldd-rewrite): Delete.
2754 (have-bash2): Delete checks.
2755 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2758 * config.make.in (have-ksh): Delete.
2760 * configure.ac (libc_cv_have_ksh): Delete.
2761 * configure: Regenerate.
2763 * elf/Makefile: Delete $(have-ksh) check.
2764 ($(objpfx)sotruss): Change KSH to BASH.
2765 * elf/sotruss.ksh: Rename to ...
2766 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2767 function style to match POSIX. Drop ksh vim mode setting.
2769 * manual/time.texi (Specifying the Time Zone with TZ): Change
2770 Tuesday to Thursday.
2772 * debug/tst-longjmp_chk2.c: Update header comment.
2773 (stackoverflow_handler): Add comment. Call assert on pass value.
2775 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2777 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2778 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2779 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2780 (La_x86_64_vector): Add zmm.
2781 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2782 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2783 ($(objpfx)tst-audit10): New target.
2784 ($(objpfx)tst-audit10.out): Likewise.
2785 (tst-audit10-ENV): New.
2786 (AVX512-CFLAGS): Likewise.
2787 (CFLAGS-tst-audit10.c): Likewise.
2788 (CFLAGS-tst-auditmod10a.c): Likewise.
2789 (CFLAGS-tst-auditmod10b.c): Likewise.
2790 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2791 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2792 * sysdeps/x86_64/configure: Regenerated.
2793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2794 AVX-512 zmm register support.
2795 (_dl_x86_64_save_sse): Likewise.
2796 (_dl_x86_64_restore_sse): Likewise.
2797 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2798 size vector registers.
2799 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2800 (ZMM_SIZE): Likewise.
2801 * sysdeps/x86_64/tst-audit10.c: New file.
2802 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2803 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2805 2014-03-13 Roland McGrath <roland@hack.frob.com>
2807 * configure.ac (HAVE_EHDR_START): New check.
2808 * configure: Regenerated.
2809 * config.h.in (HAVE_EHDR_START): New #undef.
2810 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2811 assuming the lowest-addressed segment maps the start of the file.
2813 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2815 * INSTALL: Regenerated.
2817 2014-03-13 Will Newton <will.newton@linaro.org>
2819 * manual/setjmp.texi (System V contexts): Improve
2820 clarity and grammar of documentation.
2822 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2825 * elf/Makefile (tests): Add tst-pie2.
2826 (tests-pie): Add tst-pie2.
2827 * elf/tst-pie2.c: New file.
2828 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2830 * elf/rtld.c (map_doit): Load executable as lt_executable.
2831 (dl_main): Likewise.
2833 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2836 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2837 (__ASSUME_PSELECT): Undefine.
2839 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2842 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2843 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2845 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2846 selector for static builds.
2848 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2851 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2854 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2856 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2857 IFUNC selector for static builds.
2859 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2861 * sysdeps/mips/math_private.h [__mips_hard_float]
2862 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2863 libc_feresetround_mips_ctx.
2864 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2865 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2866 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2869 * math/s_nextafter.c (__nextafter): Do not return value from
2870 overflowing computation.
2871 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2872 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2875 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2877 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2878 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2880 2014-03-11 Roland McGrath <roland@hack.frob.com>
2882 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2883 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2884 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2885 the new mov targetting sp.
2887 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2890 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2891 Define it for static builds as well.
2892 (NO_BZERO_IMPL): Likewise.
2894 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2896 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2897 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2898 multiarch strspn for PPC64.
2899 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2900 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2902 (__libc_ifunc_impl_list): Likewise.
2903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2904 multiarch optimizations
2905 * string/strspn.c (strspn): Using macro to redefine symbol name.
2907 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2908 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2910 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2911 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2912 multiarch strncat for PPC64.
2913 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2914 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2916 (__libc_ifunc_impl_list): Likewise.
2917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2918 multiarch optimizations
2920 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2923 * nscd/nscd.service: Make service type forking.
2925 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2928 sign in non default rounding modes.
2929 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2931 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2933 * math/libm-test.inc (ALL_RM_TEST): New macro.
2934 (ceil_test): Use ALL_RM_TEST.
2935 (cimag_test): Likewise.
2936 (conj_test): Likewise.
2937 (copysign_test): Likewise.
2938 (cproj_test): Likewise.
2939 (creal_test): Likewise.
2940 (fabs_test): Likewise.
2941 (floor_test): Likewise.
2942 (fmax_test): Likewise.
2943 (fmin_test): Likewise.
2944 (fmod_test): Likewise.
2945 (fpclassify_test): Likewise.
2946 (frexp_test): Likewise.
2947 (ilogb_test): Likewise.
2948 (isfinite_test): Likewise.
2949 (finite_test): Likewise.
2950 (isgreater_test): Likewise.
2951 (isgreaterequal_test): Likewise.
2952 (isinf_test): Likewise.
2953 (isless_test): Likewise.
2954 (islessequal_test): Likewise.
2955 (islessgreater_test): Likewise.
2956 (isnan_test): Likewise.
2957 (isnormal_test): Likewise.
2958 (issignaling_test): Likewise.
2959 (isunordered_test): Likewise.
2960 (logb_test): Likewise.
2961 (logb_downward_test_data): Remove.
2962 (logb_test_downward): Likewise.
2963 (lround_test): Use ALL_RM_TEST.
2964 (llround_test): Likewise.
2965 (modf_test): Likewise.
2966 (nexttoward_test): Likewise.
2967 (remainder_test): Likewise.
2968 (drem_test): Likewise.
2969 (remainder_tonearest_test_data): Likewise.
2970 (remainder_test_tonearest): Likewise.
2971 (drem_test_tonearest): Likewise.
2972 (remainder_towardzero_test_data): Likewise.
2973 (remainder_test_towardzero): Likewise.
2974 (drem_test_towardzero): Likewise.
2975 (remainder_downward_test_data): Likewise.
2976 (remainder_test_downward): Likewise.
2977 (drem_test_downward): Likewise.
2978 (remainder_upward_test_data): Likewise.
2979 (remainder_test_upward): Likewise.
2980 (drem_test_upward): Likewise.
2981 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2982 (round_test): Use ALL_RM_TEST.
2983 (signbit_test): Likewise.
2984 (trunc_test): Likewise.
2985 (significand_test): Likewise.
2986 (main): Don't call removed functions.
2988 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2991 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2993 (ILL_ILLOPN): Likewise.
2994 (ILL_ILLADR): Likewise.
2995 (ILL_ILLTRP): Likewise.
2996 (ILL_PRVOPC): Likewise.
2997 (ILL_PRVREG): Likewise.
2998 (ILL_COPROC): Likewise.
2999 (ILL_BADSTK): Likewise.
3000 (FPE_INTDIV): Likewise.
3001 (FPE_INTOVF): Likewise.
3002 (FPE_FLTDIV): Likewise.
3003 (FPE_FLTOVF): Likewise.
3004 (FPE_FLTUND): Likewise.
3005 (FPE_FLTRES): Likewise.
3006 (FPE_FLTINV): Likewise.
3007 (FPE_FLTSUB): Likewise.
3008 (SEGV_MAPERR): Likewise.
3009 (SEGV_ACCERR): Likewise.
3010 (BUS_ADRALN): Likewise.
3011 (BUS_ADRERR): Likewise.
3012 (BUS_OBJERR): Likewise.
3013 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3014 (TRAP_TRACE): Likewise.
3015 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3017 (CLD_KILLED): Likewise.
3018 (CLD_DUMPED): Likewise.
3019 (CLD_TRAPPED): Likewise.
3020 (CLD_STOPPED): Likewise.
3021 (CLD_CONTINUED): Likewise.
3022 (POLL_IN): Likewise.
3023 (POLL_OUT): Likewise.
3024 (POLL_MSG): Likewise.
3025 (POLL_ERR): Likewise.
3026 (POLL_PRI): Likewise.
3027 (POLL_HUP): Likewise.
3028 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3030 (ILL_ILLOPN): Likewise.
3031 (ILL_ILLADR): Likewise.
3032 (ILL_ILLTRP): Likewise.
3033 (ILL_PRVOPC): Likewise.
3034 (ILL_PRVREG): Likewise.
3035 (ILL_COPROC): Likewise.
3036 (ILL_BADSTK): Likewise.
3037 (FPE_INTDIV): Likewise.
3038 (FPE_INTOVF): Likewise.
3039 (FPE_FLTDIV): Likewise.
3040 (FPE_FLTOVF): Likewise.
3041 (FPE_FLTUND): Likewise.
3042 (FPE_FLTRES): Likewise.
3043 (FPE_FLTINV): Likewise.
3044 (FPE_FLTSUB): Likewise.
3045 (SEGV_MAPERR): Likewise.
3046 (SEGV_ACCERR): Likewise.
3047 (BUS_ADRALN): Likewise.
3048 (BUS_ADRERR): Likewise.
3049 (BUS_OBJERR): Likewise.
3050 (BUS_MCEERR_AR): Likewise.
3051 (BUS_MCEERR_AO): Likewise.
3052 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3053 (TRAP_TRACE): Likewise.
3054 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3056 (CLD_KILLED): Likewise.
3057 (CLD_DUMPED): Likewise.
3058 (CLD_TRAPPED): Likewise.
3059 (CLD_STOPPED): Likewise.
3060 (CLD_CONTINUED): Likewise.
3061 (POLL_IN): Likewise.
3062 (POLL_OUT): Likewise.
3063 (POLL_MSG): Likewise.
3064 (POLL_ERR): Likewise.
3065 (POLL_PRI): Likewise.
3066 (POLL_HUP): Likewise.
3067 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3068 (ILL_ILLOPN): Likewise.
3069 (ILL_ILLADR): Likewise.
3070 (ILL_ILLTRP): Likewise.
3071 (ILL_PRVOPC): Likewise.
3072 (ILL_PRVREG): Likewise.
3073 (ILL_COPROC): Likewise.
3074 (ILL_BADSTK): Likewise.
3075 (FPE_INTDIV): Likewise.
3076 (FPE_INTOVF): Likewise.
3077 (FPE_FLTDIV): Likewise.
3078 (FPE_FLTOVF): Likewise.
3079 (FPE_FLTUND): Likewise.
3080 (FPE_FLTRES): Likewise.
3081 (FPE_FLTINV): Likewise.
3082 (FPE_FLTSUB): Likewise.
3083 (SEGV_MAPERR): Likewise.
3084 (SEGV_ACCERR): Likewise.
3085 (BUS_ADRALN): Likewise.
3086 (BUS_ADRERR): Likewise.
3087 (BUS_OBJERR): Likewise.
3088 (BUS_MCEERR_AR): Likewise.
3089 (BUS_MCEERR_AO): Likewise.
3090 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3091 (TRAP_TRACE): Likewise.
3092 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3094 (CLD_KILLED): Likewise.
3095 (CLD_DUMPED): Likewise.
3096 (CLD_TRAPPED): Likewise.
3097 (CLD_STOPPED): Likewise.
3098 (CLD_CONTINUED): Likewise.
3099 (POLL_IN): Likewise.
3100 (POLL_OUT): Likewise.
3101 (POLL_MSG): Likewise.
3102 (POLL_ERR): Likewise.
3103 (POLL_PRI): Likewise.
3104 (POLL_HUP): Likewise.
3105 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3107 (ILL_ILLOPN): Likewise.
3108 (ILL_ILLADR): Likewise.
3109 (ILL_ILLTRP): Likewise.
3110 (ILL_PRVOPC): Likewise.
3111 (ILL_PRVREG): Likewise.
3112 (ILL_COPROC): Likewise.
3113 (ILL_BADSTK): Likewise.
3114 (ILL_BADIADDR): Likewise.
3115 (ILL_BREAK): Likewise.
3116 (FPE_INTDIV): Likewise.
3117 (FPE_INTOVF): Likewise.
3118 (FPE_FLTDIV): Likewise.
3119 (FPE_FLTOVF): Likewise.
3120 (FPE_FLTUND): Likewise.
3121 (FPE_FLTRES): Likewise.
3122 (FPE_FLTINV): Likewise.
3123 (FPE_FLTSUB): Likewise.
3124 (FPE_DECOVF): Likewise.
3125 (FPE_DECDIV): Likewise.
3126 (FPE_DECERR): Likewise.
3127 (FPE_INVASC): Likewise.
3128 (FPE_INVDEC): Likewise.
3129 (SEGV_MAPERR): Likewise.
3130 (SEGV_ACCERR): Likewise.
3131 (SEGV_PSTKOVF): Likewise.
3132 (BUS_ADRALN): Likewise.
3133 (BUS_ADRERR): Likewise.
3134 (BUS_OBJERR): Likewise.
3135 (BUS_MCEERR_AR): Likewise.
3136 (BUS_MCEERR_AO): Likewise.
3137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3138 (TRAP_TRACE): Likewise.
3139 (TRAP_BRANCH): Likewise.
3140 (TRAP_HWBKPT): Likewise.
3141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3143 (CLD_KILLED): Likewise.
3144 (CLD_DUMPED): Likewise.
3145 (CLD_TRAPPED): Likewise.
3146 (CLD_STOPPED): Likewise.
3147 (CLD_CONTINUED): Likewise.
3148 (POLL_IN): Likewise.
3149 (POLL_OUT): Likewise.
3150 (POLL_MSG): Likewise.
3151 (POLL_ERR): Likewise.
3152 (POLL_PRI): Likewise.
3153 (POLL_HUP): Likewise.
3154 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3155 (ILL_ILLOPN): Likewise.
3156 (ILL_ILLADR): Likewise.
3157 (ILL_ILLTRP): Likewise.
3158 (ILL_PRVOPC): Likewise.
3159 (ILL_PRVREG): Likewise.
3160 (ILL_COPROC): Likewise.
3161 (ILL_BADSTK): Likewise.
3162 (FPE_INTDIV): Likewise.
3163 (FPE_INTOVF): Likewise.
3164 (FPE_FLTDIV): Likewise.
3165 (FPE_FLTOVF): Likewise.
3166 (FPE_FLTUND): Likewise.
3167 (FPE_FLTRES): Likewise.
3168 (FPE_FLTINV): Likewise.
3169 (FPE_FLTSUB): Likewise.
3170 (SEGV_MAPERR): Likewise.
3171 (SEGV_ACCERR): Likewise.
3172 (BUS_ADRALN): Likewise.
3173 (BUS_ADRERR): Likewise.
3174 (BUS_OBJERR): Likewise.
3175 (BUS_MCEERR_AR): Likewise.
3176 (BUS_MCEERR_AO): Likewise.
3177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3178 (TRAP_TRACE): Likewise.
3179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3181 (CLD_KILLED): Likewise.
3182 (CLD_DUMPED): Likewise.
3183 (CLD_TRAPPED): Likewise.
3184 (CLD_STOPPED): Likewise.
3185 (CLD_CONTINUED): Likewise.
3186 (POLL_IN): Likewise.
3187 (POLL_OUT): Likewise.
3188 (POLL_MSG): Likewise.
3189 (POLL_ERR): Likewise.
3190 (POLL_PRI): Likewise.
3191 (POLL_HUP): Likewise.
3192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3193 (ILL_ILLOPN): Likewise.
3194 (ILL_ILLADR): Likewise.
3195 (ILL_ILLTRP): Likewise.
3196 (ILL_PRVOPC): Likewise.
3197 (ILL_PRVREG): Likewise.
3198 (ILL_COPROC): Likewise.
3199 (ILL_BADSTK): Likewise.
3200 (FPE_INTDIV): Likewise.
3201 (FPE_INTOVF): Likewise.
3202 (FPE_FLTDIV): Likewise.
3203 (FPE_FLTOVF): Likewise.
3204 (FPE_FLTUND): Likewise.
3205 (FPE_FLTRES): Likewise.
3206 (FPE_FLTINV): Likewise.
3207 (FPE_FLTSUB): Likewise.
3208 (SEGV_MAPERR): Likewise.
3209 (SEGV_ACCERR): Likewise.
3210 (BUS_ADRALN): Likewise.
3211 (BUS_ADRERR): Likewise.
3212 (BUS_OBJERR): Likewise.
3213 (BUS_MCEERR_AR): Likewise.
3214 (BUS_MCEERR_AO): Likewise.
3215 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3216 (TRAP_TRACE): Likewise.
3217 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3219 (CLD_KILLED): Likewise.
3220 (CLD_DUMPED): Likewise.
3221 (CLD_TRAPPED): Likewise.
3222 (CLD_STOPPED): Likewise.
3223 (CLD_CONTINUED): Likewise.
3224 (POLL_IN): Likewise.
3225 (POLL_OUT): Likewise.
3226 (POLL_MSG): Likewise.
3227 (POLL_ERR): Likewise.
3228 (POLL_PRI): Likewise.
3229 (POLL_HUP): Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3231 (ILL_ILLOPN): Likewise.
3232 (ILL_ILLADR): Likewise.
3233 (ILL_ILLTRP): Likewise.
3234 (ILL_PRVOPC): Likewise.
3235 (ILL_PRVREG): Likewise.
3236 (ILL_COPROC): Likewise.
3237 (ILL_BADSTK): Likewise.
3238 (FPE_INTDIV): Likewise.
3239 (FPE_INTOVF): Likewise.
3240 (FPE_FLTDIV): Likewise.
3241 (FPE_FLTOVF): Likewise.
3242 (FPE_FLTUND): Likewise.
3243 (FPE_FLTRES): Likewise.
3244 (FPE_FLTINV): Likewise.
3245 (FPE_FLTSUB): Likewise.
3246 (SEGV_MAPERR): Likewise.
3247 (SEGV_ACCERR): Likewise.
3248 (BUS_ADRALN): Likewise.
3249 (BUS_ADRERR): Likewise.
3250 (BUS_OBJERR): Likewise.
3251 (BUS_MCEERR_AR): Likewise.
3252 (BUS_MCEERR_AO): Likewise.
3253 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3254 (TRAP_TRACE): Likewise.
3255 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3257 (CLD_KILLED): Likewise.
3258 (CLD_DUMPED): Likewise.
3259 (CLD_TRAPPED): Likewise.
3260 (CLD_STOPPED): Likewise.
3261 (CLD_CONTINUED): Likewise.
3262 (POLL_IN): Likewise.
3263 (POLL_OUT): Likewise.
3264 (POLL_MSG): Likewise.
3265 (POLL_ERR): Likewise.
3266 (POLL_PRI): Likewise.
3267 (POLL_HUP): Likewise.
3268 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3269 (ILL_ILLOPN): Likewise.
3270 (ILL_ILLADR): Likewise.
3271 (ILL_ILLTRP): Likewise.
3272 (ILL_PRVOPC): Likewise.
3273 (ILL_PRVREG): Likewise.
3274 (ILL_COPROC): Likewise.
3275 (ILL_BADSTK): Likewise.
3276 (ILL_DBLFLT): Likewise.
3277 (ILL_HARDWALL): Likewise.
3278 (FPE_INTDIV): Likewise.
3279 (FPE_INTOVF): Likewise.
3280 (FPE_FLTDIV): Likewise.
3281 (FPE_FLTOVF): Likewise.
3282 (FPE_FLTUND): Likewise.
3283 (FPE_FLTRES): Likewise.
3284 (FPE_FLTINV): Likewise.
3285 (FPE_FLTSUB): Likewise.
3286 (SEGV_MAPERR): Likewise.
3287 (SEGV_ACCERR): Likewise.
3288 (BUS_ADRALN): Likewise.
3289 (BUS_ADRERR): Likewise.
3290 (BUS_OBJERR): Likewise.
3291 (BUS_MCEERR_AR): Likewise.
3292 (BUS_MCEERR_AO): Likewise.
3293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3294 (TRAP_TRACE): Likewise.
3295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3297 (CLD_KILLED): Likewise.
3298 (CLD_DUMPED): Likewise.
3299 (CLD_TRAPPED): Likewise.
3300 (CLD_STOPPED): Likewise.
3301 (CLD_CONTINUED): Likewise.
3302 (POLL_IN): Likewise.
3303 (POLL_OUT): Likewise.
3304 (POLL_MSG): Likewise.
3305 (POLL_ERR): Likewise.
3306 (POLL_PRI): Likewise.
3307 (POLL_HUP): Likewise.
3308 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3309 (ILL_ILLOPN): Likewise.
3310 (ILL_ILLADR): Likewise.
3311 (ILL_ILLTRP): Likewise.
3312 (ILL_PRVOPC): Likewise.
3313 (ILL_PRVREG): Likewise.
3314 (ILL_COPROC): Likewise.
3315 (ILL_BADSTK): Likewise.
3316 (FPE_INTDIV): Likewise.
3317 (FPE_INTOVF): Likewise.
3318 (FPE_FLTDIV): Likewise.
3319 (FPE_FLTOVF): Likewise.
3320 (FPE_FLTUND): Likewise.
3321 (FPE_FLTRES): Likewise.
3322 (FPE_FLTINV): Likewise.
3323 (FPE_FLTSUB): Likewise.
3324 (SEGV_MAPERR): Likewise.
3325 (SEGV_ACCERR): Likewise.
3326 (BUS_ADRALN): Likewise.
3327 (BUS_ADRERR): Likewise.
3328 (BUS_OBJERR): Likewise.
3329 (BUS_MCEERR_AR): Likewise.
3330 (BUS_MCEERR_AO): Likewise.
3331 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3332 (TRAP_TRACE): Likewise.
3333 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3335 (CLD_KILLED): Likewise.
3336 (CLD_DUMPED): Likewise.
3337 (CLD_TRAPPED): Likewise.
3338 (CLD_STOPPED): Likewise.
3339 (CLD_CONTINUED): Likewise.
3340 (POLL_IN): Likewise.
3341 (POLL_OUT): Likewise.
3342 (POLL_MSG): Likewise.
3343 (POLL_ERR): Likewise.
3344 (POLL_PRI): Likewise.
3345 (POLL_HUP): Likewise.
3346 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3347 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3350 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3351 before #include of <time.h>.
3352 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3353 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3354 (test-xfail-UNIX98/sched.h/conform): Likewise.
3356 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3358 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3359 error absence of trapping exception support.
3360 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3362 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3364 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3365 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3366 * timezone/Makefile (testdata): Move definition above include of
3368 (test-zones): New variable.
3369 (tests-special): Add zone files.
3370 (build-testdata): Use $(evaluate-test).
3372 * elf/Makefile (tests-special): Rename tests to end with .out.
3373 ($(objpfx)noload-mem): Likewise.
3374 ($(objpfx)tst-leaks1-mem): Likewise.
3375 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3376 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3377 $(objpfx)test-iconvconfig.out.
3378 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3379 set -e inside subshell and redirect output to file.
3380 * iconvdata/Makefile (generated): Rename tests to end with .out.
3382 (tests-special): Rename tests to end with .out.
3383 ($(objpfx)mtrace-tst-loading): Likewise.
3384 * intl/Makefile (generated): Likewise.
3385 (tests-special): Likewise.
3386 ($(objpfx)mtrace-tst-gettext): Likewise.
3387 * misc/Makefile (generated): Likewise.
3388 (tests-special): Likewise.
3389 ($(objpfx)tst-error1-mem): Likewise.
3390 * nptl/Makefile (tests-special): Likewise.
3391 ($(objpfx)tst-stack3-mem): Likewise.
3392 (generated): Likewise.
3393 * posix/Makefile (generated): Likewise.
3394 (tests-special): Likewise.
3395 (xtests-special): Likewise.
3396 ($(objpfx)tst-fnmatch-mem): Likewise.
3397 ($(objpfx)bug-regex2-mem): Likewise.
3398 ($(objpfx)bug-regex14-mem): Likewise.
3399 ($(objpfx)bug-regex21-mem): Likewise.
3400 ($(objpfx)bug-regex31-mem): Likewise.
3401 ($(objpfx)tst-vfork3-mem): Likewise.
3402 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3403 ($(objpfx)tst-pcre-mem): Likewise.
3404 ($(objpfx)tst-boost-mem): Likewise.
3405 ($(objpfx)bug-ga2-mem): Likewise.
3406 ($(objpfx)bug-glob2-mem): Likewise.
3407 * resolv/Makefile (generate): Likewise.
3408 (tests-special): Likewise.
3409 (xtests-special): Likewise.
3410 (generated): Likewise.
3411 ($(objpfx)mtrace-tst-leaks): Likewise.
3412 ($(objpfx)mtrace-tst-leaks2): Likewise.
3414 * scripts/merge-test-results.sh: New file.
3415 * Makefile (tests-special-notdir): New variable.
3416 (tests): Run merge-test-results.sh.
3418 * Rules (tests-special-notdir): New variable.
3419 (xtests-special-notdir): Likewise.
3420 (tests): Run merge-test-results.sh
3423 * Makeconfig (test-xfail-name): New variable.
3424 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3425 compute variable name for expected failures.
3426 * conform/Makefile (conformtest-headers-data): New variable.
3427 (conformtest-standards): Likewise.
3428 (conformtest-headers-ISO): Likewise.
3429 (conformtest-headers-ISO99): Likewise.
3430 (conformtest-headers-ISO11): Likewise.
3431 (conformtest-headers-POSIX): Likewise.
3432 (conformtest-headers-XPG3): Likewise.
3433 (conformtest-headers-XPG4): Likewise.
3434 (conformtest-headers-UNIX98): Likewise.
3435 (conformtest-headers-XOPEN2K): Likewise.
3436 (conformtest-headers-POSIX2008): Likewise.
3437 (conformtest-headers-XOPEN2K8): Likewise.
3438 (conformtest-header-list-base): Likewise.
3439 (conformtest-header-list-tests): Likewise.
3440 (conformtest-header-base): Likewise.
3441 (conformtest-header-tests): Likewise.
3442 (tests-special): Add $(conformtest-header-list-tests). If
3443 [$(fast-check) && !$(cross-compiling)], add
3444 $(conformtest-header-tests) instead of
3445 $(objpfx)run-conformtest.out.
3446 (generated): Add $(conformtest-header-list-base). If
3447 [$(fast-check) && !$(cross-compiling)], add
3448 $(conformtest-header-base). Remove previous setting.
3449 ($(conformtest-header-list-tests)): New target.
3450 (test-xfail-run-conformtest): Remove variable.
3451 ($(objpfx)run-conformtest.out): Remove target.
3452 (test-xfail-ISO11/complex.h/conform): New variable.
3453 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3454 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3455 (test-xfail-XPG3/varargs.h/conform): Likewise.
3456 (test-xfail-XPG4/varargs.h/conform): Likewise.
3457 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3458 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3459 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3460 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3461 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3462 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3463 (test-xfail-XPG3/ftw.h/conform): Likewise.
3464 (test-xfail-XPG3/grp.h/conform): Likewise.
3465 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3466 (test-xfail-XPG3/limits.h/conform): Likewise.
3467 (test-xfail-XPG3/pwd.h/conform): Likewise.
3468 (test-xfail-XPG3/search.h/conform): Likewise.
3469 (test-xfail-XPG3/signal.h/conform): Likewise.
3470 (test-xfail-XPG3/stdio.h/conform): Likewise.
3471 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3472 (test-xfail-XPG3/string.h/conform): Likewise.
3473 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3474 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3475 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3476 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3477 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3478 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3479 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3480 (test-xfail-XPG3/termios.h/conform): Likewise.
3481 (test-xfail-XPG3/time.h/conform): Likewise.
3482 (test-xfail-XPG3/unistd.h/conform): Likewise.
3483 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3484 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3485 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3486 (test-xfail-XPG4/netdb.h/conform): Likewise.
3487 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3488 (test-xfail-XPG4/signal.h/conform): Likewise.
3489 (test-xfail-XPG4/stdio.h/conform): Likewise.
3490 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3491 (test-xfail-XPG4/stropts.h/conform): Likewise.
3492 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3493 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3494 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3495 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3496 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3497 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3498 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3499 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3500 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3501 (test-xfail-XPG4/termios.h/conform): Likewise.
3502 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3503 (test-xfail-XPG4/unistd.h/conform): Likewise.
3504 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3505 (test-xfail-POSIX/sched.h/conform): Likewise.
3506 (test-xfail-POSIX/signal.h/conform): Likewise.
3507 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3508 (test-xfail-POSIX/tar.h/conform): Likewise.
3509 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3510 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3511 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3512 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3513 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3514 (test-xfail-UNIX98/sched.h/conform): Likewise.
3515 (test-xfail-UNIX98/signal.h/conform): Likewise.
3516 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3517 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3518 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3519 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3520 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3521 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3522 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3523 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3524 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3525 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3526 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3527 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3528 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3529 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3530 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3531 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3532 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3533 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3534 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3535 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3536 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3537 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3538 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3539 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3540 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3541 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3542 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3543 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3544 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3545 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3546 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3547 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3548 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3549 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3550 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3551 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3552 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3553 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3554 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3555 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3556 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3557 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3558 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3559 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3560 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3561 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3562 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3563 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3564 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3565 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3566 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3567 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3568 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3569 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3570 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3571 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3572 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3573 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3574 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3575 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3576 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3577 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3578 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3579 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3580 (conformtest-cc-flags): Likewise.
3581 ($(conformtest-header-tests): New target.
3582 * conform/check-header-lists.sh: New file.
3583 * conform/run-conformtest.sh: Remove.
3585 * conform/conformtest.pl: Allow ' and \ in values given for
3587 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3589 [POSIX] (sys/types.h): Likewise.
3590 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3592 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3594 * conform/data/signal.h-data (SIGIO): Remove expectation.
3595 [XPG3] (SIGBUS): Do not expect.
3596 [POSIX || XPG3] (SIGPOLL): Likewise.
3597 [POSIX || XPG3] (SIGPROF): Likewise.
3598 [POSIX || XPG3] (SIGSYS): Likewise.
3599 [XPG3] (SIGTRAP): Likewise.
3600 [POSIX || XPG3] (SIGURG): Likewise.
3601 [POSIX || XPG3] (SIGVTALRM): Likewise.
3602 [POSIX || XPG3] (SIGXCPU): Likewise.
3603 [POSIX || XPG3] (SIGXFSZ): Likewise.
3604 [POSIX] (SA_SIGINFO): Expect.
3605 [XPG3] (siginfo_t): Do not expect type or contents.
3606 [POSIX] (si_pid): Do not expect element.
3607 [POSIX] (si_uid): Likewise.
3608 [POSIX] (si_addr): Likewise.
3609 [POSIX] (si_status): Likewise.
3610 [POSIX] (si_band): Likewise.
3611 [XPG4] (si_value): Likewise.
3612 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3613 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3614 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3615 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3616 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3617 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3618 [POSIX || XPG3] (ILL_COPROC): Likewise.
3619 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3620 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3621 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3622 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3623 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3624 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3625 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3626 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3627 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3628 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3629 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3630 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3631 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3632 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3633 [POSIX || XPG3] (CLD_EXITED): Likewise.
3634 [POSIX || XPG3] (CLD_KILLED): Likewise.
3635 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3636 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3637 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3638 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3639 [POSIX || XPG3] (POLL_IN): Likewise.
3640 [POSIX || XPG3] (POLL_OUT): Likewise.
3641 [POSIX || XPG3] (POLL_MSG): Likewise.
3642 [POSIX || XPG3] (POLL_ERR): Likewise.
3643 [POSIX || XPG3] (POLL_PRI): Likewise.
3644 [POSIX || XPG3] (POLL_HUP): Likewise.
3645 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3646 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3647 (SIG*): Do not allow.
3648 [XPG3] (si_*): Likewise.
3649 [XPG3] (SI_*): Likewise.
3650 [XPG3 || XPG4] (sigev_*): Likewise.
3651 [XPG3 || XPG4] (SIGEV_*): Likewise.
3652 [XPG3 || XPG4] (sival_*): Likewise.
3653 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3654 [POSIX || XPG3] (BUS_*): Likewise.
3655 [POSIX || XPG3] (CLD_*): Likewise.
3656 [POSIX || XPG3] (FPE_*): Likewise.
3657 [POSIX || XPG3] (ILL_*): Likewise.
3658 [POSIX || XPG3] (POLL_*): Likewise.
3659 [POSIX || XPG3] (SEGV_*): Likewise.
3660 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3661 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3662 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3663 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3664 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3665 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3666 Specify type and value.
3667 (TVERSLEN): Likewise.
3668 (REGTYPE): Likewise.
3669 (AREGTYPE): Likewise.
3670 (LNKTYPE): Likewise.
3671 (SYMTYPE): Likewise.
3672 (CHRTYPE): Likewise.
3673 (BLKTYPE): Likewise.
3674 (DIRTYPE): Likewise.
3675 (FIFOTYPE): Likewise.
3676 (CONTTYPE): Likewise.
3681 (TUWRITE): Likewise.
3684 (TGWRITE): Likewise.
3687 (TOWRITE): Likewise.
3689 [POSIX] (TSVTX): Expect constant.
3691 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3693 * Makefile (tests): Change dependencies to ....
3694 (tests-special): ... additions to this variable.
3695 (tests): Depend on $(tests-special).
3696 * Makerules (check-abi-list): New variable.
3697 (check-abi): Depend on $(check-abi-list).
3698 [$(subdir) = elf] (tests-special): Add
3699 $(objpfx)check-abi-libc.out.
3700 [$(build-shared) = yes && subdir] (tests-special): Add
3702 [$(build-shared) = yes && subdir] (tests): Do not depend on
3704 * Rules (tests): Depend on $(tests-special).
3705 (xtests): Depend on $(xtests-special).
3706 * catgets/Makefile (tests): Change dependencies to ....
3707 (tests-special): ... additions to this variable.
3708 * conform/Makefile (tests): Change dependencies to ....
3709 (tests-special): ... additions to this variable.
3710 * elf/Makefile (tests): Change dependencies to ....
3711 (tests-special): ... additions to this variable.
3712 * grp/Makefile (tests): Change dependencies to ....
3713 (tests-special): ... additions to this variable.
3714 * iconv/Makefile (xtests): Change dependencies to ....
3715 (xtests-special): ... additions to this variable.
3716 * iconvdata/Makefile (tests): Change dependencies to ....
3717 (tests-special): ... additions to this variable.
3718 * intl/Makefile (tests): Change dependencies to ....
3719 (tests-special): ... additions to this variable. Also add
3720 $(objpfx)tst-gettext.out.
3721 * io/Makefile (tests): Change dependencies to ....
3722 (tests-special): ... additions to this variable.
3723 * libio/Makefile (tests): Change dependencies to ....
3724 (tests-special): ... additions to this variable.
3725 * malloc/Makefile (tests): Change dependencies to ....
3726 (tests-special): ... additions to this variable.
3727 * misc/Makefile (tests): Change dependencies to ....
3728 (tests-special): ... additions to this variable.
3729 * nptl/Makefile (tests): Change dependencies to ....
3730 (tests-special): ... additions to this variable.
3731 * nptl_db/Makefile (tests): Change dependencies to ....
3732 (tests-special): ... additions to this variable.
3733 * posix/Makefile (tests): Change dependencies to ....
3734 (tests-special): ... additions to this variable.
3735 (xtests): Change dependencies to ....
3736 (xtests-special): ... additions to this variable.
3737 * resolv/Makefile (tests): Change dependencies to ....
3738 (tests-special): ... additions to this variable.
3739 (xtests): Change dependencies to ....
3740 (xtests-special): ... additions to this variable.
3741 * stdio-common/Makefile (tests): Change dependencies to ....
3742 (tests-special): ... additions to this variable.
3743 (do-tst-unbputc): Remove target.
3744 (do-tst-printf): Likewise.
3745 * stdlib/Makefile (tests): Change dependencies to ....
3746 (tests-special): ... additions to this variable.
3747 * string/Makefile (tests): Change dependencies to ....
3748 (tests-special): ... additions to this variable.
3749 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3750 (tests-special): ... additions to this variable.
3752 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3754 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3756 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3757 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3759 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3760 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3761 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3762 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3763 * conform/data/libgen.h-data [XPG3]: Likewise.
3764 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3765 * conform/data/ndbm.h-data [XPG3]: Likewise.
3766 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3767 * conform/data/netdb.h-data [XPG3]: Likewise.
3768 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3769 * conform/data/poll.h-data [XPG3]: Likewise.
3770 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3771 * conform/data/strings.h-data [XPG3]: Likewise.
3772 * conform/data/stropts.h-data [XPG3]: Likewise.
3773 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3774 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3775 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3777 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3778 * conform/data/sys/time.h-data [XPG3]: Likewise.
3779 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3780 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3781 * conform/data/sys/un.h-data [XPG3]: Likewise.
3782 * conform/data/syslog.h-data [XPG3]: Likewise.
3783 * conform/data/ucontext.h-data [XPG3]: Likewise.
3784 * conform/data/utmpx.h-data [XPG3]: Likewise.
3785 * conform/data/varargs.h-data [UNIX98]: Enable file.
3787 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3789 * math/libm-test.inc (struct test_f_f_data): Move expected results
3790 into structure for each rounding mode.
3791 (struct test_ff_f_data): Likewise.
3792 (struct test_ff_f_data_nexttoward): Likewise.
3793 (struct test_fi_f_data): Likewise.
3794 (struct test_fl_f_data): Likewise.
3795 (struct test_if_f_data): Likewise.
3796 (struct test_fff_f_data): Likewise.
3797 (struct test_c_f_data): Likewise.
3798 (struct test_f_f1_data): Likewise.
3799 (struct test_fF_f1_data): Likewise.
3800 (struct test_ffI_f1_data): Likewise.
3801 (struct test_c_c_data): Likewise.
3802 (struct test_cc_c_data): Likewise.
3803 (struct test_f_i_data): Likewise.
3804 (struct test_ff_i_data): Likewise.
3805 (struct test_f_l_data): Likewise.
3806 (struct test_f_L_data): Likewise.
3807 (struct test_fFF_11_data): Likewise.
3809 (RM_FE_DOWNWARD): Likewise.
3810 (RM_FE_TONEAREST): Likewise.
3811 (RM_FE_TOWARDZERO): Likewise.
3812 (RM_FE_UPWARD): Likewise.
3813 (RUN_TEST_LOOP_f_f): Update references to expected results.
3814 (RUN_TEST_LOOP_2_f): Likewise.
3815 (RUN_TEST_LOOP_fff_f): Likewise.
3816 (RUN_TEST_LOOP_c_f): Likewise.
3817 (RUN_TEST_LOOP_f_f1): Likewise.
3818 (RUN_TEST_LOOP_fF_f1): Likewise.
3819 (RUN_TEST_LOOP_fI_f1): Likewise.
3820 (RUN_TEST_LOOP_ffI_f1): Likewise.
3821 (RUN_TEST_LOOP_c_c): Likewise.
3822 (RUN_TEST_LOOP_cc_c): Likewise.
3823 (RUN_TEST_LOOP_f_i): Likewise.
3824 (RUN_TEST_LOOP_f_i_tg): Likewise.
3825 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3826 (RUN_TEST_LOOP_f_b): Likewise.
3827 (RUN_TEST_LOOP_f_b_tg): Likewise.
3828 (RUN_TEST_LOOP_f_l): Likewise.
3829 (RUN_TEST_LOOP_f_L): Likewise.
3830 (RUN_TEST_LOOP_fFF_11): Likewise.
3831 * math/gen-libm-test.pl (parse_args): Output four copies of
3832 expected results for each test.
3834 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3835 (__ASSUME_UTIMES): Remove.
3836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3837 (__ASSUME_UTIMES): Likewise.
3839 * math/gen-auto-libm-tests.c: Update comment on output format.
3840 (output_for_one_input_case): Generate before-rounding and
3841 after-rounding information as conditions on output flags not
3842 floating-point format.
3843 * math/auto-libm-test-out: Regenerated.
3844 * math/gen-libm-test.pl (cond_value): New function.
3845 (or_cond_value): Use cond_value.
3846 (generate_testfile): Handle conditional exceptions.
3848 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3850 * math/libm-test.inc (max_valid_error): New variable.
3851 (init_max_error): Take new argument specifying whether function
3852 results are exactly determined. Set max_valid_error and bound
3853 other variables for errors based on this argument.
3854 (set_max_error): Do not record results above max_valid_error.
3855 (check_float_internal): Only accept errors of up to 0.5ulps if
3856 also at most max_valid_error.
3857 (START): Take new argument EXACT and pass it to init_max_error.
3858 (acos_test): Update call to START.
3859 (acos_test_tonearest): Likewise.
3860 (acos_test_towardzero): Likewise.
3861 (acos_test_downward): Likewise.
3862 (acos_test_upward): Likewise.
3863 (acosh_test): Likewise.
3864 (asin_test): Likewise.
3865 (asin_test_tonearest): Likewise.
3866 (asin_test_towardzero): Likewise.
3867 (asin_test_downward): Likewise.
3868 (asin_test_upward): Likewise.
3869 (asinh_test): Likewise.
3870 (atan_test): Likewise.
3871 (atanh_test): Likewise.
3872 (atan2_test): Likewise.
3873 (cabs_test): Likewise.
3874 (cacos_test): Likewise.
3875 (cacosh_test): Likewise.
3876 (carg_test): Likewise.
3877 (casin_test): Likewise.
3878 (casinh_test): Likewise.
3879 (catan_test): Likewise.
3880 (catanh_test): Likewise.
3881 (cbrt_test): Likewise.
3882 (ccos_test): Likewise.
3883 (ccosh_test): Likewise.
3884 (ceil_test): Likewise.
3885 (cexp_test): Likewise.
3886 (cimag_test): Likewise.
3887 (clog_test): Likewise.
3888 (clog10_test): Likewise.
3889 (conj_test): Likewise.
3890 (copysign_test): Likewise.
3891 (cos_test): Likewise.
3892 (cos_test_tonearest): Likewise.
3893 (cos_test_towardzero): Likewise.
3894 (cos_test_downward): Likewise.
3895 (cos_test_upward): Likewise.
3896 (cosh_test): Likewise.
3897 (cosh_test_tonearest): Likewise.
3898 (cosh_test_towardzero): Likewise.
3899 (cosh_test_downward): Likewise.
3900 (cosh_test_upward): Likewise.
3901 (cpow_test): Likewise.
3902 (cproj_test): Likewise.
3903 (creal_test): Likewise.
3904 (csin_test): Likewise.
3905 (csinh_test): Likewise.
3906 (csqrt_test): Likewise.
3907 (ctan_test): Likewise.
3908 (ctan_test_tonearest): Likewise.
3909 (ctan_test_towardzero): Likewise.
3910 (ctan_test_downward): Likewise.
3911 (ctan_test_upward): Likewise.
3912 (ctanh_test): Likewise.
3913 (ctanh_test_tonearest): Likewise.
3914 (ctanh_test_towardzero): Likewise.
3915 (ctanh_test_downward): Likewise.
3916 (ctanh_test_upward): Likewise.
3917 (erf_test): Likewise.
3918 (erfc_test): Likewise.
3919 (exp_test): Likewise.
3920 (exp_test_tonearest): Likewise.
3921 (exp_test_towardzero): Likewise.
3922 (exp_test_downward): Likewise.
3923 (exp_test_upward): Likewise.
3924 (exp10_test): Likewise.
3925 (exp10_test_tonearest): Likewise.
3926 (exp10_test_towardzero): Likewise.
3927 (exp10_test_downward): Likewise.
3928 (exp10_test_upward): Likewise.
3929 (pow10_test): Likewise.
3930 (exp2_test): Likewise.
3931 (expm1_test): Likewise.
3932 (expm1_test_tonearest): Likewise.
3933 (expm1_test_towardzero): Likewise.
3934 (expm1_test_downward): Likewise.
3935 (expm1_test_upward): Likewise.
3936 (fabs_test): Likewise.
3937 (fdim_test): Likewise.
3938 (floor_test): Likewise.
3939 (fma_test): Likewise.
3940 (fma_test_towardzero): Likewise.
3941 (fma_test_downward): Likewise.
3942 (fma_test_upward): Likewise.
3943 (fmax_test): Likewise.
3944 (fmin_test): Likewise.
3945 (fmod_test): Likewise.
3946 (fpclassify_test): Likewise.
3947 (frexp_test): Likewise.
3948 (hypot_test): Likewise.
3949 (ilogb_test): Likewise.
3950 (isfinite_test): Likewise.
3951 (finite_test): Likewise.
3952 (isgreater_test): Likewise.
3953 (isgreaterequal_test): Likewise.
3954 (isinf_test): Likewise.
3955 (isless_test): Likewise.
3956 (islessequal_test): Likewise.
3957 (islessgreater_test): Likewise.
3958 (isnan_test): Likewise.
3959 (isnormal_test): Likewise.
3960 (issignaling_test): Likewise.
3961 (isunordered_test): Likewise.
3962 (j0_test): Likewise.
3963 (j1_test): Likewise.
3964 (jn_test): Likewise.
3965 (ldexp_test): Likewise.
3966 (lgamma_test): Likewise.
3967 (gamma_test): Likewise.
3968 (lrint_test): Likewise.
3969 (lrint_test_tonearest): Likewise.
3970 (lrint_test_towardzero): Likewise.
3971 (lrint_test_downward): Likewise.
3972 (lrint_test_upward): Likewise.
3973 (llrint_test): Likewise.
3974 (llrint_test_tonearest): Likewise.
3975 (llrint_test_towardzero): Likewise.
3976 (llrint_test_downward): Likewise.
3977 (llrint_test_upward): Likewise.
3978 (log_test): Likewise.
3979 (log10_test): Likewise.
3980 (log1p_test): Likewise.
3981 (log2_test): Likewise.
3982 (logb_test): Likewise.
3983 (logb_test_downward): Likewise.
3984 (lround_test): Likewise.
3985 (llround_test): Likewise.
3986 (modf_test): Likewise.
3987 (nearbyint_test): Likewise.
3988 (nextafter_test): Likewise.
3989 (nexttoward_test): Likewise.
3990 (pow_test): Likewise.
3991 (pow_test_tonearest): Likewise.
3992 (pow_test_towardzero): Likewise.
3993 (pow_test_downward): Likewise.
3994 (pow_test_upward): Likewise.
3995 (remainder_test): Likewise.
3996 (drem_test): Likewise.
3997 (remainder_test_tonearest): Likewise.
3998 (drem_test_tonearest): Likewise.
3999 (remainder_test_towardzero): Likewise.
4000 (drem_test_towardzero): Likewise.
4001 (remainder_test_downward): Likewise.
4002 (drem_test_downward): Likewise.
4003 (remainder_test_upward): Likewise.
4004 (drem_test_upward): Likewise.
4005 (remquo_test): Likewise.
4006 (rint_test): Likewise.
4007 (rint_test_tonearest): Likewise.
4008 (rint_test_towardzero): Likewise.
4009 (rint_test_downward): Likewise.
4010 (rint_test_upward): Likewise.
4011 (round_test): Likewise.
4012 (scalb_test): Likewise.
4013 (scalbn_test): Likewise.
4014 (scalbln_test): Likewise.
4015 (signbit_test): Likewise.
4016 (sin_test): Likewise.
4017 (sin_test_tonearest): Likewise.
4018 (sin_test_towardzero): Likewise.
4019 (sin_test_downward): Likewise.
4020 (sin_test_upward): Likewise.
4021 (sincos_test): Likewise.
4022 (sinh_test): Likewise.
4023 (sinh_test_tonearest): Likewise.
4024 (sinh_test_towardzero): Likewise.
4025 (sinh_test_downward): Likewise.
4026 (sinh_test_upward): Likewise.
4027 (sqrt_test): Likewise.
4028 (sqrt_test_tonearest): Likewise.
4029 (sqrt_test_towardzero): Likewise.
4030 (sqrt_test_downward): Likewise.
4031 (sqrt_test_upward): Likewise.
4032 (tan_test): Likewise.
4033 (tan_test_tonearest): Likewise.
4034 (tan_test_towardzero): Likewise.
4035 (tan_test_downward): Likewise.
4036 (tan_test_upward): Likewise.
4037 (tanh_test): Likewise.
4038 (tgamma_test): Likewise.
4039 (trunc_test): Likewise.
4040 (y0_test): Likewise.
4041 (y1_test): Likewise.
4042 (yn_test): Likewise.
4043 (significand_test): Likewise.
4045 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4046 individual tests in comment.
4047 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4048 (prev_max_error): New variable.
4049 (prev_real_max_error): Likewise.
4050 (prev_imag_max_error): Likewise.
4051 (compare_ulp_data): Don't refer to test names in comment.
4052 (find_test_ulps): Remove function.
4053 (find_function_ulps): Likewise.
4054 (find_complex_function_ulps): Likewise.
4055 (init_max_error): Take function name as argument. Look up ulps
4057 (print_ulps): Remove function.
4058 (print_max_error): Use prev_max_error instead of calling
4060 (print_complex_max_error): Use prev_real_max_error and
4061 prev_imag_max_error instead of calling find_complex_function_ulps.
4062 (check_float_internal): Take max_ulp parameter instead of calling
4063 find_test_ulps. Don't call print_ulps.
4064 (check_float): Update call to check_float_internal.
4065 (check_complex): Update calls to check_float_internal.
4066 (START): Pass argument to init_max_error.
4067 * math/gen-libm-test.pl (%results): Don't include "kind"
4069 (parse_ulps): Don't handle ulps of individual tests.
4070 (print_ulps_file): Likewise.
4071 (output_ulps): Likewise.
4072 * math/README.libm-test: Update.
4073 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4075 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4076 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4077 * sysdeps/arm/libm-test-ulps: Likewise.
4078 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4079 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4080 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4081 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4082 * sysdeps/microblaze/libm-test-ulps: Likewise.
4083 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4084 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4085 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4086 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4087 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4088 * sysdeps/sh/libm-test-ulps: Likewise.
4089 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4090 * sysdeps/tile/libm-test-ulps: Likewise.
4091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4093 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4095 * math/libm-test.inc (print_complex_max_error): Check separately
4096 whether real and imaginary errors are within allowed range and
4097 pass 0 to print_complex_function_ulps instead of value within
4100 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4102 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4104 (get_handles_fopen): Likewise.
4105 (do_write_test): Likewise.
4107 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4109 * libio/fileops.c (do_ftell): Use cached offset when
4111 * libio/iofwide.c (do_ftell_wide): Likewise.
4112 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4114 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4117 * libio/libioP.h (get_file_offset): New function.
4118 * libio/fileops.c (get_file_offset): Likewise.
4119 (do_ftell): Likewise.
4120 (_IO_new_file_seekoff): Split out ftell logic.
4121 * libio/wfileops.c (do_ftell_wide): Likewise.
4122 (_IO_wfile_seekoff): Split out ftell logic.
4123 * libio/tst-ftell-active-handler.c: New test case.
4124 * libio/Makefile (tests): Add it.
4126 2014-03-03 Roland McGrath <roland@hack.frob.com>
4128 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4129 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4131 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4134 * nscd/connections.c (nscd_init): Call do_exit.
4135 (start_threads): Call do_exit and notify_parent.
4136 (begin_drop_privileges): Call do_exit.
4137 (finish_drop_privileges): Likewise.
4138 * nscd/selinux.c (preserve_capabilities): Likewise.
4139 (install_real_capabilities): Likewise.
4140 (nscd_selinux_enabled): Likewise.
4141 (avc_create_thread): Likewise.
4142 (avc_alloc_lock): Likewise.
4143 (nscd_avc_init): Likewise.
4144 * nscd/nscd.c (parent_fd): New static variable.
4145 (main): Create a pipe between parent and child processes.
4146 Skip closing parent_fd.
4147 (monitor_child): New function.
4148 (do_exit): Likewise.
4149 (notify_parent): Likewise.
4150 * nscd/nscd.h (notify_parent): Likewise.
4151 (do_exit): Likewise.
4153 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4155 * malloc/malloc.c (__libc_calloc): Revert last change.
4157 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4161 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4163 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4167 (__libc_ifunc_impl_list): Likewise.
4168 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4169 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4170 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4171 * string/strrchr.c: Define STRRCHR.
4173 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4175 * benchtest/bench-strtok.c (simple_strtok): Delete.
4176 (strtok_string): Use as benchmark.
4177 * string/strtok (STRTOK): New macro.
4179 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4181 * manual/threads.texi: Add header and standard comments to all
4184 * elf/dl-lookup.c (check_match): New function.
4185 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4186 (do_lookup_x): Remove nested function check_match. Use non-nested
4187 function check_match.
4189 2014-02-28 Roland McGrath <roland@hack.frob.com>
4191 * csu/Makefile (generated, before-compile): Use += rather than =.
4192 * catgets/Makefile (generated, generated-dirs): Likewise.
4193 * debug/Makefile (generated): Likewise.
4194 * dlfcn/Makefile (generated): Likewise.
4195 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4196 * iconvdata/Makefile (before-compile, generated): Likewise.
4197 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4198 * libio/Makefile (generated): Likewise.
4199 * malloc/Makefile (generated): Likewise.
4200 * manual/Makefile (generated, generated-dirs): Likewise.
4201 * misc/Makefile (generated): Likewise.
4202 * posix/Makefile (generated): Likewise.
4203 * resolv/Makefile (generated): Likewise.
4204 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4205 * timezone/Makefile (generated, generated-dirs): Likewise.
4207 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4209 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4212 power8 implementation.
4213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4214 file: POWER8 llround ifunc implementation.
4215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4216 (__lllround): Add POWER8 implementation.
4217 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4218 POWER8 llround implementation.
4220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4221 power8 implementation.
4222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4223 file: POWER8 llrint ifunc implementation.
4224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4225 Add POWER8 implementation.
4226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4227 POWER8 llrint implementation.
4229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4230 power8 implementation.
4231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4232 file: POWER8 finite ifunc implementation.
4233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4234 Add POWER8 implementation.
4235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4237 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4238 POWER8 finite implementation.
4239 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4242 power8 implementation.
4243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4244 file: POWER8 isinf ifunc implementation.
4245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4246 POWER8 implementation.
4247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4249 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4250 isinf implementation.
4251 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4253 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4254 (INIT_ARCH): Add hwcap2 initialization.
4255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4256 power8 implementation.
4257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4258 file: POWER8 isnan ifunc implementation.
4259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4260 POWER8 implementation.
4261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4263 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4264 isnan implementation.
4265 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4267 2014-02-27 Joey Ye <joey.ye@arm.com>
4269 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4270 (_FP_NANFRAC_Q): Set to zero.
4272 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4275 * math/auto-libm-test-in: New test inputs.
4276 * math/auto-libm-test-out: Regenerate.
4277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4280 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4282 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4284 * scripts/evaluate-test.sh: Take new argument indicating whether
4285 failure is expected.
4286 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4287 indicating whether failure is expected.
4288 * conform/Makefile (test-xfail-run-conformtest): New variable.
4289 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4291 * posix/Makefile (test-xfail-annexc): New variable.
4292 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4294 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4296 * argp/Makefile: Include Makeconfig immediately after defining
4298 * assert/Makefile: Likewise.
4299 * benchtests/Makefile: Likewise.
4300 * catgets/Makefile: Likewise.
4301 * conform/Makefile: Likewise.
4302 * crypt/Makefile: Likewise.
4303 * csu/Makefile: Likewise.
4304 (all): Remove target.
4305 * ctype/Makefile: Include Makeconfig immediately after defining
4307 * debug/Makefile: Likewise.
4308 * dirent/Makefile: Likewise.
4309 * dlfcn/Makefile: Likewise.
4310 * gmon/Makefile: Likewise.
4311 * gnulib/Makefile: Likewise.
4312 * grp/Makefile: Likewise.
4313 * gshadow/Makefile: Likewise.
4314 * hesiod/Makefile: Likewise.
4315 * hurd/Makefile: Likewise.
4316 (all): Remove target.
4317 * iconvdata/Makefile: Include Makeconfig immediately after
4319 * inet/Makefile: Likewise.
4320 * intl/Makefile: Likewise.
4321 * io/Makefile: Likewise.
4322 * libio/Makefile: Likewise.
4323 (all): Remove target.
4324 * locale/Makefile: Include Makeconfig immediately after defining
4326 * login/Makefile: Likewise.
4327 * mach/Makefile: Likewise.
4328 (all): Remove target.
4329 * malloc/Makefile: Include Makeconfig immediately after defining
4331 (all): Remove target.
4332 * manual/Makefile: Include Makeconfig immediately after defining
4334 * math/Makefile: Likewise.
4335 * misc/Makefile: Likewise.
4336 * nis/Makefile: Likewise.
4337 * nss/Makefile: Likewise.
4338 * po/Makefile: Likewise.
4339 (all): Remove target.
4340 * posix/Makefile: Include Makeconfig immediately after defining
4342 * pwd/Makefile: Likewise.
4343 * resolv/Makefile: Likewise.
4344 * resource/Makefile: Likewise.
4345 * rt/Makefile: Likewise.
4346 * setjmp/Makefile: Likewise.
4347 * shadow/Makefile: Likewise.
4348 * signal/Makefile: Likewise.
4349 * socket/Makefile: Likewise.
4350 * soft-fp/Makefile: Likewise.
4351 * stdio-common/Makefile: Likewise.
4352 * stdlib/Makefile: Likewise.
4353 * streams/Makefile: Likewise.
4354 * string/Makefile: Likewise.
4355 * sunrpc/Makefile: Likewise.
4356 (all): Remove target.
4357 * sysvipc/Makefile: Include Makeconfig immediately after defining
4359 * termios/Makefile: Likewise.
4360 * time/Makefile: Likewise.
4361 * timezone/Makefile: Likewise.
4362 (all): Remove target.
4363 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4365 * wctype/Makefile: Likewise.
4367 2014-02-26 Steve Ellcey <sellcey@mips.com>
4369 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4370 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4371 (libc_feholdexcept_setround_mips): Ditto.
4372 (libc_feholdsetround): New.
4373 (libc_feholdsetroundf): New.
4374 (libc_feholdsetroundl): New.
4375 (libc_feupdateenv_test_mips): New.
4376 (libc_feupdateenv_test): New.
4377 (libc_feupdateenv_testf): New.
4378 (libc_feupdateenv_testl): New.
4379 (libc_feresetround): New.
4380 (libc_feresetroundf): New.
4381 (libc_feresetroundl): New.
4382 (libc_fetestexcept_mips): New.
4383 (libc_fetestexcept): New.
4384 (libc_fetestexceptf): New.
4385 (libc_fetestexceptl): New.
4387 (libc_feholdexcept_setround_mips_ctx): New.
4388 (libc_feholdexcept_setround_ctx): New.
4389 (libc_feholdexcept_setroundf_ctx): New.
4390 (libc_feholdexcept_setroundl_ctx): New.
4391 (libc_fesetenv_mips_ctx): New.
4392 (libc_fesetenv_ctx): New.
4393 (libc_fesetenv_ctxf): New.
4394 (libc_fesetenv_ctxl): New.
4395 (libc_feupdateenv_mips_ctx): New.
4396 (libc_feupdateenv_ctx): New.
4397 (libc_feupdateenvf_ctx): New.
4398 (libc_feupdateenvl_ctx): New.
4399 (libc_feholdsetround_mips_ctx): New.
4400 (libc_feholdsetround_ctx): New.
4401 (libc_feholdsetroundf_ctx): New.
4402 (libc_feholdsetroundl_ctx): New.
4403 (libc_feresetround_mips_ctx): New.
4404 (libc_feresetround_ctx): New.
4405 (libc_feresetroundf_ctx): New.
4406 (libc_feresetroundl_ctx): New.
4408 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4410 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4412 * manual/ipc.texi: New file.
4413 * manual/Makefile (chapters): Add ipc.
4414 * manual/job.texi: Add "Inter-Process Communication" to next.
4415 * manual/process.texi: Add "Inter-Process Communication" to prev.
4417 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4421 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4423 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4425 * manual/arith.texi: Fix spaces after sentences.
4426 * manual/charset.texi: Likewise.
4427 * manual/errno.texi: Likewise.
4428 * manual/install.texi: Likewise.
4429 * manual/llio.texi: Likewise.
4430 * manual/locale.texi: Likewise.
4431 * manual/maint.texi: Likewise.
4432 * manual/math.texi: Likewise.
4433 * manual/memory.texi: Likewise.
4434 * manual/message.texi: Likewise.
4435 * manual/probes.texi: Likewise.
4436 * manual/resource.texi: Likewise.
4437 * manual/signal.texi: Likewise.
4438 * manual/socket.texi: Likewise.
4439 * manual/stdio.texi: Likewise.
4440 * manual/string.texi: Likewise.
4441 * manual/time.texi: Likewise.
4442 * manual/users.texi: Likewise.
4444 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4447 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4448 _DEFAULT_SOURCE is defined.
4450 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4451 Carlos O'Donell <carlos@redhat.com>
4454 * elf/dl-tls.c (_dl_count_modids): New function.
4455 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4456 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4457 audit library and increment generation counter.
4458 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4459 * elf/tst-audit9.c: New file.
4460 * elf/tst-auditmod9a.c: New file.
4461 * elf/tst-auditmod9b.c: New file.
4462 * elf/Makefile: Add rules to build and run tst-audit9.
4464 2014-02-25 Florian Weimer <fweimer@redhat.com>
4467 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4469 2014-02-25 Will Newton <will.newton@linaro.org>
4471 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4472 (__longjmp): Restore sp and lr before restoring callee
4473 saved registers. Add longjmp and longjmp_target
4474 SystemTap probe point.
4475 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4476 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4477 Define to zero to match jmpbuf layout.
4478 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4479 (__sigsetjmp): Save sp and lr before saving callee
4480 saved registers. Add setjmp SystemTap probe point.
4482 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4484 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4486 2014-02-24 Andreas Schwab <schwab@suse.de>
4489 * elf/pldd.c (wait_for_ptrace_stop): New function.
4490 (main): Call it after attaching.
4492 2014-02-22 Roland McGrath <roland@hack.frob.com>
4494 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4495 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4496 Versions files is now verboten.
4497 * hurd/Versions (libc: GLIBC_2.0):
4498 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4499 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4500 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4501 * mach/Versions: Likewise.
4503 * csu/Versions: Remove unused %include.
4504 * resolv/Versions: Likewise.
4506 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4508 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4509 ($(objpfx)check-local-headers.out): Likewise.
4510 ($(objpfx)begin-end-check.out): Likewise.
4511 * Makerules (check-abi-%.out): Likewise.
4512 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4513 ($(objpfx)test2.cat): Likewise.
4514 ($(objpfx)de/libc.cat): Likewise.
4515 ($(objpfx)test-gencat.out): Likewise.
4516 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4517 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4518 ($(objpfx)noload-mem): Likewise.
4519 ($(objpfx)tst-pathopt.out): Likewise.
4520 ($(objpfx)tst-rtld-load-self.out): Likewise.
4521 ($(objpfx)tst-array1-cmp.out): Likewise.
4522 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4523 ($(objpfx)tst-array2-cmp.out): Likewise.
4524 ($(objpfx)tst-array3-cmp.out): Likewise.
4525 ($(objpfx)tst-array4-cmp.out): Likewise.
4526 ($(objpfx)tst-array5-cmp.out): Likewise.
4527 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4528 ($(objpfx)check-textrel.out): Likewise.
4529 ($(objpfx)check-execstack.out): Likewise.
4530 ($(objpfx)check-localplt.out): Likewise.
4531 ($(objpfx)order2-cmp.out): Likewise.
4532 ($(objpfx)tst-leaks1-mem): Likewise.
4533 ($(objpfx)tst-leaks1-static-mem): Likewise.
4534 ($(objpfx)tst-initorder-cmp.out): Likewise.
4535 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4536 ($(objpfx)tst-unused-dep.out): Likewise.
4537 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4538 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4539 * iconv/Makefile (test-iconvconfig): Likewise.
4540 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4541 ($(objpfx)iconv-test.out): Likewise.
4542 ($(objpfx)tst-tables.out): Likewise.
4543 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4544 ($(objpfx)tst-gettext.out): Likewise.
4545 ($(objpfx)tst-translit.out): Likewise.
4546 ($(objpfx)tst-gettext2.out): Likewise.
4547 ($(objpfx)tst-gettext4.out): Likewise.
4548 ($(objpfx)tst-gettext6.out): Likewise.
4549 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4550 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4551 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4552 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4553 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4554 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4555 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4556 ($(objpfx)wordexp-tst.out): Likewise.
4557 ($(objpfx)annexc.out): Likewise.
4558 ($(objpfx)tst-fnmatch-mem): Likewise.
4559 ($(objpfx)bug-regex2-mem): Likewise.
4560 ($(objpfx)bug-regex14-mem): Likewise.
4561 ($(objpfx)bug-regex21-mem): Likewise.
4562 ($(objpfx)bug-regex31-mem): Likewise.
4563 ($(objpfx)tst-vfork3-mem): Likewise.
4564 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4565 ($(objpfx)tst-pcre-mem): Likewise.
4566 ($(objpfx)tst-boost-mem): Likewise.
4567 ($(objpfx)tst-getconf.out): Likewise.
4568 ($(objpfx)bug-ga2-mem): Likewise.
4569 ($(objpfx)bug-glob2-mem): Likewise.
4570 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4571 ($(objpfx)mtrace-tst-leaks2): Likewise.
4572 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4573 ($(objpfx)tst-printf.out): Likewise.
4574 ($(objpfx)tst-setvbuf1.out): Likewise.
4575 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4576 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4577 ($(objpfx)tst-fmtmsg.out): Likewise.
4578 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4579 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4581 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4582 * bits/sigaction.h [__USE_MISC]: Likewise.
4583 * bits/waitstatus.h: Update #endif comments.
4584 * ctype/ctype.h: Likewise.
4585 * dirent/dirent.h: Likewise.
4586 [__USE_MISC]: Remove redundant conditionals.
4587 * grp/grp.h: Update #endif comments.
4588 [__USE_GNU]: Remove redundant conditionals.
4589 [__USE_MISC]: Likewise.
4590 * inet/netinet/in.h [__USE_GNU]: Likewise.
4591 * io/sys/stat.h [__USE_MISC]: Likewise.
4592 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4593 * libio/bits/stdio.h: Update #endif comments.
4594 [__USE_MISC]: Remove redundant conditionals.
4595 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4596 * libio/stdio.h: Update #endif comments.
4597 [__USE_MISC]: Remove redundant conditionals.
4598 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4599 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4600 * math/math.h: Update #else and #endif comments.
4601 [__USE_MISC]: Remove redundant conditionals.
4602 * misc/sys/uio.h: Update #endif comments.
4603 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4604 * posix/glob.h [__USE_MISC]: Likewise.
4605 * posix/sys/types.h: Update #endif comments.
4606 [__USE_MISC]: Remove redundant conditionals.
4607 * posix/sys/wait.h: Update #endif comments.
4608 [__USE_MISC]: Remove redundant conditionals.
4609 * posix/unistd.h: Update #endif comments.
4610 [__USE_MISC]: Remove redundant conditionals.
4611 * pwd/pwd.h [__USE_GNU]: Likewise.
4612 [__USE_MISC]: Likewise.
4613 * resolv/netdb.h [__USE_GNU]: Likewise.
4614 * signal/signal.h: Update #endif comments.
4615 [__USE_MISC]: Remove redundant conditionals.
4616 * stdlib/stdlib.h: Update #else and #endif comments.
4617 [__USE_MISC]: Remove redundant conditionals.
4618 [__USE_GNU]: Likewise.
4619 * string/bits/string2.h [__USE_MISC]: Likewise.
4620 * string/string.h: Update #endif comments.
4621 [__USE_MISC]: Remove redundant conditionals.
4622 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4624 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4625 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4626 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4628 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4632 [__USE_MISC]: Remove redundant conditionals.
4633 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4634 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4635 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4636 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4637 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4639 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4640 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4642 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4643 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4645 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4647 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4650 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4652 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4653 * sysdeps/x86/bits/string.h: Update #endif comments.
4654 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4656 * time/sys/time.h: Update #endif comments.
4657 * time/time.h: Likewise.
4658 [__USE_MISC]: Remove redundant conditionals.
4660 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4663 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4665 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4667 * Versions.def (librt): Add GLIBC_2.17.
4669 2014-02-21 Adam Conrad <adconrad@0c3.net>
4671 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4672 synonym for _SYS_AUXV_H to allow direct inclusion.
4673 * sysdeps/sparc/bits/hwcap.h: Likewise.
4674 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4675 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4676 * sysdeps/sparc/sysdep.h: Likewise.
4678 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4680 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4682 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4684 * benchtests/bench-strrchr.c: Print length instead of position.
4686 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4689 * sysdeps/unix/sysv/linux/kernel-features.h
4690 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4691 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4692 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4693 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4695 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4696 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4697 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4698 (__ASSUME_SENDMMSG): Define instead of using previous
4699 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4700 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4701 (__ASSUME_SENDMMSG_SYSCALL): Define.
4702 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4703 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4705 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4706 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4709 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4711 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4712 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4713 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4714 [__ASSUME_SENDMMSG]: Change conditionals to
4715 [__ASSUME_SENDMMSG_SOCKETCALL].
4716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4717 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4719 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4720 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4722 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4723 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4724 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4725 [!__ASSUME_SENDMMSG]: Change conditional to
4726 [!__ASSUME_SENDMMSG_SOCKETCALL].
4727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4728 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4732 * sysdeps/unix/sysv/linux/kernel-features.h
4733 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4734 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4735 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4736 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4737 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4738 [__i386__ || __sparc__]
4739 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4740 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4741 (__ASSUME_RECVMMSG): Define instead of using previous
4742 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4743 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4744 (__ASSUME_RECVMMSG_SYSCALL): Define.
4745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4751 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4752 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4754 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4755 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4756 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4757 [__ASSUME_RECVMMSG]: Change condition to
4758 [__ASSUME_RECVMMSG_SOCKETCALL].
4759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4762 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4763 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4764 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4766 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4767 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4768 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4769 [!__ASSUME_RECVMMSG]: Change condition to
4770 [!__ASSUME_RECVMMSG_SOCKETCALL].
4771 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4772 (__ASSUME_RECVMMSG_SYSCALL): Define.
4775 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4776 __powerpc__ || __s390__ || __sh__ || __sparc__]
4777 (__ASSUME_SOCKETCALL): Define.
4778 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4779 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4780 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4781 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4782 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4783 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4784 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4785 (__ASSUME_ACCEPT4): Define instead of using previous
4786 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4787 __powerpc__ || __sparc__ || __s390__)] condition.
4788 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4789 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4790 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4791 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4792 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4793 [!__ASSUME_ACCEPT4]: Change condition to
4794 [!__ASSUME_ACCEPT4_SOCKETCALL].
4795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4796 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4797 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4799 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4800 __ASSUME_ACCEPT4_SYSCALL.
4801 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4802 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4803 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4804 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4805 __ASSUME_ACCEPT4_SYSCALL.
4806 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4807 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4808 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4809 [__ASSUME_ACCEPT4]: Change condition to
4810 [__ASSUME_ACCEPT4_SOCKETCALL].
4811 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4812 (__ASSUME_SOCKETCALL): Define.
4813 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4815 (__ASSUME_SOCKETCALL): Define.
4816 (__ASSUME_ACCEPT4): Remove.
4817 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4819 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4820 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4822 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4823 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4825 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4827 (HWCAP_ARM_LPAE): Likewise.
4828 (HWCAP_ARM_EVTSTRM): Likewise.
4829 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4830 Add vpfd32, lpae and evtstrm.
4831 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4834 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4836 * math/auto-libm-test-in: Add tests of clog10.
4837 * math/auto-libm-test-out: Regenerated.
4838 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4842 2014-02-18 Andreas Schwab <schwab@suse.de>
4845 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4846 Store non-zero if the second buffer was newly allocated.
4847 (send_dg): Likewise.
4848 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4849 to send_vc and send_dg.
4850 (res_nsend): Pass NULL for ansp2_malloced.
4851 * resolv/res_query.c (__libc_res_nquery): Add parameter
4852 answerp2_malloced and pass it down to __libc_res_nsend.
4853 (res_nquery): Pass additional NULL to __libc_res_nquery.
4854 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4855 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4856 second answer buffer if answerp2_malloced was set.
4857 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4858 (__libc_res_nquerydomain): Add parameter
4859 answerp2_malloced and pass it down to __libc_res_nquery.
4860 (res_nquerydomain): Pass additional NULL to
4861 __libc_res_nquerydomain.
4862 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4863 additional NULL to __libc_res_nsend and __libc_res_nquery.
4864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4865 additional NULL to __libc_res_nsearch.
4866 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4867 parameter of __libc_res_nsearch to check for separately allocated
4869 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4871 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4872 additional NULL to __libc_res_nquery.
4873 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4875 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4876 * include/resolv.h: Update prototypes of __libc_res_nquery,
4877 __libc_res_nsearch, __libc_res_nsend.
4879 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4881 * math/auto-libm-test-in: Add tests of fma.
4882 * math/auto-libm-test-out: Regenerated.
4883 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4884 (fma_towardzero_test_data): Likewise.
4885 (fma_downward_test_data): Likewise.
4886 (fma_upward_test_data): Likewise.
4887 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4889 (rounding_modes): Add values for new field.
4890 (func_calc_method): Add value mpfr_fff_f.
4891 (func_calc_desc): Add mpfr_fff_f union field.
4892 (test_function): Add field exact_args.
4893 (FUNC): Add macro argument EXACT_ARGS.
4894 (FUNC_mpfr_f_f): Update call to FUNC.
4895 (FUNC_mpfr_f_f): Likewise.
4896 (FUNC_mpfr_ff_f): Likewise.
4897 (FUNC_mpfr_if_f): Likewise.
4898 (FUNC_mpc_c_f): Likewise.
4899 (FUNC_mpc_c_c): Likewise.
4900 (test_functions): Add fma. Update calls to FUNC.
4901 (handle_input_arg): Add argument exact_args.
4902 (add_test): Update call to handle_input_arg.
4903 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4904 (output_for_one_input_case): Update call to calc_generic_results.
4905 Recalculate exact zero results in each rounding mode.
4907 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4908 non-negative before setting low bit.
4909 * math/auto-libm-test-in: Mark one asin test possibly having
4911 * math/auto-libm-test-out: Regenerated.
4912 * sysdeps/i386/fpu/libm-test-ulps: Update.
4913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4917 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4918 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4919 ports/sysdeps/unix/sysv/linux/microblaze.
4920 * README: Add missing listing for microblaze*-*-linux-gnu.
4922 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4924 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4925 * sysdeps/unix/sysv/linux/ia64: Move directory from
4926 ports/sysdeps/unix/sysv/linux/ia64.
4927 * README: Update listing for ia64-*-linux-gnu.
4929 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4930 Joseph Myers <joseph@codesourcery.com>
4932 * Makeconfig (test-name): New variable.
4933 (evaluate-test): Likewise.
4934 * Makerules (do-test-clean): Remove .test-result files.
4935 (common-mostlyclean): Likewise.
4936 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4937 * scripts/evaluate-test.sh: New file.
4939 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4941 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4942 separate $(objpfx)tst-fopenloc-cmp.out and
4943 $(objpfx)tst-fopenloc-mem.out targets.
4944 (tests): Update dependencies.
4945 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4946 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4947 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4948 (tst-rxspencer-no-utf8-ARGS): New variable.
4949 (tst-rxspencer-no-utf8-ENV): Likewise.
4950 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4951 instead of $(objpfx)tst-rxspencer-mem.
4952 ($(objpfx)tst-rxspencer-mem): Change target to
4953 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4954 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4955 * posix/tst-rxspencer-no-utf8.c: New file.
4957 * elf/Makefile ($(objpfx)order.out): Remove rule.
4958 [$(run-built-tests) = yes] (tests): Depend on
4959 $(objpfx)order-cmp.out.
4960 ($(objpfx)order-cmp.out): New rule.
4961 [$(run-built-tests) = yes] (tests): Depend on
4962 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4963 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4964 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4965 $(objpfx)tst-array5-static-cmp.out.
4966 ($(objpfx)tst-array1.out): Remove rule.
4967 ($(objpfx)tst-array1-cmp.out): New rule.
4968 ($(objpfx)tst-array1-static.out): Remove rule.
4969 ($(objpfx)tst-array1-static-cmp.out): New rule.
4970 ($(objpfx)tst-array2.out): Remove rule.
4971 ($(objpfx)tst-array2-cmp.out): New rule.
4972 ($(objpfx)tst-array3.out): Remove rule.
4973 ($(objpfx)tst-array3-cmp.out): New rule.
4974 ($(objpfx)tst-array4.out): Remove rule.
4975 ($(objpfx)tst-array4-cmp.out): New rule.
4976 ($(objpfx)tst-array5.out): Remove rule.
4977 ($(objpfx)tst-array5-cmp.out): New rule.
4978 ($(objpfx)tst-array5-static.out): Remove rule.
4979 ($(objpfx)tst-array5-static-cmp.out): New rule.
4980 [$(run-built-tests) = yes] (tests): Depend on
4981 $(objpfx)order2-cmp.out.
4982 ($(objpfx)order2.out): Remove rule.
4983 ($(objpfx)order2-cmp.out): New rule.
4984 ($(objpfx)tst-initorder.out): Remove rule.
4985 [$(run-built-tests) = yes] (tests): Depend on
4986 $(objpfx)tst-initorder-cmp.out.
4987 ($(objpfx)tst-initorder-cmp.out): New rule.
4988 ($(objpfx)tst-initorder2.out): Remove rule.
4989 [$(run-built-tests) = yes] (tests): Depend on
4990 $(objpfx)tst-initorder2-cmp.out.
4991 ($(objpfx)tst-initorder2-cmp.out): New rule.
4992 [$(run-built-tests) = yes] (tests): Depend on
4993 $(objpfx)tst-unused-dep-cmp.out.
4994 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4995 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4996 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4997 on $(objpfx)tst-setvbuf1-cmp.out.
4998 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4999 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5000 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5001 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5002 ($(objpfx)tst-svc.out): Remove rule.
5003 ($(objpfx)tst-svc-cmp.out): New rule.
5005 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5007 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5008 * ctype/ctype.h [__USE_MISC]: Likewise.
5009 * dirent/dirent.h [__USE_MISC]: Likewise.
5010 * grp/grp.h [__USE_MISC]: Likewise.
5011 * io/fcntl.h [__USE_MISC]: Likewise.
5012 * io/sys/stat.h [__USE_MISC]: Likewise.
5013 * libio/stdio.h [__USE_MISC]: Likewise.
5014 * posix/unistd.h [__USE_MISC]: Likewise.
5015 * pwd/pwd.h [__USE_MISC]: Likewise.
5016 * stdlib.h [__USE_MISC]: Likewise.
5017 * string/bits/string2.h [__USE_MISC]: Likewise.
5018 * string/string.h [__USE_MISC]: Likewise.
5019 * time/time.h [__USE_MISC]: Likewise.
5021 2014-02-13 Andreas Schwab <schwab@suse.de>
5024 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5025 second answer buffer if it was separately allocated.
5027 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5029 * sysdeps/mips/math-tests.h: Include <features.h>.
5030 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5031 (ROUNDING_TESTS_long_double): Do not define.
5032 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5033 (EXCEPTION_TESTS_long_double): Likewise.
5034 * sysdeps/mips/mips64/libm-test-ulps: Update.
5036 * include/features.h (__USE_BSD): Remove macro definitions.
5037 (__USE_SVID): Likewise.
5038 (_BSD_SOURCE): Likewise.
5039 (_SVID_SOURCE): Likewise.
5040 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5041 from definition of _DEFAULT_SOURCE.
5042 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5044 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5045 * bits/mman.h [__USE_BSD]: Likewise.
5046 * bits/termios.h [__USE_BSD]: Likewise.
5047 * bits/waitstatus.h [__USE_BSD]: Likewise.
5048 * ctype/ctype.h [__USE_SVID]: Likewise.
5049 * dirent/dirent.h [__USE_BSD]: Likewise.
5050 * grp/grp.h [__USE_SVID]: Likewise.
5051 [__USE_BSD]: Likewise.
5052 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5053 * io/fcntl.h [__USE_BSD]: Likewise.
5054 * io/ftw.h [__USE_BSD]: Likewise.
5055 * io/sys/stat.h [__USE_BSD]: Likewise.
5056 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5057 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5058 * libio/stdio.h [__USE_SVID]: Likewise.
5059 [__USE_BSD]: Likewise.
5060 * math/math.h [__USE_SVID]: Likewise.
5061 [__USE_BSD]: Likewise.
5062 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5063 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5064 * misc/search.h [__USE_SVID]: Likewise.
5065 * misc/sys/mman.h [__USE_BSD]: Likewise.
5066 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5067 * misc/sys/uio.h [__USE_BSD]: Likewise.
5068 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5069 * posix/glob.h [__USE_BSD]: Likewise.
5070 * posix/regex.h [__USE_BSD]: Likewise.
5071 * posix/sys/types.h [__USE_BSD]: Likewise.
5072 [__USE_SVID]: Likewise.
5073 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5074 * posix/sys/wait.h [__USE_BSD]: Likewise.
5075 [__USE_SVID]: Likewise.
5076 * posix/unistd.h [__USE_BSD]: Likewise.
5077 [__USE_SVID]: Likewise.
5078 * pwd/pwd.h [__USE_SVID]: Likewise.
5079 * resolv/netdb.h [__USE_BSD]: Likewise.
5080 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5081 * signal/signal.h [__USE_BSD]: Likewise.
5082 [__USE_SVID]: Likewise.
5083 * socket/sys/socket.h [__USE_BSD]: Likewise.
5084 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5085 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5086 [__USE_SVID]: Likewise.
5087 * string/bits/string2.h [__USE_BSD]: Likewise.
5088 [__USE_SVID]: Likewise.
5089 * string/bits/string3.h [__USE_BSD]: Likewise.
5090 * string/endian.h [__USE_BSD]: Likewise.
5091 * string/string.h [__USE_SVID]: Likewise.
5092 [__USE_BSD]: Likewise.
5093 * string/strings.h [__USE_BSD]: Likewise.
5094 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5095 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5096 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5097 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5098 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5099 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5103 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5104 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5106 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5107 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5109 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5111 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5112 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5115 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5117 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5118 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5119 * termios/termios.h [__USE_BSD]: Likewise.
5120 * time/sys/time.h [__USE_BSD]: Likewise.
5121 * time/time.h [__USE_BSD]: Likewise.
5122 [__USE_SVID]: Likewise.
5124 * Makefile (subdir_targets): Remove subdir_lint.out.
5126 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5127 (do-tst-printf): Likewise.
5128 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5129 $(objpfx)tst-printf.out.
5131 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5133 * Makerules (check-abi-%): Change target to
5134 $(objpfx)check-abi-%.out.
5135 (check-abi target): Update dependencies.
5136 (check-abi-pattern variable): Redirect output of diff to $@.
5137 (check-abi variable): Likewise.
5138 * elf/Makefile (check-abi): Update dependencies.
5140 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5142 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5143 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5145 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5146 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5147 value has largest subnormal exponent.
5148 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5149 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5150 * sysdeps/aarch64/soft-fp/sfp-machine.h
5151 (_FP_TININESS_AFTER_ROUNDING): New macro.
5152 * sysdeps/alpha/soft-fp/sfp-machine.h
5153 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5154 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5156 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5157 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5158 * sysdeps/mips/soft-fp/sfp-machine.h
5159 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5160 * sysdeps/powerpc/soft-fp/sfp-machine.h
5161 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5162 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5164 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5165 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5166 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5167 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5168 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5171 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5174 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5177 2014-02-12 Richard Henderson <rth@redhat.com>
5179 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5180 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5181 * sysdeps/unix/sysv/linux/alpha: Move directory from
5182 ports/sysdeps/unix/sysv/linux/alpha.
5183 * README: Update listing for alpha-*-linux-gnu.
5185 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5187 * include/features.h: Update comment documenting feature test
5189 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5191 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5192 (_SVID_SOURCE): Likewise.
5193 (_DEFAULT_SOURCE): Update description of default features.
5194 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5196 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5197 (S_ISVTX): Likewise.
5198 * manual/math.texi (Mathematical Constants): Likewise.
5199 * manual/signal.texi (Interrupted Primitives): Likewise.
5200 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5201 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5202 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5203 Don't refer to _SVID_SOURCE in warning text.
5205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5207 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5209 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5210 * sysdeps/mips/dl-lookup.c: Remove.
5211 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5213 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5216 * math/auto-libm-test-in: Add testcase for expl.
5217 * math/auto-libm-test-out: Regenerate.
5218 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5219 calculation of unsafe.
5220 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5222 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5224 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5225 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5226 ports/sysdeps/unix/sysv/linux/aarch64.
5227 * README: Update listing for aarch64*-*-linux-gnu.
5229 2014-02-11 Will Newton <will.newton@linaro.org>
5231 * manual/probes.texi (Mathematical Function Probes): Use
5232 "triggered" instead of "hit".
5234 * manual/probes.texi (Internal Probes): Add documentation
5235 of setjmp, longjmp and longjmp_target probes.
5237 * include/stap-probe.h: Add comment about probe argument
5240 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5241 definition. (tr_where, tr_freehook, tr_mallochook,
5242 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5244 2014-02-11 David S. Miller <davem@davemloft.net>
5246 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5247 processing int_tests.
5249 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5251 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5252 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5253 * sysdeps/unix/sysv/linux/mips: Move directory from
5254 ports/sysdeps/unix/sysv/linux/mips.
5255 * README: Update listing for mips-*-linux-gnu and
5258 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5260 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5261 * sysdeps/unix/sysv/linux/m68k: Move directory from
5262 ports/sysdeps/unix/sysv/linux/m68k.
5263 * README: Update listing for m68k-*-linux-gnu.
5265 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5267 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5268 * sysdeps/unix/sysv/linux/generic: Move directory from
5269 ports/sysdeps/unix/sysv/linux/generic.
5270 * sysdeps/unix/sysv/linux/tile: Move directory from
5271 ports/sysdeps/unix/sysv/linux/tile.
5272 * README: Update listing for tile*-*-linux-gnu.
5274 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5276 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5278 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5279 * catgets/open_catalog.c (__open_catalog): Likewise.
5280 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5281 * debug/confstr_chk.c: Likewise.
5282 * debug/fread_chk.c (__fread_chk): Likewise.
5283 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5284 * debug/getgroups_chk.c: Likewise.
5285 * debug/mbsnrtowcs_chk.c: Likewise.
5286 * debug/mbsrtowcs_chk.c: Likewise.
5287 * debug/mbstowcs_chk.c: Likewise.
5288 * debug/memcpy_chk.c: Likewise.
5289 * debug/memmove_chk.c: Likewise.
5290 * debug/mempcpy_chk.c: Likewise.
5291 * debug/memset_chk.c: Likewise.
5292 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5293 * debug/strcat_chk.c (__strcat_chk): Likewise.
5294 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5295 * debug/strncat_chk.c (__strncat_chk): Likewise.
5296 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5297 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5298 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5299 * debug/wcpncpy_chk.c: Likewise.
5300 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5301 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5302 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5303 * debug/wcsncpy_chk.c: Likewise.
5304 * debug/wcsnrtombs_chk.c: Likewise.
5305 * debug/wcsrtombs_chk.c: Likewise.
5306 * debug/wcstombs_chk.c: Likewise.
5307 * debug/wmemcpy_chk.c: Likewise.
5308 * debug/wmemmove_chk.c: Likewise.
5309 * debug/wmempcpy_chk.c: Likewise.
5310 * debug/wmemset_chk.c: Likewise.
5311 * dirent/scandirat.c (SCANDIRAT): Likewise.
5312 * dlfcn/dladdr1.c (dladdr1): Likewise.
5313 * dlfcn/dladdr.c (dladdr): Likewise.
5314 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5315 * dlfcn/dlerror.c (__dlerror): Likewise.
5316 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5317 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5318 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5319 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5320 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5321 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5322 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5323 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5325 * elf/dl-conflict.c: Likewise.
5326 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5327 * elf/dl-dst.h: Likewise.
5328 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5329 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5331 * elf/dl-init.c (call_init, _dl_init): Likewise.
5332 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5333 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5334 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5336 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5338 * elf/dl-minimal.c (__libc_memalign): Likewise.
5339 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5340 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5341 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5342 * elf/dl-sym.c (do_sym): Likewise.
5343 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5344 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5345 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5346 * elf/dl-writev.h (_dl_writev): Likewise.
5347 * elf/ldconfig.c (search_dir): Likewise.
5348 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5349 (dl_main): Likewise.
5350 * elf/setup-vdso.h (setup_vdso): Likewise.
5351 * grp/compat-initgroups.c (compat_call): Likewise.
5352 * grp/fgetgrent.c (fgetgrent): Likewise.
5353 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5354 * grp/putgrent.c (putgrent): Likewise.
5355 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5357 * hurd/hurdinit.c: Likewise.
5358 * iconvdata/8bit-gap.c (struct): Likewise.
5359 * iconvdata/ansi_x3.110.c : Likewise.
5360 * iconvdata/big5.c : Likewise.
5361 * iconvdata/big5hkscs.c : Likewise.
5362 * iconvdata/cp1255.c: Likewise.
5363 * iconvdata/cp1258.c : Likewise.
5364 * iconvdata/cp932.c : Likewise.
5365 * iconvdata/euc-cn.c: Likewise.
5366 * iconvdata/euc-jisx0213.c : Likewise.
5367 * iconvdata/euc-jp.c: Likewise.
5368 * iconvdata/euc-jp-ms.c : Likewise.
5369 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5370 * iconvdata/gb18030.c : Likewise.
5371 * iconvdata/gbbig5.c (const): Likewise.
5372 * iconvdata/gbgbk.c: Likewise.
5373 * iconvdata/gbk.c : Likewise.
5374 * iconvdata/ibm1364.c : Likewise.
5375 * iconvdata/ibm930.c : Likewise.
5376 * iconvdata/ibm932.c: Likewise.
5377 * iconvdata/ibm933.c : Likewise.
5378 * iconvdata/ibm935.c : Likewise.
5379 * iconvdata/ibm937.c : Likewise.
5380 * iconvdata/ibm939.c : Likewise.
5381 * iconvdata/ibm943.c: Likewise.
5382 * iconvdata/iso_11548-1.c: Likewise.
5383 * iconvdata/iso-2022-cn.c : Likewise.
5384 * iconvdata/iso-2022-cn-ext.c : Likewise.
5385 * iconvdata/iso-2022-jp-3.c: Likewise.
5386 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5387 * iconvdata/iso-2022-kr.c : Likewise.
5388 * iconvdata/iso646.c (gconv_end): Likewise.
5389 * iconvdata/iso_6937-2.c : Likewise.
5390 * iconvdata/iso_6937.c : Likewise.
5391 * iconvdata/iso8859-1.c: Likewise.
5392 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5393 * iconvdata/shift_jisx0213.c : Likewise.
5394 * iconvdata/sjis.c : Likewise.
5395 * iconvdata/t.61.c : Likewise.
5396 * iconvdata/tcvn5712-1.c : Likewise.
5397 * iconvdata/tscii.c: Likewise.
5398 * iconvdata/uhc.c : Likewise.
5399 * iconvdata/unicode.c (gconv_end): Likewise.
5400 * iconvdata/utf-16.c (gconv_end): Likewise.
5401 * iconvdata/utf-32.c (gconv_end): Likewise.
5402 * iconvdata/utf-7.c (base64): Likewise.
5403 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5404 * iconv/gconv_close.c (__gconv_close): Likewise.
5405 * iconv/gconv_open.c (__gconv_open): Likewise.
5406 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5407 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5408 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5409 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5410 (ucs4le_internal_loop_single): Likewise.
5411 * iconv/iconv.c (iconv): Likewise.
5412 * iconv/iconv_close.c: Likewise.
5413 * iconv/loop.c (SINGLE): Likewise.
5414 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5415 * include/atomic.h: Likewise.
5416 * inet/inet6_option.c (option_alloc): Likewise.
5417 * intl/bindtextdom.c (set_binding_values): Likewise.
5418 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5419 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5420 * intl/localealias.c (read_alias_file): Likewise.
5421 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5422 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5423 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5424 * libio/fmemopen.c (fmemopen): Likewise.
5425 * libio/iofgets.c (_IO_fgets): Likewise.
5426 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5427 * libio/iofgetws.c (fgetws): Likewise.
5428 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5429 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5430 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5431 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5432 * locale/findlocale.c (_nl_find_locale): Likewise.
5433 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5434 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5436 * locale/setlocale.c (setlocale): Likewise.
5437 * login/programs/pt_chown.c (main): Likewise.
5438 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5439 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5440 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5441 (mmap, mmap64, mremap, munmap): Likewise.
5442 * math/e_exp2l.c: Likewise.
5443 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5444 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5445 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5446 * math/s_catan.c (__catan): Likewise.
5447 * math/s_catanf.c (__catanf): Likewise.
5448 * math/s_catanh.c (__catanh): Likewise.
5449 * math/s_catanhf.c (__catanhf): Likewise.
5450 * math/s_catanhl.c (__catanhl): Likewise.
5451 * math/s_catanl.c (__catanl): Likewise.
5452 * math/s_ccosh.c (__ccosh): Likewise.
5453 * math/s_ccoshf.c (__ccoshf): Likewise.
5454 * math/s_ccoshl.c (__ccoshl): Likewise.
5455 * math/s_cexp.c (__cexp): Likewise.
5456 * math/s_cexpf.c (__cexpf): Likewise.
5457 * math/s_cexpl.c (__cexpl): Likewise.
5458 * math/s_clog10.c (__clog10): Likewise.
5459 * math/s_clog10f.c (__clog10f): Likewise.
5460 * math/s_clog10l.c (__clog10l): Likewise.
5461 * math/s_clog.c (__clog): Likewise.
5462 * math/s_clogf.c (__clogf): Likewise.
5463 * math/s_clogl.c (__clogl): Likewise.
5464 * math/s_csin.c (__csin): Likewise.
5465 * math/s_csinf.c (__csinf): Likewise.
5466 * math/s_csinh.c (__csinh): Likewise.
5467 * math/s_csinhf.c (__csinhf): Likewise.
5468 * math/s_csinhl.c (__csinhl): Likewise.
5469 * math/s_csinl.c (__csinl): Likewise.
5470 * math/s_csqrt.c (__csqrt): Likewise.
5471 * math/s_csqrtf.c (__csqrtf): Likewise.
5472 * math/s_csqrtl.c (__csqrtl): Likewise.
5473 * math/s_ctan.c (__ctan): Likewise.
5474 * math/s_ctanf.c (__ctanf): Likewise.
5475 * math/s_ctanh.c (__ctanh): Likewise.
5476 * math/s_ctanhf.c (__ctanhf): Likewise.
5477 * math/s_ctanhl.c (__ctanhl): Likewise.
5478 * math/s_ctanl.c (__ctanl): Likewise.
5479 * math/w_pow.c: Likewise.
5480 * math/w_powf.c: Likewise.
5481 * math/w_powl.c: Likewise.
5482 * math/w_scalb.c (sysv_scalb): Likewise.
5483 * math/w_scalbf.c (sysv_scalbf): Likewise.
5484 * math/w_scalbl.c (sysv_scalbl): Likewise.
5485 * misc/error.c (error_tail): Likewise.
5486 * misc/pselect.c (__pselect): Likewise.
5487 * nis/nis_callback.c (__nis_create_callback): Likewise.
5488 * nis/nis_call.c (__nisfind_server): Likewise.
5489 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5490 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5491 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5492 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5493 * nis/nis_lookup.c (nis_lookup): Likewise.
5494 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5495 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5496 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5497 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5498 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5499 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5500 * nis/nss_compat/compat-initgroups.c (add_group)
5501 (internal_getgrent_r): Likewise.
5502 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5503 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5504 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5505 (internal_getspnam_r): Likewise.
5506 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5507 (_nss_nis_getaliasbyname_r): Likewise.
5508 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5509 (_nss_nis_getntohost_r): Likewise.
5510 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5511 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5512 (_nss_nis_getgrgid_r): Likewise.
5513 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5514 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5515 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5516 (_nss_nis_gethostbyname4_r): Likewise.
5517 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5518 (initgroups_netid): Likewise.
5519 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5520 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5521 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5522 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5523 (_nss_nis_getprotobynumber_r): Likewise.
5524 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5525 (_nss_nis_getsecretkey): Likewise.
5526 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5527 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5528 (_nss_nis_getpwuid_r): Likewise.
5529 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5530 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5531 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5532 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5533 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5534 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5535 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5537 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5538 (_nss_nisplus_getntohost_r): Likewise.
5539 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5540 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5541 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5542 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5544 * nis/nss_nisplus/nisplus-initgroups.c
5545 (_nss_nisplus_initgroups_dyn): Likewise.
5546 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5547 (_nss_nisplus_getnetbyaddr_r): Likewise.
5548 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5549 (_nss_nisplus_getprotobynumber_r): Likewise.
5550 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5551 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5552 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5554 * nis/nss_nisplus/nisplus-service.c
5555 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5556 (_nss_nisplus_getservbyport_r): Likewise.
5557 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5558 (_nss_nisplus_getspnam_r): Likewise.
5559 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5561 * nscd/aicache.c (addhstaiX): Likewise.
5562 * nscd/cache.c (cache_search, prune_cache): Likewise.
5563 * nscd/connections.c (register_traced_file, send_ro_fd)
5564 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5565 (main_loop_epoll): Likewise.
5566 * nscd/grpcache.c (addgrbyX): Likewise.
5567 * nscd/hstcache.c (addhstbyX): Likewise.
5568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5569 * nscd/mem.c (gc, mempool_alloc): Likewise.
5570 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5571 (addinnetgrX): Likewise.
5572 * nscd/nscd-client.h (__nscd_acquire_maplock)
5573 (__nscd_drop_map_ref): Likewise.
5574 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5575 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5576 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5578 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5579 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5580 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5581 (__nscd_get_map_ref): Likewise.
5582 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5583 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5585 * nscd/pwdcache.c (addpwbyX): Likewise.
5586 * nscd/selinux.c (preserve_capabilities): Likewise.
5587 * nscd/servicescache.c (addservbyX): Likewise.
5588 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5589 * posix/fnmatch.c (fnmatch): Likewise.
5590 * posix/getopt.c (_getopt_internal_r): Likewise.
5591 * posix/glob.c (glob, glob_in_dir): Likewise.
5592 * posix/wordexp.c (exec_comm_child): Likewise.
5593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5594 (getanswer_r, gaih_getanswer_slice): Likewise.
5595 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5596 * resolv/res_init.c: Likewise.
5597 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5598 * resolv/res_query.c (__libc_res_nquery): Likewise.
5599 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5601 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5602 * stdio-common/perror.c (perror): Likewise.
5603 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5604 * stdio-common/tmpnam.c (tmpnam): Likewise.
5605 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5606 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5607 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5609 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5610 * stdlib/putenv.c (putenv): Likewise.
5611 * stdlib/setenv.c (__add_to_environ): Likewise.
5612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5613 * stdlib/strtol_l.c (INTERNAL): Likewise.
5614 * string/memmem.c (memmem): Likewise.
5615 * string/strerror.c (strerror): Likewise.
5616 * string/strnlen.c (__strnlen): Likewise.
5617 * string/test-memmem.c (simple_memmem): Likewise.
5618 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5619 * sunrpc/pm_getport.c (__get_socket): Likewise.
5620 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5621 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5622 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5623 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5625 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5626 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5627 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5628 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5629 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5630 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5632 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5634 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5635 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5637 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5640 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5641 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5642 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5643 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5644 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5647 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5649 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5651 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5653 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5655 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5656 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5657 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5661 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5663 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5668 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5670 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5672 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5674 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5676 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5678 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5679 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5680 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5681 * sysdeps/posix/sleep.c: Likewise.
5682 * sysdeps/posix/tempname.c: Likewise.
5683 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5684 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5686 * sysdeps/powerpc/powerpc32/dl-machine.h
5687 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5688 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5690 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5691 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5693 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5694 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5695 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5697 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5698 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5699 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5700 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5702 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5704 (elf_machine_lazy_rel): Likewise.
5705 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5707 (elf_machine_lazy_rel): Likewise.
5708 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5709 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5710 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5711 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5712 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5713 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5714 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5718 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5719 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5720 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5721 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5722 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5723 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5724 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5725 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5726 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5727 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5729 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5730 (__posix_fallocate64_l64): Likewise.
5731 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5732 (posix_fallocate): Likewise.
5733 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5735 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5736 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5737 (getifaddrs_internal): Likewise.
5738 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5739 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5740 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5741 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5742 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5743 (__posix_fallocate64_l64): Likewise.
5744 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5746 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5748 (__get_clockfreq): Likewise.
5749 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5750 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5751 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5754 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5755 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5756 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5758 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5759 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5760 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5762 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5763 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5764 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5766 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5767 (posix_fallocate): Likewise.
5768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5769 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5770 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5771 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5772 (elf_machine_rela, elf_machine_rela_relative)
5773 (elf_machine_lazy_rel): Likewise.
5774 * time/asctime.c (asctime_internal): Likewise.
5775 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5776 * time/tzset.c (__tzset_parse_tz): Likewise.
5777 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5778 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5779 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5780 * wcsmbs/wcsmbsload.h: Likewise.
5783 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5785 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5786 (arena_get2): Remove THREAD_STATS conditionals.
5787 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5788 (__malloc_stats, int): Likewise.
5790 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5793 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5795 * manual/setjmp.texi: Fix typos/grammar errors.
5797 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5798 Only return early when n is <= 0. Delete unused return statement.
5800 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5801 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5802 * debug/tst-longjmp_chk3.c: New file.
5804 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5805 (test_main): Replace code with set_fortify_handler call.
5806 * debug/test-strcpy_chk.c: Likewise.
5807 * debug/tst-chk1.c: Likewise.
5808 * debug/tst-longjmp_chk.c: Likewise.
5809 * test-skeleton.c: Include fcntl.h & paths.h
5810 (set_fortify_handler): Define.
5812 * debug/tst-longjmp_chk.c: Add header comment and include
5814 (do_test): Mark static.
5815 (TEST_FUNCTION): Define.
5817 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5818 (IP_PMTUDISC_INTERFACE): Likewise.
5819 (IP_MULTICAST_IF): Likewise.
5820 (IP_MULTICAST_TTL): Likewise.
5821 (IP_MULTICAST_LOOP): Likewise.
5822 (IP_ADD_MEMBERSHIP): Likewise.
5823 (IP_DROP_MEMBERSHIP): Likewise.
5824 (IP_UNBLOCK_SOURCE): Likewise.
5825 (IP_BLOCK_SOURCE): Likewise.
5826 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5827 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5828 (IP_MSFILTER): Likewise.
5829 (MCAST_JOIN_GROUP): Likewise.
5830 (MCAST_BLOCK_SOURCE): Likewise.
5831 (MCAST_UNBLOCK_SOURCE): Likewise.
5832 (MCAST_LEAVE_GROUP): Likewise.
5833 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5834 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5835 (MCAST_MSFILTER): Likewise.
5836 (IP_MULTICAST_ALL): Likewise.
5837 (IP_UNICAST_IF): Likewise.
5839 * timezone/Makefile: Delete $(have-ksh) check.
5840 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5841 * timezone/tzselect.ksh: Add +x mode bits.
5843 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5844 (ANON_INODE_FS_MAGIC): Likewise.
5845 (BDEVFS_MAGIC): Likewise.
5846 (BINFMTFS_MAGIC): Likewise.
5847 (BTRFS_TEST_MAGIC): Likewise.
5848 (CRAMFS_MAGIC_WEND): Likewise.
5849 (DEBUGFS_MAGIC): Likewise.
5850 (ECRYPTFS_SUPER_MAGIC): Likewise.
5851 (EXT3_SUPER_MAGIC): Likewise.
5852 (EXT4_SUPER_MAGIC): Likewise.
5853 (FUTEXFS_SUPER_MAGIC): Likewise.
5854 (HOSTFS_SUPER_MAGIC): Likewise.
5855 (HUGETLBFS_MAGIC): Likewise.
5856 (MINIX3_SUPER_MAGIC): Likewise.
5857 (MTD_INODE_FS_MAGIC): Likewise.
5858 (NILFS_SUPER_MAGIC): Likewise.
5859 (OPENPROM_SUPER_MAGIC): Likewise.
5860 (PIPEFS_MAGIC): Likewise.
5861 (PSTOREFS_MAGIC): Likewise.
5862 (QNX6_SUPER_MAGIC): Likewise.
5863 (RAMFS_MAGIC): Likewise.
5864 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5865 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5866 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5867 (SECURITYFS_MAGIC): Likewise.
5868 (SELINUX_MAGIC): Likewise.
5869 (SMACK_MAGIC): Likewise.
5870 (SOCKFS_MAGIC): Likewise.
5871 (SQUASHFS_MAGIC): Likewise.
5872 (STACK_END_MAGIC): Likewise.
5873 (TMPFS_MAGIC): Likewise.
5874 (USBDEVICE_SUPER_MAGIC): Likewise.
5875 (V9FS_MAGIC): Likewise.
5876 (XENFS_SUPER_MAGIC): Likewise.
5877 (CRAMFS_MAGIC): Fix typo in comment.
5878 (EXT2_SUPER_MAGIC): Update comment.
5879 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5881 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5883 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5884 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5885 * sysdeps/unix/sysv/linux/arm: Move directory from
5886 ports/sysdeps/unix/sysv/linux/arm.
5887 * README: Update listing for arm-*-linux-gnueabi.
5889 * README: Remove mention of am33.
5891 2014-02-07 Roland McGrath <roland@hack.frob.com>
5893 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5894 than the comma operator, to avoid "rhs of comma has no effect"
5896 (__sigfillset, __sigandset, __sigorset): Likewise.
5897 * include/signal.h (__sigemptyset): Likewise.
5898 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5900 2014-02-07 Allan McRae <allan@archlinux.org>
5902 * version.h (RELEASE): Set to "development".
5903 (VERSION): Set to "2.19.90"
5904 * NEWS: Add 2.20 section.
5906 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5909 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5911 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5913 * manual/contrib.texi: Update entry for Carlos O'Donell,
5914 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5916 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5918 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5920 * sysdeps/unix/sysv/linux/kernel-features.h
5921 [__LINUX_KERNEL_VERSION >= 0x020621]
5922 (__ASSUME_PROC_PID_TASK_COMM): Define.
5924 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5928 conversion when destination buffer does not have enough space.
5929 * libio/tst-ftell-partial-wide.c: New test case.
5930 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5932 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5933 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5934 Leonard and Allan McRae.
5936 2014-02-04 David S. Miller <davem@davemloft.net>
5938 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5941 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5970 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5973 * shlib-versions: Likewise.
5975 2014-02-04 Roland McGrath <roland@hack.frob.com>
5976 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5979 (abilist-pattern): New variable, set to %-le.abilist.
5981 * Makerules (abilist-pattern): New variable.
5982 (vpath): Use $(abilist-pattern) in place of %.abilist.
5983 (check-abi-% pattern rule): Likewise.
5984 (check-abi, update-abi): Likewise.
5986 2014-02-04 Eric Wong <normalperson@yhbt.net>
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5990 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5992 * manual/startup.texi: Add next, previous, and top entries for
5993 the `Program Arguments' and `Environment Variables' nodes.
5995 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5997 * manual/macros.texi: Add comments before MTASC-safety macros.
5999 * manual/users.texi: Document MTASC-safety properties.
6001 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6002 (pthread_getspecific, pthread_setspecific): Format with
6003 @deftypefun, and add @safety note.
6004 * manual/signal.texi: Move comments that analyze the above
6005 functions to their home place.
6007 2014-02-03 Allan McRae <allan@archlinux.org>
6009 * po/sl.po: Update Slovenian translation from translation project.
6011 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6013 * manual/time.texi (timegm): Add missing blank after @c.
6014 Reported by Joseph Myers <joseph@codesourcery.com>.
6016 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6018 * manual/check-safety.sh: New.
6019 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6021 * manual/terminal.texi: Document MTASC-safety properties.
6023 * manual/filesys.texi: Document MTASC-safety properties.
6025 * manual/errno.texi: Document MTASC-safety properties.
6027 * manual/intro.texi: Document safety identifiers and
6030 * manual/string.texi (wcstok): Fix prototype.
6031 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6033 * manual/time.texi: Document MTASC-safety properties.
6035 * manual/string.texi: Document MTASC-safety properties.
6037 * manual/threads.texi: Document MTASC-safety properties.
6039 * manual/stdio.texi: Document MTASC-safety properties.
6041 * manual/syslog.texi: Document MTASC-safety properties.
6043 * manual/sysinfo.texi: Document MTASC-safety properties.
6045 * manual/startup.texi: Document MTASC-safety properties.
6047 * manual/socket.texi: Document MTASC-safety properties.
6049 * manual/signal.texi: Document MTASC-safety properties.
6051 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6053 * manual/setjmp.texi: Document MTASC-safety properties.
6055 * manual/search.texi: Document MTASC-safety properties.
6057 * manual/resource.texi: Document MTASC-safety properties.
6059 * manual/process.texi: Document MTASC-safety properties.
6061 * manual/platform.texi: Document MTASC-safety properties.
6063 * manual/pipe.texi: Document MTASC-safety properties.
6065 * manual/pattern.texi: Document MTASC-safety properties.
6067 * manual/message.texi: Document MTASC-safety properties.
6070 * manual/memory.texi: Document MTASC-safety properties.
6072 * manual/math.texi: Document MTASC-safety properties.
6074 * manual/locale.texi: Document MTASC-safety properties.
6076 * manual/llio.texi: Document MTASC-safety properties.
6078 * manual/libdl.texi: New.
6080 * manual/lang.texi: Document MTASC-safety properties.
6082 * manual/job.texi: Document MTASC-safety properties.
6084 * manual/getopt.texi: Document MTASC-safety properties.
6086 * manual/ctype.texi: Document MTASC-safety properties.
6088 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6091 * csu/libc-tls.c (static_map): Remove variable.
6092 (__libc_setup_tls): Use main executable's link map for TLS data.
6093 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6094 casing for LM_ID_BASE and GL(dl_nns).
6095 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6096 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6097 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6098 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6099 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6101 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6104 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6106 * manual/debug.texi: Document MTASC-safety properties.
6108 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6111 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6112 of __x86_64__ when disabling x87 inline functions.
6114 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6116 * manual/charset.texi: Document MTASC-safety properties.
6118 * manual/crypt.texi: Document MTASC-safety properties.
6120 * manual/conf.texi: Document MTASC-safety properties.
6122 * manual/arith.texi: Document MTASC-safety properties.
6124 * manual/argp.texi: Document MTASC-safety properties.
6126 * manual/macros.texi: Introduce macros to document multi
6127 thread, asynchronous signal and asynchronous cancellation
6129 * manual/intro.texi: Introduce the properties themselves.
6131 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6133 * sysdeps/sh/sh4/Makefile: New file.
6135 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6137 * math/gen-libm-test.pl ($srcdir): New variable.
6138 ($auto_input): Use it.
6140 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6143 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6144 access beyond array bounds when parsing netgroups file.
6146 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6147 the old buffer before realloc.
6149 2014-01-27 Allan McRae <allan@archlinux.org>
6151 * po/fr.po: Update French translation from translation project.
6153 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6155 * sysdeps/sh/libm-test-ulps: Regenerate.
6157 2014-01-24 David S. Miller <davem@davemloft.net>
6159 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6161 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6163 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6164 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6166 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6169 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6170 string pointers after reallocation.
6172 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6174 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6175 __SH4A__ instead of __SH_FPU_ANY__.
6177 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6179 * sysdeps/sh/fpu_control.h: New file.
6180 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6181 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6182 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6183 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6184 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6185 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6186 * sysdeps/sh/sys/ucontext.h: Remove.
6187 * sysdeps/sh/sys: Remove directory.
6189 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6191 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6192 s390/sys/ucontext.h.
6193 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6196 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6199 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6201 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6205 Adjust the vDSO correctly for internal calls.
6206 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6208 2014-01-20 Allan McRae <allan@archlinux.org>
6210 * po/ca.po: Update Catalan translation from translation project.
6212 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6214 * sysdeps/s390/sotruss-lib.c: New file.
6216 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6220 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6221 local calls issues by not having a PLT stub required for IFUNC calls.
6222 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6224 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6226 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6227 * math/test-fpucw-static.c: Likewise.
6229 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6232 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6234 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6237 implementation for powerpc.
6239 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6242 * sysdeps/posix/system.c (__libc_system): Do not enable
6243 asynchronous cancellation.
6245 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6248 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6249 handling only for numbers special also in the IEEE case.
6251 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6253 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6255 2014-01-11 Allan McRae <allan@archlinux.org>
6257 * po/bg.po: Update Bulgarian translation from translation project.
6259 * po/de.po: Update German translation from translation project.
6261 2014-01-10 Roland McGrath <roland@hack.frob.com>
6263 * sysdeps/generic/gcc-compat.h: New file.
6265 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6267 * benchtests/asin-inputs: Correct slow inputs.
6268 * benchtests/acos-inputs: Likewise.
6270 2014-01-10 Allan McRae <allan@archlinux.org>
6272 * po:sv.po: Update Swedish translation from translation project.
6274 * po/vi.po: Update Vietnamese translation from translation project.
6276 * po/eo.po: Update Esperanto translation from translation project.
6278 * po/cs.po: Update Czech translation from translation project.
6280 * po/nl.po: Update Dutch translation from translation project.
6282 * po/pl.po: Update Polish translation from translation project.
6284 * po/ru.po: Update Russian translation from translation project.
6286 * po/uk.po: Update Ukrainian translation from translation project.
6288 2014-01-08 Brooks Moses <bmoses@google.com>
6290 * elf/dl-load.c: Fix comment typo.
6292 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6294 * po/header.pot: Rename to...
6295 * po/pot.header: ... this.
6296 * po/Makefile: Use pot.header.
6298 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6299 Maxim Kuvyrkov <maxim@kugelworks.com>
6302 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6303 SRC and DEST against LEN.
6305 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6310 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6312 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6316 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6319 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6320 for large positive arguments.
6322 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6324 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6326 * math/auto-libm-test-in: Mark various tests with
6327 xfail-rounding:ldbl-128ibm.
6328 * math/auto-libm-test-out: Regenerated.
6331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6332 Increase overflow threshold.
6334 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6337 * stdio-common/vfprintf.c: Check for integer overflow.
6339 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6341 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6342 the first argument and return value of __tls_get_addr_internal.
6344 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6346 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6347 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6349 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6351 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6352 * sysdeps/s390/rtld-global-offsets.sym: New file.
6353 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6355 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6357 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6359 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6360 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6366 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6367 halfs of GPRs for high_gprs contexts.
6368 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6369 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6371 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6373 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6375 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6376 for high GPRs (uc_high_gprs) and for future extensions
6378 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6379 for future extensions (__reserved).
6380 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6382 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6383 SC_HIGHGPRS offset definition.
6384 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6385 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6387 * Versions.def: Add GLIBC_2.19 for libpthread.
6388 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6389 siglongjmp for libpthread with GLIBC_2.19 symver.
6390 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6391 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6392 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6393 * sysdeps/s390/__longjmp.c: New file.
6394 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6395 * sysdeps/s390/longjmp.c: New file.
6396 * sysdeps/s390/setjmp.S: New file.
6397 * sysdeps/s390/sigjmp.S: New file.
6398 * sysdeps/s390/v1-longjmp.c: New file.
6399 * sysdeps/s390/v1-setjmp.h: New file.
6400 * sysdeps/s390/v1-sigjmp.c: New file.
6401 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6402 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6404 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6405 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6406 versioned symbols for ____longjmp_chk.
6407 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6417 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6418 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6419 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6420 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6421 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6422 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6423 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6424 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6425 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6426 * sysdeps/s390/rtld-__longjmp.c: New file.
6427 * sysdeps/s390/rtld-setjmp.S: New file.
6429 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6432 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6433 Return -__logl (x) for small positive arguments without evaluating
6436 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6438 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6440 (__ptrace_peeksiginfo_args): ... this.
6441 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6445 2014-01-06 Allan McRae <allan@archlinux.org>
6447 * inet/netinet/in.h: Fix typo in comment.
6449 2014-01-05 Andreas Jaeger <aj@suse.de>
6451 * sysdeps/i386/fpu/libm-test-ulps: Update.
6453 2014-01-05 Allan McRae <allan@archlinux.org>
6455 * po/libc.pot: Regenerated.
6457 * malloc/memusagestat.c: Fix gettext call formatting.
6459 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6461 * nscd/nscd.c: Improve usage() output.
6463 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6465 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6466 * sysdeps/unix/sysv/linux/configure: Regenerated.
6467 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6468 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6470 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6473 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6474 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6476 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6479 extra tokens at end of #undef directive.
6480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6484 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6486 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6488 * math/auto-libm-test-in: Mark various tests with
6489 xfail-rounding:ldbl-128ibm.
6490 * math/auto-libm-test-out: Regenerated.
6492 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6496 numbers with subnormal high part when calculating exponent.
6499 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6503 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6505 (__ieee754_acoshl): Use __log1pl not __log1p.
6507 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6509 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6510 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6511 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6512 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6513 (reused_arena, arena_get2): Convert to GNU style.
6514 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6515 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6516 (memalign_check, __malloc_set_state): Likewise.
6517 * malloc/mallocbug.c (main): Likewise.
6518 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6519 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6520 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6521 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6522 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6523 (__posix_memalign, malloc_info): Likewise.
6524 * malloc/malloc.h: Likewise.
6525 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6526 (mallochook, memalignhook, reallochook, mabort): Likewise.
6527 * malloc/mcheck.h: Likewise.
6528 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6529 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6530 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6531 * malloc/morecore.c (__default_morecore): Likewise.
6532 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6533 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6534 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6535 (print_and_abort): Likewise.
6536 * malloc/obstack.h: Likewise.
6537 * malloc/set-freeres.c (__libc_freeres): Likewise.
6538 * malloc/tst-mallocstate.c (main): Likewise.
6539 * malloc/tst-mtrace.c (main): Likewise.
6540 * malloc/tst-realloc.c (do_test): Likewise.
6542 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6545 * nscd/netgroupcache.c (do_notfound): New function.
6546 (addgetnetgrentX): Use it.
6549 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6550 NSS_STATUS_NOTFOUND.
6552 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6554 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6557 2014-01-01 Allan McRae <allan@archlinux.org>
6559 * scripts/update-copyrights: Update configure input file suffix.
6561 * NEWS: Update copyright year.
6562 * catgets/gencat.c: Likewise.
6563 * csu/version.c: Likewise.
6564 * debug/catchsegv.sh: Likewise.
6565 * debug/pcprofiledump.c: Likewise.
6566 * debug/xtrace.sh: Likewise.
6567 * elf/ldconfig.c: Likewise.
6568 * elf/ldd.bash.in: Likewise.
6569 * elf/pldd.c: Likewise.
6570 * elf/sotruss.ksh: Likewise.
6571 * elf/sprof.c: Likewise.
6572 * iconv/iconv_prog.c: Likewise.
6573 * iconv/iconvconfig.c: Likewise.
6574 * locale/programs/locale.c: Likewise.
6575 * locale/programs/localedef.c: Likewise.
6576 * login/programs/pt_chown.c: Likewise.
6577 * malloc/memusage.sh: Likewise.
6578 * malloc/memusagestat.c: Likewise.
6579 * malloc/mtrace.pl: Likewise.
6580 * manual/libc.texinfo: Likewise.
6581 * nscd/nscd.c: Likewise.
6582 * nss/getent.c: Likewise.
6583 * nss/makedb.c: Likewise.
6584 * posix/getconf.c: Likewise.
6585 * scripts/test-installation.pl: Likewise.
6587 * All files with FSF copyright notices: Update copyright dates
6588 using scripts/update-copyrights.
6589 * intl/plural.c: Regenerated.
6590 * locale/programs/charmap-kw.h: Likewise.
6591 * locale/programs/locfile-kw.h: Likewise.
6593 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6595 * sysdeps/unix/sysv/linux/configure: Regenerated.
6596 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6597 the linux/fanotify.h header.
6598 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6599 HAVE_LINUX_FANOTIFY_H is defined.
6601 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6603 * benchtests/cos-inputs: New inputs.
6604 * benchtests/sin-inputs: Likewise.
6606 * benchtests/atan-inputs: New inputs. Fix name of multiple
6607 precision fallback inputs.
6609 * benchtests/atanh-inputs: New inputs.
6610 * benchtests/tanh-inputs: Likewise.
6612 * benchtests/acosh-inputs: New inputs.
6613 * benchtests/asinh-inputs: Likewise.
6615 * benchtests/cosh-inputs: New inputs.
6616 * benchtests/sinh-inputs: Likewise.
6618 * benchtests/acos-inputs: Add more inputs.
6619 * benchtests/asin-inputs: Likewise.
6621 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6624 * manual/arith.texi: Fix spelling.
6625 * manual/charset.texi: Likewise.
6626 * manual/errno.texi: Likewise.
6627 * manual/filesys.texi: Likewise.
6628 * manual/lang.texi: Likewise.
6629 * manual/llio.texi: Likewise.
6630 * manual/locale.texi: Likewise.
6631 * manual/message.texi: Likewise.
6632 * manual/resource.texi: Likewise.
6633 * manual/search.texi: Likewise.
6634 * manual/setjmp.texi: Likewise.
6635 * manual/stdio.texi: Likewise.
6636 * manual/string.texi: Likewise.
6637 * manual/sysinfo.texi: Likewise.
6638 * manual/time.texi: Likewise.
6640 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6642 * po/sl.po: New file.
6644 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6646 * .gitignore: Add core/.gdbinit/.gdb_history.
6648 2013-12-27 Allan McRae <allan@archlinux.org>
6651 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6652 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6654 2013-12-24 Brooks Moses <bmoses@google.com>
6656 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6657 all compilers that claim C++98 compliance, not just GCC.
6658 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6661 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6663 * NEWS: Restore accidentally deleted bug-fix entries.
6665 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6666 Ondřej Bílka <neleai@seznam.cz>
6669 * malloc/malloc.c (_int_free): Perform sanity check only if we
6672 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6675 * manual/stdio.texi (String Input Conversions): Clarify that character
6676 classes are not supported.
6678 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6682 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6686 Calculate results for small negative arguments directly rather
6687 than using reflection formula with special underflow handling.
6689 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6690 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6691 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6692 (fchflags): Likewise.
6694 (setlogin): Likewise.
6695 (sigaltstack): Likewise.
6698 (sigsetmask): Likewise.
6700 (waitpid): Likewise.
6701 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6702 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6704 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6705 * sysdeps/unix/bsd/Makefile: ... here.
6706 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6707 * sysdeps/unix/bsd/Versions: ... here.
6708 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6709 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6710 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6711 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6712 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6713 * sysdeps/unix/bsd/sigblock.c: ... here.
6714 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6715 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6716 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6717 * sysdeps/unix/bsd/sigvec.c: ... here.
6718 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6719 * sysdeps/unix/bsd/tcdrain.c: ... here.
6720 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6721 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6722 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6723 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6724 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6725 * sysdeps/unix/bsd/wait.c: ... here.
6726 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6727 * sysdeps/unix/bsd/wait3.c: ... here.
6728 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6729 * sysdeps/unix/bsd/waitpid.c: ... here.
6731 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6735 round-to-nearest for [!USE_AS_EXPM1L].
6736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6737 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6738 more tests of exp and exp10. Expect some exp10 tests to miss
6739 exceptions or fail in directed rounding modes.
6740 * math/auto-libm-test-out: Regenerated.
6741 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6742 (exp10_test_tonearest): New function.
6743 (exp10_towardzero_test_data): New array.
6744 (exp10_test_towardzero): New function.
6745 (exp10_downward_test_data): New array.
6746 (exp10_test_downward): New function.
6747 (exp10_upward_test_data): New array.
6748 (exp10_test_upward): New function.
6749 (main): Call the new functions.
6750 * sysdeps/i386/fpu/libm-test-ulps: Update.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6753 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6755 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6756 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6757 * math/auto-libm-test-out: Regenerated.
6758 * math/libm-test.inc (acosh_test_data): Add more tests.
6759 (atanh_test_data): Likewise.
6760 (ceil_test_data): Likewise.
6761 (copysign_test_data): Likewise.
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6765 * timezone/checktab.awk: Update from tzcode 2013i.
6766 * timezone/private.h: Likewise.
6767 * timezone/scheck.c: Likewise.
6768 * timezone/tzfile.h: Likewise.
6769 * timezone/tzselect.ksh: Likewise.
6770 * timezone/zdump.c: Likewise.
6771 * timezone/zic.c: Likewise.
6773 * math/auto-libm-test-in: Add tests of cpow.
6774 * math/auto-libm-test-out: Regenerated.
6775 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6776 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6778 (func_calc_desc): Add mpc_cc_c union field.
6779 (test_functions): Add cpow.
6780 (special_fill_2pi): New function.
6781 (special_real_inputs): Add 2pi.
6782 (calc_generic_results): Handle mpc_cc_c.
6783 * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6787 csqrt, ctan and ctanh.
6788 * math/auto-libm-test-out: Regenerated.
6789 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6790 (TEST_COND_x86): Likewise.
6791 (ccos_test_data): Use AUTO_TESTS_c_c.
6792 (ccosh_test_data): Likewise.
6793 (cexp_test_data): Likewise.
6794 (clog_test_data): Likewise.
6795 (csqrt_test_data): Likewise.
6796 (ctan_test_data): Likewise.
6797 (ctan_tonearest_test_data): Likewise.
6798 (ctan_towardzero_test_data): Likewise.
6799 (ctan_downward_test_data): Likewise.
6800 (ctan_upward_test_data): Likewise.
6801 (ctanh_test_data): Likewise.
6802 (ctanh_tonearest_test_data): Likewise.
6803 (ctanh_towardzero_test_data): Likewise.
6804 (ctanh_downward_test_data): Likewise.
6805 (ctanh_upward_test_data): Likewise.
6806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6808 (func_calc_desc): Add mpc_c_c union field.
6809 (FUNC_mpc_c_c): New macro.
6810 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6811 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6813 (special_fill_min_subnorm_p120): New function.
6814 (special_real_inputs): Add min_subnorm_p120.
6815 (calc_generic_results): Handle mpc_c_c.
6816 * sysdeps/i386/fpu/libm-test-ulps: Update.
6817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6821 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6822 (do_sin_slow): New functions.
6823 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6824 (cslow2, csloww1, csloww2): Use the new functions.
6826 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6827 Use M to change sign of result instead of X. Assume X is
6829 (csloww1): Likewise.
6833 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6840 (sloww1): Don't adjust sign of DX.
6841 (csloww1): Likewise.
6842 (sloww2): Use X directly and don't adjust sign of DX.
6843 (csloww2): Likewise.
6845 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6847 * math/auto-libm-test-in: Add tests of cabs and carg.
6848 * math/auto-libm-test-out: Regenerated.
6849 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6850 (carg_test_data): Likewise.
6851 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6853 (func_calc_desc): Add mpc_c_f union field.
6854 (test_functions): Add cabs and carg.
6855 (calc_generic_results): Handle mpc_c_f.
6857 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6858 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6859 as a macro and a compat symbol.
6860 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6861 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6862 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6863 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6864 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6867 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6871 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6873 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6875 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6877 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6878 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6881 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6885 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6887 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6888 trailing whitespace removed.
6889 * scripts/config.guess: Update to version 2013-11-29.
6890 * scripts/config.sub: Update to version 2013-10-01.
6892 * math/auto-libm-test-in: Add tests of sincos.
6893 * math/auto-libm-test-out: Regenerated.
6894 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6897 (func_calc_desc): Add mpfr_f_11 union field.
6898 (test_functions): Add sincos.
6899 (calc_generic_results): Handle mpfr_f_11.
6900 * sysdeps/i386/fpu/libm-test-ulps: Update.
6901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903 2013-12-19 Andreas Schwab <schwab@suse.de>
6905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6907 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6909 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6911 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6913 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6919 round-to-nearest mode when using frndint.
6920 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6921 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6922 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6924 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6926 * math/auto-libm-test-out: Regenerated.
6927 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6928 (TEST_COND_x86): Likewise.
6929 (expm1_tonearest_test_data): New array.
6930 (expm1_test_tonearest): New function.
6931 (expm1_towardzero_test_data): New array.
6932 (expm1_test_towardzero): New function.
6933 (expm1_downward_test_data): New array.
6934 (expm1_test_downward): New function.
6935 (expm1_upward_test_data): New array.
6936 (expm1_test_upward): New function.
6937 (main): Run the new test functions.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941 * include/features.h: Update comment documenting feature test
6942 macros. Mention _DEFAULT_SOURCE in comment.
6943 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6944 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6945 _BSD_SOURCE and _SVID_SOURCE.
6946 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6947 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6948 !_SVID_SOURCE]: Likewise.
6949 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6950 (__USE_POSIX_IMPLICITLY): Define.
6951 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6952 (_POSIX_SOURCE): Undefine and redefine.
6953 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6954 (_POSIX_C_SOURCE): Likewise.
6955 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6956 (Feature Test Macros): Update documentation of default features.
6958 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6960 * benchtests/Makefile: Add bench-strtok.
6961 * benchtests/bench-strtok.c: New file: strtok benchtest.
6963 2013-12-19 Allan McRae <allan@archlinux.org>
6965 * manual/install.texi: Suppress menu for plain text output.
6966 * INSTALL: Regenerated.
6968 2013-12-18 Brooks Moses <bmoses@google.com>
6971 * misc/getauxval.c: Include errno.h.
6972 (__getauxval): Set errno to ENOENT if the requested type is not
6974 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6975 don't declare with __attribute_const__.
6976 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6977 * manual/startup.texi: Document that getauxval sets errno.
6979 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6981 * math/auto-libm-test-in: Add tests of jn and yn.
6982 * math/auto-libm-test-out: Regenerated.
6983 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6984 (yn_test_data): Likewise.
6985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6987 (func_calc_desc): Add mpfr_if_f union field.
6988 (FUNC_mpfr_if_f): New macro.
6989 (test_functions): Add jn and yn.
6990 (calc_generic_results): Assert type of second input for
6991 mpfr_ff_f. Handle mpfr_if_f.
6992 (output_for_one_input_case): Disable all checking for arguments
6993 fitting floating-point types in case of an integer argument.
6994 * sysdeps/i386/fpu/libm-test-ulps: Update.
6995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6998 Don't expect fegetround reference in libm.so.
7000 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7002 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7003 $(config-cflags-nofma).
7005 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7007 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7008 * math/auto-libm-test-out: Regenerated.
7011 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7012 to determine exponent and adjust argument to have exponent of -1.
7013 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7015 * math/auto-libm-test-out: Regenerated.
7016 * sysdeps/i386/fpu/libm-test-ulps: Update.
7017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7021 * manual/probes.texi: Remove cases when per-thread arenas are
7024 2013-12-18 Andreas Schwab <schwab@suse.de>
7026 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7027 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7028 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7029 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7030 * sysdeps/i386/i686/multiarch/Makefile: Update.
7031 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7033 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7035 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7036 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7038 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7041 Support TZ transition times < 00:00:00.
7042 This is needed for version-3 tz-format files; it supports time
7043 stamps past 2037 for America/Godthab (the only entry in the tz
7044 database for which this change is relevant).
7045 * manual/time.texi (TZ Variable): Document transition times
7046 from -167:59:59 through -00:00:01.
7047 * time/tzset.c (tz_rule): Time of day is now signed.
7048 (__tzset_parse_tz): Parse negative time of day.
7050 Document TZ transition times >= 25:00:00.
7051 * manual/time.texi (TZ Variable): Document transition times from
7052 25:00:00 through 167:59:59. These are already supported, and this
7053 support will help with version-3 tz-format files.
7055 * manual/time.texi (TZ Variable): Modernize North America example
7056 to reflect current (i.e., 2007-and-later) daylight saving rules.
7058 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7060 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7062 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7063 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7066 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7067 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7068 * sysdeps/unix/bsd/clock.c: Likewise.
7069 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7070 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7071 * sysdeps/unix/bsd/init-posix.c: Likewise.
7072 * sysdeps/unix/bsd/poll.c: Likewise.
7073 * sysdeps/unix/bsd/ptsname.c: Likewise.
7074 * sysdeps/unix/bsd/seekdir.c: Likewise.
7075 * sysdeps/unix/bsd/setegid.c: Likewise.
7076 * sysdeps/unix/bsd/seteuid.c: Likewise.
7077 * sysdeps/unix/bsd/setgid.c: Likewise.
7078 * sysdeps/unix/bsd/setrgid.c: Likewise.
7079 * sysdeps/unix/bsd/setruid.c: Likewise.
7080 * sysdeps/unix/bsd/setsid.c: Likewise.
7081 * sysdeps/unix/bsd/setuid.c: Likewise.
7082 * sysdeps/unix/bsd/sigaction.c: Likewise.
7083 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7084 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7085 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7086 * sysdeps/unix/bsd/telldir.c: Likewise.
7087 * sysdeps/unix/bsd/times.c: Likewise.
7088 * sysdeps/unix/bsd/usleep.c: Likewise.
7090 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7091 ($(objpfx)libbsd-compat.a): Remove rule.
7093 * include/features.h (__FAVOR_BSD): Do not define.
7094 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7095 features conflicting with POSIX.
7096 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7097 (_BSD_SOURCE): Remove description of not being a subset of other
7098 feature test macros.
7099 * manual/job.texi (getpgrp): Do not document BSD version.
7100 (getpgid): Do not document by reference to BSD getpgrp.
7101 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7102 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7103 * signal/signal.h [__FAVOR_BSD]: Likewise.
7104 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7105 instead of making contents conditional on [__FAVOR_BSD].
7106 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7108 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7112 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7115 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7116 values below 2**-450, not 2**-500.
7117 * math/auto-libm-test-in: Don't allow spurious underflow from
7119 * math/auto-libm-test-out: Regenerated.
7123 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7124 values of ha and hb and sort them after adjusting subnormal
7126 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7128 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7129 values of ea and eb and sort them after adjusting subnormal
7131 * math/auto-libm-test-in: Do not expect some hypot tests of
7132 subnormals to fail. Add more hypot tests.
7133 * math/auto-libm-test-out: Regenerated.
7135 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7138 * sysdeps/sh/s_fma.c: New file.
7139 * sysdeps/sh/s_fmaf.c: New file.
7140 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7142 * sysdeps/sh/Implies: Add sh/soft-fp.
7144 2013-12-16 Roland McGrath <roland@hack.frob.com>
7146 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7147 level of indirection to members `objname', `errstring', `malloced'.
7148 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7149 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7150 it as the __longjmp argument (just pass 1 instead).
7151 (_dl_catch_error): Initialize C with argument pointers and address of
7152 volatile local ERRCODE rather than copying values out of C at return.
7154 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7156 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7157 * math/auto-libm-test-out: Regenerated.
7158 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7159 (hypot_test_data): Likewise.
7160 (pow_test_data): Likewise.
7161 (pow_tonearest_test_data): Likewise.
7162 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7164 (func_calc_desc): Add mpfr_ff_f union field.
7165 (FUNC_mpfr_ff_f): New macro.
7166 (test_functions): Add atan2, hypot and pow.
7167 (special_fill_min): New function.
7168 (special_fill_minus_min): Likewise.
7169 (special_fill_min_subnorm): Likewise.
7170 (special_fill_minus_min_subnorm): Likewise.
7171 (special_real_inputs): Add min, -min, min_subnorm and
7173 (calc_generic_results): Handle mpfr_ff_f.
7174 * sysdeps/i386/fpu/libm-test-ulps: Update.
7175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7177 2013-12-16 Will Newton <will.newton@linaro.org>
7179 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7180 (Aligned Memory Blocks): Add documentation for aligned_alloc
7181 and suggest it as an alternative to posix_memalign.
7182 (Hooks for Malloc): Document __memalign_hook is also called
7183 for aligned_alloc. (Summary of Malloc): Add summary for
7184 aligned alloc. Document __memalign_hook is also called
7187 2013-12-16 Will Newton <will.newton@linaro.org>
7189 * manual/memory.texi (Malloc Examples): Clarify default
7190 alignment documentation. Suggest posix_memalign rather
7191 than memalign or valloc.
7192 (Aligned Memory Blocks): Remove suggestion to use memalign
7193 or valloc. Remove obsolete comment about BSD.
7194 Document memalign errno values and mark the function obsolete.
7195 Document posix_memalign returned error codes. Mark valloc
7196 as obsolete. (Hooks for Malloc): __memalign_hook is also
7197 called for posix_memalign and valloc.
7198 (Summary of Malloc): Add posix_memalign to function summary.
7199 __memalign_hook is also called for posix_memalign and valloc.
7201 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7203 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7207 (sloww): Use mynumber union. Expand ternary operator into
7209 (cslow): use mynumber union.
7211 2013-12-16 Allan McRae <allan@archlinux.org>
7213 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7214 * configure: Regenerated.
7216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7219 * configure.ac: Added --enable-maintainer-mode. Check for
7220 autoconf when enabled.
7221 * configure: Regenerated.
7223 * nscd/nscd.service: New file.
7224 * nscd/nscd.tmpfiles: New file.
7226 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7229 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7230 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7231 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7232 (strstr): Add __strstr_sse2_unaligned ifunc.
7233 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7234 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7235 (strcasestr): Remove __strcasestr_sse42 ifunc.
7236 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7240 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7242 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7243 * sysdeps/sh/bits/fenv.h: ... here.
7244 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7246 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7248 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7251 hypotf multiarch implementations.
7252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7255 multiarch hypot for PPC64.
7256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7258 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7259 multiarch hypotf for PPC64.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7262 modff multiarch implementations.
7263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7266 multiarch modf for PPC64.
7267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7270 multiarch modff for PPC64.
7272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7273 and logl multiarch implementations.
7274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7277 multiarch logb for PPC64.
7278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7281 multiarch logb for PPC64.
7282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7285 multiarch logb for PPC64.
7287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7288 isinff multiarch implementation.
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7293 multiarch isinf for PPC64.
7294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7297 multiarch isinff for PPC64.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7300 finitef multiarch implementation.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7305 multiarch finite for PPC64.
7306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7309 multiarch finitef for PPC64.
7311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7312 lrint multiarch implementation.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7317 multiarch llrint for PPC64.
7318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7319 multiarch lrint for PPC64.
7321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7322 copysignf multiarch implementation.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7328 multiarch copysign for PPC64.
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7330 multiarch copysignf for PPC64.
7332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7333 multiarch implementation.
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7342 multiarch llround for PPC64.
7343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7344 multiarch trunc for PPC64.
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7346 multiarch truncf for PPC64.
7348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7349 multiarch implementation.
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7358 multiarch llround for PPC64.
7359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7360 multiarch round for PPC64.
7361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7362 multiarch roundf for PPC64.
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7365 multiarch implementation.
7366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7374 multiarch llround for PPC64.
7375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7376 multiarch floor for PPC64.
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7378 multiarch floorf for PPC64.
7380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7381 multiarch implementation.
7382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7390 multiarch llround for PPC64.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7392 multiarch ceil for PPC64.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7394 multiarch ceilf for PPC64.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7397 multiarch implementation.
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7405 multiarch llround for PPC64.
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7407 multiarch lround for PPC64.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7410 multiarch implementation.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7418 multiarch isnan for PPC64.
7419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7420 multiarch isnanf for PPC64.
7422 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7423 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7424 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7425 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7426 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7429 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7430 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7435 multiarch implementations.
7436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7437 (__libc_ifunc_impl_list): Likewise.
7438 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7439 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7440 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7441 multiarch stpcpy for PPC64.
7443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7444 multiarch implementations.
7445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7446 (__libc_ifunc_impl_list): Likewise.
7447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7448 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7449 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7450 multiarch strcpy for PPC64.
7452 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7453 redefine function name.
7454 (_wordcopy_fwd_dest_aligned): Likewise.
7455 (_wordcopy_bwd_aligned): Likewise.
7456 (_wordcopy_bwd_dest_aligned): Likewise.
7457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7458 multiarch implementations.
7459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7460 (__libc_ifunc_impl_list): Likewise.
7461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7464 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7465 multiarch wcscpy for PPC64.
7467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7468 multiarch implementations.
7469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7470 (__libc_ifunc_impl_list): Likewise.
7471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7474 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7475 multiarch wcscpy for PPC64.
7477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7478 multiarch implementations.
7479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7480 (__libc_ifunc_impl_list): Likewise.
7481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7482 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7484 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7485 multiarch wcsrchr for PPC64.
7487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7488 multiarch implementations.
7489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7490 (__libc_ifunc_impl_list): Likewise.
7491 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7493 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7494 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7495 multiarch wcschr for PPC64.
7497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7498 multiarch implementations.
7499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7500 (__libc_ifunc_impl_list): Likewise.
7501 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7502 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7503 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7504 multiarch strchrnul for PPC64.
7506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7509 (__libc_ifunc_impl_list): Likewise.
7510 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7511 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7512 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7513 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7519 (__libc_ifunc_impl_list): Likewise.
7520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7523 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7527 multiarch implementations.
7528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7529 (__libc_ifunc_impl_list): Likewise.
7530 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7531 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7532 strncasecmp for PPC64.
7533 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7534 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7535 multiarch strncasecmp_l for PPC64.
7537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7538 multiarch implementations.
7539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7540 (__libc_ifunc_impl_list): Likewise.
7541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7542 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7543 multiarch strcasecmp for PPC64.
7544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7547 multiarch strcasecmp_l for PPC64.
7549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7552 (__libc_ifunc_impl_list): Likewise.
7553 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7554 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7555 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7561 (__libc_ifunc_impl_list): Likewise.
7562 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7563 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7564 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7570 (__libc_ifunc_impl_list): Likewise.
7571 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7572 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7573 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7574 rawmemrchr for PPC64.
7576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7579 (__libc_ifunc_impl_list): Likewise.
7580 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7581 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7582 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7588 (__libc_ifunc_impl_list): Likewise.
7589 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7590 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7591 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7597 (__libc_ifunc_impl_list): Likewise.
7598 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7599 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7600 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7603 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7604 avoid cretion of __bzero symbol.
7605 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7607 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7609 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7612 multiarch implementations.
7613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7614 (__libc_ifunc_impl_list): Likewise.
7615 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7616 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7617 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7620 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7621 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7622 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7623 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7624 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7626 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7628 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7632 (__libc_ifunc_impl_list): Likewise.
7633 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7634 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7635 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7636 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7640 multiarch for POWER/PPC64.
7641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7642 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7648 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7649 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7652 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7654 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7655 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7656 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7657 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7658 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7659 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7660 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7661 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7662 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7663 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7664 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7665 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7666 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7675 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7677 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7679 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7681 * benchtests/Makefile (bench): Add exp2 and log2.
7682 (LDLIBS-bench-exp2): Add -lm.
7683 (LDLIBS-bench-log2): Likewise.
7684 * benchtests/exp2-inputs: New inputs file.
7685 * benchtests/log2-inputs: New inputs file.
7686 * benchtests/log-inputs: Add new inputs.
7687 * benchtests/tan-inputs: Likewise.
7689 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7691 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7693 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7694 (csloww2): ... from here.
7696 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7697 instead of structures.
7698 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7699 (POLYNOMIAL): Likewise.
7700 (TAYLOR_SLOW): Likewise.
7708 (bsloww1): Likewise.
7709 (bsloww2): Likewise.
7712 (csloww1): Likewise.
7713 (csloww2): Likewise.
7715 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7717 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7718 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7719 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7720 * malloc/hooks.c (realloc_check): Likewise.
7722 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7723 * malloc/arena.c: Remove PER_THREAD conditional.
7724 [!PER_THREAD]: Remove code.
7725 (ptmalloc_unlock_all2): Likewise.
7726 (ptmalloc_init): Likewise.
7727 (_int_new_arena): Likewise.
7728 (arena_get2): Likewise.
7729 * malloc/hooks.c (__malloc_get_state): Likewise.
7730 (__malloc_set_state): Likewise.
7731 * malloc/malloc.c: Likewise.
7732 (struct malloc_state): Likewise.
7733 (struct malloc_par): Likewise.
7734 (__libc_realloc): Likewise.
7735 (__libc_mallopt): Likewise.
7737 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7739 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7741 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7743 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7744 macro to a function. Check for zero perturb_byte.
7745 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7747 * malloc/malloc.c: (force_reg): Remove.
7748 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7749 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7750 force_reg by atomic_forced_read.
7751 * malloc/arena.c (ptmalloc_init): Likewise.
7752 * malloc/hooks.c (top_check): Likewise.
7754 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7758 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7762 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7764 * math/auto-libm-test-in: Add tests of lgamma.
7765 * math/auto-libm-test-out: Regenerated.
7766 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7767 (M_LOG_2_SQRT_PIl): Likewise.
7768 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7769 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7771 (func_calc_desc): Add mpfr_f_f1 union field.
7780 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7781 (test_functions): Add lgamma.
7782 (calc_generic_results): Handle mpfr_f_f1.
7783 * sysdeps/i386/fpu/libm-test-ulps: Update.
7784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7786 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7789 __mpn_add_n for PowerPC64/POWER7.
7790 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7791 __mpn_sub_n for PowerPC64/POWER7.
7793 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7794 __mpn_addmul_1 for PowerPC64.
7795 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7796 __mpn_submul_1 for PowerPC64.
7797 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7799 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7802 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7805 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7807 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7811 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7812 add multiarch folders.
7813 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7814 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7815 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7816 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7817 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7818 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7819 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7820 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7821 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7822 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7823 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7832 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7838 multiarch __ieee754_hypot for PowerPC32.
7839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7844 multiarch __ieee754_hypotf for PowerPC32.
7846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7847 long_double_symbol only if __logbl is defined.
7848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7849 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7851 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7853 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7855 path for implementation.
7856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7859 logb, and logbl multiarch implementations for PowerPC32.
7860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7865 multiarch logb for PowerPC32.
7866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7871 multiarch logbf for PowerPC32.
7872 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7876 multiarch logbl implementation for PowerPC32.
7878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7879 and modff multiarch implementations.
7880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7885 multiarch modf for PowerPC32.
7886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7891 multiarch modff for PowerPC32.
7893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7894 and lrintf multiarch implementations.
7895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7900 multiarch lrint for PowerPC32.
7901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7902 file: multiarch lrintf for PowerPC32.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7905 and lroundf multiarch implementations.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7913 multiarch lround for PowerPC32.
7914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7915 file: multiarch lroundf for PowerPC32.
7917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7918 copysign and copysignf multiarch implementations.
7919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7924 file: multiarch copysign for PowerPC32.
7925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7926 file: multiarch copysignf for PowerPC32.
7928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7929 and truncf multiarch implementations.
7930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7935 multiarch trunc for PowerPC32.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7941 multiarch truncf for PowerPC32.
7943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7944 and roundf multiarch implementations.
7945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7950 multiarch round for PowerPC32.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7956 multiarch roundf for PowerPC32.
7958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7959 and floorf multiarch implementations.
7960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7965 multiarch floor for PowerPC32.
7966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7971 multiarch floorf for PowerPC32.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7974 and ceilf multiarch implementations.
7975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7980 multiarch ceil for PowerPC32.
7981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7986 multiarch ceilf for PowerPC32.
7988 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7990 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7993 and finitef multiarch implementations.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7999 multiarch finite for PowerPC32.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8003 file: multiarch finitef for PowerPC32.
8005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8006 and isinff multiarch implementations.
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8012 multiarch isinf for PowerPC32.
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8016 multiarch isinff for PowerPC32.
8018 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8019 alias when __isnan is defined.
8020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8021 and isnanf multiarch implementations.
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8031 multiarch isnan for PowerPC32.
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8037 multiarch isnanf for PowerPC32.
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8040 and sqrtf multiarch implementations.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8046 multiarch sqrt for PowerPC32.
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8052 multiarch sqrtf for PowerPC32.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8055 and llroundf multiarch implementations.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8063 file: multiarch llround for PowerPC32.
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8065 file: multiarch llroundf for PowerPC32.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8068 multiarch PowerPC32 fpu implementations.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8074 multiarch llrint for PowerPC32.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8084 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8088 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8090 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8091 multiarch wordcopy for PPC32.
8092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8095 (__libc_ifunc_impl_list): Likewise.
8096 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8097 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8098 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8099 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8100 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8101 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8103 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8111 multiarch wcscpy for PPC32.
8112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8115 (__libc_ifunc_impl_list): Likewise.
8116 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8117 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8118 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8119 sysdeps/powerpc/power6/wcscpy.c.
8121 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8129 multiarch wcsrchr for PPC32.
8130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8133 (__libc_ifunc_impl_list): Likewise.
8134 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8135 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8136 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8137 sysdeps/powerpc/power6/wcsrchr.c.
8139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8145 multiarch wcschr for PPc32.
8146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8149 (__libc_ifunc_impl_list): Likewise.
8150 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8151 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8152 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8153 sysdeps/powerpc/power6/wcschr.c.
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8156 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8158 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8159 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8160 file: multiarch strchr for PPC32.
8161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8164 (__libc_ifunc_impl_list): Likewise.
8166 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8168 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8170 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8172 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8173 multiarch strchrnul for PPC32.
8174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8177 (__libc_ifunc_impl_list): Likewise.
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8181 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8182 multiarch strncasecmp for PPC32.
8183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8186 multiarch strncasecmp_l for PPC32.
8187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8188 strncasecmp multiarch objects.
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8190 (__libc_ifunc_impl_list): Likewise.
8192 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8194 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8195 multiarch strncasecmp for PPC32.
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8199 multiarch strcasecmp_l for PPC32.
8200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8203 (__libc_ifunc_impl_list): Likewise.
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8210 multiarch strncmp for PPC32.
8211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8214 (__libc_ifunc_impl_list): Likewise.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8217 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8220 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8224 (__libc_ifunc_impl_list): Likewise.
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8234 (__libc_ifunc_impl_list): Likewise.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8240 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8241 multiarch rawmemchr for PPC32.
8242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8245 (__libc_ifunc_impl_list): Likewise.
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8251 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8252 file: memrchr multiarch for PPC32.
8253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8256 (__libc_ifunc_impl_list): Likewise.
8258 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8263 multiarch memchr for PPC32.
8264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8267 (__libc_ifunc_impl_list): Likewise.
8269 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8275 file: multiarch mempcpy for PPC32.
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8279 (__libc_ifunc_impl_list): Likewise.
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8285 multiarch bzero for PPC32.
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8288 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8291 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8292 file: multiarch memset for PPC32.
8293 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8295 memset multiarch objects.
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8297 (__libc_ifunc_impl_list): Likewise.
8299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8308 (__libc_ifunc_impl_list): Likewise.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8312 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8314 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8319 multiarch memcpy for PPC32.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8323 (__libc_ifunc_impl_list): Likewise.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8326 support multiarch for POWER/PPC32.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8331 Implies file to make multiarch folder appers before the fpu and
8332 default folder for power4 configuration.
8334 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8336 * scripts/bench.pl: Append volatile keyword to type.
8338 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8340 * sysdeps/sh/sotruss-lib.c: New file.
8341 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8343 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8347 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8350 * math/w_tgamma.c: Include <errno.h>.
8351 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8352 * math/w_tgammaf.c: Include <errno.h>.
8353 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8354 * math/w_tgammal.c: Include <errno.h>.
8355 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8356 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8357 underflow. Add more tgamma tests.
8358 * math/auto-libm-test-out: Regenerated.
8359 * sysdeps/i386/fpu/libm-test-ulps: Update.
8360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8362 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8363 sin, sinh, tan, tanh, tgamma, y0 and y1.
8364 * math/auto-libm-test-out: Regenerated.
8365 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8366 (TEST_COND_x86): Likewise.
8367 (M_E2l): Remove macro.
8369 (M_2_SQRT_PIl): Likewise.
8370 (M_SQRT_PIl): Likewise.
8371 (M_1_DIV_El): Likewise.
8372 (log_test_data): Use AUTO_TESTS_f_f.
8373 (log10_test_data): Likewise.
8374 (log1p_test_data): Likewise.
8375 (log2_test_data): Likewise.
8376 (sin_test_data): Likewise.
8377 (sin_tonearest_test_data): Likewise.
8378 (sin_towardzero_test_data): Likewise.
8379 (sin_downward_test_data): Likewise.
8380 (sin_upward_test_data): Likewise.
8381 (sinh_test_data): Likewise.
8382 (sinh_tonearest_test_data): Likewise.
8383 (sinh_towardzero_test_data): Likewise.
8384 (sinh_downward_test_data): Likewise.
8385 (sinh_upward_test_data): Likewise.
8386 (tan_test_data): Likewise.
8387 (tan_tonearest_test_data): Likewise.
8388 (tan_towardzero_test_data): Likewise.
8389 (tan_downward_test_data): Likewise.
8390 (tan_upward_test_data): Likewise.
8391 (tanh_test_data): Likewise.
8392 (tgamma_test_data): Likewise.
8393 (y0_test_data): Likewise.
8394 (y1_test_data): Likewise.
8395 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8396 (special_real_inputs): Add pi/4.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8402 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8403 "longjmp_target" static probes.
8404 (__longjmp): Rename to __longjmp_symbol.
8405 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8406 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8407 on which longjmp to generate.
8408 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8409 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8411 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8412 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8413 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8414 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8415 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8416 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8418 __longjmp_symbol based on which __longjmp to generate.
8419 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8421 (setjmp): Rename to setjmp_symbol.
8422 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8423 (_setjmp): Rename to _setjmp_symbol.
8424 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8425 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8426 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8427 which setjmp to generate.
8428 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8429 "longjmp_target" static probes.
8431 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8433 * benchtests/README: Add note about output arguments.
8434 * benchtests/bench-sincos.c: Remove file.
8435 * benchtests/sincos-inputs: New file.
8436 * scripts/bench.pl: Identify output arguments and define
8437 static variables for them.
8439 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8442 * Makefile (INSTALL): Add install-plain.texi as the primary
8444 * manual/install-plain.texi: New file.
8445 * manual/install.texi: Include node directive only for
8446 non-plaintext output.
8448 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8450 * stdlib/longlong.h: Update from GCC.
8454 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8455 * math/w_j0f.c (y0f): Likewise.
8456 * math/w_j0l.c (__y0l): Likewise.
8457 * math/w_j1.c (y1): Likewise.
8458 * math/w_j1f.c (y1f): Likewise.
8459 * math/w_j1l.c (__y1l): Likewise
8460 * math/w_jn.c (yn): Likewise.
8461 * math/w_jnf.c (ynf): Likewise.
8462 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8463 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8464 value for Bessel function domain errors outside _SVID_ mode.
8465 Adjust sign of return value for yn (negative integer, 0).
8466 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8467 by zero in return for negative x and set sign appropriately for
8469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8470 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8471 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8472 expectations in error cases.
8473 (y1_test_data): Likewise.
8474 (yn_test_data): Likewise.
8475 * sysdeps/i386/fpu/libm-test-ulps: Update.
8476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8478 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8480 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8481 "64" to "64-v1". Add "64-v2".
8482 (abi-64-options): Rename to ...
8483 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8484 (abi-64-condition): Rename to ...
8485 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8486 (abi-64-ld-soname): Rename to ...
8487 (abi-64-v1-ld-soname): ... this.
8488 (abi-64-v2-options): Define.
8489 (abi-64-v2-condition): Likewise.
8490 (abi-64-v2-ld-soname): Likewise.
8491 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8492 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8497 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8498 Alan Modra <amodra@gmail.com>
8500 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8501 New versions for use with the ELFv2 ABI.
8502 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8503 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8505 (struct La_ppc64v2_retval): Likewise.
8506 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8507 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8508 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8509 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8510 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8511 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8512 Do not save or restore CR.
8513 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8514 (_dl_profile_resolve): Do no save or restore CR. Support extended
8515 return values for ELFv2 ABI. Fix location of FPR return registers.
8516 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8517 updated values for _CALL_ELF == 2.
8518 (La_regs, La_retval, int_retval): Likewise.
8520 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8522 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8523 (FRAME_MIN_SIZE_PARM): Likewise.
8524 (FRAME_BACKCHAIN): Likewise.
8525 (FRAME_CR_SAVE): Likewise.
8526 (FRAME_LR_SAVE): Likewise.
8527 (FRAME_TOC_SAVE): Likewise.
8528 (FRAME_PARM_SAVE): Likewise.
8529 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8530 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8531 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8532 (call_mcount_parm_offset): New macro.
8533 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8534 (PROF): Use symbolic stack frame offsets.
8535 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8537 Redefine in terms of FRAME_MIN_SIZE.
8538 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8539 (_dl_profile_resolve): Likewise. Update comment.
8540 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8541 symbols stack frame offsets.
8542 (__sigsetjmp): Likewise.
8543 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8544 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8545 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8546 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8549 (FRAME_BACKCHAIN): Remove.
8550 (FRAME_CR_SAVE): Likewise.
8551 (FRAME_LR_SAVE): Likewise.
8552 (FRAME_COMPILER_DW): Likewise.
8553 (FRAME_LINKER_DW): Likewise.
8554 (FRAME_TOC_SAVE): Likewise.
8555 (FRAME_PARM_SAVE): Likewise.
8556 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8557 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8558 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8560 (CHECK_SP): Use symbolic stack frame offsets.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8562 zone" instead of caller's parameter save area for temp storage.
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8564 Likewise. Also, use symbolic stack frame offsets.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8566 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8567 our own stack frame instead of the caller's.
8568 (__socket): Use symbolic stack frame offsets.
8570 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8571 Alan Modra <amodra@gmail.com>
8573 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8575 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8576 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8577 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8579 (elf_machine_fixup_plt): Call it.
8580 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8582 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8583 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8584 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8585 r2 before calling target.
8587 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8588 Alan Modra <amodra@gmail.com>
8590 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8591 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8592 versions of macros to support ELFv2 ABI.
8593 (LOCALENTRY): New macro.
8594 (ENTRY, EALIGN): Use it.
8595 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8596 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8597 fall through into ENTRY entry point.
8598 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8599 Only define if _CALL_ELF != 2.
8601 (elf_machine_matches_host): Verify ABI version matches.
8602 (RTLD_START): Use LOCALENTRY.
8603 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8604 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8605 (PLT_ENTRY_WORDS): New macro.
8606 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8607 (elf_machine_runtime_setup): Support ELFv2 ABI.
8608 (elf_machine_fixup_plt): Likewise.
8609 (elf_machine_plt_conflict): Likewise.
8610 (resolve_ifunc): Likewise.
8611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8615 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8617 (makecontext): Support ELFv2 ABI.
8618 * elf/elf.h (EF_PPC64_ABI): Define.
8620 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8622 * sysdeps/powerpc/powerpc64/sysdep.h
8623 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8624 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8625 (ENTRY) [ASSEMBLER]: ... but instead here ...
8626 (EALIGN) [ASSEMBLER]: ... and here.
8627 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8628 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8629 (ENTRY_2) [!ASSEMBLER]: Use it.
8630 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8631 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8632 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8633 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8634 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8636 Use PPC64_LOAD_FUNCPTR.
8638 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8640 2013-12-04 Alan Modra <amodra@gmail.com>
8642 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8643 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8644 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8645 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8648 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8649 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8650 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8651 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8652 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8654 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8657 (__makecontext): Fix incorrect CFI when backtracing out of
8658 context created via makecontext.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8660 (__setcontext): Fix incorrect CFI during switch to new context.
8661 (__novec_setcontext): Likewise.
8663 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8666 * time/strptime_l.c (__strptime_internal): Allow modifiers
8668 * time/tst-strptime.c (day_tests): Add testcase.
8670 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8672 * scripts/bench.pl: Skip over blank lines.
8674 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8677 * manual/time.texi (Calendar Time): Clarify what timezone functions
8680 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8684 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8686 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8688 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8689 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8690 * debug/memset_chk.c (__memset_chk): Likewise.
8691 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8692 * debug/strncpy_chk.c: Likewise.
8694 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8698 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8699 (__ieee754_exp): For possibly underflowing results, check size of
8700 result and force underflow exception if required.
8701 * math/auto-libm-test-in: Add more tests of exp.
8702 * math/auto-libm-test-out: Regenerated.
8703 * sysdeps/i386/fpu/libm-test-ulps: Update.
8704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8707 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8708 * math/w_exp2f.c (__exp2f): Likewise.
8709 * math/w_exp2l.c (__exp2l): Likewise.
8710 * math/auto-libm-test-in: Do not allow missing errno on exp2
8712 * math/auto-libm-test-out: Regenerated.
8714 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8717 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8718 handle filename validation.
8719 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8722 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8725 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8726 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8727 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8729 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8731 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8733 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8734 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8735 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8736 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8737 Add more erfc tests.
8738 * math/auto-libm-test-out: Regenerated.
8739 * sysdeps/i386/fpu/libm-test-ulps: Update.
8740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8743 exp2, expm1, j0 and j1.
8744 * math/auto-libm-test-out: Regenerated.
8745 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8746 (erfc_test_data): Likewise.
8747 (exp_test_data): Likewise.
8748 (exp_tonearest_test_data): Likewise.
8749 (exp_towardzero_test_data): Likewise.
8750 (exp_downward_test_data): Likewise.
8751 (exp_upward_test_data): Likewise.
8752 (exp10_test_data): Likewise.
8753 (exp2_test_data): Likewise.
8754 (expm1_test_data): Likewise.
8755 (j0_test_data): Likewise.
8756 (j1_test_data): Likewise.
8757 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8758 (input_flag_type): Add flag_xfail_rounding.
8759 (input_flags): Add xfail-rounding.
8760 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8761 (output_for_one_input_case): Handle flag_xfail_rounding.
8762 * sysdeps/i386/fpu/libm-test-ulps: Update.
8763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8765 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8768 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8771 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8774 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8775 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8776 (STAP_PROBE0): New macro.
8777 (STAP_PROBE1): Likewise.
8778 (STAP_PROBE2): Likewise.
8779 (STAP_PROBE3): Likewise.
8780 (STAP_PROBE4): Likewise.
8782 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8784 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8786 2013-12-02 Steve Ellcey <sellcey@mips.com>
8788 * benchtests/Makefile (bench): Add sqrt.
8789 (LDLIBS-bench-sqrt): New.
8790 * benchtests/sqrt-input: New.
8792 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8794 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8795 (GAIH_EAI): Likewise.
8796 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8797 (gaih_inet): Likewise.
8798 (getaddrinfo): Don't use GAIH_EAI.
8800 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8801 (struct gaih): Remove definition.
8803 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8806 Use HERRNOP directly.
8808 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8812 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8814 * math/gen-auto-libm-tests.c (test_functions): Add more
8815 single-argument functions.
8816 (special_fill_pi_2): New function.
8817 (special_fill_minus_pi_2): Likewise.
8818 (special_fill_pi_6): Likewise.
8819 (special_fill_minus_pi_6): Likewise.
8820 (special_fill_pi_3): Likewise.
8821 (special_fill_2pi_3): Likewise.
8822 (special_fill_e): Likewise.
8823 (special_fill_1_e): Likewise.
8824 (special_fill_e_minus_1): Likewise.
8825 (special_real_inputs): Add more special inputs.
8826 (output_for_one_input_case): Do not require ERANGE on underflow to
8827 zero if round-to-nearest result does not underflow to zero, unless
8828 exact results required.
8829 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8830 atan, atanh, cbrt, cos and cosh.
8831 * math/auto-libm-test-out: Regenerated.
8832 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8833 (acos_tonearest_test_data): Likewise.
8834 (acos_towardzero_test_data): Likewise.
8835 (acos_downward_test_data): Likewise.
8836 (acos_upward_test_data): Likewise.
8837 (acosh_test_data): Likewise.
8838 (asin_test_data): Likewise.
8839 (asin_tonearest_test_data): Likewise.
8840 (asin_towardzero_test_data): Likewise.
8841 (asin_upward_test_data): Likewise.
8842 (asinh_test_data): Likewise.
8843 (atan_test_data): Likewise.
8844 (atanh_test_data): Likewise.
8845 (cbrt_test_data): Likewise.
8846 (cos_test_data): Likewise.
8847 (cos_tonearest_test_data): Likewise.
8848 (cos_towardzero_test_data): Likewise.
8849 (cos_downward_test_data): Likewise.
8850 (cos_upward_test_data): Likewise.
8851 (cosh_test_data): Likewise.
8852 (cosh_tonearest_test_data): Likewise.
8853 (cosh_towardzero_test_data): Likewise.
8854 (cosh_downward_test_data): Likewise.
8855 (cosh_upward_test_data): Likewise.
8856 * sysdeps/i386/fpu/libm-test-ulps: Update.
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8859 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8862 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8863 * math/w_exp10f.c (__exp10f): Likewise.
8864 * math/w_exp10l.c (__exp10l): Likewise.
8865 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8866 errno settings in existing tests.
8869 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8870 precision control set to double precision.
8871 * sysdeps/i386/fpu/w_sqrt.c: New file.
8872 * math/auto-libm-test-in: Add more tests.
8873 * math/auto-libm-test-out: Update.
8875 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8876 (sqrt_test_tonearest): New function.
8877 (sqrt_towardzero_test_data): New variable.
8878 (sqrt_test_towardzero): New function.
8879 (sqrt_downward_test_data): New variable.
8880 (sqrt_test_downward): New function.
8881 (sqrt_upward_test_data): New variable.
8882 (sqrt_test_upward): New function.
8883 (main): Call the new functions.
8885 * math/gen-auto-libm-tests.c: New file.
8886 * math/auto-libm-test-in: Likewise.
8887 * math/auto-libm-test-out: New generated file.
8888 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8890 (%beautify): Add generated representations of zero.
8891 (top level): Set $auto_input and call parse_auto_input.
8892 (beautify): Remove trailing "f" from hex float constants.
8893 (parse_args): Handle XFAIL_TEST.
8894 (convert_condition): New function.
8895 (or_value): Likewise.
8896 (or_cond_value): Likewise.
8897 (generate_testfile): Handle AUTO_TESTS_* lines.
8898 (parse_auto_input): New function.
8899 * math/libm-test.inc (XFAIL_TEST): New macro.
8900 (ERRNO_UNCHANGED): Update value.
8901 (ERRNO_EDOM): Likewise.
8902 (ERRNO_ERANGE): Likewise.
8903 (IGNORE_RESULT): Likewise.
8904 (TEST_COND_flt_32): New macro.
8905 (TEST_COND_dbl_64): Likewise.
8906 (TEST_COND_ldbl_96_intel): Likewise.
8907 (TEST_COND_ldbl_96_m68k): Likewise.
8908 (TEST_COND_ldbl_128): Likewise.
8909 (TEST_COND_ldbl_128ibm): Likewise.
8910 (TEST_COND_long32): Likewise.
8911 (TEST_COND_long64): Likewise.
8912 (TEST_COND_before_rounding): Likewise.
8913 (TEST_COND_after_rounding): Likewise.
8914 (enable_test): Handle XFAIL_TEST flag.
8915 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8916 with finite results.
8917 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8920 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8921 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8924 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8925 __tls_get_addr_internal instead of __tls_get_offset in order to
8926 avoid GOT pointer dependency. Make rtld export
8927 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8928 __tls_get_addr since we are a __tls_get_offset platform.
8929 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8930 GOT pointer being set up before.
8931 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8933 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8935 * manual/math.texi (Errors in Math Functions): Document accuracy
8939 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8940 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8952 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8956 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8957 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8958 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8959 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8960 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8962 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8964 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8966 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8967 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8968 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8969 atomic-feupdateenv and flt-rounds.
8970 * sysdeps/powerpc/nofpu/Versions (libc): Add
8971 __atomic_feholdexcept, __atomic_feclearexcept,
8972 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8973 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8974 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8975 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8976 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8981 * manual/arith.texi (FP Exceptions): Document that exceptions may
8982 not be raised when matherr is used.
8983 (Math Error Reporting): Document overflow in directed rounding
8984 modes. Document that errno may not be set when finite values are
8985 returned on overflow. Document intent to set errno on underflow
8986 only for underflow to zero.
8989 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8990 round-to-nearest then adjust result for other rounding modes.
8991 * include/fenv.h (fegetround): Use libm_hidden_proto.
8992 * math/fegetround.c (fegetround): Use libm_hidden_def.
8993 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8994 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8995 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8996 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8998 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8999 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9000 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9001 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9003 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9006 * nss/Versions (libnss_files): Add
9007 _nss_files_gethostbyname3_r.
9008 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9010 (HOST_DB_LOOKUP): Remove macro.
9011 (_nss_files_gethostbyname_r): Implement function without the
9012 HOST_DB_LOOKUP macro.
9013 (_nss_files_gethostbyname2_r): Likewise.
9015 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9017 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9019 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9021 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9022 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9025 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9027 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9028 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9029 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9030 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9031 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9032 __fe_nomask_env_priv and attribute_hidden.
9033 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9034 (libc_feupdateenv_test_ppc): Likewise.
9035 (libc_feresetround_ppc): Likewise.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9037 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9038 compat_symbol macro.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9040 (__fe_nomask_env): Likewise.
9041 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9043 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9045 * string/Makefile: Remove ifunc tests.
9046 * string/test-string.h: Define TEST_IFUNC.
9047 * string/test-bcopy-ifunc.c: Remove.
9048 * string/test-bzero-ifunc.c: Likewise.
9049 * string/test-memccpy-ifunc.c: Likewise.
9050 * string/test-memchr-ifunc.c: Likewise.
9051 * string/test-memcmp-ifunc.c: Likewise.
9052 * string/test-memcpy-ifunc.c: Likewise.
9053 * string/test-memmem-ifunc.c: Likewise.
9054 * string/test-memmove-ifunc.c: Likewise.
9055 * string/test-mempcpy-ifunc.c: Likewise.
9056 * string/test-memrchr-ifunc.c: Likewise.
9057 * string/test-memset-ifunc.c: Likewise.
9058 * string/test-rawmemchr-ifunc.c: Likewise.
9059 * string/test-stpcpy-ifunc.c: Likewise.
9060 * string/test-stpncpy-ifunc.c: Likewise.
9061 * string/test-strcasecmp-ifunc.c: Likewise.
9062 * string/test-strcasestr-ifunc.c: Likewise.
9063 * string/test-strcat-ifunc.c: Likewise.
9064 * string/test-strchr-ifunc.c: Likewise.
9065 * string/test-strchrnul-ifunc.c: Likewise.
9066 * string/test-strcmp-ifunc.c: Likewise.
9067 * string/test-strcpy-ifunc.c: Likewise.
9068 * string/test-strcspn-ifunc.c: Likewise.
9069 * string/test-strlen-ifunc.c: Likewise.
9070 * string/test-strncasecmp-ifunc.c: Likewise.
9071 * string/test-strncat-ifunc.c: Likewise.
9072 * string/test-strncmp-ifunc.c: Likewise.
9073 * string/test-strncpy-ifunc.c: Likewise.
9074 * string/test-strnlen-ifunc.c: Likewise.
9075 * string/test-strpbrk-ifunc.c: Likewise.
9076 * string/test-strrchr-ifunc.c: Likewise.
9077 * string/test-strspn-ifunc.c: Likewise.
9078 * string/test-strstr-ifunc.c: Likewise.
9080 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9082 * benchtests/Makefile: Remove ifunc tests.
9083 * benchtests/bench-string.h: Define TEST_IFUNC.
9084 * benchtests/bench-bcopy-ifunc.c: Remove.
9085 * benchtests/bench-bzero-ifunc.c: Likewise.
9086 * benchtests/bench-memccpy-ifunc.c: Likewise.
9087 * benchtests/bench-memchr-ifunc.c: Likewise.
9088 * benchtests/bench-memcmp-ifunc.c: Likewise.
9089 * benchtests/bench-memcpy-ifunc.c: Likewise.
9090 * benchtests/bench-memmem-ifunc.c: Likewise.
9091 * benchtests/bench-memmove-ifunc.c: Likewise.
9092 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9093 * benchtests/bench-memrchr-ifunc.c: Likewise.
9094 * benchtests/bench-memset-ifunc.c: Likewise.
9095 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9096 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9097 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9098 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9099 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9100 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9101 * benchtests/bench-strcat-ifunc.c: Likewise.
9102 * benchtests/bench-strchr-ifunc.c: Likewise.
9103 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9104 * benchtests/bench-strcmp-ifunc.c: Likewise.
9105 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9106 * benchtests/bench-strcpy-ifunc.c: Likewise.
9107 * benchtests/bench-strcspn-ifunc.c: Likewise.
9108 * benchtests/bench-strlen-ifunc.c: Likewise.
9109 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9110 * benchtests/bench-strncat-ifunc.c: Likewise.
9111 * benchtests/bench-strncmp-ifunc.c: Likewise.
9112 * benchtests/bench-strncpy-ifunc.c: Likewise.
9113 * benchtests/bench-strnlen-ifunc.c: Likewise.
9114 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9115 * benchtests/bench-strrchr-ifunc.c: Likewise.
9116 * benchtests/bench-strsep-ifunc.c: Likewise.
9117 * benchtests/bench-strspn-ifunc.c: Likewise.
9118 * benchtests/bench-strstr-ifunc.c: Likewise.
9120 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9122 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9124 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9126 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9127 * rt/aio.h: Likewise.
9128 * sysdeps/gnu/bits/utmp.h: Likewise.
9129 * sysdeps/gnu/bits/utmpx.h: Likewise.
9130 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9131 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9132 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9133 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9134 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9135 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9136 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9137 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9140 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9142 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9144 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9147 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9148 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9150 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9151 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9152 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9153 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9160 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9161 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9163 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9164 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9165 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9166 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9167 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9168 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9169 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9170 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9171 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9173 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9176 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9177 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9179 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9181 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9185 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9188 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9189 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9190 (__fesetround): Remove define.
9191 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9192 rounding and exceptions handling.
9193 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9194 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9195 (__fe_nomask_env): Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9197 __fegetround instead of fegetround.
9198 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9201 2013-11-21 Roland McGrath <roland@hack.frob.com>
9203 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9206 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9208 2013-11-21 Meador Inge <meadori@codesourcery.com>
9211 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9212 (encrypt_r): Likewise.
9213 * malloc/obstack.h (obstack_free): Likewise.
9214 * posix/unistd.h (encrypt): Likewise.
9216 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9218 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9219 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9220 DL_CALL_DT_FINI() that call the functions directly.
9221 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9222 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9223 * elf/dl-fini.c: Likewise.
9225 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9227 * malloc/hooks.c (memalign_check): Add alignment rounding.
9228 * malloc/malloc.c (_mid_memalign): New function.
9229 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9230 Implement by calling _mid_memalign.
9231 * manual/probes.texi (Memory Allocation Probes): Remove
9232 memory_valloc_retry and memory_pvalloc_retry.
9234 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9236 * locale/programs/locarchive.c (open_archive): Add const
9237 qualifier to ARCHIVEFNAME and copy default fname to
9241 * libio/tst-widetext.input: Rename Oriya to Odia.
9242 * locale/iso-639.def: Likewise.
9244 * manual/probes.texi (Mathematical Function Probes): Add
9245 documentation for sin, cos, asin and acos probes.
9246 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9247 (__sin32): Add slowasin probe.
9248 (__cos32): Add slowacos probe.
9249 (__mpsin): Add slowsin probe.
9250 (__mpcos): Add slowcos probe.
9252 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9255 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9256 thread-local __sim_exceptions_thread and global
9257 __sim_exceptions_global.
9258 (__sim_disabled_exceptions): Change to thread-local
9259 __sim_disabled_exceptions_thread and global
9260 __sim_disabled_exceptions_global.
9261 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9262 and global __sim_round_mode_global.
9263 (__simulate_exceptions): Use thread-local floating-point state and
9264 set global state from it as needed.
9265 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9266 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9267 __sim_round_mode_thread.
9268 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9269 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9270 and global __sim_exceptions_global.
9271 (__sim_disabled_exceptions): Change to thread-local
9272 __sim_disabled_exceptions_thread and global
9273 __sim_disabled_exceptions_global.
9274 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9275 and global __sim_round_mode_global.
9276 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9277 (SIM_SET_GLOBAL): Likewise.
9278 * sysdeps/powerpc/soft-fp/sfp-machine.h
9279 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9280 __sim_round_mode_thread.
9281 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9282 __sim_disabled_exceptions_thread.
9283 (__sim_exceptions): Change to __sim_exceptions_thread.
9284 (__sim_disabled_exceptions): Change to
9285 __sim_disabled_exceptions_thread.
9286 (__sim_round_mode): Change to __sim_round_mode_thread.
9287 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9288 thread-local floating-point state and set global state from it as
9290 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9291 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9292 (__sim_disabled_exceptions): Remove extern declaration.
9293 (feenableexcept): Use thread-local floating-point state and set
9294 global state from it as needed.
9295 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9297 (__sim_disabled_exceptions): Likewise.
9298 (__sim_round_mode): Likewise.
9299 (__fegetenv): Use thread-local floating-point state.
9300 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9301 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9302 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9303 floating-point state and set global state from it as needed.
9304 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9305 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9306 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9308 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9309 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9311 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9312 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9313 Use __sim_round_mode_thread.
9314 * math/test-fenv-tls.c: New file.
9315 * math/Makefile (tests): Add test-fenv-tls.
9316 ($(objpfx)test-fenv-tls): Depend on
9317 $(common-objpfx)nptl/libpthread.so.
9319 2013-11-19 Andreas Schwab <schwab@suse.de>
9321 * locale/programs/locale.c (show_info): Decode wordarray elements.
9322 * locale/categories.def (LC_MONETARY): Add element for
9323 _NL_MONETARY_CRNCYSTR.
9324 * locale/C-monetary.c (conversion_rate): New variable.
9325 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9328 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9330 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9331 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9333 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9335 * elf/Makefile (tst-auxv): New test.
9336 * elf/tst-auxv.c: New
9337 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9339 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9341 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9342 (hidden_proto): Caller changed.
9343 (hidden_tls_proto): New macro.
9344 (libc_hidden_tls_proto): Likewise.
9345 (rtld_hidden_tls_proto): Likewise.
9346 (libm_hidden_tls_proto): Likewise.
9347 (libresolv_hidden_tls_proto): Likewise.
9348 (librt_hidden_tls_proto): Likewise.
9349 (libdl_hidden_tls_proto): Likewise.
9350 (libnss_files_hidden_tls_proto): Likewise.
9351 (libnsl_hidden_tls_proto): Likewise.
9352 (libnss_nisplus_hidden_tls_proto): Likewise.
9353 (libutil_hidden_tls_proto): Likewise.
9355 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9358 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9359 (decompose_rpath): Defer expansion to fillin_rpath.
9360 (_dl_init_paths): Pass linkmap to fillin_rpath.
9362 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9364 * benchtests/Makefile: Add strsep.
9365 * benchtests/bench-strsep.c: New file: strsep benchtest.
9366 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9368 2013-11-18 Andreas Schwab <schwab@suse.de>
9370 * locale/programs/locale.c (show_info) [case byte]: Check for
9371 '\377' instead of '\177'.
9372 * locale/C-monetary.c (not_available): Always use "\377".
9373 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9374 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9375 detect unavailable sign_posn locale elements.
9376 * locale/localeconv.c (__localeconv): For grouping and
9377 mon_grouping handle "\177" and "\377" like no grouping.
9378 (INT_ELEM): New macro. Use it to set all numeric members.
9379 * locale/programs/ld-monetary.c (monetary_read)
9380 <tok_mon_grouping>: Normalize single -1 to the empty string.
9381 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9384 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9387 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9388 when we match (nil).
9389 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9391 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9393 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9394 (NO_TEST_INLINE): Update value.
9395 (ERRNO_UNCHANGED): Likewise.
9396 (ERRNO_EDOM): Likewise.
9397 (ERRNO_ERANGE): Likewise.
9398 (IGNORE_RESULT): Likewise.
9399 (check_float_internal): Check signs of NaN results if
9401 (check_complex): Pass TEST_NAN_SIGN flag through to second
9402 check_float_internal call.
9403 (copysign_test_data): Add tests with quiet NaNs as second
9404 argument. Use TEST_NAN_SIGN.
9405 (fabs_test_data): Add test of negative quiet NaN argument. Use
9407 (signbit_test_data): Add tests of quiet NaN argument.
9408 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9410 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9412 (parse_args): Handle function results specified as IGNORE.
9413 * math/libm-test.inc (IGNORE_RESULT): New macro.
9414 (check_float_internal): Do not check numerical result if flag
9416 (check_complex): Pass through IGNORE_RESULT to second
9417 check_float_internal call.
9418 (check_int): Do not check numerical result if flag IGNORE_RESULT
9420 (check_long): Likewise.
9421 (check_bool): Likewise.
9422 (check_longlong): Likewise.
9423 (lrint_test_data): Add tests of infinite and NaN arguments.
9424 (lrint_tonearest_test_data): Likewise.
9425 (lrint_towardzero_test_data): Likewise.
9426 (lrint_downward_test_data): Likewise.
9427 (lrint_upward_test_data): Likewise.
9428 (llrint_test_data): Likewise.
9429 (llrint_tonearest_test_data): Likewise.
9430 (llrint_towardzero_test_data): Likewise.
9431 (llrint_downward_test_data): Likewise.
9432 (llrint_upward_test_data): Likewise.
9433 (lround_test_data): Likewise.
9434 (llround_test_data): Likewise.
9436 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9437 (ERRNO_UNCHANGED): Update value.
9438 (ERRNO_EDOM): Likewise.
9439 (ERRNO_ERANGE): Likewise.
9440 (NO_TEST_INLINE_FLOAT): New macro.
9441 (NO_TEST_INLINE_DOUBLE): Likewise.
9442 (enable_test): New function.
9443 (RUN_TEST_f_f): Check enable_test before running test.
9444 (RUN_TEST_2_f): Likewise.
9445 (RUN_TEST_fff_f): Likewise.
9446 (RUN_TEST_c_f): Likewise.
9447 (RUN_TEST_f_f1): Likewise.
9448 (RUN_TEST_fF_f1): Likewise.
9449 (RUN_TEST_fI_f1): Likewise.
9450 (RUN_TEST_ffI_f1): Likewise.
9451 (RUN_TEST_c_c): Likewise.
9452 (RUN_TEST_cc_c): Likewise.
9453 (RUN_TEST_f_i): Likewise.
9454 (RUN_TEST_f_i_tg): Likewise.
9455 (RUN_TEST_ff_i_tg): Likewise.
9456 (RUN_TEST_f_b): Likewise.
9457 (RUN_TEST_f_b_tg): Likewise.
9458 (RUN_TEST_f_l): Likewise.
9459 (RUN_TEST_f_L): Likewise.
9460 (RUN_TEST_fFF_11): Likewise.
9461 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9463 (cosh_test_data): Likewise.
9464 (exp_test_data): Likewise.
9465 (expm1_test_data): Likewise.
9466 (hypot_test_data): Likewise.
9467 (pow_test_data): Likewise.
9468 (sinh_test_data): Likewise.
9469 (tanh_test_data): Likewise.
9470 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9473 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9474 tests with quiet NaN input and output.
9475 (acosh_test_data): Likewise.
9476 (asin_test_data): Likewise.
9477 (asinh_test_data): Likewise.
9478 (atan_test_data): Likewise.
9479 (atanh_test_data): Likewise.
9480 (atan2_test_data): Likewise.
9481 (cbrt_test_data): Likewise.
9482 (cos_test_data): Likewise.
9483 (cosh_test_data): Likewise.
9484 (erf_test_data): Likewise.
9485 (erfc_test_data): Likewise.
9486 (exp_test_data): Likewise.
9487 (exp10_test_data): Likewise.
9488 (exp2_test_data): Likewise.
9489 (expm1_test_data): Likewise.
9490 (hypot_test_data): Likewise.
9491 (j0_test_data): Likewise.
9492 (j1_test_data): Likewise.
9493 (jn_test_data): Likewise.
9494 (lgamma_test_data): Likewise.
9495 (log_test_data): Likewise.
9496 (log10_test_data): Likewise.
9497 (log1p_test_data): Likewise.
9498 (log2_test_data): Likewise.
9499 (pow_test_data): Likewise.
9500 (scalb_test_data): Likewise.
9501 (sin_test_data): Likewise.
9502 (sincos_test_data): Likewise.
9503 (sinh_test_data): Likewise.
9504 (tan_test_data): Likewise.
9505 (tanh_test_data): Likewise.
9506 (tgamma_test_data): Likewise.
9507 (y0_test_data): Likewise.
9508 (y1_test_data): Likewise.
9509 (yn_test_data): Likewise.
9512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9513 argument being NaN and avoid computations with second argument in
9515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9516 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9517 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9519 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9521 * locale/iso-639.def: Add Chitwani Tharu (the).
9523 2013-11-14 Andreas Schwab <schwab@suse.de>
9525 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9526 word instead of empty string.
9528 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9531 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9533 (__fe_nomask_env): Likewise.
9535 2013-11-13 Steve Ellcey <sellcey@mips.com>
9537 * benchtests/bench-timing.h: Include time.h.
9539 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9542 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9544 * sysdeps/unix/sysv/linux/configure: Regenerated.
9546 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9549 * stdlib/strtod_l.c (round_and_return): Do not consider
9550 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9551 exponent one less than half the least subnormal exponent.
9552 * stdlib/test-strtod-round-data: Add more tests.
9553 * stdlib/tst-strtod-round.c (tests): Regenerated.
9555 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9559 (__fe_mask_env): Likewise.
9560 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9561 libm_hidden_proto and add function prototype.
9562 (__fe_mask_env): Add function prototype.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9564 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9566 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9568 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9570 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9572 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9573 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9575 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9577 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9578 of htab_find_slot().
9580 2013-11-11 David S. Miller <davem@davemloft.net>
9583 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9584 symbol in the non-vis3 case in static builds.
9585 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9586 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9587 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9588 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9590 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9593 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9596 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598 * benchtests/Makefile: Add bench-strtod.
9599 * benchtests/bench-strtod.c: New file: strtod benchtest
9601 2013-11-11 Andreas Schwab <schwab@suse.de>
9604 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9605 terminating NUL in key length.
9607 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9610 Add artificial ODP entry for vDSO symbol for PPC64.
9611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9612 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9614 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9617 * nss/getent.c (services_keys): Recognize services starting with digit.
9619 2013-11-06 David S. Miller <davem@davemloft.net>
9622 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9623 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9625 2013-11-06 Will Newton <will.newton@linaro.org>
9627 * manual/memory.texi (Malloc Examples): Remove register
9628 keyword from examples.
9630 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9632 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9634 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9637 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9638 depending on [__GCC_IEC_559 > 0].
9639 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9640 depending on [__GCC_IEC_559_COMPLEX > 0].
9642 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9644 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9647 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9649 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9651 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9654 * malloc/malloc (malloc_info): Do not handle first bin as
9657 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9659 * locale/iso-639.def: Add Central Nahuatl (nhn).
9661 2013-11-01 Bruno Haible <bruno@clisp.org>
9664 * manual/math.texi (BSD Random): Specify range upper bound as
9667 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9669 * locale/iso-639.def: Add Meadow Mari (mhr).
9671 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9673 [BZ #14752], [BZ #15763]
9674 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9676 * rt/tst_shm.c: Add test for escaping directory.
9678 2013-10-31 Andreas Schwab <schwab@suse.de>
9681 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9682 followed by 'x' as part of digit sequence.
9683 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9685 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9688 * configure.ac: allow GNU Make 4.0 and greater.
9689 * configure: Regenerated.
9691 2013-10-30 Will Newton <will.newton@linaro.org>
9694 * malloc/hooks.c (memalign_check): Limit alignment to the
9695 maximum representable power of two.
9696 * malloc/malloc.c (__libc_memalign): Likewise.
9697 * malloc/tst-memalign.c (do_test): Add test for very
9698 large alignment values.
9699 * malloc/tst-posix_memalign.c (do_test): Likewise.
9701 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9704 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9705 (munmap_chunk): Likewise.
9706 (mremap_chunk): Likewise.
9708 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9711 * stdlib/div.c (div): Remove obsolete code.
9712 * stdlib/ldiv.c (ldiv): Likewise.
9713 * stdlib/lldiv.c (lldiv): Likewise.
9715 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9718 * nss/nss_files/files-XXX.c (get_contents_ret): New
9720 (get_contents): New function.
9721 (internal_getent): Use it. Expand size of LINEBUFLEN.
9723 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9725 * configure.in: Moved to ...
9726 * configure.ac: ... here. Change reference to configure.in
9728 * sysdeps/arm/preconfigure.ac: ... here.
9729 configure.in to configure.ac.
9730 * sysdeps/gnu/configure.in: Moved to ...
9731 * sysdeps/gnu/configure.ac: ... here.
9732 * sysdeps/i386/configure.in: Moved to ...
9733 * sysdeps/i386/configure.ac: ... here.
9734 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9735 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9736 * sysdeps/mach/configure.in: Moved to ...
9737 * sysdeps/mach/configure.ac: ... here.
9738 * sysdeps/mach/hurd/configure.in: Moved to ...
9739 * sysdeps/mach/hurd/configure.ac: ... here.
9740 * sysdeps/powerpc/configure.in: Moved to ...
9741 * sysdeps/powerpc/configure.ac: ... here.
9742 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9743 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9744 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9745 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9746 * sysdeps/s390/s390-32/configure.in: Moved to ...
9747 * sysdeps/s390/s390-32/configure.ac: ... here.
9748 * sysdeps/s390/s390-64/configure.in: Moved to ...
9749 * sysdeps/s390/s390-64/configure.ac: ... here.
9750 * sysdeps/sh/configure.in: Moved to ...
9751 * sysdeps/sh/configure.ac: ... here.
9752 * sysdeps/sparc/configure.in: Moved to ...
9753 * sysdeps/sparc/configure.ac: ... here.
9754 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9755 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9756 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9757 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9758 * sysdeps/x86_64/configure.in: Moved to ...
9759 * sysdeps/x86_64/configure.ac: ... here.
9760 * sysdeps/x86_64/preconfigure.in: Moved to ...
9761 * sysdeps/x86_64/preconfigure.ac: ... here.
9762 * aclocal.m4: Change reference to configure.in to configure.ac.
9763 * config.h.in: Likewise.
9764 * manual/install.texi: Likewise.
9765 * manual/maint.texi: Likewise.
9766 * Makefile: Likewise.
9767 * malloc/Makefile: Likewise.
9768 * nscd/Makefile: Likewise.
9769 * Makeconfig: Change reference to configure.in and
9770 preconfigure.in to configure.ac and preconfigure.ac
9772 * INSTALL: Regenerated.
9773 * configure: Likewise.
9774 * sysdeps/gnu/configure: Likewise.
9775 * sysdeps/i386/configure: Likewise.
9776 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9777 * sysdeps/mach/configure: Likewise.
9778 * sysdeps/mach/hurd/configure: Likewise.
9779 * sysdeps/powerpc/configure: Likewise.
9780 * sysdeps/powerpc/powerpc32/configure: Likewise.
9781 * sysdeps/powerpc/powerpc64/configure: Likewise.
9782 * sysdeps/s390/s390-32/configure: Likewise.
9783 * sysdeps/s390/s390-64/configure: Likewise.
9784 * sysdeps/sh/configure: Likewise.
9785 * sysdeps/sparc/configure: Likewise.
9786 * sysdeps/unix/sysv/linux/configure: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9788 * sysdeps/x86_64/configure: Likewise.
9789 * sysdeps/x86_64/preconfigure: Likewise.
9791 2013-10-29 Andreas Schwab <schwab@suse.de>
9793 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9795 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9797 * benchtests/pow-inputs: Add new inputs.
9799 * benchtests/exp-inputs: Add new inputs.
9801 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9802 conditional check for return value.
9803 (__cos32): Likewise.
9805 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9807 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9808 to provide a boost for large inputs with word alignment.
9809 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9810 implementation based on optimized PPC64 strcpy.
9811 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9812 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9813 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9814 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9816 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9819 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9821 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9824 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9825 * time/tst-strptime.c (day_tests): Add testcase.
9827 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9830 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9832 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9835 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9836 MAP_FAILED on error.
9838 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9841 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9842 heap for large requests.
9844 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9847 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9848 result if the result has no associated interface.
9849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9850 interface for all 127.X.Y.Z addresses.
9852 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9854 * locale/iso-639.def: Add Ligurian (lij)
9856 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9859 * sunrpc/rpc_main.c: Document rpcgen -5.
9861 2013-10-19 Michael Stahl <mstahl@redhat.com>
9863 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9865 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9868 * posix/glob.c: Match only directories when trailing slash is present.
9869 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9870 (main): Add testcase.
9872 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9875 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9877 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9879 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9880 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9881 AUTH_DES and cindex for FIPS 140-2.
9882 (DES Encryption): Add cindex FIPS 46-3.
9884 * locale/locarchive.h (struct locarhandle): Add fname.
9885 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9886 if an optional argument was specified to --list-archive,
9888 * locale/programs/locarchive.c (show_archive_content): Take new
9889 argument fname and pass it via ah.fname to open_archive.
9890 * locale/programs/localedef.h: Update decl.
9891 (open_archive): If AH->fname is non-null, open that file
9892 rather than the default file name, and don't ignore ENOENT.
9893 (create_archive): Set AH.fname to NULL.
9894 (delete_locales_from_archive): Likewise.
9895 (add_locales_to_archive): Likewise.
9896 * locale/programs/locfile.c (write_all_categories): Likewise.
9898 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9899 Aldy Hernandez <aldyh@redhat.com>
9901 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9902 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9908 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9909 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9910 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9911 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9913 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9914 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9915 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9917 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9919 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9921 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9923 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9924 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9926 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9927 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9928 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9929 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9931 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9932 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9933 * sysdeps/powerpc/preconfigure: Likewise.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9936 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9937 Replace contents of file by #include of <fenv_libc.h>.
9938 * sysdeps/powerpc/soft-fp/sfp-machine.h
9939 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9941 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9954 Allow copysignl PLT reference to be missing.
9956 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9957 Joseph Myers <joseph@codesourcery.com
9960 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9962 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9964 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9966 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9967 * elf/tst-tls1.c: Likewise.
9968 * elf/tst-tls10.h: Likewise.
9969 * elf/tst-tls14.c: Likewise.
9970 * elf/tst-tls2.c: Likewise.
9971 * elf/tst-tls3.c: Likewise.
9972 * elf/tst-tls4.c: Likewise.
9973 * elf/tst-tls5.c: Likewise.
9974 * elf/tst-tls6.c: Likewise.
9975 * elf/tst-tls7.c: Likewise.
9976 * elf/tst-tls8.c: Likewise.
9977 * elf/tst-tls9.c: Likewise.
9978 * elf/tst-tlsmod1.c: Likewise.
9979 * elf/tst-tlsmod13.c: Likewise.
9980 * elf/tst-tlsmod13a.c: Likewise.
9981 * elf/tst-tlsmod14a.c: Likewise.
9982 * elf/tst-tlsmod16a.c: Likewise.
9983 * elf/tst-tlsmod16b.c: Likewise.
9984 * elf/tst-tlsmod2.c: Likewise.
9985 * elf/tst-tlsmod3.c: Likewise.
9986 * elf/tst-tlsmod4.c: Likewise.
9987 * elf/tst-tlsmod5.c: Likewise.
9988 * elf/tst-tlsmod6.c: Likewise.
9990 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9993 * malloc/malloc.c: remove checks for statistics.
9995 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9998 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9999 * inet/tst-network.c: Add testcase.
10001 2013-10-17 Andreas Schwab <schwab@suse.de>
10004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10005 to determine canonical name.
10007 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10009 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10010 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10033 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10034 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10068 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10071 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10072 make result into a quiet NaN.
10074 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10076 * soft-fp/adddf3.c: Fix horizontal whitespace.
10077 * soft-fp/addsf3.c: Likewise.
10078 * soft-fp/addtf3.c: Likewise.
10079 * soft-fp/divdf3.c: Likewise.
10080 * soft-fp/divsf3.c: Likewise.
10081 * soft-fp/divtf3.c: Likewise.
10082 * soft-fp/double.h: Likewise.
10083 * soft-fp/eqdf2.c: Likewise.
10084 * soft-fp/eqsf2.c: Likewise.
10085 * soft-fp/eqtf2.c: Likewise.
10086 * soft-fp/extenddftf2.c: Likewise.
10087 * soft-fp/extended.h: Likewise.
10088 * soft-fp/extendsfdf2.c: Likewise.
10089 * soft-fp/extendsftf2.c: Likewise.
10090 * soft-fp/extendxftf2.c: Likewise.
10091 * soft-fp/fixdfdi.c: Likewise.
10092 * soft-fp/fixdfsi.c: Likewise.
10093 * soft-fp/fixdfti.c: Likewise.
10094 * soft-fp/fixsfdi.c: Likewise.
10095 * soft-fp/fixsfsi.c: Likewise.
10096 * soft-fp/fixsfti.c: Likewise.
10097 * soft-fp/fixtfdi.c: Likewise.
10098 * soft-fp/fixtfsi.c: Likewise.
10099 * soft-fp/fixtfti.c: Likewise.
10100 * soft-fp/fixunsdfdi.c: Likewise.
10101 * soft-fp/fixunsdfsi.c: Likewise.
10102 * soft-fp/fixunsdfti.c: Likewise.
10103 * soft-fp/fixunssfdi.c: Likewise.
10104 * soft-fp/fixunssfsi.c: Likewise.
10105 * soft-fp/fixunssfti.c: Likewise.
10106 * soft-fp/fixunstfdi.c: Likewise.
10107 * soft-fp/fixunstfsi.c: Likewise.
10108 * soft-fp/fixunstfti.c: Likewise.
10109 * soft-fp/floatdidf.c: Likewise.
10110 * soft-fp/floatdisf.c: Likewise.
10111 * soft-fp/floatditf.c: Likewise.
10112 * soft-fp/floatsidf.c: Likewise.
10113 * soft-fp/floatsisf.c: Likewise.
10114 * soft-fp/floatsitf.c: Likewise.
10115 * soft-fp/floattidf.c: Likewise.
10116 * soft-fp/floattisf.c: Likewise.
10117 * soft-fp/floattitf.c: Likewise.
10118 * soft-fp/floatundidf.c: Likewise.
10119 * soft-fp/floatundisf.c: Likewise.
10120 * soft-fp/floatunditf.c: Likewise.
10121 * soft-fp/floatunsidf.c: Likewise.
10122 * soft-fp/floatunsisf.c: Likewise.
10123 * soft-fp/floatunsitf.c: Likewise.
10124 * soft-fp/floatuntidf.c: Likewise.
10125 * soft-fp/floatuntisf.c: Likewise.
10126 * soft-fp/floatuntitf.c: Likewise.
10127 * soft-fp/fmadf4.c: Likewise.
10128 * soft-fp/fmasf4.c: Likewise.
10129 * soft-fp/fmatf4.c: Likewise.
10130 * soft-fp/gedf2.c: Likewise.
10131 * soft-fp/gesf2.c: Likewise.
10132 * soft-fp/getf2.c: Likewise.
10133 * soft-fp/ledf2.c: Likewise.
10134 * soft-fp/lesf2.c: Likewise.
10135 * soft-fp/letf2.c: Likewise.
10136 * soft-fp/muldf3.c: Likewise.
10137 * soft-fp/mulsf3.c: Likewise.
10138 * soft-fp/multf3.c: Likewise.
10139 * soft-fp/negdf2.c: Likewise.
10140 * soft-fp/negsf2.c: Likewise.
10141 * soft-fp/negtf2.c: Likewise.
10142 * soft-fp/op-1.h: Likewise.
10143 * soft-fp/op-2.h: Likewise.
10144 * soft-fp/op-4.h: Likewise.
10145 * soft-fp/op-8.h: Likewise.
10146 * soft-fp/op-common.h: Likewise.
10147 * soft-fp/quad.h: Likewise.
10148 * soft-fp/single.h: Likewise.
10149 * soft-fp/soft-fp.h: Likewise.
10150 * soft-fp/sqrtdf2.c: Likewise.
10151 * soft-fp/sqrtsf2.c: Likewise.
10152 * soft-fp/sqrttf2.c: Likewise.
10153 * soft-fp/subdf3.c: Likewise.
10154 * soft-fp/subsf3.c: Likewise.
10155 * soft-fp/subtf3.c: Likewise.
10156 * soft-fp/truncdfsf2.c: Likewise.
10157 * soft-fp/trunctfdf2.c: Likewise.
10158 * soft-fp/trunctfsf2.c: Likewise.
10159 * soft-fp/trunctfxf2.c: Likewise.
10160 * soft-fp/unorddf2.c: Likewise.
10161 * soft-fp/unordsf2.c: Likewise.
10162 * soft-fp/unordtf2.c: Likewise.
10164 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10166 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10167 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10169 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10171 * elf/dl-libc.c: Clear initfini list after freeing.
10173 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10175 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10176 * soft-fp/addsf3.c: Likewise.
10177 * soft-fp/addtf3.c: Likewise.
10178 * soft-fp/divdf3.c: Likewise.
10179 * soft-fp/divsf3.c: Likewise.
10180 * soft-fp/divtf3.c: Likewise.
10181 * soft-fp/double.h: Likewise.
10182 * soft-fp/eqdf2.c: Likewise.
10183 * soft-fp/eqsf2.c: Likewise.
10184 * soft-fp/eqtf2.c: Likewise.
10185 * soft-fp/extenddftf2.c: Likewise.
10186 * soft-fp/extended.h: Likewise.
10187 * soft-fp/extendsfdf2.c: Likewise.
10188 * soft-fp/extendsftf2.c: Likewise.
10189 * soft-fp/extendxftf2.c: Likewise.
10190 * soft-fp/fixdfdi.c: Likewise.
10191 * soft-fp/fixdfsi.c: Likewise.
10192 * soft-fp/fixdfti.c: Likewise.
10193 * soft-fp/fixsfdi.c: Likewise.
10194 * soft-fp/fixsfsi.c: Likewise.
10195 * soft-fp/fixsfti.c: Likewise.
10196 * soft-fp/fixtfdi.c: Likewise.
10197 * soft-fp/fixtfsi.c: Likewise.
10198 * soft-fp/fixtfti.c: Likewise.
10199 * soft-fp/fixunsdfdi.c: Likewise.
10200 * soft-fp/fixunsdfsi.c: Likewise.
10201 * soft-fp/fixunsdfti.c: Likewise.
10202 * soft-fp/fixunssfdi.c: Likewise.
10203 * soft-fp/fixunssfsi.c: Likewise.
10204 * soft-fp/fixunssfti.c: Likewise.
10205 * soft-fp/fixunstfdi.c: Likewise.
10206 * soft-fp/fixunstfsi.c: Likewise.
10207 * soft-fp/fixunstfti.c: Likewise.
10208 * soft-fp/floatdidf.c: Likewise.
10209 * soft-fp/floatdisf.c: Likewise.
10210 * soft-fp/floatditf.c: Likewise.
10211 * soft-fp/floatsidf.c: Likewise.
10212 * soft-fp/floatsisf.c: Likewise.
10213 * soft-fp/floatsitf.c: Likewise.
10214 * soft-fp/floattidf.c: Likewise.
10215 * soft-fp/floattisf.c: Likewise.
10216 * soft-fp/floattitf.c: Likewise.
10217 * soft-fp/floatundidf.c: Likewise.
10218 * soft-fp/floatundisf.c: Likewise.
10219 * soft-fp/floatunsidf.c: Likewise.
10220 * soft-fp/floatunsisf.c: Likewise.
10221 * soft-fp/floatuntidf.c: Likewise.
10222 * soft-fp/floatuntisf.c: Likewise.
10223 * soft-fp/floatuntitf.c: Likewise.
10224 * soft-fp/fmadf4.c: Likewise.
10225 * soft-fp/fmasf4.c: Likewise.
10226 * soft-fp/fmatf4.c: Likewise.
10227 * soft-fp/gedf2.c: Likewise.
10228 * soft-fp/gesf2.c: Likewise.
10229 * soft-fp/getf2.c: Likewise.
10230 * soft-fp/ledf2.c: Likewise.
10231 * soft-fp/lesf2.c: Likewise.
10232 * soft-fp/letf2.c: Likewise.
10233 * soft-fp/muldf3.c: Likewise.
10234 * soft-fp/mulsf3.c: Likewise.
10235 * soft-fp/multf3.c: Likewise.
10236 * soft-fp/negdf2.c: Likewise.
10237 * soft-fp/negsf2.c: Likewise.
10238 * soft-fp/negtf2.c: Likewise.
10239 * soft-fp/op-1.h: Likewise.
10240 * soft-fp/op-2.h: Likewise.
10241 * soft-fp/op-4.h: Likewise.
10242 * soft-fp/op-8.h: Likewise.
10243 * soft-fp/op-common.h: Likewise.
10244 * soft-fp/quad.h: Likewise.
10245 * soft-fp/single.h: Likewise.
10246 * soft-fp/soft-fp.h: Likewise.
10247 * soft-fp/sqrtdf2.c: Likewise.
10248 * soft-fp/sqrtsf2.c: Likewise.
10249 * soft-fp/sqrttf2.c: Likewise.
10250 * soft-fp/subdf3.c: Likewise.
10251 * soft-fp/subsf3.c: Likewise.
10252 * soft-fp/subtf3.c: Likewise.
10253 * soft-fp/truncdfsf2.c: Likewise.
10254 * soft-fp/trunctfdf2.c: Likewise.
10255 * soft-fp/trunctfsf2.c: Likewise.
10256 * soft-fp/trunctfxf2.c: Likewise.
10257 * soft-fp/unorddf2.c: Likewise.
10258 * soft-fp/unordsf2.c: Likewise.
10259 * soft-fp/unordtf2.c: Likewise.
10261 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10264 * misc/error.c (error_tail): Fix possible buffer overflow.
10266 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10269 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10272 2013-10-14 P. J. McDermott <pj@pehjota.net>
10275 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10276 testing pipefail option.
10278 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10280 * soft-fp/double.h: Indent preprocessor directives inside #if.
10281 * soft-fp/extended.h: Likewise.
10282 * soft-fp/op-2.h: Likewise.
10283 * soft-fp/op-4.h: Likewise.
10284 * soft-fp/op-common.h: Likewise.
10285 * soft-fp/quad.h: Likewise.
10286 * soft-fp/single.h: Likewise.
10287 * soft-fp/soft-fp.h: Likewise.
10289 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10291 * iconv/iconv_prog.c: Fix typos.
10292 * stdio-common/psiginfo-data.h: Likewise.
10294 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10297 * locale/setlocale.c: Fix typo.
10299 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10302 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10303 signaling NaN arguments.
10304 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10305 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10308 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10309 unordered operands.
10310 * soft-fp/gesf2.c (__gesf2): Likewise.
10311 * soft-fp/getf2.c (__getf2): Likewise.
10312 * soft-fp/ledf2.c (__ledf2): Likewise.
10313 * soft-fp/lesf2.c (__lesf2): Likewise.
10314 * soft-fp/letf2.c (__letf2): Likewise.
10316 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10317 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10318 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10319 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10320 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10321 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10322 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10323 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10324 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10325 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10326 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10327 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10328 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10329 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10330 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10331 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10332 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10333 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10334 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10335 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10336 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10337 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10338 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10339 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10340 * soft-fp/floattidf.c (__floattidf): Likewise.
10341 * soft-fp/floattisf.c (__floattisf): Likewise.
10342 * soft-fp/floattitf.c (__floattitf): Likewise.
10343 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10344 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10345 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10346 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10347 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10348 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10349 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10350 * soft-fp/gesf2.c (__gesf2): Likewise.
10351 * soft-fp/getf2.c (__getf2): Likewise.
10352 * soft-fp/ledf2.c (__ledf2): Likewise.
10353 * soft-fp/lesf2.c (__lesf2): Likewise.
10354 * soft-fp/letf2.c (__letf2): Likewise.
10356 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10357 Undefine and redefine.
10358 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10359 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10360 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10361 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10362 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10363 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10364 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10365 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10366 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10367 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10368 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10369 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10370 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10371 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10372 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10375 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10376 without decrementing exponent if mantissa >= that for the
10377 denominator, not >.
10378 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10379 denominator, not >. Decrement exponent in < case instead of
10380 incrementing in >= case.
10381 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10382 without decrementing exponent if mantissa >= that for the
10383 denominator, not >.
10385 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10386 computing saturated result for unsigned overflow.
10388 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10389 Jeff Law <law@redhat.com>
10391 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10392 (atan2Mp): Add systemtap probe marker.
10393 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10394 (__ieee754_log): Add systemtap probe marker.
10395 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10396 (atanMp): Add systemtap probe marker.
10397 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10398 (tanMp): Add systemtap probe marker.
10399 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10400 (__slowexp): Add systemtap probe marker.
10401 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10402 (__slowpow): Add systemtap probe marker.
10403 * manual/probes.texi: Document probes.
10405 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10408 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10410 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10412 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10413 written to buffer but not flushed.
10414 * libio/iofwrite_u.c: Likewise.
10415 * libio/iopadn.c: Return bytes returned even if EOF was
10417 * libio/iowpadn.c: Likewise.
10418 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10419 if _IO_padn does not write the whole buffer.
10420 [!COMPILE_WPRINTF] (PAD): Likewise.
10422 2013-10-10 David S. Miller <davem@davemloft.net>
10424 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10427 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10429 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10430 instead of FSF address.
10431 * soft-fp/fixdfti.c: Likewise.
10432 * soft-fp/fixsfti.c: Likewise.
10433 * soft-fp/fixtfti.c: Likewise.
10434 * soft-fp/fixunsdfti.c: Likewise.
10435 * soft-fp/fixunssfti.c: Likewise.
10436 * soft-fp/fixunstfti.c: Likewise.
10437 * soft-fp/floattidf.c: Likewise.
10438 * soft-fp/floattisf.c: Likewise.
10439 * soft-fp/floattitf.c: Likewise.
10440 * soft-fp/floatuntidf.c: Likewise.
10441 * soft-fp/floatuntisf.c: Likewise.
10442 * soft-fp/floatuntitf.c: Likewise.
10443 * soft-fp/trunctfxf2.c: Likewise.
10445 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10446 * soft-fp/fixdfti.c: Likewise.
10447 * soft-fp/fixsfti.c: Likewise.
10448 * soft-fp/fixtfti.c: Likewise.
10449 * soft-fp/fixunsdfti.c: Likewise.
10450 * soft-fp/fixunssfti.c: Likewise.
10451 * soft-fp/fixunstfti.c: Likewise.
10452 * soft-fp/floattidf.c: Likewise.
10453 * soft-fp/floattisf.c: Likewise.
10454 * soft-fp/floattitf.c: Likewise.
10455 * soft-fp/floatuntidf.c: Likewise.
10456 * soft-fp/floatuntisf.c: Likewise.
10457 * soft-fp/floatuntitf.c: Likewise.
10458 * soft-fp/trunctfxf2.c: Likewise.
10460 2013-10-10 David S. Miller <davem@davemloft.net>
10462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10464 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10466 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10467 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10468 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10469 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10470 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10471 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10472 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10475 for NaNs before doing comparisons on argument.
10476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10479 2013-10-10 Will Newton <will.newton@linaro.org>
10481 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10482 passed to _int_memalign does not overflow.
10484 2013-10-10 Torvald Riegel <triegel@redhat.com>
10486 * scripts/bench.pl: Add include-sources directive.
10487 * benchtests/README: Update documentation.
10489 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10491 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10492 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10493 instead of FP_INIT_ROUNDMODE.
10494 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10495 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10498 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10499 copy class of input value.
10500 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10501 not handle exceptions.
10502 * soft-fp/negsf2.c (__negsf2): Likewise.
10503 * soft-fp/negtf2.c (__negtf2): Likewise.
10504 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10506 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10508 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10509 semicolon. From Linux kernel.
10511 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10513 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10515 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10518 * manual/socket.texi: Added statement about buffer
10519 for gethostbyname2_r.
10521 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10523 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10524 Use .p2align directive instead, throughout.
10525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10526 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10527 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10530 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10531 * sysdeps/x86_64/strchr.S: Likewise.
10532 * sysdeps/x86_64/strrchr.S: Likewise.
10534 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10536 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10538 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10540 * sysdeps/generic/math_private.h (__mpsin1): Remove
10542 (__mpcos1): Likewise.
10543 (__mpsin): New argument __range_reduce.
10544 (__mpcos): Likewise.
10545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10546 (slow): Use __mpsin and __mpcos.
10550 (sloww1): Likewise.
10551 (sloww2): Likewise.
10552 (bsloww): Likewise.
10553 (bsloww1): Likewise.
10554 (bsloww2): Likewise.
10555 (cslow2): Likewise.
10556 (csloww): Likewise.
10557 (csloww1): Likewise.
10558 (csloww2): Likewise.
10559 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10560 range_reduce. Merge in __mpsin1.
10561 (__mpcos): Likewise.
10562 (__mpsin1): Remove.
10563 (__mpcos1): Likewise.
10565 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10567 * locale/loadlocale.c (_nl_intern_locale_data): Use
10569 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10570 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10571 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10572 obstack data is appropriately aligned.
10573 (obstack_int32_grow_fast): Likewise.
10574 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10575 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10576 (add_locale_uint32_array): Likewise.
10578 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10580 * benchtests/Makefile: Remove ARGLIST and RET variables.
10581 ($(objpfx)bench-%.c): Pass only function name to the script.
10582 * benchtests/README: Update documentation.
10583 * benchtests/acos-inputs: Add new directives.
10584 * benchtests/acosh-inputs: Likewise.
10585 * benchtests/asin-inputs: Likewise.
10586 * benchtests/asinh-inputs: Likewise.
10587 * benchtests/atan-inputs: Likewise.
10588 * benchtests/atanh-inputs: Likewise.
10589 * benchtests/cos-inputs: Likewise.
10590 * benchtests/cosh-inputs: Likewise.
10591 * benchtests/exp-inputs: Likewise.
10592 * benchtests/log-inputs: Likewise.
10593 * benchtests/pow-inputs: Likewise.
10594 * benchtests/rint-inputs: Likewise.
10595 * benchtests/sin-inputs: Likewise.
10596 * benchtests/sinh-inputs: Likewise.
10597 * benchtests/tan-inputs: Likewise.
10598 * benchtests/tanh-inputs: Likewise.
10599 * scripts/bench.pl: Add support for new directives.
10601 2013-10-07 Alan Modra <amodra@gmail.com>
10603 * README: Fix careless merge.
10605 2013-10-05 Alan Modra <amodra@gmail.com>
10607 * NEWS: Mention powerpc64le support and bugs fixed.
10608 * README: Both big-endian and little-endian powerpc64 supported.
10610 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10612 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10613 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10614 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10615 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10617 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10619 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10622 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10624 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10625 Move -mhard-float appending from
10626 ports/sysdeps/powerpc/powerpc32/Makefile.
10627 [$(with-fp) = yes] (ASFLAGS): Likewise.
10628 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10629 * sysdeps/powerpc/nofpu: Move directory from
10630 ports/sysdeps/powerpc/nofpu.
10631 * sysdeps/powerpc/soft-fp: Move directory from
10632 ports/sysdeps/powerpc/soft-fp.
10633 * sysdeps/powerpc/powerpc32/405: Move directory from
10634 ports/sysdeps/powerpc/powerpc32/405.
10635 * sysdeps/powerpc/powerpc32/440: Move directory from
10636 ports/sysdeps/powerpc/powerpc32/440.
10637 * sysdeps/powerpc/powerpc32/464: Move directory from
10638 ports/sysdeps/powerpc/powerpc32/464.
10639 * sysdeps/powerpc/powerpc32/476: Move directory from
10640 ports/sysdeps/powerpc/powerpc32/476.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10642 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10646 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10648 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10650 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10651 * README: Update for powerpc-*-linux-gnu software floating point
10654 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10655 case to powerpc/powerpc32*.
10656 * sysdeps/unix/sysv/linux/configure: Regenerated.
10658 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10659 (_FPU_MASK_OM): Define as 0x04.
10660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10674 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10675 and setcontext_e500.
10677 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10679 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10681 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10683 * manual/threads.texi (Default Thread Attributes): Fix typo.
10685 2013-10-04 Will Newton <will.newton@linaro.org>
10687 * malloc/Makefile: Add tst-memalign.
10688 * malloc/tst-memalign.c: New file.
10690 * malloc/tst-posix_memalign.c: Add comments.
10691 (do_test): Add comments and call free on all potentially
10692 allocated pointers. Add space after cast.
10694 * malloc/tst-pvalloc.c: Add comments.
10695 (do_test): Add comments and call free on all potentially
10696 allocated pointers. Remove duplicate check for NULL pointer.
10697 Add space after cast.
10699 * malloc/tst-valloc.c: Add comments.
10700 (do_test): Add comments and call free on all potentially
10701 allocated pointers. Remove duplicate check for NULL pointer.
10702 Add space after cast.
10704 2013-10-04 Alan Modra <amodra@gmail.com>
10706 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10707 Use stdint types in rather than __attribute__((mode())).
10708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10710 2013-10-04 Alan Modra <amodra@gmail.com>
10712 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10713 Correct handling of unaligned relocs for little-endian.
10714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10716 2013-10-04 Alan Modra <amodra@gmail.com>
10718 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10719 * configure: Regenerate.
10720 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10721 * shlib-versions: Likewise.
10723 2013-10-04 Alan Modra <amodra@gmail.com>
10725 * string/tester.c (test_memrchr): Increment reported test cycle.
10727 2013-10-04 Alan Modra <amodra@gmail.com>
10729 * string/test-memcpy.c (do_one_test): When reporting errors, print
10730 string address and don't overrun end of string.
10732 2013-10-04 Alan Modra <amodra@gmail.com>
10734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10735 insrdi. Make better use of reg selection to speed exit slightly.
10736 Schedule entry path a little better. Remove useless "are we done"
10737 checks on entry to main loop. Handle wrapping around zero address.
10738 Correct main loop count. Handle single left-over word from main
10739 loop inline rather than by using loop_small. Remove extra word
10740 case in loop_small caused by wrong loop count. Add little-endian
10742 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10746 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10747 support. Avoid rlwimi.
10748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10750 2013-10-04 Alan Modra <amodra@gmail.com>
10752 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10753 insrdi. Formatting.
10754 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10755 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10756 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10757 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10758 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10759 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10761 2013-10-04 Alan Modra <amodra@gmail.com>
10763 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10764 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10766 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10767 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10768 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10769 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10770 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10771 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10772 use of regs. Use power7 mtocrf. Tidy function tails.
10774 2013-10-04 Alan Modra <amodra@gmail.com>
10776 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10777 Formatting. Consistently use rXXX register defines or rN defines.
10778 Use early exit labels that avoid restoring unused non-volatile regs.
10779 Make cr field use more consistent with rWORDn compares. Rename
10780 regs used as shift registers for unaligned loop, using rN defines
10781 for short lifetime/multiple use regs.
10782 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10783 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10784 addi 1,1,64 to pop stack frame. Simplify return value code.
10785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10787 2013-10-04 Alan Modra <amodra@gmail.com>
10789 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10790 support. Correct typos, formatting. Optimize tail. Use insrdi
10791 rather than rlwimi.
10792 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10793 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10794 little-endian support. Correct typos.
10795 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10796 rather than rlwimi.
10797 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10798 in loop and entry code to keep "and." results.
10799 (strchr): Add little-endian support. Comment. Move cntlzd
10801 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10803 2013-10-04 Alan Modra <amodra@gmail.com>
10805 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10806 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10807 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10808 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10810 2013-10-04 Alan Modra <amodra@gmail.com>
10812 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10813 (rTMP): Define as r11.
10814 (strcmp): Add little-endian support. Optimise tail.
10815 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10816 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10817 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10821 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10823 2013-10-04 Alan Modra <amodra@gmail.com>
10825 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10826 little-endian support. Remove unnecessary "are we done" tests.
10827 Handle "s" wrapping around zero and extremely large "size".
10828 Correct main loop count. Handle single left-over word from main
10829 loop inline rather than by using small_loop. Correct comments.
10830 Delete "zero" tail, use "end_max" instead.
10831 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10833 2013-10-04 Alan Modra <amodra@gmail.com>
10835 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10836 support. Don't branch over align.
10837 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10838 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10839 support. Rearrange tmp reg use to suit. Comment.
10840 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10842 2013-10-04 Alan Modra <amodra@gmail.com>
10844 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10846 2013-10-04 Alan Modra <amodra@gmail.com>
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10849 conditional form of branch and link when obtaining pc.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10852 2013-10-04 Alan Modra <amodra@gmail.com>
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10859 2013-10-04 Alan Modra <amodra@gmail.com>
10861 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10862 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10863 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10864 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10865 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10866 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10867 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10868 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10869 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10870 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10872 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10873 Alistair Popple <alistair@ozlabs.au.ibm.com>
10874 Alan Modra <amodra@gmail.com>
10877 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10878 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10879 _dl_hwcap access for little-endian.
10880 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10881 destroy vmx regs when saving unaligned.
10882 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10884 destroy vmx regs when saving unaligned.
10886 2013-10-04 Alan Modra <amodra@gmail.com>
10888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10889 Don't use a union to pack hi/low value.
10891 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10893 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10895 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10896 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10897 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10898 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10899 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10901 2013-10-04 Alan Modra <amodra@gmail.com>
10903 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10904 constants to usual value for .cst8 section, and remove redundant
10906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10907 constant for 0x1p52. Load little-endian words of double from
10908 correct stack offsets.
10910 2013-10-04 Alan Modra <amodra@gmail.com>
10912 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10913 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10914 words of double from correct stack offsets.
10915 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10927 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10928 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10929 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10930 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10931 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10933 2013-10-04 Alan Modra <amodra@gmail.com>
10935 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10936 64-bit int/double union.
10937 (_FPU_SETCW): Likewise.
10938 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10939 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10941 2013-10-04 Alan Modra <amodra@gmail.com>
10943 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10944 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10946 2013-10-04 Alan Modra <amodra@gmail.com>
10948 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10949 use vector int constants.
10950 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10952 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10954 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10955 array with long long.
10956 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10957 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10958 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10959 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10960 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10961 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10962 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10963 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10964 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10965 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10966 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10967 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10970 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10972 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10973 (__signbit): Likewise. Correct for little-endian.
10974 (__signbitl): Call __signbit.
10975 (lrint): Correct for little-endian.
10976 (lrintf): Call lrint.
10978 2013-10-04 Alan Modra <amodra@gmail.com>
10980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10981 union 32-bit int array member with 64-bit int array.
10982 (t515, tm256): Double rather than long double.
10983 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10985 2013-10-04 Alan Modra <amodra@gmail.com>
10987 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10989 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10991 version of math_ldbl.h.
10993 2013-10-04 Alan Modra <amodra@gmail.com>
10995 [BZ #15734], [BZ #15735]
10996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10997 all uses of ieee875 long double macros and unions. Simplify test
10998 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10999 ldbl_extract_mantissa value for ix,iy exponents. Properly
11000 normalize after ldbl_extract_mantissa, and don't add hidden bit
11001 already handled. Don't treat low word of ieee854 mantissa like
11002 low word of IBM long double and mask off bit when testing for
11004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11005 all uses of ieee875 long double macros and unions. Simplify tests
11006 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11007 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11008 two1022, instead use their values. Recognise that tests for large
11009 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11010 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11011 Rewrite all uses of ieee875 long double macros and unions. Simplify
11012 test for 0.0L and nan. Correct negation.
11013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11014 ieee875 long double macros and unions. Correct output for large
11015 magnitude x. Correct absolute value calculation.
11016 (__erfcl): Likewise.
11017 * math/libm-test.inc: Add tests for errors discovered in IBM long
11018 double versions of fmodl, remainderl, erfl and erfcl.
11020 2013-10-04 Alan Modra <amodra@gmail.com>
11022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11023 all uses of ieee854 long double macros and unions. Simplify tests
11024 for long doubles that are fully specified by the high double.
11025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11028 Remove dead code too.
11029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11030 (__ieee754_ynl): Likewise.
11031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11034 Remove dead code too.
11035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11045 Comment on variable precision.
11046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11049 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11055 2013-10-04 Alan Modra <amodra@gmail.com>
11057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11059 all uses of ieee854 long double macros and unions.
11060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11062 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11073 Simplify sign and nan test too.
11074 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11089 2013-10-04 Alan Modra <amodra@gmail.com>
11091 * stdio-common/printf_size.c (__printf_size): Don't use
11092 union ieee854_long_double in fpnum union.
11093 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11094 signbit macro to retrieve sign from long double.
11095 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11096 retrieve sign from long double.
11097 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11098 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11100 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11101 * math/test-misc.c (main): Don't use union ieee854_long_double.
11103 2013-10-04 Alan Modra <amodra@gmail.com>
11106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11107 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11108 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11109 calculation. Remove unnecessary test for denormal exponent.
11110 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11111 Correct handling of denormals. Avoid undefined shift behaviour.
11112 Correct normalisation of low mantissa when low double is denormal.
11113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11114 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11115 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11116 Correct normalisation of low mantissa. Test for overflow of high
11117 mantissa and normalise.
11118 (ldbl_nearbyint): Use more readable constant for two52.
11119 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11120 (__mpn_construct_long_double): Fix test for overflow of high
11121 mantissa and correct normalisation. Avoid undefined shift.
11123 2013-10-04 Alan Modra <amodra@gmail.com>
11125 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11126 (union ibm_extended_long_double): Define as an array of ieee754_double.
11127 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11129 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11130 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11139 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11141 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11142 page size instead of calling getpagesize.
11144 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11145 (LOCFILE_ALIGN_MASK): Likewise.
11146 (LOCFILE_ALIGN_UP): Likewise.
11147 (LOCFILE_ALIGNED_P): Likewise.
11148 * locale/programs/ld-collate.c (collate_output): Use the new
11149 macros instead of __alignof__ (int32_t).
11150 * locale/weight.h (findidx): Likewise.
11152 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11155 * manual/string.texi: Fix strncat and wcsncat.
11157 2013-10-03 Brooks Moses <bmoses@google.com>
11160 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11161 * Makerules: ...here, and adjust associated comments.
11163 2013-10-02 Will Newton <will.newton@linaro.org>
11165 * malloc/Makefile: Add tst-pvalloc.
11166 * malloc/tst-pvalloc.c: New file.
11168 2013-10-02 Will Newton <will.newton@linaro.org>
11170 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11171 improve test coverage.
11173 2013-10-02 Will Newton <will.newton@linaro.org>
11175 * malloc/Makefile: Add tst-posix_memalign.
11176 * malloc/tst-posix_memalign.c: New file.
11178 2013-10-01 Eric Blake <eblake@redhat.com>
11180 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11181 Use __THROWNL rather than __THROW on static functions.
11183 2013-09-30 Petr Machata <pmachata@redhat.com>
11185 * elf/elf.h (R_AARCH64_ABS16): New macro.
11186 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11187 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11188 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11189 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11190 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11191 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11192 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11193 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11194 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11195 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11196 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11197 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11198 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11199 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11200 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11201 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11202 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11203 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11204 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11205 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11206 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11207 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11208 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11209 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11210 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11211 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11212 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11213 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11214 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11215 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11216 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11217 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11218 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11219 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11220 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11221 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11222 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11223 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11224 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11225 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11226 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11227 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11228 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11229 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11230 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11231 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11232 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11233 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11234 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11235 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11236 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11237 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11238 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11239 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11240 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11241 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11242 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11243 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11244 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11245 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11246 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11247 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11248 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11249 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11250 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11251 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11252 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11253 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11254 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11255 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11256 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11257 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11258 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11259 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11260 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11261 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11262 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11263 (R_AARCH64_TLSDESC_LDR): Likewise.
11264 (R_AARCH64_TLSDESC_ADD): Likewise.
11265 (R_AARCH64_TLSDESC_CALL): Likewise.
11267 2013-09-30 Andreas Schwab <schwab@suse.de>
11270 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11271 the nss database lookup.
11272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11275 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11277 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11279 2013-09-28 P. J. McDermott <pj@pehjota.net>
11281 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11282 ${Bash-specific parameter/pattern/string} parameter expansion.
11283 * sysdeps/unix/make-syscalls.sh: Likewise.
11285 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11287 * sysdeps/sh/stackguard-macros.h: New file.
11289 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11293 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11294 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11296 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11298 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11300 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11301 Fix thread ID register.
11303 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11305 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11306 [POSIX || UNIX98]: Require rather than permitting all symbols from
11308 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11309 element of struct sched_param.
11310 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11311 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11312 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11313 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11316 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11318 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11319 argument calculation.
11321 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11323 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11325 [POSIX] (pthread_attr_t): Do not require type.
11326 [POSIX] (pthread_cond_t): Likewise.
11327 [POSIX] (pthread_condattr_t): Likewise.
11328 [POSIX] (pthread_key_t): Likewise.
11329 [POSIX] (pthread_mutex_t): Likewise.
11330 [POSIX] (pthread_mutexattr_t): Likewise.
11331 [POSIX] (pthread_once_t): Likewise.
11332 [POSIX] (pthread_t): Likewise.
11333 [POSIX-based standards] (pthread_atfork): Expect function.
11335 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11336 Richard Sandiford <richard@codesourcery.com>
11338 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11339 (swap_endianness_p): New extern variable.
11340 (set_big_endian): New inline function.
11341 (maybe_swap_uint32): Likewise.
11342 (maybe_swap_uint32_array): Likewise.
11343 (maybe_swap_uint32_obstack): Likewise.
11344 * locale/programs/locfile.c: Include <stdbool.h>.
11345 (swap_endianness_p): New variable.
11346 (add_locale_uint32): Call maybe_swap_uint32.
11347 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11348 (write_locale_data): Call maybe_swap_uint32_array.
11349 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11351 (obstack_int32_grow_fast): Likewise.
11352 (output_weightwc): Call maybe_swap_uint32_obstack.
11353 (collate_output): Likewise.
11354 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11355 (OPT_LITTLE_ENDIAN): Likewise.
11356 (options): Add --little-endian and --big-endian options.
11357 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11358 * locale/programs/locarchive.c: Include "locfile.h".
11362 (create_archive): Use the new macros to access fields of
11363 structures directly mapped from or written to locale archives.
11364 (oldlocrecentcmp): Likewise.
11365 (enlarge_archive): Likewise.
11366 (insert_name): Likewise.
11367 (add_alias): Likewise.
11368 (add_locale): Likewise.
11369 (delete_locales_from_archive): Likewise.
11370 (show_archive_content): Likewise.
11371 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11374 2013-09-24 Roland McGrath <roland@hack.frob.com>
11376 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11377 http://www.gnu.org/doc/freemanuals.texi.
11378 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11380 2013-09-24 Will Newton <will.newton@linaro.org>
11382 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11385 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11387 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11390 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11392 * manual/threads.texi (POSIX Threads): Fix a typo.
11394 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11397 * string/tst-strcoll-overflow.c: New test case.
11398 * string/Makefile (xtests): Add tst-strcoll-overflow.
11399 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11400 cache if string sizes may cause integer overflow.
11403 * string/strcoll_l.c (coll_seq): New members rule, idx,
11404 save_idx and back_us.
11405 (get_next_seq_nocache): New function.
11406 (do_compare_nocache): New function.
11407 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11410 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11413 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11414 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11415 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11418 * elf/Makefile (tests): Add tst-ptrguard1.
11419 (tests-static): Add tst-ptrguard1-static.
11420 (tst-ptrguard1-ARGS): Define.
11421 (tst-ptrguard1-static-ARGS): Define.
11422 * elf/tst-ptrguard1.c: New file.
11423 * elf/tst-ptrguard1-static.c: New file.
11424 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11425 * sysdeps/i386/stackguard-macros.h: Likewise.
11426 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11427 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11428 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11429 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11430 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11431 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11433 2013-09-23 Hector Marco <hecmargi@upv.es>
11434 Ismael Ripoll <iripoll@disca.upv.es>
11435 Carlos O'Donell <carlos@redhat.com>
11438 * sysdeps/generic/stackguard-macros.h: Define
11439 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11440 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11441 Define __pointer_chk_guard_local.
11442 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11443 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11445 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11448 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11450 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11452 * include/string.h (__ffs): Declare as hidden.
11453 * string/ffs.c (__ffs): Define as hidden.
11454 * sysdeps/i386/ffs.c (__ffs): Likewise.
11455 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11456 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11457 * sysdeps/s390/ffs.c (__ffs): Likewise.
11458 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11460 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11462 * NEWS: Mention malloc probes.
11464 * malloc/arena.c (new_heap): New memory_heap_new probe.
11465 (grow_heap): New memory_heap_more probe.
11466 (shrink_heap): New memory_heap_less probe.
11467 (heap_trim): New memory_heap_free probe.
11468 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11469 (systrim): New memory_sbrk_less probe.
11470 * manual/probes.texi: Document them.
11472 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11473 * manual/probes.texi: Document it.
11475 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11476 (__libc_realloc): Add memory_realloc_retry probe.
11477 (__libc_memalign): Add memory_memalign_retry probe.
11478 (__libc_valloc): Add memory_valloc_retry probe.
11479 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11480 (__libc_calloc): Add memory_calloc_retry probe.
11481 * manual/probes.texi: Document them.
11483 * malloc/arena.c (get_free_list): Add probe
11484 memory_arena_reuse_free_list.
11485 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11486 and memory_arena_reuse.
11487 (arena_get2) [!PER_THREAD]: Likewise.
11488 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11489 memory_arena_reuse_realloc.
11490 * manual/probes.texi: Document them.
11492 * malloc/malloc.c (__libc_free): Add
11493 memory_mallopt_free_dyn_thresholds probe.
11494 (__libc_mallopt): Add multiple memory_mallopt probes.
11495 * manual/probes.texi: Document them.
11497 * malloc/malloc.c: Include stap-probe.h.
11498 (__libc_mallopt): Add memory_mallopt probe.
11499 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11500 * manual/probes.texi: New.
11501 * manual/Makefile (chapters): Add probes.
11502 * manual/threads.texi: Set next node.
11504 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11506 [BZ #15963, #13985]
11507 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11508 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11509 Add `Chinese' to `nan' entry name.
11511 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11513 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11514 (POLYNOMIAL): Likewise.
11515 (TAYLOR_SINCOS): Likewise.
11516 (TAYLOR_SLOW): Likewise.
11517 (__sin): Use TAYLOR_SINCOS.
11519 (slow): Use TAYLOR_SLOW.
11521 (bsloww): Likewise.
11522 (csloww): Likewise.
11524 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11526 * stdlib/strtod_l.c: Fix buffer overrun.
11528 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11530 * benchtests/Makefile (bench): Add sincos.
11531 * benchtests/bench-sincos.c: New file.
11533 * math/libm-test.inc (cos_test_data): New test inputs.
11534 (sin_test_data): Likewise.
11536 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11542 (sloww1): Likewise.
11543 (sloww2): Likewise.
11544 (bsloww1): Likewise.
11545 (bsloww2): Likewise.
11546 (cslow2): Likewise.
11547 (csloww1): Likewise.
11548 (csloww2): Likewise.
11550 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11559 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11561 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11562 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11563 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11564 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11565 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11566 * elf/cache.c (print_entry): Handle the new cache flags.
11568 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11569 Aldy Hernandez <aldyh@redhat.com>
11571 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11572 Change condition to [_SOFT_FLOAT].
11573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11585 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11588 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11591 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11593 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11594 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11595 (__longjmp): Use LOAD_GP to load saved GPRs.
11596 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11597 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11598 (__sigsetjmp): Use SAVE_GP to save GPRs.
11600 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11601 Do not append -msoft-float.
11602 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11604 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11606 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11608 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11611 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11612 (_FPU_GETCW): Use initial "__" on variable and field names but not
11613 on macro parameter name.
11614 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11615 parentheses around reference to macro parameter.
11617 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11619 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11621 (ctype_startup): Use uint32_t in cast and sizeof for
11624 2013-09-11 Jia Liu <proljc@gmail.com>
11626 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11628 [__FreeBSD__]: Likewise.
11630 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11633 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11634 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11635 (strchr): Remove __strchr_sse42 ifunc selection.
11636 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11637 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11639 2013-09-11 Will Newton <will.newton@linaro.org>
11641 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11642 parameter to RES. Remove hardcoded 1000 value.
11643 * benchtests/bench-skeleton.c (main): Pass RES parameter
11644 to TIMING_INIT and multiply result by 1000.
11646 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11650 2013-09-11 Andreas Schwab <schwab@suse.de>
11652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11654 (O_TMPFILE) [__USE_GNU]: Define.
11655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11658 2013-09-11 Will Newton <will.newton@linaro.org>
11661 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11664 2013-09-11 Will Newton <will.newton@linaro.org>
11667 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11670 2013-09-11 Will Newton <will.newton@linaro.org>
11673 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11676 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11678 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11684 2013-09-10 Allan McRae <allan@archlinux.org>
11687 * manual/arith.texi (Parsing of Floats): Clarify
11691 * manual/install.texi (Running make install): Mention
11693 * INSTALL: Regenerated.
11695 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11697 * csu/init-first.c (_init): Remove the !SHARED condition around
11698 FPU control word initialization.
11699 * elf/dl-support.c (_dl_fpu_control): New variable.
11700 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11701 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11702 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11703 * math/test-fpucw-static.c: New file.
11704 * math/test-fpucw-ieee.c: New file.
11705 * math/test-fpucw-ieee-static.c: New file.
11706 * math/Makefile (tests): Add `test-fpucw-ieee' and
11708 (tests-static): New variable.
11709 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11711 [($(build-shared),yes)]
11712 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11714 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11717 2013-09-09 Allan McRae <allan@archlinux.org>
11720 * manual/string.texi (Collation Functions): Fix typo in
11722 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11725 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11728 * libio/memstream.c (open_memstream): Fix memory leak.
11729 * libio/wmemstream.c (open_wmemstream): Likewise.
11732 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11734 2013-09-09 Will Newton <will.newton@linaro.org>
11736 * malloc/Makefile: Add tst-realloc to tests.
11737 * malloc/tst-realloc.c: New file.
11739 2013-09-09 Allan McRae <allan@archlinux.org>
11742 * COPYING: Update from GNU website to fix FSF address.
11743 * COPYING.LIB: Likewise.
11745 2013-09-06 David S. Miller <davem@davemloft.net>
11747 * po/zh_TW.po: Update Chinese (traditional) translation from
11748 translation project.
11750 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11751 Joseph Myers <joseph@codesourcery.com>
11753 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11755 (obstack_chunk_alloc): New macro.
11756 (obstack_chunk_free): Likewise.
11757 (record_offset): New function.
11758 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
11774 * locale/programs/locfile.h: Include "obstack.h".
11775 (struct locale_file): Change to store locale file contents instead
11777 (init_locale_data): New prototype.
11778 (align_locale_data): Likewise.
11779 (add_locale_empty): Likewise.
11780 (add_locale_raw_data): Likewise.
11781 (add_locale_raw_obstack): Likewise.
11782 (add_locale_string): Likewise.
11783 (add_locale_wstring): Likewise.
11784 (add_locale_uint32): Likewise.
11785 (add_locale_uint32_array): Likewise.
11786 (add_locale_char): Likewise.
11787 (start_locale_structure): Likewise.
11788 (end_locale_structure): Likewise.
11789 (start_locale_prelude): Likewise.
11790 (end_locale_prelude): Likewise.
11791 (write_locale_data): Update prototype.
11792 * locale/programs/3level.h (struct TABLE): Remove result field.
11793 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11794 Use new locale_file interface.
11795 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11796 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11797 * locale/programs/ld-address.c (address_output): Use new
11798 locale_file interface.
11799 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11801 (collate_finish): Don't call collseq_table_finalize.
11802 (collate_output): Use new locale_file interface.
11803 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11805 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11806 (TABLE): Move defines earlier in file.
11807 (ELEMENT): Likewise.
11808 (DEFAULT): Likewise.
11809 (wctrans_table_add): Move macro and inline function earlier in
11811 (struct wctype_table): Move type earlier in file.
11812 (add_locale_wctype_table): New static prototype.
11813 (struct locale_ctype_t): Use logical types instead of struct iovec
11814 pointers for members.
11815 (ctype_output): Use new locale_file interface.
11816 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11817 new locale_file interface.
11818 (allocate_arrays): Update for use of new locale_file interface.
11819 * locale/programs/ld-identification.c (identification_output): Use
11820 new locale_file interface.
11821 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11822 * locale/programs/ld-messages.c (messages_output): Likewise.
11823 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11824 * locale/programs/ld-name.c (name_output): Likewise.
11825 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11826 * locale/programs/ld-paper.c (paper_output): Likewise.
11827 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11828 * locale/programs/ld-time.c (time_output): Likewise.
11830 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11832 * benchtests/Makefile: Add memrchr benchmark.
11833 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11834 benchmark as memrchr.
11835 * benchtests/bench-memrchr-ifunc.c: New file.
11836 * benchtests/bench-memrchr.c: New file.
11838 2013-09-06 Will Newton <will.newton@linaro.org>
11840 * benchtests/Makefile (string-bench): Add memcpy.
11842 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11843 Cong Wang <amwang@redhat.com>
11846 * sysdeps/unix/sysv/linux/bits/in.h
11847 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11848 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11849 before __USE_KERNEL_IPV6_DEFS uses.
11850 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11852 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11853 sockaddr_in6, or ipv6_mreq.
11855 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11858 memory access for final bytes in some large inputs.
11859 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11861 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863 * string/test-memrchr.c: New file.
11864 * string/test-memrchr-ifunc.c: New file.
11865 * string/Makefile: Add new memrchr testcase.
11867 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11869 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11870 fanotify_init returns EPERM.
11872 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11874 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11876 (top level): Treat second token from macro or constant entries for
11877 allowed headers as allowed.
11878 * include/complex.h: Condition internal declarations on
11880 * include/fenv.h: Condition include of <stdbool.h> and internal
11881 declarations on [!_ISOMAC].
11883 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11886 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11888 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11890 * configure.in (--enable-versioning): Remove configure option.
11891 (libc_cv_asm_symver_directive): Remove configure test.
11892 (libc_cv_ld_version_script_option): Likewise.
11893 (VERSIONING): Remove variable and AC_SUBST.
11894 (DO_VERSIONING): Remove AC_DEFINE.
11895 * configure: Regenerated.
11896 * config.h.in (DO_VERSIONING): Remove macro.
11897 * Makerules [$(versioning) = yes]: Change conditionals to
11898 [$(build-shared) = yes].
11899 * config.make.in (versioning): Remove variable.
11900 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11901 [$(build-shared) = yes].
11902 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11903 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11904 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11905 [$(build-shared) = yes].
11906 * extra-lib.mk [$(versioning) = yes]: Likewise.
11907 * hurd/Makefile [$(versioning) = yes]: Likewise.
11908 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11910 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11912 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11913 [SHARED && !NO_HIDDEN].
11914 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11916 [SHARED && DO_VERSIONING]: Likewise..
11917 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11918 [$(build-shared) = yes].
11919 * manual/install.texi (--disable-versioning): Remove
11921 * INSTALL: Regenerated.
11922 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11924 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11925 [$(build-shared) = yes].
11926 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11927 * sysdeps/i386/i686/multiarch/strstr-c.c
11928 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11929 [SHARED && !NO_HIDDEN].
11930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11931 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11932 * sysdeps/powerpc/powerpc32/dl-machine.c
11933 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11934 * sysdeps/powerpc/powerpc32/sysdep.h
11935 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11936 to [SHARED && PIC && !NO_HIDDEN].
11937 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11938 conditional to [SHARED].
11940 2013-09-04 Will Newton <will.newton@linaro.org>
11942 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11943 * benchtests/bench-string.h: Include bench-timing.h instead
11944 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11945 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11946 call to HP_TIMING_DIFF_INIT.
11947 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11948 instead of hp-timing.h macros.
11949 * benchtests/bench-memchr.c: Likewise.
11950 * benchtests/bench-memcmp.c: Likewise.
11951 * benchtests/bench-memcpy.c: Likewise.
11952 * benchtests/bench-memmem.c: Likewise.
11953 * benchtests/bench-memmove.c: Likewise.
11954 * benchtests/bench-memset.c: Likewise.
11955 * benchtests/bench-rawmemchr.c: Likewise.
11956 * benchtests/bench-strcasecmp.c: Likewise.
11957 * benchtests/bench-strcasestr.c: Likewise.
11958 * benchtests/bench-strcat.c: Likewise.
11959 * benchtests/bench-strchr.c: Likewise.
11960 * benchtests/bench-strcmp.c: Likewise.
11961 * benchtests/bench-strcpy.c: Likewise.
11962 * benchtests/bench-strcpy_chk.c: Likewise.
11963 * benchtests/bench-strlen.c: Likewise.
11964 * benchtests/bench-strncasecmp.c: Likewise.
11965 * benchtests/bench-strncat.c: Likewise.
11966 * benchtests/bench-strncmp.c: Likewise.
11967 * benchtests/bench-strncpy.c: Likewise.
11968 * benchtests/bench-strnlen.c: Likewise.
11969 * benchtests/bench-strpbrk.c: Likewise.
11970 * benchtests/bench-strrchr.c: Likewise.
11971 * benchtests/bench-strspn.c: Likewise.
11972 * benchtests/bench-strstr.c: Likewise.
11974 2013-09-04 Will Newton <will.newton@linaro.org>
11976 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11978 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11982 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11983 * math/libm-test.inc (lgamma_test_data): Add more tests.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11987 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11989 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11993 Add strcmp-sse2-unaligned
11994 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11996 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11998 * Versions.def (libc): Add GLIBC_2.19.
12000 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12002 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12003 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12005 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12008 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12009 intermediate calculations in recurrence.
12010 (__ieee754_ynf): Likewise.
12011 * math/libm-test.inc (jn_test_data): Do not allow spurious
12012 underflow exception. Add more tests.
12013 (yn_test_data): Add more tests.
12014 * sysdeps/i386/fpu/libm-test-ulps: Update.
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12017 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12021 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12023 * csu/init-first.c: Fix then/than typos.
12024 * locale/programs/ld-collate.c: Likewise.
12025 * locale/programs/linereader.h: Likewise.
12026 * manual/charset.texi: Likewise.
12027 * manual/filesys.texi: Likewise.
12028 * manual/stdio.texi: Likewise.
12029 * manual/string.texi: Likewise.
12030 * stdlib/fmtmsg.c: Likewise.
12031 * sysdeps/i386/stpncpy.S: Likewise.
12032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12033 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12034 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12035 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12037 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12039 * elf/dl-open.c: Fix typos.
12040 * iconvdata/gbbig5.c: Likewise.
12041 * iconvdata/iso-2022-jp.c: Likewise.
12042 * iconv/gconv_int.h: Likewise.
12043 * iconv/loop.c: Likewise.
12044 * nis/rpcsvc/nis.h: Likewise.
12045 * resolv/ns_name.c: Likewise.
12046 * stdio-common/vfscanf.c: Likewise.
12047 * streams/stropts.h: Likewise.
12048 * sunrpc/rpc_thread.c: Likewise.
12049 * sysdeps/i386/strpbrk.S: Likewise.
12050 * sysdeps/ieee754/k_standard.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12053 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12054 * sysdeps/mach/hurd/profil.c: Likewise.
12055 * sysdeps/s390/dl-procinfo.h: Likewise.
12056 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12057 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12058 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12059 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12062 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12064 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12067 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12069 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12070 aix specific files.
12071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12076 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12077 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12080 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12081 Roland McGrath <roland@hack.frob.com>
12083 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12084 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12086 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12088 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12089 __executable_start symbol instead of _start.
12091 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12093 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12094 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12096 * sysdeps/gnu/ldsodefs.h: ... this new file.
12098 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12099 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12100 instead of ELFOSABI_LINUX.
12102 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12103 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12104 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12105 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12107 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12108 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12111 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12112 (ibm_extended_long_double): Add ieee_nan member.
12113 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12114 (do_test): New function.
12116 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12118 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12119 functions, renamed from truncdfsf_test, trunctfsf_test,
12121 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12123 (do_test): Run all these.
12125 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12127 * argp/argp-help.c: Fix typos.
12128 * argp/argp-parse.c: Likewise.
12129 * debug/backtracesyms.c: Likewise.
12130 * elf/elf.h: Likewise.
12131 * malloc/malloc.c: Likewise.
12132 * nis/nis_print.c: Likewise.
12133 * resolv/res_comp.c: Likewise.
12134 * stdlib/stdlib.h: Likewise.
12135 * sunrpc/clnt_tcp.c: Likewise.
12136 * sunrpc/clnt_udp.c: Likewise.
12137 * sunrpc/clnt_unix.c: Likewise.
12138 * sysdeps/unix/bsd/ptsname.c: Likewise.
12139 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12147 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12149 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12151 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12154 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12157 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12158 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12159 ($(objpfx)bug-dl-leaf): New rule.
12160 ($(objpfx)bug-dl-leaf.so): Likewise.
12161 ($(objpfx)bug-dl-leaf.out): Likewise.
12162 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12163 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12164 * dlfcn/bug-dl-leaf.c: New test.
12165 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12166 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12167 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12168 (dlclose): Likewise.
12169 (dlmopen): Likewise.
12171 2013-08-27 Roland McGrath <roland@hack.frob.com>
12173 * include/netdb.h [!_ISOMAC]:
12174 Don't include <tls.h>.
12175 (h_errno, __libc_h_errno): Move declaration and macros out of
12178 * include/resolv.h [_RESOLV_H_]:
12179 Don't include <tls.h>.
12180 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12181 * resolv/res_libc.c: Don't include <tls.h>.
12182 (_res): Use __attribute__ ((nocommon)) in place of
12183 __attribute__ ((section (".bss"))).
12185 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12186 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12188 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12190 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12191 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12193 * resolv/res_mkquery.c: Include <sys/time.h>.
12195 * inet/ifreq.c: Moved to ...
12196 * sysdeps/unix/ifreq.c: ... here.
12197 * inet/ifreq.c: New file, true stub version.
12199 * socket/sa_len.c: New file.
12200 * socket/Makefile (aux): Add it.
12201 * sysdeps/unix/sysv/linux/Makefile
12202 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12203 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12204 and #include <socket/sa_len.c>.
12205 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12206 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12209 * bits/socket.h: ... here.
12211 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12212 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12213 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12215 2013-08-27 Andreas Schwab <schwab@suse.de>
12218 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12219 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12220 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12221 * string/test-strcasecmp.c (test_main): Run tests in several
12223 * string/test-strncasecmp.c (test_main): Likewise.
12225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12226 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12227 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12229 (__strncasecmp_ssse3) [PIC]: Likewise.
12231 2013-08-26 Roland McGrath <roland@hack.frob.com>
12233 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12235 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12236 instead of explicitly declaring xdecrypt.
12237 * nis/nss_nis/nis-publickey.c: Likewise.
12239 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * nscd/aicache.c: Include res_hconf.h.
12243 (addhstaiX): Initialize res_hconf.
12245 2013-08-26 Andreas Schwab <schwab@suse.de>
12247 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12248 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12250 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12252 * nscd/aicache.c (addhstaiX): Fix indentation.
12254 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12256 * configure.ac: Quote $build_pt_chown test.
12257 * configure: Regenerated.
12259 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12262 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12263 * math/s_cexpf.c (__cexpf): Likewise.
12264 * math/s_cexpl.c (__cexpl): Likewise.
12265 * math/libm-test.inc (cexp_test_data): Correct expected return
12266 value for NaN + i0. Add another test.
12268 2013-08-22 David S. Miller <davem@davemloft.net>
12270 * po/ca.po: Update Catalan translation from translation project.
12271 * po/uk.po: Add Ukrainian translations from translation project.
12273 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12276 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12277 is infinite, not alongside NaN test.
12278 * math/s_fdimf.c (__fdimf): Likewise.
12279 * math/s_fdiml.c (__fdiml): Likewise.
12280 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12281 errno is unchanged.
12283 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12285 * argp/argp-help.c: Fix typos.
12286 * crypt/speeds.c: Likewise.
12287 * csu/check_fds.c: Likewise.
12288 * elf/dl-load.c: Likewise.
12289 * elf/dl-open.c: Likewise.
12290 * elf/reldep3.c: Likewise.
12291 * elf/reldep.c: Likewise.
12292 * elf/sprof.c: Likewise.
12293 * iconv/iconv_charmap.c: Likewise.
12294 * iconv/skeleton.c: Likewise.
12295 * iconv/strtab.c: Likewise.
12296 * io/lockf64.c: Likewise.
12297 * libio/libioP.h: Likewise.
12298 * resolv/gai_notify.c: Likewise.
12299 * resolv/ns_name.c: Likewise.
12300 * resolv/ns_samedomain.c: Likewise.
12301 * resolv/res_send.c: Likewise.
12302 * stdlib/random.c: Likewise.
12303 * sunrpc/rpc/xdr.h: Likewise.
12304 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12306 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12307 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12312 * sysdeps/mach/hurd/check_fds.c: Likewise.
12313 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12316 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12317 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12318 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12319 * sysdeps/pthread/aio_notify.c: Likewise.
12320 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12321 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12322 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12324 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12326 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12328 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12329 version if bit_Slow_SSE4_2 is set.
12330 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12333 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12336 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12337 trampoline stack frame information.
12338 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12340 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12341 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12342 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12343 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12344 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12345 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12347 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12348 interrupting a syscall and set with option SA_SIGINFO.
12350 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12353 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12354 argument is infinite.
12355 * math/s_cprojf.c (__cprojf): Likewise.
12356 * math/s_cprojl.c (__cprojl): Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12358 * math/libm-test.inc (cproj_test_data): Add more tests.
12360 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12362 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12363 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12364 size. Use __ffs to determine corresponding shift.
12366 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12367 Roland McGrath <roland@hack.frob.com>
12369 * Makefile (INSTALL): Remove trailing blank lines from output of
12372 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12374 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12375 Align 32 bit compat elf_greg to 8 bytes.
12377 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12379 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12381 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12383 * string/strcoll_l.c (coll_seq): New structure.
12384 (get_next_seq_cached): New function.
12385 (get_next_seq): New function.
12386 (do_compare): New function.
12387 (STRCOLL): Use GNU style definition. Simplify implementation
12388 by using get_next_seq, get_next_seq_cached and do_compare.
12390 2013-08-16 Florian Weimer <fweimer@redhat.com>
12394 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12396 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12398 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12399 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12400 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12402 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12403 GETDENTS_64BIT_ALIGNED.
12404 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12405 * manual/filesys.texi (Reading/Closing Directory): Document
12406 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12408 * manual/conf.texi (Limits for Files): Add portability note to
12409 NAME_MAX, PATH_MAX.
12410 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12412 2013-08-13 Andreas Schwab <schwab@suse.de>
12415 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12417 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12418 LDBL_MAX_EXP >= 16384]: Add tests for it.
12420 2013-08-12 David S. Miller <davem@davemloft.net>
12422 * version.h (RELEASE): Set to "development".
12423 (VERSION): Set to "2.18.90".
12424 * NEWS: Add 2.19 section.
12426 2013-08-03 David S. Miller <davem@davemloft.net>
12428 * po/ko.po: Update Korean translation from translation project.
12430 2013-08-01 David S. Miller <davem@davemloft.net>
12432 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12433 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12436 2013-07-30 David S. Miller <davem@davemloft.net>
12438 * po/fr.po: Update French translation from translation project.
12440 2013-07-28 David S. Miller <davem@davemloft.net>
12442 * po/cs.po: Update Czech translation from translation project.
12444 * po/sv.po: Update Swedish translation from translation project.
12446 2013-07-27 David S. Miller <davem@davemloft.net>
12448 * po/eo.po: Update Esperanto translation from translation project.
12450 * po/vi.po: Update Vietnamese translation from translation project.
12452 * po/de.po: Update German translation from translation project.
12454 2013-07-26 David S. Miller <davem@davemloft.net>
12456 * po/bg.po: Update Bulgarian translation from translation project.
12458 * po/nl.po: Update Dutch translation from translation project.
12459 * po/pl.po: Update Polish translation from translation project.
12460 * po/ru.po: Update Russian translation from translation project.
12462 2013-07-24 David S. Miller <davem@davemloft.net>
12464 * po/libc.pot: Update.
12466 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12468 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12469 variable page size.
12470 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12471 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12472 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12474 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12476 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12478 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12479 Andreas Schwab <schwab@suse.de>
12480 Roland McGrath <roland@hack.frob.com>
12481 Joseph Myers <joseph@codesourcery.com>
12482 Carlos O'Donell <carlos@redhat.com>
12485 * config.h.in: Define HAVE_PT_CHOWN.
12486 * config.make.in (build-pt-chown): New variable.
12487 * configure.in (--enable-pt_chown): New configure option.
12488 * configure: Regenerate.
12489 * login/Makefile: Include Makeconfig. Build pt_chown only if
12490 build-pt-chown is enabled.
12491 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12492 pt_chown to fix pty ownership.
12493 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12495 * manual/install.texi (Configuring and compiling): Mention
12496 --enable-pt_chown. Add @findex for grantpt.
12497 * INSTALL: Regenerate.
12499 2013-07-20 David S. Miller <davem@davemloft.net>
12501 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12502 difference between 32-bit and 64-bit.
12504 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12507 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12508 Avoid system header dependency with -ffreestanding.
12509 ($(objpfx)bits/syscall%d): Likewise.
12511 2013-07-13 David S. Miller <davem@davemloft.net>
12513 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12514 underflows from atanl/atan2l due to bug 15319.
12515 (casinh_test_data): Likewise.
12517 2013-07-07 David S. Miller <davem@davemloft.net>
12519 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12521 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12523 * sysdeps/i386/fpu/libm-test-ulps: Update.
12524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12526 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12528 * configure.in (--enable-lock-elision): Fix message text.
12529 * INSTALL: Regenerate.
12530 * configure: Regenerate.
12532 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12536 2013-07-03 Andreas Jaeger <aj@suse.de>
12538 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12540 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12541 (ptrace_peeksiginfo_args): Add.
12542 (__ptrace_peeksiginfo_flags): Add.
12543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12547 2013-07-03 Allan McRae <allan@archlinux.org>
12549 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 2013-07-02 David S. Miller <davem@davemloft.net>
12553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12555 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12559 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12561 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12564 2013-07-02 Andi Kleen <ak@linux.intel.com>
12566 * config.h.in (ENABLE_LOCK_ELISION): Add.
12567 * configure.in (--enable-lock-elision): Add option.
12568 * manual/install.texi: Document --enable lock elision.
12569 * configure: Regenerate
12570 * INSTALL: Regenerate.
12572 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12574 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12575 SSE4.2 strcasecmp for libc.a.
12576 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12578 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12581 * soft-fp/op-common.h (_FP_FMA): New macro.
12582 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12583 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12584 (_FP_MUL_MEAT_1_imm): ... here.
12585 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12586 (_FP_MUL_MEAT_1_wide): ... here.
12587 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12588 (_FP_MUL_MEAT_1_hard): ... here.
12589 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12590 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12591 (_FP_MUL_MEAT_2_wide): ... here.
12592 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12593 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12594 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12595 (_FP_MUL_MEAT_2_gmp): ... here.
12596 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12597 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12598 (_FP_MUL_MEAT_4_wide): ... here.
12599 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12600 (_FP_MUL_MEAT_4_gmp): ... here.
12601 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12602 (_FP_WFRACBITS_DW_S): Likewise.
12603 (_FP_WFRACXBITS_DW_S): Likewise.
12604 (_FP_HIGHBIT_DW_S): Likewise.
12605 (FP_FMA_S): Likewise.
12606 (_FP_FRAC_HIGH_DW_S): Likewise.
12607 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12608 (_FP_WFRACBITS_DW_D): Likewise.
12609 (_FP_WFRACXBITS_DW_D): Likewise.
12610 (_FP_HIGHBIT_DW_D): Likewise.
12611 (FP_FMA_D): Likewise.
12612 (_FP_FRAC_HIGH_DW_D): Likewise.
12613 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12614 (_FP_WFRACBITS_DW_E): Likewise.
12615 (_FP_WFRACXBITS_DW_E): Likewise.
12616 (_FP_HIGHBIT_DW_E): Likewise.
12617 (FP_FMA_E): Likewise.
12618 (_FP_FRAC_HIGH_DW_E): Likewise.
12619 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12620 (_FP_WFRACBITS_DW_Q): Likewise.
12621 (_FP_WFRACXBITS_DW_Q): Likewise.
12622 (_FP_HIGHBIT_DW_Q): Likewise.
12623 (FP_FMA_Q): Likewise.
12624 (_FP_FRAC_HIGH_DW_Q): Likewise.
12625 * soft-fp/fmasf4.c: New file.
12626 * soft-fp/fmadf4.c: Likewise.
12627 * soft-fp/fmatf4.c: Likewise.
12629 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12632 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12636 (index_Slow_SSE4_2): Likewise.
12637 (index_Prefer_PMINUB_for_stringop): Likewise.
12638 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12639 bit_Slow_SSE4_2 is set.
12640 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12641 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12643 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12645 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12646 rtld_global._dl_hwcap2.
12647 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12649 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12650 POWER8 feature descriptions defined in _dl_hwcap2.
12651 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12652 string handling for POWER8 feature bits.
12653 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12654 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12655 _dl_powerpc_cap_flags.
12656 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12657 * sysdeps/powerpc/rtld-global-offsets.sym
12658 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12659 _dl_hwcap2 in the rtld_global_ro structure.
12661 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12663 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12664 hardware capabilities in support of AT_HWCAP2.
12665 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12666 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12668 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12669 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12670 explicitly the unknown a_type display mechanism is used.
12671 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12672 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12674 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12675 to macro prototype for AT_HWCAP2 support.
12676 * sysdeps/i386/dl-procinfo.h: Likewise.
12677 * sysdeps/s390/dl-procinfo.h: Likewise.
12678 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12679 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12680 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12681 return -1 for unknown a_type display fallback.
12682 * sysdeps/sparc/dl-procinfo.h: Likewise.
12683 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12684 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12686 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12688 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12689 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12691 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12694 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12695 mprotect making __stack_prot writable.
12697 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12698 Joseph Myers <joseph@codesourcery.com>
12700 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12701 as being properly aligned.
12703 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12705 * dlfcn/modstatic5.c: New file.
12706 * dlfcn/tststatic5.c: New file.
12707 * dlfcn/Makefile (tests): Add tststatic5.
12708 (tests-static): Likewise.
12709 (modules-names): Add modstatic5.
12710 (tststatic5-ENV): New variable.
12711 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12714 * elf/dl-support.c (_dl_main_map): New variable.
12715 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12716 (_dl_nns, _dl_load_adds): Set to 1.
12717 (_dl_initial_searchlist): Refer to _dl_main_map.
12718 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12719 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12720 call to _dl_get_origin.
12721 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12723 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12724 * dlfcn/modstatic3.c: New file.
12725 * dlfcn/tststatic3.c: New file.
12726 * dlfcn/tststatic4.c: New file.
12727 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12728 (tests-static): Likewise.
12729 (modules-names): Add modstatic3.
12730 (tststatic3-ENV, tststatic4-ENV): New variables.
12731 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12732 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12734 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12736 * configure.in (CC): Require GCC version 4.4 or later.
12737 * configure: Regenerated.
12738 * manual/install.texi (Tools for Compilation): Update GCC version
12740 * INSTALL: Regenerated.
12742 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12745 * string/test-memcmp.c (check2): New.
12746 (main): Call check2.
12748 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12750 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12753 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12755 (dl_open_worker) [!SHARED]: ... here.
12757 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12759 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12761 2013-06-25 Richard Henderson <rth@redhat.com>
12763 * locale/programs/locarchive.c: Include <libc-internal.h>
12765 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12767 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12768 trailing whitespace removed.
12770 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12773 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12774 * locale/programs/locarchive.c: Include libc-mmap.h.
12775 (prepare_address_space): Take two new outputs (the mmap base and len).
12776 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12778 (create_archive): Declare new mmap base and len values for
12779 prepare_address_space, and store the result in ah.
12780 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12781 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12782 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12783 Declare new mmap base and len values for
12784 prepare_address_space, and store the result in new_ah.
12785 (open_archive): Declare new mmap base and len values for
12786 prepare_address_space, and store the result in ah.
12787 (close_archive): If ah->mmap_base is not NULL, use that and
12788 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12789 * sysdeps/generic/libc-mmap.h: New file.
12791 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12793 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12794 (ALIGN_UP): Likewise.
12795 (PTR_ALIGN_DOWN): Likewise.
12796 (PTR_ALIGN_UP): Likewise.
12798 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12800 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12801 entry mapped to PPC_PLATFORM_POWER8.
12802 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12804 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12805 (_dl_string_platform): Add case for exporting platform position for
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12808 search path to sysdeps/powerpc/powerpc32/power8 directory.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12810 search path to sysdeps/powerpc/powerpc64/power8 directory.
12811 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12812 power7 directories.
12813 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12814 power7 directories.
12816 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12818 * INSTALL: Regenerate.
12820 * nscd/connections.c (nscd_init): Fix comment.
12822 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12824 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12827 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12828 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12830 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12832 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12834 (DL_DST_REQ_STATIC): Remove macro.
12836 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12839 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12840 with a shift of 0 bits.
12842 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12844 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12847 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12850 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12852 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12854 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12855 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12856 accepts -fno-tree-loop-distribute-patterns.
12857 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12858 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12860 * string/memset.c (memset): Likewise.
12861 * string/test-memmove.c (simple_memmove): Disable loop transformation
12863 * string/test-memset.c (simple_memset): Likewise.
12864 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12865 * benchtests/bench-memset.c (simple_memset): Likewise.
12866 * configure: Regenerated.
12868 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12870 * math/test-misc.c (main): Ignore fesetround failure when failures
12871 of subsequent rounding tests would be ignored.
12874 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12875 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12876 * math/fegetenv.c (__fegetenv): Return 0.
12877 * math/fegetexcept.c (fegetexcept): Return 0.
12878 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12880 * math/feholdexcpt.c (feholdexcept): Return 0.
12881 * math/fesetenv.c (__fesetenv): Return 0.
12882 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12883 argument FE_TONEAREST.
12884 * math/feupdateenv.c (__feupdateenv): Return 0.
12885 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12887 2013-06-18 Roland McGrath <roland@hack.frob.com>
12889 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12890 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12891 ($(objpfx)rtld-%.os rules): Use them.
12893 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12895 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12898 2013-06-17 Roland McGrath <roland@hack.frob.com>
12900 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12901 length of target pattern, then descending length of dependency pattern.
12902 * configure.in (AWK): Require gawk 3.1.2 or newer.
12903 * manual/install.texi (Tools for Compilation): Say that we do.
12904 * configure: Regenerated.
12906 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12907 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12908 * scripts/sysd-rules.awk: ... this new script.
12909 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12910 than a glob-style pattern.
12912 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12914 * math/test-misc.c (main): Do not treat incorrectly rounded
12915 conversions as failure unless ROUNDING_TESTS passes.
12917 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12920 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12921 restore exception state around main square root computation, then
12922 check for inexactness explicitly.
12924 * math/libm-test.inc (fma_test_data): Add another test.
12926 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12928 * manual/threads.texi (Non-POSIX Extensions): New document
12929 node. Document pthread_getattr_default_np and
12930 pthread_setattr_default_np.
12932 * Versions.def (libpthread): Add GLIBC_2.18.
12933 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12942 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12953 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12956 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12958 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12959 H.J. Lu <hjl.tools@gmail.com>
12962 * sysdeps/x86_64/rtld-memset.c: Remove file.
12963 * sysdeps/x86_64/rtld-memset.S: New file.
12965 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12967 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12968 (test_in_one_mode): Take arguments for whether the rounding mode
12969 is supported for each floating-point type.
12970 (do_test): Pass new arguments to test_in_one_mode using
12973 2013-06-13 Roland McGrath <roland@hack.frob.com>
12975 * posix/tst-waitid.c (do_test): Distinguish different instances of
12976 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12977 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12978 before entering the kernel for waitpid.
12980 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12982 * NEWS: Fix note on clock function precision. Text by Roland
12985 2013-06-13 Roland McGrath <roland@hack.frob.com>
12987 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12988 it into place only when and if the sanity check passes.
12990 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12992 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12993 output for whether conversion result is exact. Take argument
12994 indicating whether type is IBM long double.
12995 (round_for_all): Change need_exact field to ibm_ld.
12996 * stdlib/tst-strtod-round.c (struct exactness): New type.
12997 (struct test): Change bool ld_ok field to struct exactness exact.
12998 (TEST): Update all definitions for change to field.
12999 (tests): Regenerate array contents.
13000 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13001 field value. Check for IBM long double here.
13002 (do_test): Update calls to test_in_one_mode.
13004 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13007 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13008 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13010 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13013 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13014 generated by the compiler on loop optimizations.
13015 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13016 general definitions.
13018 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13020 * math/bug-nextafter.c: Include <math-tests.h>.
13021 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13023 * math/bug-nexttoward.c: Include <math-tests.h>.
13024 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13026 * math/test-misc.c: Include <math-tests.h>.
13027 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13030 2013-06-12 Andreas Jaeger <aj@suse.de>
13032 * po/ia.po: Update Interlingua translation from translation
13035 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13037 * include/fenv.h: Include stdbool.h.
13038 (struct rm_ctx): New structure.
13039 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13041 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13042 (SET_RESTORE_ROUNDF): Likewise.
13043 (SET_RESTORE_ROUNDL): Likewise.
13044 (SET_RESTORE_ROUND_NOEX): Likewise.
13045 (SET_RESTORE_ROUND_NOEXF): Likewise.
13046 (SET_RESTORE_ROUND_NOEXL): Likewise.
13047 (SET_RESTORE_ROUND_53BIT): Likewise.
13048 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13049 (libc_feresetround_noexf_ctx): Likewise.
13050 (libc_feresetround_noexl_ctx): Likewise.
13051 (libc_feholdsetround_53bit_ctx): Likewise.
13052 (libc_feresetround_53bit_ctx): Likewise.
13053 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13054 (libc_feholdexcept_setround_sse_ctx): New function.
13055 (libc_fesetenv_sse_ctx): Likewise.
13056 (libc_feupdateenv_sse_ctx): Likewise.
13057 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13058 (libc_feholdexcept_setround_387_ctx): Likewise.
13059 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13060 (libc_feholdsetround_387_prec_ctx): Likewise.
13061 (libc_feholdsetround_387_ctx): Likewise.
13062 (libc_feholdsetround_387_53bit_ctx): Likewise.
13063 (libc_feholdsetround_sse_ctx): Likewise.
13064 (libc_feresetround_sse_ctx): Likewise.
13065 (libc_feresetround_387_ctx): Likewise.
13066 (libc_feupdateenv_387_ctx): Likewise.
13067 (libc_feholdexcept_setroundf_ctx): Define macro.
13068 (libc_fesetenvf_ctx): Likewise.
13069 (libc_feupdateenvf_ctx): Likewise.
13070 (libc_feholdsetroundf_ctx): Likewise.
13071 (libc_feresetroundf_ctx): Likewise.
13072 (libc_feholdexcept_setround_ctx): Likewise.
13073 (libc_fesetenv_ctx): Likewise.
13074 (libc_feupdateenv_ctx): Likewise.
13075 (libc_feholdsetround_ctx): Likewise.
13076 (libc_feresetround_ctx): Likewise.
13077 (libc_feholdexcept_setroundl_ctx): Likewise.
13078 (libc_feupdateenvl_ctx): Likewise.
13079 (libc_feholdsetroundl_ctx): Likewise.
13080 (libc_feresetroundl_ctx): Likewise.
13081 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13082 (libc_feresetround_53bit_ctx): Likewise.
13084 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13086 * locale/iso-639.def: Convert to UTF-8.
13088 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13090 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13091 (EXCEPTION_TESTS_double): Likewise.
13092 (EXCEPTION_TESTS_long_double): Likewise.
13093 (EXCEPTION_TESTS): Likewise.
13094 * math/libm-test.inc (test_exceptions): Only test exceptions if
13095 EXCEPTION_TESTS (FLOAT).
13097 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13099 * benchtests/Makefile (string-bench): Add strcpy_chk and
13101 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13102 * benchtests/bench-stpcpy_chk.c: New file.
13103 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13104 * benchtests/bench-strcpy_chk.c: New file.
13105 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13107 (do_test): Likewise.
13109 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13111 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13112 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13113 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13114 with tabs where appropriate.
13115 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13117 [PPC_PLATFORM_PPC440]: Likewise.
13118 [PPC_PLATFORM_PPC464]: Likewise.
13119 [PPC_PLATFORM_PPC476]: Likewise.
13120 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13121 ppc464, and ppc476 platform strings merging from ports/
13124 2013-06-11 Andreas Schwab <schwab@suse.de>
13127 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13128 (from_ucs4_idx): Regenerate.
13129 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13130 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13131 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13132 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13133 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13134 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13135 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13136 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13137 from FROM_LOOP and TO_LOOP specific macros.
13138 (BODY): Handle combining characters.
13139 * iconvdata/BIG5HKSCS.irreversible: Update.
13140 * iconvdata/BIG5HKSCS.precomposed: New file.
13141 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13143 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13145 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13147 * include/sys/time.h: Fix indentation and add copyright header.
13149 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13150 (do_test): Likewise.
13151 * string/test-memchr.c (do_one_test): Likewise.
13152 (do_test): Likewise.
13153 * string/test-memcmp.c (do_one_test): Likewise.
13154 (do_test): Likewise.
13155 * string/test-memcpy.c (do_one_test): Likewise.
13156 (do_test): Likewise.
13157 * string/test-memmem.c (do_one_test): Likewise.
13158 (do_test): Likewise.
13159 (do_random_tests): Likewise.
13160 * string/test-memmove.c (do_one_test): Likewise.
13161 (do_test): Likewise.
13162 * string/test-memset.c (do_one_test): Likewise.
13163 (do_test): Likewise.
13164 * string/test-rawmemchr.c (do_one_test): Likewise.
13165 (do_test): Likewise.
13166 * string/test-strcasecmp.c (do_one_test): Likewise.
13167 (do_test): Likewise.
13168 * string/test-strcasestr.c (do_one_test): Likewise.
13169 (do_test): Likewise.
13170 * string/test-strcat.c (do_one_test): Likewise.
13171 (do_test): Likewise.
13172 * string/test-strchr.c (do_one_test): Likewise.
13173 (do_test): Likewise.
13174 * string/test-strcmp.c (do_one_test): Likewise.
13175 (do_test): Likewise.
13176 * string/test-strcpy.c (do_one_test): Likewise.
13177 (do_test): Likewise.
13178 * string/test-string.h: Likewise.
13179 (test_init): Likewise.
13180 * string/test-strlen.c (do_one_test): Likewise.
13181 (do_test): Likewise.
13182 * string/test-strncasecmp.c (do_one_test): Likewise.
13183 (do_test): Likewise.
13184 * string/test-strncat.c (do_one_test): Likewise.
13185 (do_test): Likewise.
13186 * string/test-strncmp.c (do_one_test): Likewise.
13187 (do_test_limit): Likewise.
13188 (do_test): Likewise.
13189 * string/test-strncpy.c (do_one_test): Likewise.
13190 (do_test): Likewise.
13191 * string/test-strnlen.c (do_one_test): Likewise.
13192 (do_test): Likewise.
13193 * string/test-strpbrk.c (do_one_test): Likewise.
13194 (do_test): Likewise.
13195 * string/test-strrchr.c (do_one_test): Likewise.
13196 (do_test): Likewise.
13197 * string/test-strspn.c (do_one_test): Likewise.
13198 (do_test): Likewise.
13199 * string/test-strstr.c (do_one_test): Likewise.
13200 (do_test): Likewise.
13202 * benchtests/Makefile (string-bench): Add string benchmarks.
13203 * benchtests/bench-bcopy-ifunc.c: New file.
13204 * benchtests/bench-bcopy.c: New file.
13205 * benchtests/bench-bzero-ifunc.c: New file.
13206 * benchtests/bench-bzero.c: New file.
13207 * benchtests/bench-memccpy-ifunc.c: New file.
13208 * benchtests/bench-memccpy.c: New file.
13209 * benchtests/bench-memchr-ifunc.c: New file.
13210 * benchtests/bench-memchr.c: New file.
13211 * benchtests/bench-memcmp-ifunc.c: New file.
13212 * benchtests/bench-memcmp.c: New file.
13213 * benchtests/bench-memmem-ifunc.c: New file.
13214 * benchtests/bench-memmem.c: New file.
13215 * benchtests/bench-memmove-ifunc.c: New file.
13216 * benchtests/bench-memmove.c: New file.
13217 * benchtests/bench-mempcpy-ifunc.c: New file.
13218 * benchtests/bench-mempcpy.c: New file.
13219 * benchtests/bench-memset-ifunc.c: New file.
13220 * benchtests/bench-memset.c: New file.
13221 * benchtests/bench-rawmemchr-ifunc.c: New file.
13222 * benchtests/bench-rawmemchr.c: New file.
13223 * benchtests/bench-stpcpy-ifunc.c: New file.
13224 * benchtests/bench-stpcpy.c: New file.
13225 * benchtests/bench-stpncpy-ifunc.c: New file.
13226 * benchtests/bench-stpncpy.c: New file.
13227 * benchtests/bench-strcasecmp-ifunc.c: New file.
13228 * benchtests/bench-strcasecmp.c: New file.
13229 * benchtests/bench-strcasestr-ifunc.c: New file.
13230 * benchtests/bench-strcasestr.c: New file.
13231 * benchtests/bench-strcat-ifunc.c: New file.
13232 * benchtests/bench-strcat.c: New file.
13233 * benchtests/bench-strchr-ifunc.c: New file.
13234 * benchtests/bench-strchr.c: New file.
13235 * benchtests/bench-strchrnul-ifunc.c: New file.
13236 * benchtests/bench-strchrnul.c: New file.
13237 * benchtests/bench-strcmp-ifunc.c: New file.
13238 * benchtests/bench-strcmp.c: New file.
13239 * benchtests/bench-strcpy-ifunc.c: New file.
13240 * benchtests/bench-strcpy.c: New file.
13241 * benchtests/bench-strcspn-ifunc.c: New file.
13242 * benchtests/bench-strcspn.c: New file.
13243 * benchtests/bench-strlen-ifunc.c: New file.
13244 * benchtests/bench-strlen.c: New file.
13245 * benchtests/bench-strncasecmp-ifunc.c: New file.
13246 * benchtests/bench-strncasecmp.c: New file.
13247 * benchtests/bench-strncat-ifunc.c: New file.
13248 * benchtests/bench-strncat.c: New file.
13249 * benchtests/bench-strncmp-ifunc.c: New file.
13250 * benchtests/bench-strncmp.c: New file.
13251 * benchtests/bench-strncpy-ifunc.c: New file.
13252 * benchtests/bench-strncpy.c: New file.
13253 * benchtests/bench-strnlen-ifunc.c: New file.
13254 * benchtests/bench-strnlen.c: New file.
13255 * benchtests/bench-strpbrk-ifunc.c: New file.
13256 * benchtests/bench-strpbrk.c: New file.
13257 * benchtests/bench-strrchr-ifunc.c: New file.
13258 * benchtests/bench-strrchr.c: New file.
13259 * benchtests/bench-strspn-ifunc.c: New file.
13260 * benchtests/bench-strspn.c: New file.
13261 * benchtests/bench-strstr-ifunc.c: New file.
13262 * benchtests/bench-strstr.c: New file.
13264 * benchtests/Makefile: Disable parallel execution of targets.
13265 (string-bench): Add memcpy.
13266 (benchset): New variable to store a list of benchmark sets.
13267 (bench-func): Renamed from bench.
13268 (bench-set): New target.
13269 (bench): Depend on bench-func and bench-set.
13270 * benchtests/README: Add section on benchmark sets.
13271 * benchtests/bench-memcpy-ifunc.c: New file.
13272 * benchtests/bench-memcpy.c: New file.
13273 * benchtests/bench-string.h: New file.
13275 2013-06-11 Andreas Schwab <schwab@suse.de>
13278 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13279 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13280 values in the triple.
13281 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13282 terminator in the group key.
13284 2013-06-11 Andreas Jaeger <aj@suse.de>
13286 * po/zh_TW.po: Update Chinese (traditional) translation from
13287 translation project.
13289 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13291 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13292 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13293 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13294 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13295 (clock_getcpuclockid): Likewise.
13296 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13297 Add weak_alias and libc_hidden_def.
13298 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13299 * rt/clock_gettime.c (clock_gettime): Rename to
13300 __clock_gettime. Add weak_alias and libc_hidden_def.
13301 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13302 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13303 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13304 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13305 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13307 * rt/clock_settime.c (clock_settime): Rename to
13308 __clock_settime. Add weak_alias and libc_hidden_def.
13309 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13311 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13313 * mach/err_boot.sub: Remove trailing whitespace.
13314 * mach/err_ipc.sub: Likewise.
13315 * mach/err_mach.sub: Likewise.
13317 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13318 (ROUNDING_TESTS_double): Likewise.
13319 (ROUNDING_TESTS_long_double): Likewise.
13320 (ROUNDING_TESTS): Likewise.
13321 * math/libm-test.inc: Include <math-tests.h>.
13322 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13323 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13324 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13325 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13327 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13329 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13332 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13334 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13335 otherwise empty TRANS lines.
13336 * sysdeps/gnu/errlist.c: Regenerated.
13338 * catgets/gencat.c (error_print): Use (void) in function
13340 * crypt/crypt_util.c (__init_des): Likewise.
13341 * crypt/speeds.c (Stop): Likewise.
13343 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13344 * inet/ruserpass.c (token): Likewise.
13345 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13346 * intl/localealias.c (extend_alias_table): Likewise.
13347 * intl/plural-exp.c (init_germanic_plural): Likewise.
13348 * libio/fcloseall.c (__fcloseall): Likewise.
13349 * libio/genops.c (_IO_flush_all): Likewise.
13350 (_IO_flush_all_linebuffered): Likewise.
13351 (_IO_cleanup): Likewise.
13352 (_IO_iter_begin): Likewise.
13353 (_IO_iter_end): Likewise.
13354 (_IO_list_lock): Likewise.
13355 (_IO_list_unlock): Likewise.
13356 (_IO_list_resetlock): Likewise.
13357 * libio/getchar.c (getchar): Likewise.
13358 * libio/getchar_u.c (getchar_unlocked): Likewise.
13359 * libio/getwchar.c (getwchar): Likewise.
13360 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13361 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13362 * login/getpt.c (__getpt): Likewise.
13363 * login/tst-utmp.c (main): Likewise.
13364 * malloc/hooks.c (__malloc_check_init): Likewise.
13365 * malloc/malloc.c (__malloc_stats): Likewise.
13366 * malloc/mtrace.c (tr_break): Likewise.
13367 (mtrace): Likewise.
13368 (muntrace): Likewise.
13369 * misc/fstab.c (endfsent): Likewise.
13370 * misc/getclktck.c (__getclktck): Likewise.
13371 * misc/getdtsz.c (__getdtablesize): Likewise.
13372 * misc/gethostid.c (gethostid): Likewise.
13373 * misc/getpagesize.c (__getpagesize): Likewise.
13374 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13375 (__get_nprocs): Likewise.
13376 (__get_phys_pages): Likewise.
13377 (__get_avphys_pages): Likewise.
13378 * misc/getttyent.c (getttyent): Likewise.
13379 (setttyent): Likewise.
13380 (endttyent): Likewise.
13381 * misc/getusershell.c (getusershell): Likewise.
13382 (endusershell): Likewise.
13383 (setusershell): Likewise.
13384 (initshells): Likewise.
13385 * misc/hsearch.c (__hdestroy): Likewise.
13386 * misc/sync.c (sync): Likewise.
13387 * misc/syslog.c (closelog_internal): Likewise.
13388 (closelog): Likewise.
13389 * misc/ttyslot.c (ttyslot): Likewise.
13390 * misc/vhangup.c (vhangup): Likewise.
13391 * posix/fork.c (__fork): Likewise.
13392 * posix/getegid.c (__getegid): Likewise.
13393 * posix/geteuid.c (__geteuid): Likewise.
13394 * posix/getgid.c (__getgid): Likewise.
13395 * posix/getpid.c (__getpid): Likewise.
13396 * posix/getppid.c (__getppid): Likewise.
13397 * posix/getuid.c (__getuid): Likewise.
13398 * posix/pause.c (pause): Likewise.
13399 * posix/setpgrp.c (setpgrp): Likewise.
13400 * posix/setsid.c (__setsid): Likewise.
13401 * posix/test-vfork.c (noop): Likewise.
13402 * resolv/gethnamaddr.c (_endhtent): Likewise.
13403 (_gethtent): Likewise.
13404 (ht_endhostent): Likewise.
13405 (gethostent): Likewise.
13406 (dns_service): Likewise.
13407 * stdlib/drand48.c (drand48): Likewise.
13408 * stdlib/lrand48.c (lrand48): Likewise.
13409 * stdlib/mrand48.c (mrand48): Likewise.
13410 * stdlib/rand.c (rand): Likewise.
13411 * stdlib/random.c (__random): Likewise.
13412 * stdlib/setenv.c (clearenv): Likewise.
13413 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13414 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13415 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13416 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13417 (__get_nprocs): Likewise.
13418 (__get_phys_pages): Likewise.
13419 (__get_avphys_pages): Likewise.
13420 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13421 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13422 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13423 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13424 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13425 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13426 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13427 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13428 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13429 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13430 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13431 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13432 * sysdeps/posix/clock.c (clock): Likewise.
13433 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13434 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13435 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13436 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13437 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13439 (__get_nprocs_conf): Likewise.
13440 (__get_phys_pages): Likewise.
13441 (__get_avphys_pages): Likewise.
13442 * time/clock.c (clock): Likewise.
13443 * time/tzset.c (__tzname_max): Likewise.
13445 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13447 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13448 (__bswap_32): Do not use "register".
13449 * crypt/crypt.c (_ufc_doit_r): Likewise.
13450 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13451 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13452 * gmon/gmon.c (__monstartup): Likewise.
13453 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13454 * hurd/hurdmalloc.c (more_memory): Likewise.
13455 (malloc): Likewise.
13457 (realloc): Likewise.
13458 (malloc_fork_prepare): Likewise.
13459 (malloc_fork_parent): Likewise.
13460 (malloc_fork_child): Likewise.
13461 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13462 (_svcauth_des): Likewise.
13463 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13464 * inet/inet_net.c (inet_network): Likewise.
13465 * inet/inet_netof.c (inet_netof): Likewise.
13466 * inet/rcmd.c (__validuser2_sa): Likewise.
13467 * io/fts.c (fts_open): Likewise.
13468 (fts_load): Likewise.
13469 (fts_close): Likewise.
13470 (fts_read): Likewise.
13471 (fts_children): Likewise.
13472 (fts_build): Likewise.
13473 (fts_stat): Likewise.
13474 (fts_sort): Likewise.
13475 (fts_alloc): Likewise.
13476 (fts_lfree): Likewise.
13477 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13478 (_IO_file_xsgetn): Likewise.
13479 (_IO_file_xsgetn_mmap): Likewise.
13480 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13481 (_IO_cookie_write): Likewise.
13482 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13483 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13484 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13485 * malloc/obstack.c (_obstack_begin): Likewise.
13486 (_obstack_begin_1): Likewise.
13487 (_obstack_newchunk): Likewise.
13488 (_obstack_allocated_p): Likewise.
13489 (obstack_free): Likewise.
13490 (_obstack_memory_used): Likewise.
13491 * misc/getttyent.c (getttynam): Likewise.
13492 (getttyent): Likewise.
13495 * misc/getusershell.c (initshells): Likewise.
13496 * misc/syslog.c (__vsyslog_chk): Likewise.
13497 * misc/ttyslot.c (ttyslot): Likewise.
13498 * nis/nis_hash.c (__nis_hash): Likewise.
13499 * posix/fnmatch_loop.c (FCT): Likewise.
13500 * posix/getconf.c (print_all): Likewise.
13502 * posix/getopt.c (exchange): Likewise.
13503 * posix/glob.c (globfree): Likewise.
13504 (prefix_array): Likewise.
13505 (__glob_pattern_type): Likewise.
13506 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13507 (NS_GET32): Likewise.
13508 (NS_PUT16): Likewise.
13509 (NS_PUT32): Likewise.
13510 * resolv/gethnamaddr.c (getanswer): Likewise.
13511 (gethostbyname2): Likewise.
13512 (gethostbyaddr): Likewise.
13513 (_gethtent): Likewise.
13514 (_gethtbyname2): Likewise.
13515 (_gethtbyaddr): Likewise.
13516 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13517 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13518 * resolv/res_init.c (__res_vinit): Likewise.
13519 (net_mask): Likewise.
13520 * resolv/res_mkquery.c (outchar): Likewise.
13522 * stdio-common/printf_fp.c (outchar): Likewise.
13524 * stdio-common/printf_fphex.c (outchar): Likewise.
13526 * stdio-common/printf_size.c (outchar): Likewise.
13528 * stdio-common/test_rdwr.c (main): Likewise.
13529 * stdio-common/tfformat.c (matches): Likewise.
13530 * stdio-common/vfprintf.c (outchar): Likewise.
13531 (printf_unknown): Likewise.
13532 (buffered_vfprintf): Likewise.
13533 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13534 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13535 (ReadFile): Likewise.
13536 * stdlib/qsort.c (SWAP): Likewise.
13537 (_quicksort): Likewise.
13538 * stdlib/setenv.c (__add_to_environ): Likewise.
13539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13540 * stdlib/strtol_l.c (__strtol_l): Likewise.
13541 * stdlib/tst-strtod.c (main): Likewise.
13542 * stdlib/tst-strtol.c (main): Likewise.
13543 * stdlib/tst-strtoll.c (main): Likewise.
13544 * string/bits/string2.h (__strcmp_cc): Likewise.
13545 (__strcmp_cg): Likewise.
13546 (__strcspn_c1): Likewise.
13547 (__strcspn_c2): Likewise.
13548 (__strcspn_c3): Likewise.
13549 (__strspn_c1): Likewise.
13550 (__strspn_c2): Likewise.
13551 (__strspn_c3): Likewise.
13552 (__strsep_1c): Likewise.
13553 (__strsep_2c): Likewise.
13554 (__strsep_3c): Likewise.
13555 * string/memccpy.c (__memccpy): Likewise.
13556 * string/stpcpy.c (__stpcpy): Likewise.
13557 * string/strcmp.c (strcmp): Likewise.
13558 * string/strrchr.c (strrchr): Likewise.
13559 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13561 * sysdeps/mach/hurd/getcwd.c
13562 (_hurd_canonicalize_directory_name_internal): Likewise.
13563 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13564 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13565 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13566 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13567 Likewise, in both definitions.
13568 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13570 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13571 64] (__bswap_64): Likewise.
13572 * time/test_time.c (main): Likewise.
13573 * time/tzfile.c (__tzfile_read): Likewise.
13574 (__tzfile_compute): Likewise.
13575 * time/tzset.c (__tzset_parse_tz): Likewise.
13576 (tzset_internal): Likewise.
13577 (compute_change): Likewise.
13578 * wcsmbs/wcscat.c (__wcscat): Likewise.
13579 * wcsmbs/wcschr.c (wcschr): Likewise.
13580 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13581 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13582 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13583 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13584 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13585 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13586 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13587 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13588 * wcsmbs/wmemset.c (wmemset): Likewise.
13590 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13592 * scripts/config.guess: Update to version 2013-05-16.
13593 * scripts/config.sub: Update to version 2013-04-24.
13594 * scripts/install-sh: Update to version 2011-11-20.07.
13595 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13596 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13598 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13600 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13601 * elf/sln.c: Likewise.
13602 * hurd/hurd/ioctl.h: Likewise.
13603 * hurd/hurdmalloc.c: Likewise.
13604 * hurd/xattr.c: Likewise.
13605 * include/shlib-compat.h: Likewise.
13606 * inet/ruserpass.c: Likewise.
13607 * libio/iofgets_u.c: Likewise.
13608 * libio/iofgetws_u.c: Likewise.
13609 * locale/programs/ld-identification.c: Likewise.
13610 * locale/programs/ld-time.c: Likewise.
13611 * mach/msg-destroy.c: Likewise.
13612 * nss/nss_files/files-netgrp.c: Likewise.
13613 * resolv/res_data.c: Likewise.
13614 * soft-fp/op-1.h: Likewise.
13615 * soft-fp/op-2.h: Likewise.
13616 * soft-fp/op-4.h: Likewise.
13617 * soft-fp/op-common.h: Likewise.
13618 * stdio-common/printf_fphex.c: Likewise.
13619 * stdlib/strtod_l.c: Likewise.
13620 * sunrpc/rpc/clnt.h: Likewise.
13621 * sysdeps/generic/framestate.c: Likewise.
13622 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13623 * sysdeps/i386/bsd-setjmp.S: Likewise.
13624 * sysdeps/i386/__longjmp.S: Likewise.
13625 * sysdeps/i386/setjmp.S: Likewise.
13626 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13627 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13644 * sysdeps/ieee754/support.c: Likewise.
13645 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13646 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13647 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13648 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13649 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13650 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13651 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13652 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13653 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13654 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13655 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13656 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13657 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13658 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13659 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13660 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13661 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13664 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13666 * posix/transbug.c: Remove executable mode.
13668 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13670 * crypt/speeds.c: Remove trailing whitespace.
13671 * dlfcn/default.c: Likewise.
13672 * elf/ifuncdep2.c: Likewise.
13673 * elf/ifuncmain1.c: Likewise.
13674 * elf/ifuncmain1vis.c: Likewise.
13675 * elf/testobj.h: Likewise.
13676 * elf/tst-stackguard1.c: Likewise.
13677 * gmon/sys/gmon.h: Likewise.
13678 * hurd/hurdmsg.c: Likewise.
13679 * hurd/new-fd.c: Likewise.
13680 * hurd/ports-get.c: Likewise.
13681 * iconvdata/ibm1008_420.c: Likewise.
13682 * inet/tst-getni1.c: Likewise.
13683 * inet/tst-getni2.c: Likewise.
13684 * libio/ioungetc.c: Likewise.
13685 * libio/wfiledoalloc.c: Likewise.
13686 * manual/libm-err-tab.pl: Likewise.
13687 * math/w_dremf.c: Likewise.
13688 * misc/ftruncate.c: Likewise.
13689 * posix/bug-glob2.c: Likewise.
13690 * posix/tst-pcre.c: Likewise.
13691 * posix/wait4.c: Likewise.
13692 * resolv/README: Likewise.
13693 * resolv/res_debug.h: Likewise.
13694 * resolv/tst-inet_ntop.c: Likewise.
13695 * setjmp/bug269-setjmp.c: Likewise.
13696 * soft-fp/extended.h: Likewise.
13697 * soft-fp/op-1.h: Likewise.
13698 * soft-fp/op-2.h: Likewise.
13699 * soft-fp/op-4.h: Likewise.
13700 * soft-fp/op-8.h: Likewise.
13701 * soft-fp/testit.c: Likewise.
13702 * stdio-common/bug16.c: Likewise.
13703 * stdlib/random.c: Likewise.
13704 * sunrpc/rpcsvc/rquota.x: Likewise.
13705 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13706 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13708 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13734 * sysdeps/ieee754/s_lib_version.c: Likewise.
13735 * sysdeps/mach/hurd/check_fds.c: Likewise.
13736 * sysdeps/mach/hurd/getsockname.c: Likewise.
13737 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13738 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13739 * sysdeps/powerpc/bits/link.h: Likewise.
13740 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13741 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13742 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13743 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13744 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13745 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13746 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13747 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13748 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13749 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13750 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13752 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13753 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13754 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13755 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13761 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13762 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13763 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13764 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13766 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13768 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13771 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13773 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13774 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13775 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13776 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13777 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13778 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13779 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13780 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13781 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13782 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13783 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13784 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13786 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13787 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13788 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13789 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13793 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13794 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13795 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13796 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13801 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13802 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13803 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13804 * sysdeps/powerpc/sysdep.h: Likewise.
13805 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13806 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13807 * sysdeps/sh/dl-trampoline.S: Likewise.
13808 * sysdeps/sh/memset.S: Likewise.
13809 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13810 * sysdeps/sh/strlen.S: Likewise.
13811 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13812 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13813 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13814 * sysdeps/sparc/sparc32/rem.S: Likewise.
13815 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13816 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13817 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13818 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13819 * sysdeps/sparc/sparc32/urem.S: Likewise.
13820 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13821 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13822 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13823 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13824 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13825 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13826 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13827 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13828 * sysdeps/unix/bsd/times.c: Likewise.
13829 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13830 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13835 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13839 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13840 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13841 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13842 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13843 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13844 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13845 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13846 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13847 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13849 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13850 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13851 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13852 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13853 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13854 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13855 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13856 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13857 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13858 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13859 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13860 * sysdeps/x86_64/strcspn.S: Likewise.
13862 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13864 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13865 generated file. Regenerate properly from gen-translit.pl.
13866 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13867 locale/C-translit.h.
13869 2013-06-05 Andreas Schwab <schwab@suse.de>
13872 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13873 week as 6 instead of -1.
13874 * time/tst-strptime.c (day_tests): Add test case.
13876 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13878 * sysdeps/generic/math_private.h
13879 (libc_feholdexcept_setround_53bit): Replace with
13880 libc_feholdsetround_53bit.
13881 (libc_feupdateenv_53bit): Replace with
13882 libc_feresetround_53bit.
13883 (SET_RESTORE_ROUND_53BIT): Adjust.
13885 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13887 * string/test-strchrnul.c: Add copyright header.
13889 * posix/tst-getaddrinfo4.c: Increase test timeout.
13891 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13894 * math/libm-test.inc (MAX_EXP): Remove
13896 (ulp): Use MIN_EXP - MANT_DIG.
13897 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13899 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13901 * po/be.po: Revert last change.
13902 * po/zh_CN.po: Likewise.
13903 * po/header.pot: Likewise.
13905 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13907 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13908 link-libc-deps to empty as target-specific variable.
13909 * Makerules (link-libc-args): New variable.
13910 (libc-for-link): Likewise.
13911 (link-libc-deps): Likewise.
13912 (lib%.so): Depend on $(link-libc-deps). Link with
13914 (build-module): Link with $(link-libc-args).
13915 (build-module-asneeded): Likewise.
13916 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13918 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13919 target-specific variable.
13920 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13921 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13922 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13924 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13926 ($(objpfx)libpcprofile.so): Likewise.
13927 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13929 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13930 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13931 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13933 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13934 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13935 * login/Makefile ($(objpfx)libutil.so): Likewise.
13936 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13937 * math/Makefile ($(objpfx)libm.so): Likewise.
13938 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13939 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13940 variable instead of depending directly on libc.
13941 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13942 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13944 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13946 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13947 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13948 ($(objpfx)libanl.so): Likewise.
13949 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13951 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13953 * sysdeps/i386/fpu/Makefile: Remove file.
13954 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13955 ($(objpfx)libm.so): Remove dependency on ld.so.
13957 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13960 * nis/yp_xdr.c (XDRMAXNAME): Define.
13961 (XDRMAXRECORD): Define.
13962 (xdr_domainname): Use XDRMAXNAME.
13963 (xdr_mapname): Likewise.
13964 (xdr_peername): Likewise.
13965 (xdr_keydat): Use XDRMAXRECORD.
13966 (xdr_valdat): Likewise.
13968 2013-05-30 Jeff Law <law@redhat.com>
13971 * manual/errno.texi (ESTALE): Update to account for more than
13972 just NFS file systems.
13973 * sysdeps/gnu/errlist.c: Regenerated.
13975 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13978 * elf/Makefile (tests): Add tst-null-argv.
13979 (modules-names): Add tst-null-argv-lib.
13980 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13981 (tst-null-argv-ENV): Set environment for tst-null-argv.
13982 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13983 (RTLD_PROGNAME): New macro.
13984 * elf/tst-null-argv.c: New test case.
13985 * elf/tst-null-argv-lib.c: Library for test case.
13986 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13987 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13988 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13989 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13990 * elf/dl-init.c (call_init): Likewise.
13991 (_dl_init): Likewise.
13992 * elf/dl-load.c (print_search_path): Likewise.
13993 (_dl_map_object): Likewise.
13994 * elf/dl-lookup.c (do_lookup_x): Likewise.
13995 (add_dependency): Likewise.
13996 (_dl_lookup_symbol_x): Likewise.
13997 (_dl_debug_bindings): Likewise.
13998 * elf/dl-open.c (_dl_show_scope): Likewise.
13999 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14000 * elf/dl-version.c (match_symbol): Likewise.
14001 (_dl_check_map_versions): Likewise.
14002 * elf/rtld.c (dl_main): Likewise.
14003 (print_unresolved): Use RTLD_PROGNAME.
14004 (print_missing_version): Likewise.
14005 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14006 (elf_machine_rela): Likewise.
14007 * sysdeps/powerpc/powerpc32/dl-machine.c
14008 (__process_machine_rela): Likewise.
14009 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14011 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14013 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14015 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14018 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14022 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14024 * po/be.po: Add descriptive title.
14025 * po/zh_CN.po: Likewise.
14026 * po/header.pot: Likewise.
14028 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14030 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14032 (enlarge_archive): Likewise.
14034 2013-05-28 Ben North <ben@redfrontdoor.org>
14036 * manual/arith.texi (frexp): It is the magnitude of the return
14037 value which lies in [0.5, 1), not the return value itself.
14039 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14043 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14045 * stdio-common/bug26.c (main): Correct fscanf template.
14047 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14048 declare _dl_skip_args.
14050 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14053 * manual/platform.texi: Add missing @end deftypefun.
14055 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14058 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14059 bit of mantissa of 2^16382.
14060 * math/libm-test.inc (hypot_test_data): Add more tests.
14062 * math/libm-test.inc: Add drem and pow10 to list of tested
14064 (pow10_test): New function.
14065 (drem_test): Likewise.
14066 (drem_test_tonearest): Likewise.
14067 (drem_test_towardzero): Likewise.
14068 (drem_test_downward): Likewise.
14069 (drem_test_upward): Likewise.
14070 (main): Call the new functions.
14072 * math/libm-test.inc (finite_test_data): Remove.
14073 (finite_test): Run tests from isfinite_test_data.
14074 (gamma_test_data): Remove.
14075 (gamma_test): Run tests from lgamma_test_data.
14076 * sysdeps/i386/fpu/libm-test-ulps: Update.
14077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14079 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14081 * manual/platform.texi: Add PowerPC PPR function set documentation.
14082 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14085 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14087 * math/libm-test.inc (MAX_EXP): Define.
14089 (ulp): New function.
14090 (check_float_internal): Use ULPDIFF.
14091 (cpow_test): Disable failing test.
14092 (check_ulp): Test ulp() implemetnation.
14093 (main): Call check_ulp before starting tests.
14095 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14097 * math/gen-libm-test.pl (generate_testfile): Do not handle
14098 START_DATA and END_DATA.
14099 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14101 (acos_tonearest_test_data): Likewise.
14102 (acos_towardzero_test_data): Likewise.
14103 (acos_downward_test_data): Likewise.
14104 (acos_upward_test_data): Likewise.
14105 (acosh_test_data): Likewise.
14106 (asin_test_data): Likewise.
14107 (asin_tonearest_test_data): Likewise.
14108 (asin_towardzero_test_data): Likewise.
14109 (asin_downward_test_data): Likewise.
14110 (asin_upward_test_data): Likewise.
14111 (asinh_test_data): Likewise.
14112 (atan_test_data): Likewise.
14113 (atanh_test_data): Likewise.
14114 (atan2_test_data): Likewise.
14115 (cabs_test_data): Likewise.
14116 (cacos_test_data): Likewise.
14117 (cacosh_test_data): Likewise.
14118 (carg_test_data): Likewise.
14119 (casin_test_data): Likewise.
14120 (casinh_test_data): Likewise.
14121 (catan_test_data): Likewise.
14122 (catanh_test_data): Likewise.
14123 (cbrt_test_data): Likewise.
14124 (ccos_test_data): Likewise.
14125 (ccosh_test_data): Likewise.
14126 (ceil_test_data): Likewise.
14127 (cexp_test_data): Likewise.
14128 (cimag_test_data): Likewise.
14129 (clog_test_data): Likewise.
14130 (clog10_test_data): Likewise.
14131 (conj_test_data): Likewise.
14132 (copysign_test_data): Likewise.
14133 (cos_test_data): Likewise.
14134 (cos_tonearest_test_data): Likewise.
14135 (cos_towardzero_test_data): Likewise.
14136 (cos_downward_test_data): Likewise.
14137 (cos_upward_test_data): Likewise.
14138 (cosh_test_data): Likewise.
14139 (cosh_tonearest_test_data): Likewise.
14140 (cosh_towardzero_test_data): Likewise.
14141 (cosh_downward_test_data): Likewise.
14142 (cosh_upward_test_data): Likewise.
14143 (cpow_test_data): Likewise.
14144 (cproj_test_data): Likewise.
14145 (creal_test_data): Likewise.
14146 (csin_test_data): Likewise.
14147 (csinh_test_data): Likewise.
14148 (csqrt_test_data): Likewise.
14149 (ctan_test_data): Likewise.
14150 (ctan_tonearest_test_data): Likewise.
14151 (ctan_towardzero_test_data): Likewise.
14152 (ctan_downward_test_data): Likewise.
14153 (ctan_upward_test_data): Likewise.
14154 (ctanh_test_data): Likewise.
14155 (ctanh_tonearest_test_data): Likewise.
14156 (ctanh_towardzero_test_data): Likewise.
14157 (ctanh_downward_test_data): Likewise.
14158 (ctanh_upward_test_data): Likewise.
14159 (erf_test_data): Likewise.
14160 (erfc_test_data): Likewise.
14161 (exp_test_data): Likewise.
14162 (exp_tonearest_test_data): Likewise.
14163 (exp_towardzero_test_data): Likewise.
14164 (exp_downward_test_data): Likewise.
14165 (exp_upward_test_data): Likewise.
14166 (exp10_test_data): Likewise.
14167 (exp2_test_data): Likewise.
14168 (expm1_test_data): Likewise.
14169 (fabs_test_data): Likewise.
14170 (fdim_test_data): Likewise.
14171 (finite_test_data): Likewise.
14172 (floor_test_data): Likewise.
14173 (fma_test_data): Likewise.
14174 (fma_towardzero_test_data): Likewise.
14175 (fma_downward_test_data): Likewise.
14176 (fma_upward_test_data): Likewise.
14177 (fmax_test_data): Likewise.
14178 (fmin_test_data): Likewise.
14179 (fmod_test_data): Likewise.
14180 (fpclassify_test_data): Likewise.
14181 (frexp_test_data): Likewise.
14182 (gamma_test_data): Likewise.
14183 (hypot_test_data): Likewise.
14184 (ilogb_test_data): Likewise.
14185 (isfinite_test_data): Likewise.
14186 (isgreater_test_data): Likewise.
14187 (isgreaterequal_test_data): Likewise.
14188 (isinf_test_data): Likewise.
14189 (isless_test_data): Likewise.
14190 (islessequal_test_data): Likewise.
14191 (islessgreater_test_data): Likewise.
14192 (isnan_test_data): Likewise.
14193 (isnormal_test_data): Likewise.
14194 (issignaling_test_data): Likewise.
14195 (isunordered_test_data): Likewise.
14196 (j0_test_data): Likewise.
14197 (j1_test_data): Likewise.
14198 (jn_test_data): Likewise.
14199 (ldexp_test_data): Likewise.
14200 (lgamma_test_data): Likewise.
14201 (lrint_test_data): Likewise.
14202 (lrint_tonearest_test_data): Likewise.
14203 (lrint_towardzero_test_data): Likewise.
14204 (lrint_downward_test_data): Likewise.
14205 (lrint_upward_test_data): Likewise.
14206 (llrint_test_data): Likewise.
14207 (llrint_tonearest_test_data): Likewise.
14208 (llrint_towardzero_test_data): Likewise.
14209 (llrint_downward_test_data): Likewise.
14210 (llrint_upward_test_data): Likewise.
14211 (log_test_data): Likewise.
14212 (log10_test_data): Likewise.
14213 (log1p_test_data): Likewise.
14214 (log2_test_data): Likewise.
14215 (logb_test_data): Likewise.
14216 (logb_downward_test_data): Likewise.
14217 (lround_test_data): Likewise.
14218 (llround_test_data): Likewise.
14219 (modf_test_data): Likewise.
14220 (nearbyint_test_data): Likewise.
14221 (nextafter_test_data): Likewise.
14222 (nexttoward_test_data): Likewise.
14223 (pow_test_data): Likewise.
14224 (pow_tonearest_test_data): Likewise.
14225 (pow_towardzero_test_data): Likewise.
14226 (pow_downward_test_data): Likewise.
14227 (pow_upward_test_data): Likewise.
14228 (remainder_test_data): Likewise.
14229 (remainder_tonearest_test_data): Likewise.
14230 (remainder_towardzero_test_data): Likewise.
14231 (remainder_downward_test_data): Likewise.
14232 (remainder_upward_test_data): Likewise.
14233 (remquo_test_data): Likewise.
14234 (rint_test_data): Likewise.
14235 (rint_tonearest_test_data): Likewise.
14236 (rint_towardzero_test_data): Likewise.
14237 (rint_downward_test_data): Likewise.
14238 (rint_upward_test_data): Likewise.
14239 (round_test_data): Likewise.
14240 (scalb_test_data): Likewise.
14241 (scalbn_test_data): Likewise.
14242 (scalbln_test_data): Likewise.
14243 (signbit_test_data): Likewise.
14244 (sin_test_data): Likewise.
14245 (sin_tonearest_test_data): Likewise.
14246 (sin_towardzero_test_data): Likewise.
14247 (sin_downward_test_data): Likewise.
14248 (sin_upward_test_data): Likewise.
14249 (sincos_test_data): Likewise.
14250 (sinh_test_data): Likewise.
14251 (sinh_tonearest_test_data): Likewise.
14252 (sinh_towardzero_test_data): Likewise.
14253 (sinh_downward_test_data): Likewise.
14254 (sinh_upward_test_data): Likewise.
14255 (sqrt_test_data): Likewise.
14256 (tan_test_data): Likewise.
14257 (tan_tonearest_test_data): Likewise.
14258 (tan_towardzero_test_data): Likewise.
14259 (tan_downward_test_data): Likewise.
14260 (tan_upward_test_data): Likewise.
14261 (tanh_test_data): Likewise.
14262 (tgamma_test_data): Likewise.
14263 (trunc_test_data): Likewise.
14264 (y0_test_data): Likewise.
14265 (y1_test_data): Likewise.
14266 (yn_test_data): Likewise.
14267 (significand_test_data): Likewise.
14269 * math/gen-libm-test.pl (@functions): Remove variable.
14270 (generate_testfile): Don't handle START and END lines.
14271 * math/libm-test.inc (START): New macro.
14273 (END_COMPLEX): Likewise.
14274 (acos_test): Use END macro without arguments.
14275 (acos_test_tonearest): Likewise.
14276 (acos_test_towardzero): Likewise.
14277 (acos_test_downward): Likewise.
14278 (acos_test_upward): Likewise.
14279 (acosh_test): Likewise.
14280 (asin_test): Likewise.
14281 (asin_test_tonearest): Likewise.
14282 (asin_test_towardzero): Likewise.
14283 (asin_test_downward): Likewise.
14284 (asin_test_upward): Likewise.
14285 (asinh_test): Likewise.
14286 (atan_test): Likewise.
14287 (atanh_test): Likewise.
14288 (atan2_test): Likewise.
14289 (cabs_test): Likewise.
14290 (cacos_test): Use END_COMPLEX macro without arguments.
14291 (cacosh_test): Likewise.
14292 (carg_test): Use END macro without arguments.
14293 (casin_test): Use END_COMPLEX macro without arguments.
14294 (casinh_test): Likewise.
14295 (catan_test): Likewise.
14296 (catanh_test): Likewise.
14297 (cbrt_test): Use END macro without arguments.
14298 (ccos_test): Use END_COMPLEX macro without arguments.
14299 (ccosh_test): Likewise.
14300 (ceil_test): Use END macro without arguments.
14301 (cexp_test): Use END_COMPLEX macro without arguments.
14302 (cimag_test): Use END macro without arguments.
14303 (clog_test): Use END_COMPLEX macro without arguments.
14304 (clog10_test): Likewise.
14305 (conj_test): Likewise.
14306 (copysign_test): Use END macro without arguments.
14307 (cos_test): Likewise.
14308 (cos_test_tonearest): Likewise.
14309 (cos_test_towardzero): Likewise.
14310 (cos_test_downward): Likewise.
14311 (cos_test_upward): Likewise.
14312 (cosh_test): Likewise.
14313 (cosh_test_tonearest): Likewise.
14314 (cosh_test_towardzero): Likewise.
14315 (cosh_test_downward): Likewise.
14316 (cosh_test_upward): Likewise.
14317 (cpow_test): Use END_COMPLEX macro without arguments.
14318 (cproj_test): Likewise.
14319 (creal_test): Use END macro without arguments.
14320 (csin_test): Use END_COMPLEX macro without arguments.
14321 (csinh_test): Likewise.
14322 (csqrt_test): Likewise.
14323 (ctan_test): Likewise.
14324 (ctan_test_tonearest): Likewise.
14325 (ctan_test_towardzero): Likewise.
14326 (ctan_test_downward): Likewise.
14327 (ctan_test_upward): Likewise.
14328 (ctanh_test): Likewise.
14329 (ctanh_test_tonearest): Likewise.
14330 (ctanh_test_towardzero): Likewise.
14331 (ctanh_test_downward): Likewise.
14332 (ctanh_test_upward): Likewise.
14333 (erf_test): Use END macro without arguments.
14334 (erfc_test): Likewise.
14335 (exp_test): Likewise.
14336 (exp_test_tonearest): Likewise.
14337 (exp_test_towardzero): Likewise.
14338 (exp_test_downward): Likewise.
14339 (exp_test_upward): Likewise.
14340 (exp10_test): Likewise.
14341 (exp2_test): Likewise.
14342 (expm1_test): Likewise.
14343 (fabs_test): Likewise.
14344 (fdim_test): Likewise.
14345 (finite_test): Likewise.
14346 (floor_test): Likewise.
14347 (fma_test): Likewise.
14348 (fma_test_towardzero): Likewise.
14349 (fma_test_downward): Likewise.
14350 (fma_test_upward): Likewise.
14351 (fmax_test): Likewise.
14352 (fmin_test): Likewise.
14353 (fmod_test): Likewise.
14354 (fpclassify_test): Likewise.
14355 (frexp_test): Likewise.
14356 (gamma_test): Likewise.
14357 (hypot_test): Likewise.
14358 (ilogb_test): Likewise.
14359 (isfinite_test): Likewise.
14360 (isgreater_test): Likewise.
14361 (isgreaterequal_test): Likewise.
14362 (isinf_test): Likewise.
14363 (isless_test): Likewise.
14364 (islessequal_test): Likewise.
14365 (islessgreater_test): Likewise.
14366 (isnan_test): Likewise.
14367 (isnormal_test): Likewise.
14368 (issignaling_test): Likewise.
14369 (isunordered_test): Likewise.
14370 (j0_test): Likewise.
14371 (j1_test): Likewise.
14372 (jn_test): Likewise.
14373 (ldexp_test): Likewise.
14374 (lgamma_test): Likewise.
14375 (lrint_test): Likewise.
14376 (lrint_test_tonearest): Likewise.
14377 (lrint_test_towardzero): Likewise.
14378 (lrint_test_downward): Likewise.
14379 (lrint_test_upward): Likewise.
14380 (llrint_test): Likewise.
14381 (llrint_test_tonearest): Likewise.
14382 (llrint_test_towardzero): Likewise.
14383 (llrint_test_downward): Likewise.
14384 (llrint_test_upward): Likewise.
14385 (log_test): Likewise.
14386 (log10_test): Likewise.
14387 (log1p_test): Likewise.
14388 (log2_test): Likewise.
14389 (logb_test): Likewise.
14390 (logb_test_downward): Likewise.
14391 (lround_test): Likewise.
14392 (llround_test): Likewise.
14393 (modf_test): Likewise.
14394 (nearbyint_test): Likewise.
14395 (nextafter_test): Likewise.
14396 (nexttoward_test): Likewise.
14397 (pow_test): Likewise.
14398 (pow_test_tonearest): Likewise.
14399 (pow_test_towardzero): Likewise.
14400 (pow_test_downward): Likewise.
14401 (pow_test_upward): Likewise.
14402 (remainder_test): Likewise.
14403 (remainder_test_tonearest): Likewise.
14404 (remainder_test_towardzero): Likewise.
14405 (remainder_test_downward): Likewise.
14406 (remainder_test_upward): Likewise.
14407 (remquo_test): Likewise.
14408 (rint_test): Likewise.
14409 (rint_test_tonearest): Likewise.
14410 (rint_test_towardzero): Likewise.
14411 (rint_test_downward): Likewise.
14412 (rint_test_upward): Likewise.
14413 (round_test): Likewise.
14414 (scalb_test): Likewise.
14415 (scalbn_test): Likewise.
14416 (scalbln_test): Likewise.
14417 (signbit_test): Likewise.
14418 (sin_test): Likewise.
14419 (sin_test_tonearest): Likewise.
14420 (sin_test_towardzero): Likewise.
14421 (sin_test_downward): Likewise.
14422 (sin_test_upward): Likewise.
14423 (sincos_test): Likewise.
14424 (sinh_test): Likewise.
14425 (sinh_test_tonearest): Likewise.
14426 (sinh_test_towardzero): Likewise.
14427 (sinh_test_downward): Likewise.
14428 (sinh_test_upward): Likewise.
14429 (sqrt_test): Likewise.
14430 (tan_test): Likewise.
14431 (tan_test_tonearest): Likewise.
14432 (tan_test_towardzero): Likewise.
14433 (tan_test_downward): Likewise.
14434 (tan_test_upward): Likewise.
14435 (tanh_test): Likewise.
14436 (tgamma_test): Likewise.
14437 (trunc_test): Likewise.
14438 (y0_test): Likewise.
14439 (y1_test): Likewise.
14440 (yn_test): Likewise.
14441 (significand_test): Likewise.
14443 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14446 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14448 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14451 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14452 __ppc_mdoio and __ppc_mdoom.
14453 * manual/platform.texi: Document new functions __ppc_yield,
14454 __ppc_mdoio and __ppc_mdoom.
14456 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14458 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14459 (main): Mention "tls" pseudo-hwcap is legacy.
14460 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14462 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14464 * math/gen-libm-test.pl (parse_args): Output only string of
14465 arguments as text for test name, not full call or descriptions of
14466 tests for extra outputs.
14467 (generate_testfile): Do not pass function name to parse_args.
14468 Generate this_func variable from START.
14469 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14471 (struct test_ff_f_data): Likewise.
14472 (test_ff_f_data_nexttoward): Likewise.
14473 (struct test_fi_f_data): Likewise.
14474 (struct test_fl_f_data): Likewise.
14475 (struct test_if_f_data): Likewise.
14476 (struct test_fff_f_data): Likewise.
14477 (struct test_c_f_data): Likewise.
14478 (struct test_f_f1_data): Likewise. Remove field extra_name.
14479 (struct test_fF_f1_data): Likewise.
14480 (struct test_ffI_f1_data): Likewise.
14481 (struct test_c_c_data): Rename test_name field to arg_str.
14482 (struct test_cc_c_data): Likewise.
14483 (struct test_f_i_data): Likewise.
14484 (struct test_ff_i_data): Likewise.
14485 (struct test_f_l_data): Likewise.
14486 (struct test_f_L_data): Likewise.
14487 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14489 (COMMON_TEST_SETUP): New macro.
14490 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14491 (COMMON_TEST_CLEANUP): Likewise.
14492 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14493 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14495 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14496 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14498 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14499 (RUN_TEST_fff_f): Take argument string. Call new setup and
14501 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14502 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14504 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14505 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14507 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14508 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14510 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14511 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14513 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14514 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14516 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14517 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14519 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14520 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14522 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14523 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14525 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14526 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14528 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14529 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14531 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14532 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14534 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14535 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14537 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14538 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14540 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14541 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14543 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14544 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14546 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14548 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14550 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14551 to _sifields.sigfault.
14552 (si_addr_lsb): Define new macro.
14553 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14554 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14555 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14557 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14560 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14562 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14564 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14565 loading the domain.
14567 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14569 * math/gen-libm-test.pl (parse_args): Do not include expected
14570 result in test name.
14571 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14575 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14578 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * benchtests/Makefile: Sort function entries.
14582 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14583 tanh, asinh, acosh, atanh.
14584 * benchtests/acos-inputs: New file.
14585 * benchtests/acosh-inputs: New file.
14586 * benchtests/asin-inputs: New file.
14587 * benchtests/asinh-inputs: New file.
14588 * benchtests/atanh-inputs: New file.
14589 * benchtests/cosh-inputs: New file.
14590 * benchtests/log-inputs: New file.
14591 * benchtests/sinh-inputs: New file.
14592 * benchtests/tanh-inputs: New file.
14594 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14597 * posix/tst-getaddrinfo4.c: New test.
14598 * posix/Makefile (tests): Add it.
14600 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14603 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14604 when no services were used.
14605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14606 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14608 2013-05-21 Andreas Schwab <schwab@suse.de>
14611 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14612 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14614 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14615 redundant variable declarations and reallocation of buffer when
14616 parsing as IPv6 address. Always set NSS status when called from
14617 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14618 buffer too small. Correct computation of needed size.
14619 * nss/Makefile (tests): Add test-digits-dots.
14620 * nss/test-digits-dots.c: New test.
14622 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14624 * benchtests/Makefile: Remove instructions for adding
14626 * benchtests/README: New file to explain how to execute and
14627 enhance the benchmark tests.
14629 2013-05-21 Andreas Schwab <schwab@suse.de>
14632 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14633 * setjmp/tst-sigsetjmp.c: New test.
14635 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14637 * sysdeps/x86_64/memset.S (memset): New implementation.
14638 (__bzero): Likewise.
14639 (__memset_tail): New function.
14641 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14643 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14644 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14645 __memcpy_sse2_unaligned ifunc selection.
14646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14647 Add memcpy-sse2-unaligned.S.
14648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14649 Add: __memcpy_sse2_unaligned.
14651 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14654 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14655 math_force_eval before restoring floating-point envrionment.
14656 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14661 (__nearbyintl): Use math_force_eval before restoring
14662 floating-point environment.
14663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14665 * math/gen-libm-test.pl (special_functions): Remove.
14666 (parse_args): Don't handle TEST_extra. Handle functions with no
14668 * math/libm-test.inc (struct test_sincos_data): Replace with
14669 struct test_fFF_11_data.
14670 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14671 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14672 (sincos_test_data): Change element type to struct
14673 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14674 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14675 RUN_TEST_LOOP_sincos.
14676 * math/README.libm-test: Don't mention special handling of
14677 individual functions.
14678 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14680 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14681 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14682 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14685 * math/gen-libm-test.pl (get_variable): Remove function.
14686 (parse_args): Don't show pointer parameters to call in test
14687 names. Use "extra output N" in test names for extra outputs
14688 rather than naming variables.
14690 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14693 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14694 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14695 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14697 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14699 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14702 * math/gen-libm-test.pl (@tests): Remove variable.
14703 ($count): Likewise.
14704 (new_test): Remove function.
14705 (show_exceptions): New function.
14706 (special_functions): Use show_exceptions instead of new_test.
14707 (parse_args): Likewise.
14708 (generate_testfile): Pass only function name in generated call to
14709 print_max_error or print_complex_max_error.
14710 (get_ulps): Do not handle complex tests specially.
14711 (output_test): Rename to ...
14712 (get_all_ulps_for_test): ... this. Return a string rather than
14713 printing to a file. Require ulps to be present.
14714 (output_ulps): Generate arrays rather than #defines.
14715 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14716 (struct ulp_data): New type.
14717 (BUILD_COMPLEX_ULP): Remove macro.
14718 (compare_ulp_data): New function.
14719 (find_ulps): Likewise.
14720 (find_test_ulps): Likewise.
14721 (find_function_ulps): Likewise.
14722 (find_complex_function_ulps): Likewise.
14723 (print_max_error): Determine allowed ulps using
14724 find_function_ulps.
14725 (print_complex_max_error): Determine allowed ulps using
14726 find_complex_function_ulps.
14727 (check_float_internal): Determine max ulps using find_test_ulps.
14728 (check_float): Do not take max_ulp parameter. Update call to
14729 check_float_internal.
14730 (check_complex): Likewise.
14731 (check_int): Do not take max_ulp parameter.
14732 (check_long): Likewise.
14733 (check_bool): Likewise.
14734 (check_longlong): Likewise.
14735 (struct test_f_f_data): Remove max_ulp field.
14736 (struct test_ff_f_data): Likewise.
14737 (struct test_ff_f_data_nexttoward): Likewise.
14738 (struct test_fi_f_data): Likewise.
14739 (struct test_fl_f_data): Likewise.
14740 (struct test_if_f_data): Likewise.
14741 (struct test_fff_f_data): Likewise.
14742 (struct test_c_f_data): Likewise.
14743 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14744 (struct test_fF_f1_data): Likewise.
14745 (struct test_ffI_f1_data): Likewise.
14746 (struct test_c_c_data): Remove max_ulp field.
14747 (struct test_cc_c_data): Likewise.
14748 (struct test_f_i_data): Likewise.
14749 (struct test_ff_i_data): Likewise.
14750 (struct test_f_l_data): Likewise.
14751 (struct test_f_L_data): Likewise.
14752 (struct test_sincos_data): Likewise.
14753 (RUN_TEST_f_f): Do not handle ulps.
14754 (RUN_TEST_LOOP_f_f): Likewise.
14755 (RUN_TEST_2_f): Likewise.
14756 (RUN_TEST_LOOP_2_f): Likewise.
14757 (RUN_TEST_fff_f): Likewise.
14758 (RUN_TEST_LOOP_fff_f): Likewise.
14759 (RUN_TEST_c_f): Likewise.
14760 (RUN_TEST_LOOP_c_f): Likewise.
14761 (RUN_TEST_f_f1): Likewise.
14762 (RUN_TEST_LOOP_f_f1): Likewise.
14763 (RUN_TEST_fF_f1): Likewise.
14764 (RUN_TEST_LOOP_fF_f1): Likewise.
14765 (RUN_TEST_fI_f1): Likewise.
14766 (RUN_TEST_LOOP_fI_f1): Likewise.
14767 (RUN_TEST_ffI_f1): Likewise.
14768 (RUN_TEST_LOOP_ffI_f1): Likewise.
14769 (RUN_TEST_c_c): Likewise.
14770 (RUN_TEST_LOOP_c_c): Likewise.
14771 (RUN_TEST_cc_c): Likewise.
14772 (RUN_TEST_LOOP_cc_c): Likewise.
14773 (RUN_TEST_f_i): Likewise.
14774 (RUN_TEST_LOOP_f_i): Likewise.
14775 (RUN_TEST_f_i_tg): Likewise.
14776 (RUN_TEST_LOOP_f_i_tg): Likewise.
14777 (RUN_TEST_ff_i_tg): Likewise.
14778 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14779 (RUN_TEST_f_b): Likewise.
14780 (RUN_TEST_LOOP_f_b): Likewise.
14781 (RUN_TEST_f_b_tg): Likewise.
14782 (RUN_TEST_LOOP_f_b_tg): Likewise.
14783 (RUN_TEST_f_l): Likewise.
14784 (RUN_TEST_LOOP_f_l): Likewise.
14785 (RUN_TEST_f_L): Likewise.
14786 (RUN_TEST_LOOP_f_L): Likewise.
14787 (RUN_TEST_sincos): Likewise.
14788 (RUN_TEST_LOOP_sincos): Likewise.
14790 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14794 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14795 main case of finite arguments, set rounding mode to FE_TONEAREST
14796 and discard exceptions.
14797 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14799 (remainder_tonearest_test_data): New variable.
14800 (remainder_test_tonearest): New function.
14801 (remainder_towardzero_test_data): New variable.
14802 (remainder_test_towardzero): New function.
14803 (remainder_downward_test_data): New variable.
14804 (remainder_test_downward): New function.
14805 (remainder_upward_test_data): New variable.
14806 (remainder_test_upward): New function.
14807 (main): Call the new test functions.
14809 * math/libm-test.inc (struct test_f_f1_data): Remove field
14811 (struct test_fF_f1_data): Likewise.
14812 (struct test_ffI_f1_data): Likewise.
14813 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14814 based on value of EXTRA_EXPECTED.
14815 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14816 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14817 EXTRA_VAR based on value of EXTRA_EXPECTED.
14818 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14819 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14820 EXTRA_VAR based on value of EXTRA_EXPECTED.
14821 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14822 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14823 EXTRA_VAR based on value of EXTRA_EXPECTED.
14824 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14825 * math/gen-libm-test.pl (parse_args): Don't output initializers
14826 for extra output values.
14828 * math/libm-test.inc (check_int): Expect result to be exactly
14829 equal to expected value and do not handle ulps.
14830 (check_long): Likewise.
14831 (check_longlong): Likewise.
14833 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14835 (cimag_test_data): Likewise.
14836 (conj_test_data): Likewise.
14837 (copysign_test_data): Likewise.
14838 (cproj_test_data): Likewise.
14839 (creal_test_data): Likewise.
14840 (fabs_test_data): Likewise.
14841 (fdim_test_data): Likewise.
14842 (finite_test_data): Likewise.
14843 (floor_test_data): Likewise.
14844 (fmax_test_data): Likewise.
14845 (fmin_test_data): Likewise.
14846 (fmod_test_data): Likewise.
14847 (fpclassify_test_data): Likewise.
14848 (frexp_test_data): Likewise.
14849 (ilogb_test_data): Likewise.
14850 (isfinite_test_data): Likewise.
14851 (isgreater_test_data): Likewise.
14852 (isgreaterequal_test_data): Likewise.
14853 (isinf_test_data): Likewise.
14854 (isless_test_data): Likewise.
14855 (islessequal_test_data): Likewise.
14856 (islessgreater_test_data): Likewise.
14857 (isnan_test_data): Likewise.
14858 (isnormal_test_data): Likewise.
14859 (issignaling_test_data): Likewise.
14860 (isunordered_test_data): Likewise.
14861 (ldexp_test_data): Likewise.
14862 (lrint_test_data): Likewise.
14863 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14864 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14865 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14866 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14867 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14868 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14870 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14871 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14872 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14873 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14875 (lrint_downward_test_data): Test for "inexact" exceptions.
14876 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14877 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14878 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14880 (lrint_upward_test_data): Test for "inexact" exceptions.
14881 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14883 (llrint_test_data): Test for "inexact" exceptions.
14884 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14885 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14886 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14887 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14888 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14889 (llrint_downward_test_data): Test for "inexact" exceptions.
14890 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14891 (llrint_upward_test_data): Test for "inexact" exceptions.
14892 (logb_test_data): Likewise.
14893 (logb_downward_test_data): Likewise.
14894 (nextafter_test_data): Likewise.
14895 (nexttoward_test_data): Likewise.
14896 (remainder_test_data): Likewise.
14897 (remquo_test_data): Likewise.
14898 (scalbn_test_data): Likewise.
14899 (scalbln_test_data): Likewise.
14900 (signbit_test_data): Likewise.
14901 (sqrt_test_data): Likewise.
14902 (significand_test_data): Likewise.
14904 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14907 * benchtests/bench-modf.c (struct args): Mark arg0 as
14909 * scripts/bench.pl: Mark members of struct args as volatile.
14911 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14914 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14915 negative infinity on POWER6 or lower.
14916 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14918 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14921 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14922 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14923 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14924 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14925 (_FP_SETQNAN): New macro.
14926 (_FP_SETQNAN_SEMIRAW): Likewise.
14927 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14928 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14929 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14930 (FP_EXTEND): Use _FP_FRAC_SNANP.
14931 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14932 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14934 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14936 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14939 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14941 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14942 with DIVIDE_BY_ZERO_EXCEPTION.
14943 (gamma_test_data): Likewise.
14944 (lgamma_test_data): Likewise.
14945 (log_test_data): Likewise.
14946 (log10_test_data): Likewise.
14947 (log2_test_data): Likewise.
14948 (tgamma_test_data): Likewise.
14950 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14951 (acos_test_tonearest): Likewise.
14952 (acos_test_towardzero): Likewise.
14953 (acos_test_downward): Likewise.
14954 (acos_test_upward): Likewise.
14955 (acosh_test): Likewise.
14956 (asin_test): Likewise.
14957 (asin_test_tonearest): Likewise.
14958 (asin_test_towardzero): Likewise.
14959 (asin_test_downward): Likewise.
14960 (asin_test_upward): Likewise.
14961 (asinh_test): Likewise.
14962 (atan_test): Likewise.
14963 (atanh_test): Likewise.
14964 (atan2_test): Likewise.
14965 (cabs_test): Likewise.
14966 (cacos_test): Likewise.
14967 (cacosh_test): Likewise.
14968 (casin_test): Likewise.
14969 (casinh_test): Likewise.
14970 (catan_test): Likewise.
14971 (catanh_test): Likewise.
14972 (cbrt_test): Likewise.
14973 (ccos_test): Likewise.
14974 (ccosh_test): Likewise.
14975 (cexp_test): Likewise.
14976 (clog_test): Likewise.
14977 (clog10_test): Likewise.
14978 (cos_test): Likewise.
14979 (cos_test_tonearest): Likewise.
14980 (cos_test_towardzero): Likewise.
14981 (cos_test_downward): Likewise.
14982 (cos_test_upward): Likewise.
14983 (cosh_test): Likewise.
14984 (cosh_test_tonearest): Likewise.
14985 (cosh_test_towardzero): Likewise.
14986 (cosh_test_downward): Likewise.
14987 (cosh_test_upward): Likewise.
14988 (cpow_test): Likewise.
14989 (csin_test): Likewise.
14990 (csinh_test): Likewise.
14991 (csqrt_test): Likewise.
14992 (ctan_test): Likewise.
14993 (ctan_test_tonearest): Likewise.
14994 (ctan_test_towardzero): Likewise.
14995 (ctan_test_downward): Likewise.
14996 (ctan_test_upward): Likewise.
14997 (ctanh_test): Likewise.
14998 (ctanh_test_tonearest): Likewise.
14999 (ctanh_test_towardzero): Likewise.
15000 (ctanh_test_downward): Likewise.
15001 (ctanh_test_upward): Likewise.
15002 (erf_test): Likewise.
15003 (erfc_test): Likewise.
15004 (exp_test): Likewise.
15005 (exp_test_tonearest): Likewise.
15006 (exp_test_towardzero): Likewise.
15007 (exp_test_downward): Likewise.
15008 (exp_test_upward): Likewise.
15009 (exp10_test): Likewise.
15010 (exp2_test): Likewise.
15011 (expm1_test): Likewise.
15012 (fmod_test): Likewise.
15013 (gamma_test): Likewise.
15014 (hypot_test): Likewise.
15015 (j0_test): Likewise.
15016 (j1_test): Likewise.
15017 (jn_test): Likewise.
15018 (lgamma_test): Likewise.
15019 (log_test): Likewise.
15020 (log10_test): Likewise.
15021 (log1p_test): Likewise.
15022 (log2_test): Likewise.
15023 (logb_test_downward): Likewise.
15024 (pow_test): Likewise.
15025 (pow_test_tonearest): Likewise.
15026 (pow_test_towardzero): Likewise.
15027 (pow_test_downward): Likewise.
15028 (pow_test_upward): Likewise.
15029 (remainder_test): Likewise.
15030 (remquo_test): Likewise.
15031 (sin_test): Likewise.
15032 (sin_test_tonearest): Likewise.
15033 (sin_test_towardzero): Likewise.
15034 (sin_test_downward): Likewise.
15035 (sin_test_upward): Likewise.
15036 (sincos_test): Likewise.
15037 (sinh_test): Likewise.
15038 (sinh_test_tonearest): Likewise.
15039 (sinh_test_towardzero): Likewise.
15040 (sinh_test_downward): Likewise.
15041 (sinh_test_upward): Likewise.
15042 (sqrt_test): Likewise.
15043 (tan_test): Likewise.
15044 (tan_test_tonearest): Likewise.
15045 (tan_test_towardzero): Likewise.
15046 (tan_test_downward): Likewise.
15047 (tan_test_upward): Likewise.
15048 (tanh_test): Likewise.
15049 (tgamma_test): Likewise.
15050 (y0_test): Likewise.
15051 (y1_test): Likewise.
15052 (yn_test): Likewise.
15054 * math/gen-libm-test.pl (adjust_arg): Remove function.
15055 (special_function): Remove argument $in_func. Only handle
15056 generating output for tables of tests, not inside functions.
15057 (parse_args): Likewise.
15058 (generate_testfile): Remove variable $in_func. Update call to
15060 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15061 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15062 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15063 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15064 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15065 (MAX_VALUE_INIT): Rename macro to max_value.
15066 (MIN_VALUE_INIT): Rename macro to min_value.
15067 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15068 (plus_zero): Remove variable.
15069 (minus_zero): Likewise.
15070 (plus_infty): Likewise.
15071 (minus_infty): Likewise.
15072 (qnan_value): Likewise.
15073 (max_value): Likewise.
15074 (min_value): Likewise.
15075 (min_subnorm_value): Likewise.
15077 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15079 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15080 uint64_t or uint32_t usage.
15081 * crypt/sha256-block.c: Likewise.
15082 * crypt/sha256-crypt.c: Likewise.
15083 * crypt/sha256.c: Likewise.
15084 * crypt/sha512-block.c: Likewise.
15085 * crypt/sha512-crypt.c: Likewise.
15086 * crypt/sha512.c: Likewise.
15087 * debug/backtrace-tst.c: Likewise.
15088 * debug/pcprofiledump.c: Likewise.
15089 * elf/cache.c: Likewise.
15090 * elf/dl-cache.c: Likewise.
15091 * elf/dl-misc.c: Likewise.
15092 * elf/dl-profile.c: Likewise.
15093 * elf/dl-support.c: Likewise.
15094 * elf/ldconfig.c: Likewise.
15095 * elf/sprof.c: Likewise.
15096 * iconv/dummy-repertoire.c: Likewise.
15097 * iconv/iconv_charmap.c: Likewise.
15098 * iconv/skeleton.c: Likewise.
15099 * iconvdata/8bit-generic.c: Likewise.
15100 * iconvdata/cp737.h: Likewise.
15101 * iconvdata/cp775.h: Likewise.
15102 * iconvdata/ibm1008.h: Likewise.
15103 * iconvdata/ibm1025.h: Likewise.
15104 * iconvdata/ibm1046.h: Likewise.
15105 * iconvdata/ibm1097.h: Likewise.
15106 * iconvdata/ibm1112.h: Likewise.
15107 * iconvdata/ibm1122.h: Likewise.
15108 * iconvdata/ibm1123.h: Likewise.
15109 * iconvdata/ibm1124.h: Likewise.
15110 * iconvdata/ibm1129.h: Likewise.
15111 * iconvdata/ibm1130.h: Likewise.
15112 * iconvdata/ibm1132.h: Likewise.
15113 * iconvdata/ibm1133.h: Likewise.
15114 * iconvdata/ibm1137.h: Likewise.
15115 * iconvdata/ibm1140.h: Likewise.
15116 * iconvdata/ibm1141.h: Likewise.
15117 * iconvdata/ibm1142.h: Likewise.
15118 * iconvdata/ibm1143.h: Likewise.
15119 * iconvdata/ibm1144.h: Likewise.
15120 * iconvdata/ibm1145.h: Likewise.
15121 * iconvdata/ibm1146.h: Likewise.
15122 * iconvdata/ibm1147.h: Likewise.
15123 * iconvdata/ibm1148.h: Likewise.
15124 * iconvdata/ibm1149.h: Likewise.
15125 * iconvdata/ibm1153.h: Likewise.
15126 * iconvdata/ibm1154.h: Likewise.
15127 * iconvdata/ibm1155.h: Likewise.
15128 * iconvdata/ibm1156.h: Likewise.
15129 * iconvdata/ibm1157.h: Likewise.
15130 * iconvdata/ibm1158.h: Likewise.
15131 * iconvdata/ibm1160.h: Likewise.
15132 * iconvdata/ibm1161.h: Likewise.
15133 * iconvdata/ibm1162.h: Likewise.
15134 * iconvdata/ibm1163.h: Likewise.
15135 * iconvdata/ibm1164.h: Likewise.
15136 * iconvdata/ibm1166.h: Likewise.
15137 * iconvdata/ibm1167.h: Likewise.
15138 * iconvdata/ibm12712.h: Likewise.
15139 * iconvdata/ibm1390.h: Likewise.
15140 * iconvdata/ibm1399.h: Likewise.
15141 * iconvdata/ibm16804.h: Likewise.
15142 * iconvdata/ibm4517.h: Likewise.
15143 * iconvdata/ibm4899.h: Likewise.
15144 * iconvdata/ibm4909.h: Likewise.
15145 * iconvdata/ibm4971.h: Likewise.
15146 * iconvdata/ibm5347.h: Likewise.
15147 * iconvdata/ibm803.h: Likewise.
15148 * iconvdata/ibm856.h: Likewise.
15149 * iconvdata/ibm901.h: Likewise.
15150 * iconvdata/ibm902.h: Likewise.
15151 * iconvdata/ibm9030.h: Likewise.
15152 * iconvdata/ibm9066.h: Likewise.
15153 * iconvdata/ibm921.h: Likewise.
15154 * iconvdata/ibm922.h: Likewise.
15155 * iconvdata/ibm9448.h: Likewise.
15156 * iconvdata/isiri-3342.h: Likewise.
15157 * iconvdata/jis0201.h: Likewise.
15158 * include/link.h: Likewise.
15159 * include/netdb.h: Likewise.
15160 * inet/check_native.c: Likewise.
15161 * inet/check_pf.c: Likewise.
15162 * inet/getipv4sourcefilter.c: Likewise.
15163 * inet/getnameinfo.c: Likewise.
15164 * inet/getsourcefilter.c: Likewise.
15165 * inet/htonl.c: Likewise.
15166 * inet/setipv4sourcefilter.c: Likewise.
15167 * inet/setsourcefilter.c: Likewise.
15168 * inet/test-inet6_opt.c: Likewise.
15169 * inet/tst-network.c: Likewise.
15170 * locale/C-collate.c: Likewise.
15171 * locale/C-ctype.c: Likewise.
15172 * locale/C-time.c: Likewise.
15173 * locale/C-translit.h: Likewise.
15174 * locale/loadarchive.c: Likewise.
15175 * locale/programs/3level.h: Likewise.
15176 * locale/programs/charmap.c: Likewise.
15177 * locale/programs/charmap.h: Likewise.
15178 * locale/programs/ld-address.c: Likewise.
15179 * locale/programs/ld-collate.c: Likewise.
15180 * locale/programs/ld-ctype.c: Likewise.
15181 * locale/programs/ld-identification.c: Likewise.
15182 * locale/programs/ld-measurement.c: Likewise.
15183 * locale/programs/ld-messages.c: Likewise.
15184 * locale/programs/ld-monetary.c: Likewise.
15185 * locale/programs/ld-name.c: Likewise.
15186 * locale/programs/ld-numeric.c: Likewise.
15187 * locale/programs/ld-paper.c: Likewise.
15188 * locale/programs/ld-telephone.c: Likewise.
15189 * locale/programs/ld-time.c: Likewise.
15190 * locale/programs/linereader.c: Likewise.
15191 * locale/programs/locale.c: Likewise.
15192 * locale/programs/locarchive.c: Likewise.
15193 * locale/programs/locfile.h: Likewise.
15194 * locale/programs/repertoire.c: Likewise.
15195 * locale/programs/simple-hash.c: Likewise.
15196 * locale/programs/simple-hash.h: Likewise.
15197 * malloc/memusage.c: Likewise.
15198 * malloc/memusagestat.c: Likewise.
15199 * nis/nis_defaults.c: Likewise.
15200 * nis/nis_hash.c: Likewise.
15201 * nis/nis_print.c: Likewise.
15202 * nis/nis_xdr.c: Likewise.
15203 * nscd/connections.c: Likewise.
15204 * nscd/hstcache.c: Likewise.
15205 * nscd/nscd_gethst_r.c: Likewise.
15206 * nscd/nscd_getserv_r.c: Likewise.
15207 * nscd/nscd_helper.c: Likewise.
15208 * nscd/servicescache.c: Likewise.
15209 * nss/makedb.c: Likewise.
15210 * nss/nss_db/db-XXX.c: Likewise.
15211 * nss/nss_db/db-initgroups.c: Likewise.
15212 * nss/nss_db/db-netgrp.c: Likewise.
15213 * nss/nss_files/files-network.c: Likewise.
15214 * nss/nss_files/files-parse.c: Likewise.
15215 * posix/bug-regex5.c: Likewise.
15216 * posix/fnmatch_loop.c: Likewise.
15217 * posix/regcomp.c: Likewise.
15218 * posix/regexec.c: Likewise.
15219 * posix/tst-rfc3484-2.c: Likewise.
15220 * posix/tst-rfc3484-3.c: Likewise.
15221 * posix/tst-rfc3484.c: Likewise.
15222 * resolv/nss_dns/dns-canon.c: Likewise.
15223 * resolv/nss_dns/dns-network.c: Likewise.
15224 * resolv/res_init.c: Likewise.
15225 * resolv/res_mkquery.c: Likewise.
15226 * resolv/tst-aton.c: Likewise.
15227 * stdlib/cxa_atexit.c: Likewise.
15228 * stdlib/cxa_finalize.c: Likewise.
15229 * stdlib/gen-fpioconst.c: Likewise.
15230 * stdlib/strtol_l.c: Likewise.
15231 * string/tst-endian.c: Likewise.
15232 * sunrpc/auth_des.c: Likewise.
15233 * sunrpc/clnt_udp.c: Likewise.
15234 * sunrpc/rtime.c: Likewise.
15235 * sunrpc/svcauth_des.c: Likewise.
15236 * sunrpc/xdr.c: Likewise.
15237 * sunrpc/xdr_intXX_t.c: Likewise.
15238 * sunrpc/xdr_rec.c: Likewise.
15239 * sysdeps/generic/ldconfig.h: Likewise.
15240 * sysdeps/generic/ldsodefs.h: Likewise.
15241 * sysdeps/generic/memusage.h: Likewise.
15242 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15245 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15252 * sysdeps/posix/getaddrinfo.c: Likewise.
15253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15255 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15256 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15257 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15258 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15259 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15260 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15261 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15262 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15263 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15264 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15265 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15266 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15267 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15268 * sysdeps/x86_64/dl-tls.h: Likewise.
15269 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15270 * time/alt_digit.c: Likewise.
15271 * time/era.c: Likewise.
15272 * wcsmbs/tst-c16c32-1.c: Likewise.
15274 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15276 * math/libm-test.inc (struct test_sincos_data): New type.
15277 (RUN_TEST_LOOP_sincos): New macro.
15278 (sincos_test_data): New variable.
15279 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15281 2013-05-16 Richard Henderson <rth@redhat.com>
15283 * math/atest-exp2.c (LIMB64): New macro.
15284 (CONSTSZ): New macro.
15285 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15287 (print_mpn_fp): ... to function scope.
15288 (read_mpn_hex): Remove.
15289 (get_log2): Remove.
15290 (exp2_mpn): Use mp_log2.
15291 (main): Use mp_exp1.
15293 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15295 * math/libm-test.inc: Remove comment about not testing "inexact"
15297 (INEXACT_EXCEPTION): New macro.
15298 (NO_INEXACT_EXCEPTION): Likewise.
15299 (INVALID_EXCEPTION_OK): Update value.
15300 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15301 (OVERFLOW_EXCEPTION_OK): Likewise.
15302 (UNDERFLOW_EXCEPTION_OK): Likewise.
15303 (IGNORE_ZERO_INF_SIGN): Likewise.
15304 (ERRNO_UNCHANGED): Likewise.
15305 (ERRNO_EDOM): Likewise.
15306 (ERRNO_ERANGE): Likewise.
15307 (test_exceptions): Handle testing "inexact" exceptions.
15308 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15309 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15310 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15311 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15313 (rint_towardzero_test_data): Likewise.
15314 (rint_downward_test_data): Likewise.
15315 (rint_upward_test_data): Likewise.
15317 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15318 with OVERFLOW_EXCEPTION.
15319 (exp10_test_data): Likewise.
15320 (exp2_test_data): Likewise.
15321 (expm1_test_data): Likewise.
15322 (lgamma_test_data): Likewise.
15323 (pow_test_data): Likewise.
15324 (tgamma_test_data): Likewise.
15325 (yn_test_data): Remove duplicate test of overflow.
15327 * math/libm-test.inc (struct test_cc_c_data): New type.
15328 (RUN_TEST_LOOP_cc_c): New macro.
15329 (cpow_test_data): New variable.
15330 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15332 * math/libm-test.inc (struct test_f_L_data): New type.
15333 (RUN_TEST_LOOP_f_L): New macro.
15334 (llrint_test_data): New variable.
15335 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15336 (llrint_tonearest_test_data): New variable.
15337 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15338 (llrint_towardzero_test_data): New variable.
15339 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15340 (llrint_downward_test_data): New variable.
15341 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15342 (llrint_upward_test_data): New variable.
15343 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15344 (llround_test_data): New variable.
15345 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15347 2013-05-13 Peter Collingbourne <pcc@google.com>
15349 * math/atest-exp2.c (get_log2): Remove const attribute.
15351 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15353 * math/libm-test.inc (struct test_f_l_data): New type.
15354 (RUN_TEST_LOOP_f_l): New macro.
15355 (lrint_test_data): New variable.
15356 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15357 (lrint_tonearest_test_data): New variable.
15358 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15359 (lrint_towardzero_test_data): New variable.
15360 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15361 (lrint_downward_test_data): New variable.
15362 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15363 (lrint_upward_test_data): New variable.
15364 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15365 (lround_test_data): New variable.
15366 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15368 2013-05-15 Peter Collingbourne <pcc@google.com>
15370 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15371 (EXTRACT_WORDS64) Use where appropriate.
15372 (INSERT_WORDS64) Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15375 constraints with x constraints.
15376 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15378 * malloc/obstack.c (_obstack_compat): Add initializer.
15380 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15382 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15383 si_trapno and add si_addr_lsb to _sifields.sigfault.
15384 (si_trapno): Remove macro.
15385 (si_addr_lsb): Define new macro.
15386 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15388 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15390 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15391 instead of TEST_f_l.
15392 (llrint_test_tonearest): Likewise.
15393 (llrint_test_towardzero): Likewise.
15394 (llrint_test_downward): Likewise.
15395 (llrint_test_upward): Likewise.
15396 (llround_test): Likewise.
15398 * math/libm-test.inc (struct test_f_i_data): Add comment.
15399 (RUN_TEST_LOOP_f_b): New macro.
15400 (RUN_TEST_LOOP_f_b_tg): Likewise.
15401 (finite_test_data): New variable.
15402 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15403 (isfinite_test_data): New variable.
15404 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15405 (isinf_test_data): New variable.
15406 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15407 (isnan_test_data): New variable.
15408 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15409 (isnormal_test_data): New variable.
15410 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15411 (issignaling_test_data): New variable.
15412 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15413 (signbit_test_data): New variable.
15414 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15416 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15417 with INVALID_EXCEPTION.
15418 (acosh_test_data): Likewise.
15419 (asin_test_data): Likewise.
15420 (atanh_test_data): Likewise.
15421 (fmod_test_data): Likewise.
15422 (log_test_data): Likewise.
15423 (log10_test_data): Likewise.
15424 (log2_test_data): Likewise.
15425 (pow_test_data): Likewise.
15426 (sqrt_test_data): Likewise.
15427 (y0_test_data): Likewise.
15428 (y1_test_data): Likewise.
15429 (yn_test_data): Likewise.
15431 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15434 * math/libm-test.inc (struct test_ff_i_data): New type.
15435 (RUN_TEST_LOOP_ff_i_tg): New macro.
15436 (isgreater_test_data): New variable.
15437 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15438 (isgreaterequal_test_data): New variable.
15439 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15440 (isless_test_data): New variable.
15441 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15442 (islessequal_test_data): New variable.
15443 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15444 (islessgreater_test_data): New variable.
15445 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15446 (isunordered_test_data): New variable.
15447 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15449 2013-05-14 David S. Miller <davem@davemloft.net>
15451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15453 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15455 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15457 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15459 (struct test_f_i_data): Change type of max_ulp to int.
15461 * math/libm-test.inc (test_ffI_f1_data): New type.
15462 (RUN_TEST_LOOP_ffI_f1): New macro.
15463 (remquo_test_data): New variable.
15464 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15466 * setjmp/tst-setjmp-fp.c: New file.
15467 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15468 (link-libm): New variable.
15469 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15471 * math/libm-test.inc (struct test_f_i_data): New type.
15472 (RUN_TEST_LOOP_f_i): New macro.
15473 (RUN_TEST_LOOP_f_i_tg): Likewise.
15474 (fpclassify_test_data): New variable.
15475 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15476 (ilogb_test_data): New variable.
15477 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15479 * math/libm-test.inc (scalbln_test): Correct function name in END
15482 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15483 (RUN_TEST_LOOP_fI_f1): New macro.
15484 (frexp_test_data): New variable.
15485 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15487 * math/libm-test.inc (struct test_fF_f1_data): New type.
15488 (RUN_TEST_LOOP_fF_f1): New macro.
15489 (modf_test_data): New variable.
15490 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15492 * math/libm-test.inc (struct test_f_f1_data): New type.
15493 (RUN_TEST_LOOP_f_f1): New macro.
15494 (gamma_test_data): New variable.
15495 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15496 (lgamma_test_data): New variable.
15497 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15499 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15502 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15503 (main): Comment "tls" pseudo-hwcap.
15505 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15507 * math/libm-test.inc (struct test_fl_f_data): New type.
15508 (RUN_TEST_LOOP_fl_f): New variable.
15509 (scalbln_test_data): New variable.
15510 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15512 * math/libm-test.inc (struct test_fi_f_data): New type.
15513 (RUN_TEST_LOOP_fi_f): New macro.
15514 (ldexp_test_data): New variable.
15515 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15516 (scalbn_test_data): New variable.
15517 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15519 * math/libm-test.inc (struct test_c_f_data): New type.
15520 (RUN_TEST_LOOP_c_f): New macro.
15521 (cabs_test_data): New variable.
15522 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15523 (carg_test_data): New variable.
15524 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15525 (cimag_test_data): New variable.
15526 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15527 (creal_test_data): New variable.
15528 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15530 * math/libm-test.inc (struct test_if_f_data): New type.
15531 (RUN_TEST_LOOP_if_f): New macro.
15532 (jn_test_data): New variable.
15533 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15534 (yn_test_data): New variable.
15535 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15537 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15539 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15541 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15542 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15544 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15546 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15547 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15548 (bench-deps): Add bench-timing.h.
15549 * benchtests-bench-skeleton.c: Include bench-timing.h.
15550 (main): Use TIMING_* macros instead of clock_gettime.
15551 * benchtests/bench-timing.h: New file.
15554 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15555 Renamed from _LIB_VERSION.
15556 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15558 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15560 * math/libm-test.inc (struct test_fff_f_data): New type.
15561 (RUN_TEST_LOOP_fff_f): New macro.
15562 (fma_test_data): New variable.
15563 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15564 (fma_towardzero_test_data): New variable.
15565 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15566 (fma_downward_test_data): New variable.
15567 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15568 (fma_upward_test_data): New variable.
15569 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15571 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15572 (struct test_c_c_data): New type.
15573 (RUN_TEST_LOOP_c_c): New macro.
15574 (cacos_test_data): New variable.
15575 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15576 (cacosh_test_data): New variable.
15577 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15578 (casin_test_data): New variable.
15579 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15580 (casinh_test_data): New variable.
15581 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15582 (catan_test_data): New variable.
15583 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15584 (catanh_test_data): New variable.
15585 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15586 (ccos_test_data): New variable.
15587 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15588 (ccosh_test_data): New variable.
15589 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15590 (cexp_test_data): New variable.
15591 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15592 (clog_test_data): New variable.
15593 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15594 (clog10_test_data): New variable.
15595 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15596 (conj_test_data): New variable.
15597 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15598 (cproj_test_data): New variable.
15599 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15600 (csin_test_data): New variable.
15601 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15602 (csinh_test_data): New variable.
15603 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15604 (csqrt_test_data): New variable.
15605 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15606 (ctan_test_data): New variable.
15607 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15608 (ctan_tonearest_test_data): New variable.
15609 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15610 (ctan_towardzero_test_data): New variable.
15611 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15612 (ctan_downward_test_data): New variable.
15613 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15614 (ctan_upward_test_data): New variable.
15615 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15616 (ctanh_test_data): New variable.
15617 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15618 (ctanh_tonearest_test_data): New variable.
15619 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15620 (ctanh_towardzero_test_data): New variable.
15621 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15622 (ctanh_downward_test_data): New variable.
15623 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15624 (ctanh_upward_test_data): New variable.
15625 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15626 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15629 * math/libm-test.inc (struct test_ff_f_data): New type.
15630 (struct test_ff_f_data_nexttoward): Likewise.
15631 (RUN_TEST_LOOP_2_f): New macro.
15632 (RUN_TEST_LOOP_ff_f): Likewise.
15633 (atan2_test_data): New variable.
15634 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15635 (copysign_test_data): New variable.
15636 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15637 (fdim_test_data): New variable.
15638 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15639 (fmax_test_data): New variable.
15640 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15641 (fmin_test_data): New variable.
15642 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15643 (fmod_test_data): New variable.
15644 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15645 (hypot_test_data): New variable.
15646 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15647 (nextafter_test_data): New variable.
15648 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15649 (nexttoward_test_data): New variable.
15650 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15651 (pow_test_data): New variable.
15652 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15653 (pow_tonearest_test_data): New variable.
15654 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15655 (pow_towardzero_test_data): New variable.
15656 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15657 (pow_downward_test_data): New variable.
15658 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15659 (pow_upward_test_data): New variable.
15660 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15661 (remainder_test_data): New variable.
15662 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15663 (scalb_test_data): New variable.
15664 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15665 * sysdeps/i386/fpu/libm-test-ulps: Update.
15667 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15669 * math/libm-test.inc (fma_test): Use max_value instead of local
15671 (nextafter_test): Likewise.
15673 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15674 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15675 (acos_downward_test_data): New variable.
15676 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15677 (acos_upward_test_data): New variable.
15678 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15679 (acosh_test_data): New variable.
15680 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15681 (asin_test_data): New variable.
15682 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15683 (asin_tonearest_test_data): New variable.
15684 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15685 (asin_towardzero_test_data): New variable.
15686 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15687 (asin_downward_test_data): New variable.
15688 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15689 (asin_upward_test_data): New variable.
15690 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15691 (asinh_test_data): New variable.
15692 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15693 (atan_test_data): New variable.
15694 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15695 (atanh_test_data): New variable.
15696 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15697 (cbrt_test_data): New variable.
15698 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15699 (ceil_test_data): New variable.
15700 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15701 (cos_test_data): New variable.
15702 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15703 (cos_tonearest_test_data): New variable.
15704 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15705 (cos_towardzero_test_data): New variable.
15706 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15707 (cos_downward_test_data): New variable.
15708 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15709 (cos_upward_test_data): New variable.
15710 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15711 (cosh_test_data): New variable.
15712 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15713 (cosh_tonearest_test_data): New variable.
15714 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15715 (cosh_towardzero_test_data): New variable.
15716 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15717 (cosh_downward_test_data): New variable.
15718 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15719 (cosh_upward_test_data): New variable.
15720 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15721 (erf_test_data): New variable.
15722 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15723 (erfc_test_data): New variable.
15724 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15725 (exp_test_data): New variable.
15726 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15727 (exp_tonearest_test_data): New variable.
15728 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15729 (exp_towardzero_test_data): New variable.
15730 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15731 (exp_downward_test_data): New variable.
15732 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15733 (exp_upward_test_data): New variable.
15734 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15735 (exp10_test_data): New variable.
15736 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15737 (exp2_test_data): New variable.
15738 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15739 (expm1_test_data): New variable.
15740 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15741 (fabs_test_data): New variable.
15742 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15743 (floor_test_data): New variable.
15744 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15745 (j0_test_data): New variable.
15746 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15747 (j1_test_data): New variable.
15748 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15749 (log_test_data): New variable.
15750 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15751 (log10_test_data): New variable.
15752 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15753 (log1p_test_data): New variable.
15754 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15755 (log2_test_data): New variable.
15756 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15757 (logb_test_data): New variable.
15758 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15759 (logb_downward_test_data): New variable.
15760 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15761 (nearbyint_test_data): New variable.
15762 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15763 (rint_test_data): New variable.
15764 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15765 (rint_tonearest_test_data): New variable.
15766 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15767 (rint_towardzero_test_data): New variable.
15768 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15769 (rint_downward_test_data): New variable.
15770 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15771 (rint_upward_test_data): New variable.
15772 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15773 (round_test_data): New variable.
15774 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15775 (sin_test_data): New variable.
15776 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15777 (sin_tonearest_test_data): New variable.
15778 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15779 (sin_towardzero_test_data): New variable.
15780 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15781 (sin_downward_test_data): New variable.
15782 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15783 (sin_upward_test_data): New variable.
15784 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15785 (sinh_test_data): New variable.
15786 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15787 (sinh_tonearest_test_data): New variable.
15788 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15789 (sinh_towardzero_test_data): New variable.
15790 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15791 (sinh_downward_test_data): New variable.
15792 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15793 (sinh_upward_test_data): New variable.
15794 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15795 (sqrt_test_data): New variable.
15796 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15797 (tan_test_data): New variable.
15798 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15799 (tan_tonearest_test_data): New variable.
15800 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15801 (tan_towardzero_test_data): New variable.
15802 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15803 (tan_downward_test_data): New variable.
15804 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15805 (tan_upward_test_data): New variable.
15806 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15807 (tanh_test_data): New variable.
15808 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15809 (tgamma_test_data): New variable.
15810 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15811 (trunc_test_data): New variable.
15812 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15813 (y0_test_data): New variable.
15814 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15815 (y1_test_data): New variable.
15816 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15817 (significand_test_data): New variable.
15818 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15820 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15823 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15825 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15827 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15829 2013-05-10 Andreas Jaeger <aj@suse.de>
15832 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15833 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15835 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15837 * math/gen-libm-test.pl (adjust_arg): New function.
15838 (special_functions): Handle generating output in both functions
15840 (parse_args): Likewise.
15841 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15842 $in_func argument to parse_args.
15843 * math/libm-test.inc (struct test_f_f_data): New type.
15844 (IF_ROUND_INIT_): New macro.
15845 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15846 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15847 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15848 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15849 (ROUND_RESTORE_): Likewise.
15850 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15851 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15852 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15853 (ROUND_RESTORE_FE_UPWARD): Likewise.
15854 (RUN_TEST_LOOP_f_f): New macro.
15855 (acos_test_data): New variable.
15856 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15857 (acos_tonearest_test_data): New variable.
15858 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15860 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15862 * benchtests/bench-skeleton.c (startup): Fix coding style.
15864 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15867 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15868 negative infinity argument.
15869 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15870 negative infinity argument.
15871 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15872 negative infinity argument.
15873 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15876 2013-05-10 Florian Weimer <fweimer@redhat.com>
15878 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15879 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15880 * iconv/iconv_prog.c (main): Likewise.
15881 * locale/programs/charmap-dir.c (charmap_readdir)
15882 (fopen_uncompressed): Likewise.
15883 * locale/programs/locfile.c (siblings_uncached)
15884 (write_locale_data): Use lstat64 instead of lstat.
15885 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15888 2013-05-10 Andreas Jaeger <aj@suse.de>
15891 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15893 Include <locale.h>.
15895 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15897 * elf/dl-close.c (_dl_close_worker): Add comments.
15899 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15904 (__ieee754_rem_pio2l): Update comments.
15907 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15909 (__ieee754_rem_pio2l): Update comments.
15911 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15912 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15914 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15917 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15918 (M_PI_34_LOG10El): Likewise.
15919 (M_PI2_LOG10El): Likewise.
15920 (M_PI4_LOG10El): Likewise.
15921 (M_PI_LOG10El): Likewise.
15923 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15929 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15930 (MINUS_ZERO_INIT): Likewise.
15931 (PLUS_INFTY_INIT): Likewise.
15932 (MINUS_INFTY_INIT): Likewise.
15933 (QNAN_VALUE_INIT): Likewise.
15934 (MAX_VALUE_INIT): Likewise.
15935 (MIN_VALUE_INIT): Likewise.
15936 (MIN_SUBNORM_VALUE_INIT): Likewise.
15937 (plus_zero): Initialize with PLUS_ZERO_INIT.
15938 (minus_zero): Initialize with MINUS_ZERO_INIT.
15939 (plus_infty): Initialize with PLUS_INFTY_INIT.
15940 (minus_infty): Initialize with MINUS_INFTY_INIT.
15941 (qnan_value): Initialize with QNAN_VALUE_INIT.
15942 (max_value): Initialize with MAX_VALUE_INIT.
15943 (min_value): Initialize with MIN_VALUE_INIT.
15944 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15946 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15947 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15948 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15949 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15951 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15952 (RUN_TEST_2_f): Likewise.
15953 (RUN_TEST_ff_f): Likewise.
15954 (RUN_TEST_fi_f): Likewise.
15955 (RUN_TEST_fl_f): Likewise.
15956 (RUN_TEST_fff_f): Likewise.
15957 (RUN_TEST_c_f): Likewise.
15958 (RUN_TEST_f_f1): Likewise.
15959 (RUN_TEST_fF_f1): Likewise.
15960 (RUN_TEST_fI_f1): Likewise.
15961 (RUN_TEST_ffI_f1): Likewise.
15962 (RUN_TEST_c_c): Likewise.
15963 (RUN_TEST_cc_c): Likewise.
15964 (RUN_TEST_f_i): Likewise.
15965 (RUN_TEST_f_i_tg): Likewise.
15966 (RUN_TEST_ff_i_tg): Likewise.
15967 (RUN_TEST_f_b): Likewise.
15968 (RUN_TEST_f_b_tg): Likewise.
15969 (RUN_TEST_f_l): Likewise.
15970 (RUN_TEST_f_L): Likewise.
15971 (RUN_TEST_sincos): Likewise.
15972 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15973 whether to show exceptions. Do not include ");\n" in return
15975 (special_functions): Output call to RUN_TEST_sincos instead of
15976 check_float calls. Update calls to new_test.
15977 (parse_args): Output call to single RUN_TEST_* macro instead of
15978 check_* calls and other assignments. Update calls to new_test.
15984 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15985 input to result for tgamma overflow.
15986 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15987 (gamma_coeff): New variable.
15988 (NCOEFF): New macro.
15989 (gamma_positive): New function.
15990 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15991 underflow here. Use gamma_positive instead of exp (lgamma) for
15993 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15994 (gamma_coeff): New variable.
15995 (NCOEFF): New macro.
15996 (gammaf_positive): New function.
15997 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15998 underflow here. Use gamma_positive instead of exp (lgamma) for
16000 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16001 (gamma_coeff): New variable.
16002 (NCOEFF): New macro.
16003 (gammal_positive): New function.
16004 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16005 underflow here. Use gamma_positive instead of exp (lgamma) for
16007 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16008 (gamma_coeff): New variable.
16009 (NCOEFF): New macro.
16010 (gammal_positive): New function.
16011 (__ieee754_gammal_r): Handle positive infinity, overflow and
16012 underflow here. Handle NaN the same as positive infinity. Remove
16013 check x < 0xffffffff for negative integers. Use gamma_positive
16014 instead of exp (lgamma) for other arguments.
16015 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16016 (gamma_coeff): New variable.
16017 (NCOEFF): New macro.
16018 (gammal_positive): New function.
16019 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16020 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16025 * sysdeps/generic/math_private.h (__gamma_productf): New
16027 (__gamma_product): Likewise.
16028 (__gamma_productl): Likewise.
16029 * math/Makefile (libm-calls): Add gamma_product.
16030 * math/libm-test.inc (tgamma_test): Add more tests.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16036 * benchtests/bench-skeleton.c (main): Preheat CPU.
16038 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16040 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16042 2013-05-07 Roland McGrath <roland@hack.frob.com>
16044 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16045 and _dl_skip_args_internal.
16047 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16049 * manual/message.texi (Message Translation): Talk about users.
16050 Message to key mapping impacts design.
16052 2013-05-06 Roland McGrath <roland@hack.frob.com>
16054 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16056 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16058 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16059 * sysdeps/wordsize-64/glob64.c: ... here.
16061 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16062 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16065 * debug/getlogin_r_chk.c: Moved to ...
16066 * login/getlogin_r_chk.c: ... here.
16067 * debug/Makefile (routines): Move getlogin_r_chk to ...
16068 * login/Makefile (routines): ... here.
16069 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16070 * login/Versions (libc: GLIBC_2.4): ... here.
16072 * io/poll.c (__poll): Renamed from poll.
16073 Add libc_hidden_def.
16074 (poll): Define as weak alias.
16076 * debug/ptsname_r_chk.c: Moved to ...
16077 * login/ptsname_r_chk.c: ... here.
16078 * debug/Makefile (routines): Move ptsname_r_chk to ...
16079 * login/Makefile (routines): ... here.
16080 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16081 * login/Versions (libc: GLIBC_2.4): ... here.
16083 * posix/getlogin.c: Moved to ...
16084 * login/getlogin.c: ... here.
16085 * posix/getlogin_r.c: Moved to ...
16086 * login/getlogin_r.c: ... here.
16087 * posix/getlogin_r.c: Moved to ...
16088 * login/getlogin_r.c: ... here.
16089 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16090 * login/Makefile (routines): ... here.
16091 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16092 * login/Versions (libc: GLIBC_2.0): ... here.
16094 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16095 (setrlimit): Define as weak alias.
16097 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16098 Call __ names for open, ftruncate, and close.
16099 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16100 (truncate): Define as weak alias.
16102 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16104 * math/gen-libm-test.pl (parse_args): Initialize x before each
16105 test of frexp, modf and remquo.
16107 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16108 test signgam value.
16110 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16114 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16116 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16118 2013-05-06 Roland McGrath <roland@hack.frob.com>
16120 * elf/dl-writev.h: New file.
16121 * elf/dl-misc.c: Include it.
16122 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16123 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16125 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16127 * math/libm-test.inc (noXFails): Remove variable.
16128 (noXPasses): Likewise.
16129 (BUILD_COMPLEX_INT): Remove macro.
16130 (print_screen): Remove xfail argument.
16131 (print_screen_max_error): Likewise.
16132 (update_stats): Likewise.
16133 (print_max_error): Likewise. Update calls to other affected
16135 (print_complex_max_error): Likewise.
16136 (test_single_exception): Update calls to print_screen.
16137 (test_single_errno): Likewise.
16138 (check_float_internal): Remove xfail argument. Update calls to
16139 other affected functions.
16140 (check_float): Likewise.
16141 (check_complex): Likewise.
16142 (check_int): Likewise.
16143 (check_long): Likewise.
16144 (check_bool): Likewise.
16145 (check_longlong): Likewise.
16146 (main): Don't print noXFails and noXPasses.
16147 * math/gen-libm-test.pl (top level): Don't mention expected
16148 failure handling in comment.
16149 (new_test): Don't handle expected failures.
16150 (parse_args): Don't mention expected failure handling in comment.
16151 (generate_testfile): Don't handle expected failures.
16152 (parse_ulps): Likewise.
16153 (print_ulps_file): Likewise.
16154 (get_failure): Remove function.
16155 (output_test): Don't handle expected failures.
16156 * make/README.libm-test: Don't mention expected failure handling.
16158 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16159 (minus_zero): Likewise.
16160 (plus_infty): Likewise.
16161 (minus_infty): Likewise.
16162 (qnan_value): Likewise.
16163 (max_value): Likewise.
16164 (min_value): Likewise.
16165 (min_subnorm_value): Likewise.
16166 (initialize): Do not initialize those variables dynamically.
16168 2013-05-03 Roland McGrath <roland@hack.frob.com>
16170 * io/open.c (__open_2): Moved to ...
16171 * io/open_2.c: ... this new file.
16172 * io/open64.c (__open64_2): Moved to ...
16173 * io/open64_2.c: ... this new file.
16174 * io/openat.c (__openat_2): Moved to ...
16175 * io/openat_2.c: ... this new file.
16176 * io/openat64.c (__openat64_2): Moved to ...
16177 * io/openat64_2.c: ... this new file.
16178 * io/Makefile (routines): Add them.
16179 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16180 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16181 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16182 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16183 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16184 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16185 (__openat64): Add hidden_ver.
16186 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16187 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16189 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16190 Separately conditionalize setting of GLRO(dl_sysinfo) so
16191 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16192 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16194 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16199 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16200 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16201 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16202 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16203 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16205 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16207 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16208 test signgam value.
16210 * math/libm-test.inc (hypot_test): Do not use
16211 IGNORE_ZERO_INF_SIGN.
16213 2013-05-03 Andreas Jaeger <aj@suse.de>
16215 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16217 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16218 (PF_MAX): Adjust for VSOCK change.
16220 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16224 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16227 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16228 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16229 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16231 2013-05-02 David S. Miller <davem@davemloft.net>
16233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16235 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16237 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16239 2013-05-01 Roland McGrath <roland@hack.frob.com>
16241 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16243 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16246 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16247 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16248 Use __attribute__ ((__gnu_inline__)).
16249 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16250 Don't use __attribute__ ((__gnu_inline__)).
16252 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16255 * math/s_catan.c (__catan): Handle small real or imaginary part of
16256 input specially to avoid spurious underflow.
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 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16271 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16274 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16275 accurately for denominator in atan2.
16276 * math/s_catanf.c (__catanf): Likewise.
16277 * math/s_catanh.c (__catanh): Likewise.
16278 * math/s_catanhf.c (__catanhf): Likewise.
16279 * math/s_catanhl.c (__catanhl): Likewise.
16280 * math/s_catanl.c (__catanl): Likewise.
16281 * math/libm-test.inc (catan_test): Add more tests.
16282 (catanh_test): Likewise.
16283 * sysdeps/i386/fpu/libm-test-ulps: Update.
16284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16288 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16290 * benchtests/Makefile (bench): Remove slow benchmarks.
16291 * benchtests/atan-inputs: Add slow benchmark inputs.
16292 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16293 (BENCH_FUNC): Accept variant offset.
16295 * benchtests/bench-skeleton.c (main): Run benchmark for each
16297 * benchtests/cos-inputs: Add slow benchmark inputs.
16298 * benchtests/exp-inputs: Likewise.
16299 * benchtests/pow-inputs: Likewise.
16300 * benchtests/sin-inputs: Likewise.
16301 * benchtests/slowatan-inputs: Remove.
16302 * benchtests/slowatan.c: Remove.
16303 * benchtests/slowcos-inputs: Remove.
16304 * benchtests/slowcos.c: Remove.
16305 * benchtests/slowexp-inputs: Remove.
16306 * benchtests/slowexp.c: Remove.
16307 * benchtests/slowpow-inputs: Remove.
16308 * benchtests/slowpow.c: Remove.
16309 * benchtests/slowsin-inputs: Remove.
16310 * benchtests/slowsin.c: Remove.
16311 * benchtests/slowtan-inputs: Remove.
16312 * benchtests/slowtan.c: Remove.
16313 * benchtests/tan-inputs: Add slow benchmark inputs.
16314 * scripts/bench.pl: Parse comments and directives.
16316 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16318 ($(objpfx)bench-%.c): Remove *-ITER.
16319 * benchtests/bench-modf.c: Remove definition of ITER.
16320 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16321 (main): Loop for DURATION seconds instead of fixed number of
16323 * scripts/bench.pl: Don't expect iterations in parameters.
16325 2013-04-29 Roland McGrath <roland@hack.frob.com>
16327 * io/fchdir.c (__fchdir): Renamed from fchdir.
16328 (fchdir): Define as weak alias.
16330 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16332 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16333 (ERRNO_EDOM): Likewise.
16334 (ERRNO_ERANGE): Likewise.
16335 (noErrnoTests): New variable.
16336 (init_max_error): Set errno to 0.
16337 (test_single_errno): New function.
16338 (test_errno): Likewise.
16339 (check_float_internal): Call test_errno. Set errno to 0.
16340 (check_complex): Refer to errno tests in comment.
16341 (check_int): Call test_errno. Set errno to 0.
16342 (check_long): Likewise.
16343 (check_bool): Likewise.
16344 (check_longlong): Likewise.
16345 (cos_test): Use ERRNO_* flags for errno tests instead of
16347 (expm1_test): Likewise.
16348 (fmod_test): Likewise.
16349 (ilogb_test): Likewise.
16350 (lgamma_test): Likewise.
16351 (pow_test): Likewise.
16352 (remainder_test): Likewise.
16353 (sin_test): Likewise.
16354 (tan_test): Likewise.
16355 (yn_test): Likewise.
16356 (initialize): Set errno to 0.
16357 (main): Print number of errno tests.
16358 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16360 2013-04-29 Andreas Jaeger <aj@suse.de>
16363 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16367 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16368 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16372 * stdlib/random.c (__initstate): Return NULL if
16376 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16377 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16380 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16384 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16386 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16387 of individual tests.
16388 (casin_test): Likewise.
16389 (casinh_test): Likewise.
16391 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16394 * math/s_catan.c (__catan): Handle arguments with large real or
16395 imaginary part separately without squaring.
16396 * math/s_catanf.c (__catanf): Likewise.
16397 * math/s_catanh.c (__catanh): Likewise.
16398 * math/s_catanhf.c (__catanhf): Likewise.
16399 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16401 (__catanhl): Handle arguments with large real or imaginary part
16402 separately without squaring.
16403 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16405 (__catanl): Handle arguments with large real or imaginary part
16406 separately without squaring.
16407 * math/libm-test.inc (catan_test): Add more tests.
16408 (catanh_test): Likewise.
16409 * sysdeps/i386/fpu/libm-test-ulps: Update.
16410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16412 2013-04-27 Andreas Jaeger <aj@suse.de>
16415 * stdlib/stdlib.h: Update guards for qecvt.
16416 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16419 2013-04-27 Allan McRae <allan@archlinux.org>
16421 * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16426 * math/s_catan.c: Include <float.h>.
16427 (__catan): Ensure underflow exception occurs for underflowed
16429 * math/s_catanf.c: Include <float.h>.
16430 (__catanf): Ensure underflow exception occurs for underflowed
16432 * math/s_catanh.c: Include <float.h>.
16433 (__catanh): Ensure underflow exception occurs for underflowed
16435 * math/s_catanhf.c: Include <float.h>.
16436 (__catanhf): Ensure underflow exception occurs for underflowed
16438 * math/s_catanhl.c: Include <float.h>.
16439 (__catanhl): Ensure underflow exception occurs for underflowed
16441 * math/s_catanl.c: Include <float.h>.
16442 (__catanl): Ensure underflow exception occurs for underflowed
16444 * math/libm-test.inc (catan_test): Add more tests.
16445 (catanh_test): Likewise.
16448 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16449 underflowed result.
16450 * math/s_ccoshf.c (__ccoshf): Likewise.
16451 * math/s_ccoshl.c (__ccoshl): Likewise.
16452 * math/s_csin.c (__csin): Likewise.
16453 * math/s_csinf.c (__csinf): Likewise.
16454 * math/s_csinh.c (__csinh): Likewise.
16455 * math/s_csinhf.c (__csinhf): Likewise.
16456 * math/s_csinhl.c (__csinhl): Likewise.
16457 * math/s_csinl.c (__csinl): Likewise.
16458 * math/libm-test.inc (ccos_test): Add more tests.
16459 (ccosh_test): Likewise.
16460 (csin_test): Likewise.
16461 (csinh_test): Likewise.
16463 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16465 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16466 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16467 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16468 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16469 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16470 powerpc/power5+/fpu folders.
16471 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16474 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16478 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16480 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16481 additions to variable.
16482 [$(config-machine) = x86_64] (modules-names): Likewise.
16483 ($(objpfx)tst-audit3): Remove dependency.
16484 ($(objpfx)tst-audit3.out): Likewise.
16485 ($(objpfx)tst-audit4): Likewise.
16486 ($(objpfx)tst-audit4.out): Likewise.
16487 ($(objpfx)tst-audit5): Likewise.
16488 ($(objpfx)tst-audit5.out): Likewise.
16489 ($(objpfx)tst-audit6): Likewise.
16490 ($(objpfx)tst-audit6.out): Likewise.
16491 ($(objpfx)tst-audit7): Likewise.
16492 ($(objpfx)tst-audit7.out): Likewise.
16493 (tst-audit3-ENV): Remove variable.
16494 (tst-audit4-ENV): Likewise.
16495 (tst-audit5-ENV): Likewise.
16496 (tst-audit6-ENV): Likewise.
16497 (tst-audit7-ENV): Likewise.
16498 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16499 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16500 addition to variable.
16501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16505 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16506 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16507 tst-audit3, tst-audit4 and tst-audit5.
16508 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16509 tst-audit6 and tst-audit7.
16510 [$(subdir) = elf] (modules-names): Add audit modules for those
16512 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16513 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16514 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16515 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16516 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16517 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16518 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16519 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16520 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16521 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16522 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16523 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16524 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16525 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16526 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16527 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16529 [$(subdir) = elf && $(config-cflags-avx) = yes]
16530 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16531 [$(subdir) = elf && $(config-cflags-avx) = yes]
16532 (CFLAGS-tst-auditmod4a.c): Likewise.
16533 [$(subdir) = elf && $(config-cflags-avx) = yes]
16534 (CFLAGS-tst-auditmod4b.c): Likewise.
16535 [$(subdir) = elf && $(config-cflags-avx) = yes]
16536 (CFLAGS-tst-auditmod6b.c): Likewise.
16537 [$(subdir) = elf && $(config-cflags-avx) = yes]
16538 (CFLAGS-tst-auditmod6c.c): Likewise.
16539 [$(subdir) = elf && $(config-cflags-avx) = yes]
16540 (CFLAGS-tst-auditmod7b.c): Likewise.
16541 * elf/tst-audit3.c: Move to ...
16542 * sysdeps/x86_64/tst-audit3.c: ... here.
16543 * elf/tst-audit4.c: Move to ...
16544 * sysdeps/x86_64/tst-audit4.c: ... here.
16545 * elf/tst-audit5.c: Move to ...
16546 * sysdeps/x86_64/tst-audit5.c: ... here.
16547 * elf/tst-audit6.c: Move to ...
16548 * sysdeps/x86_64/tst-audit6.c: ... here.
16549 * elf/tst-audit7.c: Move to ...
16550 * sysdeps/x86_64/tst-audit7.c: ... here.
16551 * elf/tst-auditmod3a.c: Move to ...
16552 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16553 * elf/tst-auditmod3b.c: Move to ...
16554 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16555 * elf/tst-auditmod4a.c: Move to ...
16556 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16557 * elf/tst-auditmod4b.c: Move to ...
16558 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16559 * elf/tst-auditmod5a.c: Move to ...
16560 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16561 * elf/tst-auditmod5b.c: Move to ...
16562 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16563 * elf/tst-auditmod6a.c: Move to ...
16564 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16565 * elf/tst-auditmod6b.c: Move to ...
16566 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16567 * elf/tst-auditmod6c.c: Move to ...
16568 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16569 * elf/tst-auditmod7a.c: Move to ...
16570 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16571 * elf/tst-auditmod7b.c: Move to ...
16572 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16574 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16577 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16578 define unconditionally.
16579 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16580 define unconditionally.
16581 (INT8_C, INT16_C, etc.): Likewise.
16583 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16585 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16586 __ehdr_start with hidden visibility.
16588 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16590 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16592 * math/libm-test.inc (cos_test): Use accurate hex constants.
16593 (sincost_test): Likewise.
16595 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16597 * math/libm-test.inc (catan_test): Add more tests.
16598 (catanh_test): Likewise.
16600 * math/s_catanf.c (__catanf): Use suffixed floating-point
16602 * math/s_catanhf.c (__catanhf): Likewise.
16603 * math/s_catanhl.c (__catanhl): Likewise.
16604 * math/s_catanl.c (__catanl): Likewise.
16607 * math/s_catan.c (__catan): Calculate imaginary part of result
16608 with log1p not log unless computing log of number close to 0.
16609 * math/s_catanf.c (__catanf): Likewise.
16610 * math/s_catanl.c (__catanl): Likewise.
16611 * math/s_catanh.c (__catanh): Calculate real part of result with
16612 log1p not log unless computing log of number close to 0.
16613 * math/s_catanhf.c (__catanhf): Likewise.
16614 * math/s_catanhl.c (__catanhl): Likewise.
16615 * math/libm-test.inc (catan_test): Add more tests.
16616 (catanh_test): Likewise.
16617 * sysdeps/i386/fpu/libm-test-ulps: Update.
16618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16620 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16622 * benchtests/Makefile: Mention files in which fast and slow
16623 paths of math functions are implemented.
16625 2013-04-23 Roland McGrath <roland@hack.frob.com>
16627 * sysdeps/posix/timespec_get.c: New file.
16629 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16631 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16633 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16635 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16636 powerpc/power5/fpu folders.
16637 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16638 * benchtests/Makefile: Add modf testcase.
16639 * benchtests/bench-modf.c: New file: Benchmark test for mo
16641 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16644 * time/Makefile (tests): Add tst-strptime-whitespace.
16645 * time/strptime_l.c (get_number): Use ISSPACE.
16646 (__strptime_internal): Likewise.
16647 * time/tst-strptime-whitespace.c: New test case.
16649 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16651 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16653 (_nss_files_init): Set it here.
16655 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16657 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16658 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16661 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16663 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16665 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16670 2013-04-21 David S. Miller <davem@davemloft.net>
16672 * po/ru.po: Update Russion translation from translation project.
16674 2013-04-17 Adam Conrad <adconrad@0c3.net>
16676 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16679 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16681 * configure.in: Remove i386 configure warning. Remove i386 case.
16682 * configure: Regenerate.
16683 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16684 Add example to error message.
16685 * sysdeps/i386/configure: Regenerate.
16687 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16689 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16691 * benchtests/cos-inputs: New file.
16692 * benchtests/slowcos-inputs: New file.
16693 * benchtests/slowcos.c: New file.
16694 * benchtests/slowtan-inputs: New file.
16695 * benchtests/slowtan.c: New file.
16696 * benchtests/tan-inputs: New file.
16698 2013-04-16 Roland McGrath <roland@hack.frob.com>
16700 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16703 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16705 * benchtests/Makefile: Include cppflags-iterator.mk to add
16706 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16708 * Makefile.in (bench-clean): New target.
16709 * benchtests/Makefile (bench-clean): Likewise.
16711 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16713 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16715 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16717 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16719 2013-04-15 Andreas Schwab <schwab@suse.de>
16721 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16722 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16723 * nscd/pwdcache.c (cache_addpw): Likewise.
16724 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16727 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16729 * benchtests/Makefile (bench): Write all output to
16730 bench-out.tmp together.
16732 2013-04-15 Andreas Schwab <schwab@suse.de>
16734 * nscd/nscd.c (main): Don't fork again after closing files.
16736 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16738 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16740 * benchtests/Rules (bench-deps): Collect dependencies into a
16741 single variable. Add Makefile to dependencies.
16742 ($(objpfx)bench-%.c): Depend on bench-deps.
16744 2013-04-12 Roland McGrath <roland@hack.frob.com>
16745 Xavier Roche <roche+kml2@exalead.com>
16748 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16749 just that it's a file descriptor.
16750 * manual/llio.texi (Synchronizing AIO Operations): Update description
16751 for EBADF error from aio_fsync.
16753 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16755 * Rules (bench): Move target definition...
16756 * benchtests/Makefile: ... here.
16758 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16760 * math/libm-test.inc (cos_test): Fix PI/2 test.
16761 (sincos_test): Likewise.
16762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16763 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16765 2013-04-11 Andreas Schwab <schwab@suse.de>
16768 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16769 accept exponent character only when digits were seen.
16770 * stdio-common/Makefile (tests): Add bug26.
16771 * stdio-common/bug26.c: New file.
16774 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16777 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16779 * Makeconfig (rtld-prefix): Define built linker prefix.
16780 * Rules (run-bench): Use it.
16781 * math/Makefile (run-regen-ulps): Likewise.
16783 * Rules (bench): Remove eval.
16785 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16786 Roland McGrath <roland@hack.frob.com>
16787 Ondrej Bilka <neleai@seznam.cz>
16790 * time/getdate.c: Include ctype.h and alloca.h.
16791 (__getdate_r): Trim leading and trailing spaces of input.
16792 * time/tst-getdate.c (tests): Add tests with leading and
16795 2013-04-08 Roland McGrath <roland@hack.frob.com>
16798 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16799 when computing value.
16801 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16803 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16804 Use testrun.sh to run libm tests.
16807 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16809 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16812 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16814 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16816 * Makefile.in (regen-ulps): New target.
16817 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16818 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16819 [ifneq (no,$(PERL)] (regen-ulps): New target.
16820 [ifeq (no,$(PERL)] (regen-ulps): New target.
16821 * math/libm-test.inc (ulps_file_name): Define.
16822 (output_dir): New variable.
16823 (options): Add "output-dir" option.
16824 (parse_opt): Handle 'o' case.
16825 (main): If output_dir is non-NULL use it as a prefix
16827 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16829 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16831 [BZ #10060, #10062]
16832 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16833 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16834 fail configure if __sync_val_compare_and_swap is not inlined.
16835 * sysdeps/i386/configure: Regenerate.
16836 * configure.in: Build for i686 when configured for i386.
16837 * configure: Regenerate.
16838 * README: Remove i386 reference.
16840 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16842 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16843 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16845 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16847 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16848 (lmsnanval): New variables.
16849 (F): Add conversion tests.
16850 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16851 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16853 * stdio-common/tstdiomisc.c (F): Properly collect individual
16856 [BZ #14686, #15336]
16857 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16858 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16859 Instead, use input NaN values or generate a qNaN by arithmetic
16860 operation. Also fix bugs to comply with the standard.
16861 * math/libm-test.inc (remainder_test): Add more tests.
16863 [BZ #15335, #15342]
16864 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16866 input NaN values or generate a qNaN by arithmetic operation.
16868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16871 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16874 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16877 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16878 underflowed result.
16879 * math/s_cexpf.c (__cexpf): Likewise.
16880 * math/s_cexpl.c (__cexpl): Likewise.
16881 * math/libm-test.inc (cexp_test): Add more tests.
16883 2013-04-03 Andreas Schwab <schwab@suse.de>
16886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16887 order arrays from heap if bigger than alloca cutoff.
16889 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16891 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16892 (SNAN_TESTS_double): Refer to GCC PR56831.
16893 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16896 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16898 * Rules (bench): Move bench.out after the run is complete.
16900 * Rules (bench): Echo currently running benchmark.
16902 * benchtests/Makefile (bench): Add atan and slowatan.
16903 * benchtests/atan-inputs: New file.
16904 * benchtests/slowatan-inputs: New file.
16905 * benchtests/slowatan.c: New file.
16907 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16912 * sysdeps/unix/sysv/linux/kernel-features.h
16913 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16914 __ASSUME_XFS_RESTRICTED_CHOWN.
16915 * sysdeps/unix/sysv/linux/pathconf.c
16916 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16917 Save and restore errno.
16919 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16922 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16923 arguments using __kernel_casinh.
16924 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16925 arguments using __kernel_casinhf.
16926 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16927 arguments using __kernel_casinhl.
16928 * math/libm-test.inc (cacosh_test): Add more tests.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16932 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16934 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16937 * bench/Makefile (bench): Add sin and slowsin.
16938 * benchtests/sin-inputs: New file.
16939 * benchtests/slowsin-inputs: New file.
16940 * benchtests/slowsin.c: New file.
16942 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16943 (bench): Add slowexp and slowpow.
16944 (exp-ITER): Increase iterations.
16945 (pow-ITER): Likewise.
16946 * benchtests/exp-inputs: Change input.
16947 * benchtests/pow-inputs: Likewise.
16948 * benchtests/slowexp-inputs: New file.
16949 * benchtests/slowexp.c: New file.
16950 * benchtests/slowpow-inputs: New file.
16951 * benchtests/slowpow.c: New file.
16953 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16955 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16957 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16958 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16959 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16960 * benchtests/Makefile: Add rint benchtest.
16961 * benchtests/rint-inputs: Input for rint benchtest.
16963 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16965 * Versions.def (libm): Add GLIBC_2.18.
16966 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16967 hidden libm prototypes.
16968 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16969 * math/Makefile (libm-calls): Add s_issignaling.
16970 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16971 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16972 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16974 * math/math.h [__USE_GNU] (issignaling): New macro.
16975 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16976 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16977 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16978 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16981 * manual/arith.texi (issignaling): New section.
16982 * manual/libm-err-tab.pl (@all_functions): Update comment.
16983 * math/gen-libm-test.pl (parse_args): Apply special handling for
16985 * math/libm-test.inc (print_float, issignaling_test): New
16987 (check_float_internal): Add issignaling checks.
16988 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16989 default definition.
16990 * sysdeps/powerpc/math-tests.h: New file.
16991 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16993 * math/test-snan.c (TEST_FUNC): Likewise.
16995 2013-03-30 David S. Miller <davem@davemloft.net>
16997 * po/de.po: Update from translation team.
16999 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17002 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17003 imaginary part less than 1.0 and real part less than 0.5
17005 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17006 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17007 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17008 (cacos_test): Add more tests.
17009 (casin_test): Likewise.
17010 (casinh_test): Likewise.
17011 * sysdeps/i386/fpu/libm-test-ulps: Update.
17012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17014 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17016 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17017 ONE with its value.
17019 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17020 (__pow_mp): Replace ONE and MONE with their values.
17021 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17023 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17024 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17025 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17026 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17028 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17030 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17031 (__pow_mp): Replace ZERO and MZERO with their values.
17032 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17033 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17034 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17036 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17037 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17040 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17042 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17044 2013-03-28 Roland McGrath <roland@hack.frob.com>
17046 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17047 Declare with __attribute__ ((weak)).
17048 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17049 Call __call_tls_dtors only if it's not NULL.
17051 2013-03-28 Roland McGrath <roland@hack.frob.com>
17053 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17054 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17055 magic __ehdr_start linker symbol if it's defined.
17056 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17057 them up here if it was already done.
17059 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17060 (_dl_aux_init): Use const in cast when setting it.
17061 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17062 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17063 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17065 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17067 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17068 * csu/libc-tls.c: Nor here.
17069 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17071 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17072 (__libc_message): Never call vsyslog.
17074 2013-03-28 Alan Modra <amodra@gmail.com>
17076 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17078 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17081 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17088 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17091 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17092 Don't add gid passed as argument.
17094 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17096 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17099 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17100 imaginary part between 1.0 and 1.5 and real part less than 0.5
17102 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17103 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17104 * math/libm-test.inc (cacos_test): Add more tests.
17105 (casin_test): Likewise.
17106 (casinh_test): Likewise.
17107 * sysdeps/i386/fpu/libm-test-ulps: Update.
17108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17110 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17112 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17115 (denorm): Likewise.
17116 (__dbl_mp): Likewise.
17117 (add_magnitudes): Likewise.
17118 (sub_magnitudes): Likewise.
17126 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17128 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17129 (__dubcos): Likewise.
17130 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17131 (__ieee754_acos): Likewise.
17132 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17133 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17134 (__exp1): Likewise.
17135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17138 (my_log2): Likewise.
17139 (checkint): Likewise.
17140 * sysdeps/ieee754/dbl-64/e_remainder.c
17141 (__ieee754_remainder): Likewise.
17142 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17144 (bsloww): Likewise.
17145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17147 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17148 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17149 MANTISSA_STORE_T to store computations on mantissa. Use
17150 macros for rounding and division.
17151 (denorm): Likewise.
17152 (__dbl_mp): Likewise.
17153 (add_magnitudes): Likewise.
17154 (sub_magnitudes): Likewise.
17157 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17158 powers of two in terms of TWOPOW macro.
17159 (mp_no): Make type of mantissa as MANTISSA_T.
17160 [!RADIXI]: Define RADIXI.
17161 [!TWO52]: Define TWO52.
17162 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17164 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17166 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17167 llroundl symbol when building for PPC32.
17169 2013-03-24 Mark H Weaver <mhw@netris.org>
17171 * manual/arith.texi (Normalization Functions): Fix prototypes for
17172 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17174 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17178 high value to check if expl overflow.
17179 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17180 to check for underflow and overflow.
17181 * math/libm-test.inc: Add exp test.
17183 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17186 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17189 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17191 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17194 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17196 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17197 wrap blocks consisting of several statements.
17199 * sysdeps/generic/math-tests.h: New file.
17200 * sysdeps/i386/fpu/math-tests.h: Likewise.
17201 * math/test-snan.c: Include it.
17202 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17204 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17208 (__ieee754_j0l): Do not improve calculations using cos of twice
17209 input for inputs above LDBL_MAX / 2.0L.
17210 (__ieee754_y0l): Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17212 (__ieee754_j1l): Do not improve calculations using cos of twice
17213 input for inputs above LDBL_MAX / 2.0L.
17214 (__ieee754_y1l): Likewise.
17215 * math/libm-test.inc (j0_test): Add another test.
17216 (j1_test): Likewise.
17217 (y0_test): Likewise.
17218 (y1_test): Likewise.
17219 * sysdeps/i386/fpu/libm-test-ulps: Update.
17221 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17223 * Rules ($(objpfx)bench-%.c): Include code from a C source
17226 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17229 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17230 imaginary part 1.0 and real part less than 0.5 specially.
17231 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17232 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17233 * math/libm-test.inc (cacos_test): Add more tests.
17234 (casin_test): Likewise.
17235 (casinh_test): Likewise.
17236 * sysdeps/i386/fpu/libm-test-ulps: Update.
17237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17239 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17242 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17244 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17246 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17247 * config.make.in (config-cflags-sse4): Remove variable.
17248 (config-cflags-avx): Likewise.
17249 (config-cflags-sse2avx): Likewise.
17250 (config-cflags-novzeroupper): Likewise.
17251 (config-asflags-i686): Likewise.
17252 (have-mfma4): Likewise.
17253 (have-as-vis3): Likewise.
17255 * configure.in (MIG): Do not AC_SUBST.
17256 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17257 (libc_cv_cc_sse4): Do not AC_SUBST.
17258 (libc_cv_cc_avx): Likewise.
17259 (libc_cv_cc_sse2avx): Likewise.
17260 (libc_cv_cc_novzeroupper): Likewise.
17261 (libc_cv_cc_fma4): Likewise.
17262 (libc_cv_as_i686): Likewise.
17263 (libc_cv_sparc_as_vis3): Likewise.
17264 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17266 (config-asflags-i686): Likewise.
17267 (config-cflags-avx): Likewise.
17268 (config-cflags-sse2avx): Likewise.
17269 (have-mfma4): Likewise.
17270 (config-cflags-novzeroupper): Likewise.
17271 * sysdeps/mach/configure.in (MIG): Likewise.
17272 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17273 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17275 (config-cflags-avx): Likewise.
17276 (config-cflags-sse2avx): Likewise.
17277 (have-mfma4): Likewise.
17278 (config-cflags-novzeroupper): Likewise.
17279 * configure: Regenerated.
17280 * sysdeps/i386/configure: Likewise.
17281 * sysdeps/mach/configure: Likewise.
17282 * sysdeps/sparc/configure: Likewise.
17283 * sysdeps/x86_64/configure: Likewise.
17285 2013-03-20 Roland McGrath <roland@hack.frob.com>
17288 * locale/programs/localedef.c (options): Put N_ translation marker
17289 on argument names, not just descriptions.
17291 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17293 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17295 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17298 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17300 2013-03-19 Roland McGrath <roland@hack.frob.com>
17302 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17303 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17304 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17305 [!BEFORE_ABORT] (before_abort): New function.
17306 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17307 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17308 (writev_for_fatal): New function.
17309 (WRITEV_FOR_FATAL): New macro; call that.
17310 (backtrace_and_maps): New function.
17311 (BEFORE_ABORT): New macro; call that.
17312 (struct str_list): Type removed.
17313 (__libc_message, __libc_fatal): Functions removed.
17314 Include <sysdeps/posix/libc_fatal.c> instead.
17316 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17318 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17320 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17323 2013-03-19 Andreas Schwab <schwab@suse.de>
17325 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17326 * sysdeps/gnu/configure: Regenerate.
17328 * configure.in: Substitute libc_cv_rtlddir.
17329 * configure: Regenerate.
17330 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17331 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17332 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17333 * elf/Makefile (install-others, CFLAGS-interp.c)
17334 (ldso_install, common-ldd-rewrite): Likewise.
17335 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17336 $(inst_slibdir)/$(rtld-installed-name).
17337 * scripts/rellns-sh: Add -p option.
17338 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17341 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17343 * manual/nptl.texi: Renamed to ...
17344 * manual/threads.texi: ... this.
17345 * manual/Makefile (chapters): Update.
17347 2013-03-18 Roland McGrath <roland@hack.frob.com>
17350 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17351 on argument names, not just descriptions.
17352 * malloc/memusagestat.c (options): Likewise.
17353 * nss/getent.c (options): Likewise.
17355 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17358 * iconv/iconv_prog.c (options): Put N_ translation marker
17359 on argument names, not just descriptions.
17360 * iconv/iconvconfig.c (options): Likewise.
17362 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17364 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17365 implementation which is faster on all x86_64 architectures.
17366 Tested on AMD, Intel Nehalem, SNB, IVB.
17367 * sysdeps/x86_64/strnlen.S: Likewise.
17369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17370 Remove all multiarch strlen and strnlen versions.
17371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17372 Remove strlen and strnlen related parts.
17374 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17375 Inline strlen part.
17376 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17378 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17379 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17380 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17381 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17382 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17383 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17385 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17387 * manual/memory.texi (Malloc Tunable Parameters):
17388 Sort parameters alphabetically. Add comments for missing entries.
17390 2013-03-17 David S. Miller <davem@davemloft.net>
17392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17394 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17397 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17398 for arguments at most half maximum finite value.
17399 * math/libm-test.inc (j0_test): Add more tests.
17400 (j1_test): Likewise.
17401 (y0_test): Likewise.
17402 (y1_test): Likewise.
17403 * sysdeps/i386/fpu/libm-test-ulps: Update.
17404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17407 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17408 1 / x and functions P and Q for arguments above 0x1p256L.
17409 (__ieee754_y0l): Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17411 (__ieee754_y1l): Likewise.
17412 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17413 (j1_test): Likewise.
17414 (y0_test): Likewise.
17415 (y1_test): Likewise.
17417 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17419 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17422 2013-03-15 Roland McGrath <roland@hack.frob.com>
17424 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17425 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17426 zero since it's initialized to EXEC_PAGESIZE.
17428 * sysdeps/unix/sysv/linux/ldsodefs.h
17429 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17430 * sysdeps/generic/ldsodefs.h: ... here.
17432 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17434 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17436 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17438 * math/test-snan.c: Renamed from
17439 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17440 * math/Makefile (tests): Add test-snan.
17441 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17444 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17445 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17447 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17448 __builtin_nan family of functions.
17449 * math/libm-test.inc (initialize): Initialize qnan_value with
17450 __builtin_nan family of functions.
17451 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17453 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17455 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17456 storage class. Initialize qNaN_var and sNaN_var with
17457 __builtin_nan and __builtin_nans families of functions,
17460 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17461 (sqrt_test): Remove duplicate test with qNaN input.
17462 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17463 (round_test, signbit_test, significand_test): Note missing +/-Inf
17464 as well as qNaN tests.
17466 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17467 qNaN_var. Fix a few strings, too.
17468 * math/libm-test.inc (nan_value): Rename to qnan_value.
17469 * math/gen-libm-test.pl (%beautify): Adjust to that.
17470 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17471 * math/test-misc.c (main): Likewise.
17472 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17473 to __qnan_bytes, and __qnan_union, respectively.
17474 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17476 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17477 and lqnanval, respectively.
17478 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17479 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17480 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17481 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17483 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17484 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17487 * math/test-misc.c (main): Fix copy'n'pastos.
17488 * misc/tst-efgcvt.c (special): Likewise.
17490 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17491 Remove declarations.
17493 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17496 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17497 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17498 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17500 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17502 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17503 macro to return vdso values correctly in IFUNC implementations.
17504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17505 Optimization by using IFUNC.
17507 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17508 Richard Henderson <rth@redhat.com>
17509 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17511 * Makefile.in (bench): New target.
17512 * NEWS: Mention the benchmark framework.
17513 * Rules (bench): Likewise.
17514 (binaries-bench): Generate binaries for functions to
17516 * benchtests/Makefile: New makefile for benchmark tests.
17517 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17519 * benchtests/exp-inputs: New input file for EXP function.
17520 * benchtests/pow-inputs: New input file for POW function.
17521 * scripts/bench.pl: New script to generate source files for
17522 benchmark programs.
17524 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17526 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17527 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17528 computations on mantissa. Use macros for rounding and
17530 (denorm): Likewise.
17531 (__dbl_mp): Likewise.
17532 (add_magnitudes): Likewise.
17533 (sub_magnitudes): Likewise.
17536 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17537 powers of two in terms of TWOPOW macro.
17538 (mp_no): Make type of mantissa as MANTISSA_T.
17539 [!RADIXI]: Define RADIXI.
17540 [!TWO52]: Define TWO52.
17541 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17543 * manual/nptl.texi (cindex): Modify threads to pthreads.
17545 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17547 * sysdeps/x86_64/preconfigure: Regenerated.
17549 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17554 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17555 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17557 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17558 * math/libm-test.inc (j0_test): Do not allow one spurious
17559 underflow exception.
17560 (y1_test): Likewise.
17562 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17564 * manual/Makefile (chapters): Add nptl.
17565 * manual/debug.texi (Debugging Support): Add link to Threads
17567 * manual/nptl.texi: New file.
17569 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17571 2013-03-14 Petr Baudis <pasky@ucw.cz>
17573 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17574 for non-NULL pointer before the memory validity test. Pointed
17575 out by Holger Brunck <holger.brunck@keymile.com>.
17577 2013-03-13 Andreas Schwab <schwab@suse.de>
17579 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17582 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17584 * timezone/zic.c: Update from tzcode 2013b.
17586 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17588 * manual/install.texi (Configuring and compiling):
17589 Mention i686 and i586.
17590 * INSTALL: Regenerate.
17592 2013-03-12 Roland McGrath <roland@hack.frob.com>
17594 * sysdeps/init_array/elf-init.c: New file.
17596 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17597 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17599 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17600 __gmon_start__ as global, but as static with a .preinit_array pointer.
17601 * sysdeps/init_array/gmon-start.c: New file. Use that.
17602 * sysdeps/init_array/crti.S: New file, empty except for comments.
17603 * sysdeps/init_array/crtn.S: Likewise.
17605 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17607 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17610 Remove Prefer_SSE_for_memop.
17611 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17612 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17613 HAS_PREFER_SSE_FOR_MEMOP.
17614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17617 Remove bzero, memset ifunc support.
17618 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17619 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17620 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17621 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17623 2013-03-11 Andreas Schwab <schwab@suse.de>
17626 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17629 (GLIBC_2.16): Remove pthread_atfork.
17631 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17633 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17634 (ptestcases.h): Likewise.
17636 2013-03-08 Roland McGrath <roland@hack.frob.com>
17638 * Makeconfig ($(common-objpfx)config.status): Depend on
17639 sysdeps/*/preconfigure{,.in} too.
17641 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17643 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17644 (__free_hook): Use void * instead of __malloc_ptr_t.
17645 (__malloc_hook): Likewise.
17646 (__realloc_hook): Likewise.
17647 (__memalign_hook): Likewise.
17648 (__after_morecore_hook): Likewise.
17649 * malloc/arena.c (save_malloc_hook): Likewise.
17650 (save_free_hook): Likewise.
17651 * malloc/hooks.c (malloc_hook_ini): Likewise.
17652 (realloc_hook_ini): Likewise.
17653 (memalign_hook_ini): Likewise.
17654 * malloc/malloc.c (malloc_hook_ini): Likewise.
17655 (realloc_hook_ini): Likewise.
17656 (memalign_hook_ini): Likewise.
17657 (__free_hook): Likewise.
17658 (__malloc_hook): Likewise.
17659 (__realloc_hook): Likewise.
17660 (__memalign_hook): Likewise.
17661 (__libc_malloc): Likewise.
17662 (__libc_free): Likewise.
17663 (__libc_realloc): Likewise.
17664 (__libc_memalign): Likewise.
17665 (__libc_valloc): Likewise.
17666 (__libc_pvalloc): Likewise.
17667 (__libc_calloc): Likewise.
17668 (__posix_memalign): Likewise.
17669 * malloc/morecore.c (__sbrk): Likewise.
17670 (__default_morecore): Likewise.
17672 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17674 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17675 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17676 __malloc_ptrdiff_t.
17678 * malloc/malloc.h (__malloc_size_t): Remove macro.
17679 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17681 (old_memalign_hook): Likewise.
17682 (old_realloc_hook): Likewise.
17683 (struct hdr): Likewise.
17685 (mallochook): Likewise.
17686 (memalignhook): Likewise.
17687 (reallochook): Likewise.
17688 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17689 (tr_old_realloc_hook): Likewise.
17690 (tr_old_memalign_hook): Likewise.
17691 (tr_mallochook): Likewise.
17692 (tr_reallochook): Likewise.
17693 (tr_memalignhook): Likewise.
17695 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17698 default_ldbl_pack and using as default implementation.
17699 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17701 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17702 redundant definition.
17703 (ldbl_insert_mantissa): Likewise.
17704 (ldbl_canonicalize): Likewise.
17705 (ldbl_nearbyint): Likewise.
17706 (ldbl_pack): Rename to ldbl_pack_ppc.
17707 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17708 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17709 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17711 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17714 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17716 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17718 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17719 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17720 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17722 2013-03-07 Andreas Jaeger <aj@suse.de>
17724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17727 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17729 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17730 Include mpa.h and declare __MPEXP.
17731 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17732 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17733 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17735 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17736 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17737 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17739 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17740 (__slowpow): Use long double EXPL and LOGL functions to
17742 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17743 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17744 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17745 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17746 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17750 intermediate variable to calculate exponent.
17752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17756 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17757 [!NO__SQR]: Define __sqr.
17758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17759 and NO__SQR. Remove all code except __mul and __sqr. Include
17760 sysdeps/ieee754/dbl-64/mpa.c.
17761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17764 * posix/Makefile (tests): Add tst-pathconf.
17765 * posix/tst-pathconf.c: New test case.
17766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17768 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17770 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17772 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17774 2013-03-06 Andreas Jaeger <aj@suse.de>
17776 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17777 definition via __MAP_ANONYMOUS.
17779 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17780 it's not part of Linux headers.
17782 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17783 (MAP_HUGE_MASK): Define.
17785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17791 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17796 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17798 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17799 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17800 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17801 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17802 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17808 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17809 Handle f2fs and efivarfs.
17811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17814 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17815 (EFIVARFS_MAGIC): Add.
17816 (F2FS_LINK_MAX): Add.
17818 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17820 * stdio-common/vfprintf.c: Replace __builtin_expect with
17823 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17826 * sysdeps/generic/bp-sym.h: Remove file.
17827 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17828 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17829 <bp-sym.h> and <bp-asm.h>.
17830 (__longjmp): Don't use BP_SYM.
17831 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17833 (memcpy): Don't use BP_SYM.
17834 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17835 <bp-sym.h> and <bp-asm.h>.
17836 (memcpy): Don't use BP_SYM.
17837 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17839 (memcpy): Don't use BP_SYM.
17840 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17842 (memset): Don't use BP_SYM.
17843 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17844 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17845 (__bzero): Don't use BP_SYM.
17846 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17847 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17848 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17849 <bp-sym.h> and <bp-asm.h>.
17850 (memcmp): Don't use BP_SYM. Remove comment about bounded
17852 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17853 <bp-sym.h> and <bp-asm.h>.
17854 (memcpy): Don't use BP_SYM.
17855 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17856 <bp-sym.h> and <bp-asm.h>.
17857 (memset): Don't use BP_SYM.
17858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17860 (__bzero): Don't use BP_SYM.
17861 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17862 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17863 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17864 <bp-sym.h> and <bp-asm.h>.
17865 (strncmp): Don't use BP_SYM. Remove comment about bounded
17867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17868 <bp-sym.h> and <bp-asm.h>.
17869 (memcpy): Don't use BP_SYM.
17870 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17871 <bp-sym.h> and <bp-asm.h>.
17872 (memset): Don't use BP_SYM.
17873 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17874 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17875 (__bzero): Don't use BP_SYM.
17876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17879 <bp-sym.h> and <bp-asm.h>.
17880 (__memchr): Don't use BP_SYM.
17881 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17882 <bp-sym.h> and <bp-asm.h>.
17883 (memcmp): Don't use BP_SYM. Remove comment about bounded
17885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17886 <bp-sym.h> and <bp-asm.h>.
17887 (memcpy): Don't use BP_SYM.
17888 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17889 <bp-sym.h> and <bp-asm.h>.
17890 (__mempcpy): Don't use BP_SYM.
17891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17892 <bp-sym.h> and <bp-asm.h>.
17893 (__memrchr): Don't use BP_SYM.
17894 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17895 <bp-sym.h> and <bp-asm.h>.
17896 (memset): Don't use BP_SYM.
17897 (__bzero): Likewise.
17898 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17899 <bp-sym.h> and <bp-asm.h>.
17900 (__rawmemchr): Don't use BP_SYM.
17901 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17902 <bp-sym.h> and <bp-asm.h>.
17903 (__STRCMP): Don't use BP_SYM.
17904 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17905 <bp-sym.h> and <bp-asm.h>.
17906 (strchr): Don't use BP_SYM.
17907 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17908 <bp-sym.h> and <bp-asm.h>.
17909 (__strchrnul): Don't use BP_SYM.
17910 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17911 <bp-sym.h> and <bp-asm.h>.
17912 (strlen): Don't use BP_SYM.
17913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17914 <bp-sym.h> and <bp-asm.h>.
17915 (strncmp): Don't use BP_SYM. Remove comment about bounded
17917 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17918 <bp-sym.h> and <bp-asm.h>.
17919 (__strnlen): Don't use BP_SYM.
17920 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17921 <bp-sym.h> and <bp-asm.h>.
17922 (__GI__setjmp): Don't use BP_SYM.
17923 (_setjmp): Likewise.
17924 (__sigsetjmp): Likewise.
17925 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17926 (L(start_addresses)): Don't use BP_SYM.
17927 (_start): Likewise.
17928 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17930 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17931 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17932 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17933 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17934 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17936 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17937 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17938 about bounded pointers.
17939 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17940 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17941 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17943 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17944 about bounded pointers. Remove GKM FIXME comments.
17945 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17946 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17948 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17949 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17950 Remove GKM FIXME comments.
17951 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17952 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17953 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17955 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17956 about bounded pointers. Remove GKM FIXME comment.
17957 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17959 (strncmp): Don't use BP_SYM. Remove comment about bounded
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17962 <bp-sym.h> and <bp-asm.h>.
17963 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17965 <bp-sym.h> and <bp-asm.h>.
17966 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17969 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17971 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17974 2013-03-05 David S. Miller <davem@davemloft.net>
17976 * po/es.po: Update from translation team.
17978 2013-03-05 Andreas Jaeger <aj@suse.de>
17980 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17981 <bits/mman-linux.h>.
17982 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17984 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17985 <bits/mman-linux.h> to end of file.
17986 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17988 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17989 <bits/mman-linux.h> to end of file.
17990 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17992 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17993 <bits/mman-linux.h> to end of file.
17995 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17996 (MCL_CURRENT, MCL_FUTURE): Define here.
17998 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18001 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18003 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18005 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18007 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18008 fourth parameter needed for rt_sigprocmask syscall.
18009 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18010 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18011 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18012 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18014 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18016 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18019 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18020 comment about bounded pointers.
18021 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18022 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18024 2013-03-04 Andreas Jaeger <aj@suse.de>
18026 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18027 common definitions.
18029 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18030 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18031 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18036 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18039 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18040 __ieee754_sqrl instead of __sqrl.
18042 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18044 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18045 * sysdeps/powerpc/fpu_control.h: ... here.
18046 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18047 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18048 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18049 * sysdeps/powerpc/bits/mathinline.h: ... here.
18051 2013-03-01 Roland McGrath <roland@hack.frob.com>
18053 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18054 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18055 to just [NEED_DL_SYSINFO_DSO].
18056 * elf/dl-support.c: Likewise.
18057 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18058 * elf/rtld.c (dl_main): Likewise.
18059 * elf/setup-vdso.h (setup_vdso): Likewise.
18060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18061 * sysdeps/unix/sysv/linux/dl-sysdep.c
18062 (_dl_discover_osversion): Likewise.
18064 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18066 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18067 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18069 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18071 * NEWS: Mention libm performance improvements and non-x86 PI
18074 * csu/libc-start.c (__pthread_initialize_minimal): Change
18075 function arguments.
18076 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18078 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18081 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18082 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18083 <bp-sym.h> and <bp-asm.h>.
18084 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18085 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18087 (memcpy): Don't use BP_SYM.
18088 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18090 (__mpn_add_n): Don't use BP_SYM.
18091 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18092 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18094 (__mpn_addmul_1): Don't use BP_SYM.
18095 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18096 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18098 (_setjmp): Don't use BP_SYM.
18099 (__novmx_setjmp): Likewise.
18100 (__GI__setjmp): Likewise.
18101 (__vmx_setjmp): Likewise.
18102 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18104 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18105 (__bzero): Don't use BP_SYM.
18106 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18107 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18108 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18109 <bp-sym.h> and <bp-asm.h>.
18110 (memcpy): Don't use BP_SYM.
18111 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18112 <bp-sym.h> and <bp-asm.h>.
18113 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18114 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18115 <bp-sym.h> and <bp-asm.h>.
18116 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18117 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18119 (__mpn_lshift): Don't use BP_SYM.
18120 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18121 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18123 (memset): Don't use BP_SYM.
18124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18126 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18128 (__mpn_mul_1): Don't use BP_SYM.
18129 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18131 <bp-sym.h> and <bp-asm.h>.
18132 (memcmp): Don't use BP_SYM.
18133 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18134 <bp-sym.h> and <bp-asm.h>.
18135 (memcpy): Don't use BP_SYM.
18136 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18137 <bp-sym.h> and <bp-asm.h>.
18138 (memset): Don't use BP_SYM.
18139 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18140 <bp-sym.h> and <bp-asm.h>.
18141 (strncmp): Don't use BP_SYM.
18142 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18143 <bp-sym.h> and <bp-asm.h>.
18144 (memcpy): Don't use BP_SYM.
18145 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18146 <bp-sym.h> and <bp-asm.h>.
18147 (memset): Don't use BP_SYM.
18148 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18149 <bp-sym.h> and <bp-asm.h>.
18150 (__memchr): Don't use BP_SYM.
18151 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18152 <bp-sym.h> and <bp-asm.h>.
18153 (memcmp): Don't use BP_SYM.
18154 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18155 <bp-sym.h> and <bp-asm.h>.
18156 (memcpy): Don't use BP_SYM.
18157 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18158 <bp-sym.h> and <bp-asm.h>.
18159 (__mempcpy): Don't use BP_SYM.
18160 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18161 <bp-sym.h> and <bp-asm.h>.
18162 (__memrchr): Don't use BP_SYM.
18163 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18164 <bp-sym.h> and <bp-asm.h>.
18165 (memset): Don't use BP_SYM.
18166 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18167 <bp-sym.h> and <bp-asm.h>.
18168 (__rawmemchr): Don't use BP_SYM.
18169 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18170 <bp-sym.h> and <bp-asm.h>.
18171 (__STRCMP): Don't use BP_SYM.
18172 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18173 <bp-sym.h> and <bp-asm.h>.
18174 (strchr): Don't use BP_SYM.
18175 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18176 <bp-sym.h> and <bp-asm.h>.
18177 (__strchrnul): Don't use BP_SYM.
18178 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18179 <bp-sym.h> and <bp-asm.h>.
18180 (strlen): Don't use BP_SYM.
18181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18182 <bp-sym.h> and <bp-asm.h>.
18183 (strncmp): Don't use BP_SYM.
18184 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18185 <bp-sym.h> and <bp-asm.h>.
18186 (__strnlen): Don't use BP_SYM.
18187 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18189 (__mpn_rshift): Don't use BP_SYM.
18190 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18191 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18192 <bp-sym.h> and <bp-asm.h>.
18193 (__sigsetjmp): Don't use BP_SYM.
18194 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18195 (L(start_addresses)): Don't use BP_SYM.
18196 (_start): Likewise.
18197 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18199 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18200 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18201 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18202 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18204 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18205 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18206 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18207 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18209 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18211 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18212 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18214 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18216 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18217 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18218 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18220 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18222 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18224 (strncmp): Don't use BP_SYM,
18225 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18227 (__mpn_sub_n): Don't use BP_SYM.
18228 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18229 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18231 (__mpn_submul_1): Don't use BP_SYM.
18232 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18237 <bp-sym.h> and <bp-asm.h>.
18238 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18241 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18244 Use ZK to minimize writes to Z.
18245 (sub_magnitudes): Simplify code a bit.
18246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18247 Use ZK to minimize writes to Z.
18248 (sub_magnitudes): Simplify code a bit.
18250 2013-02-27 Roland McGrath <roland@hack.frob.com>
18252 * csu/gmon-start.c: Add special exception to license text.
18254 2013-02-27 Richard Henderson <rth@redhat.com>
18256 * scripts/config.guess: Update from config.git.
18257 * scripts/config.sub: Likewise.
18259 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18261 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18263 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18265 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18267 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18269 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18271 2013-02-26 Roland McGrath <roland@hack.frob.com>
18273 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18274 [$(build-shared = yes].
18276 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18278 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18279 (__mul): Reduce iterations for calculating mantissa.
18281 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18283 (__mpranred): Likewise.
18286 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18287 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18289 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18291 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18292 Define __attribute__.
18294 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18296 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18298 * posix/regex_internal.h (__attribute): Remove.
18299 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18300 (re_string_context_at): Likewise.
18301 (bitset_not): Use __attribute__ and mark function as possibly
18303 (bitset_merge): Likewise.
18304 (bitset_mask): Likewise.
18305 (re_string_char_size_at): Likewise.
18306 (re_string_wchar_at): Likewise.
18307 (re_string_elem_size_at): Likewise.
18309 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18311 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18315 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18319 (denorm): Likewise.
18320 (__dbl_mp): Likewise.
18321 (add_magnitudes): Likewise.
18322 (sub_magnitudes): Likewise.
18326 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18329 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18332 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18336 up changes with default code.
18337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18340 2013-02-24 Allan McRae <allan@archlinux.org>
18342 * manual/socket.texi (The Internet Namespace): Order menu items
18343 to match that in the file.
18345 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18346 node listing of the info page menu.
18348 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18351 * sysdeps/i386/bp-asm.h: Remove file.
18352 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18353 (PARMS): Do not use macros from bp-asm.h.
18357 (__mpn_add_n): Do not use BP_SYM
18358 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18360 (PARMS): Do not use macros from bp-asm.h.
18363 (__mpn_addmul_1): Do not use BP_SYM
18364 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18366 (PARMS): Do not use macros from bp-asm.h.
18367 (SIGMSK): Likewise.
18368 (_setjmp): Likewise. Do not use BP_SYM.
18369 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18371 (PARMS): Do not use macros from bp-asm.h.
18372 (SIGMSK): Likewise.
18373 (setjmp): Likewise. Do not use BP_SYM.
18374 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18376 (PARMS): Do not use macros from bp-asm.h.
18377 (__frexp): Do not use BP_SYM.
18379 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18381 (PARMS): Do not use macros from bp-asm.h.
18382 (__frexpf): Do not use BP_SYM.
18383 (frexpf): Likewise.
18384 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18386 (PARMS): Do not use macros from bp-asm.h.
18387 (__frexpl): Do not use BP_SYM.
18388 (frexpl): Likewise.
18389 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18391 (PARMS): Do not use macros from bp-asm.h.
18392 (__remquo): Do not use BP_SYM.
18393 (remquo): Likewise.
18394 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18396 (PARMS): Do not use macros from bp-asm.h.
18397 (__remquof): Do not use BP_SYM.
18398 (remquof): Likewise.
18399 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18401 (PARMS): Do not use macros from bp-asm.h.
18402 (__remquol): Do not use BP_SYM.
18403 (remquol): Likewise.
18404 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18406 (PARMS): Do not use macros from bp-asm.h.
18409 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18410 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18412 (PARMS): Do not use macros from bp-asm.h.
18413 (strlen): Do not use BP_SYM.
18414 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18416 (PARMS): Do not use macros from bp-asm.h.
18420 (__mpn_add_n): Do not use BP_SYM.
18421 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18423 (PARMS): Do not use macros from bp-asm.h.
18426 (__mpn_addmul_1): Do not use BP_SYM.
18427 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18430 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18432 (PARMS): Do not use macros from bp-asm.h.
18435 (__mpn_lshift): Do not use BP_SYM.
18436 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18438 (PARMS): Do not use macros from bp-asm.h.
18442 (memcpy): Likewise. Do not use BP_SYM.
18443 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18444 libc_hidden_def and weak_alias.
18445 (mempcpy): Do not use BP_SYM in weak_alias.
18446 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18448 (PARMS): Do not use macros from bp-asm.h.
18451 [!BZERO_P] (CHR): Likewise.
18452 (memset): Likewise. Do not use BP_SYM.
18453 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18455 (PARMS): Do not use macros from bp-asm.h.
18458 (__mpn_mul_1): Do not use BP_SYM.
18459 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18461 (PARMS): Do not use macros from bp-asm.h.
18464 (__mpn_rshift): Do not use BP_SYM.
18465 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18467 (PARMS): Do not use macros from bp-asm.h.
18470 (strchr): Likewise. Do not use BP_SYM.
18471 (index): Do not use BP_SYM in weak_alias.
18472 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18474 (PARMS): Do not use macros from bp-asm.h.
18477 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18478 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18480 (PARMS): Do not use macros from bp-asm.h.
18481 (strlen): Do not use BP_SYM.
18482 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18484 (PARMS): Do not use macros from bp-asm.h.
18488 (__mpn_sub_n): Do not use BP_SYM.
18489 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18491 (PARMS): Do not use macros from bp-asm.h.
18494 (__mpn_submul_1): Do not use BP_SYM.
18495 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18497 (PARMS): Do not use macros from bp-asm.h.
18501 (__mpn_add_n): Do not use BP_SYM.
18502 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18505 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18507 (PARMS): Do not use macros from bp-asm.h.
18510 (memcmp): Do not use BP_SYM.
18511 (bcmp): Do not use BP_SYM in weak_alias.
18512 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18514 (PARMS): Do not use macros from bp-asm.h.
18518 (memcpy): Likewise. Do not use BP_SYM.
18519 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18521 (PARMS): Do not use macros from bp-asm.h.
18525 (memmove): Likewise. Do not use BP_SYM.
18526 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18528 (PARMS): Do not use macros from bp-asm.h.
18532 (__mempcpy): Likewise. Do not use BP_SYM.
18533 (mempcpy): Do not use BP_SYM in weak_alias.
18534 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18536 (PARMS): Do not use macros from bp-asm.h.
18539 [!BZERO_P] (CHR): Likewise.
18540 (memset): Likewise. Do not use BP_SYM.
18541 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18543 (PARMS): Do not use macros from bp-asm.h.
18545 (strcmp): Do not use BP_SYM.
18546 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18548 (PARMS): Do not use macros from bp-asm.h.
18551 [USE_AS_STRTOK_R] (SAVE): Likewise.
18552 (FUNCTION): Likewise. Do not use BP_SYM.
18553 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18555 (strtok_r): Likewise.
18556 (__GI___strtok_r): Likewise.
18557 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18558 (PARMS): Do not use macros from bp-asm.h.
18561 (__mpn_lshift): Do not use BP_SYM.
18562 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18563 (PARMS): Do not use macros from bp-asm.h.
18566 (__memchr): Do not use BP_SYM.
18567 (memchr): Do not use BP_SYM in weak_alias.
18568 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18569 (PARMS): Do not use macros from bp-asm.h.
18572 (memcmp): Do not use BP_SYM.
18573 (bcmp): Do not use BP_SYM in weak_alias.
18574 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18575 (PARMS): Do not use macros from bp-asm.h.
18578 (__mpn_mul_1): Do not use BP_SYM.
18579 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18581 (PARMS): Do not use macros from bp-asm.h.
18584 (__rawmemchr): Do not use BP_SYM.
18585 (rawmemchr): Do not use BP_SYM in weak_alias.
18586 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18587 (PARMS): Do not use macros from bp-asm.h.
18590 (__mpn_rshift): Do not use BP_SYM.
18591 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18592 (PARMS): Do not use macros from bp-asm.h.
18593 (SIGMSK): Likewise.
18594 (__sigsetjmp): Likewise. Do not use BP_SYM.
18595 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18596 (_start): Do not use BP_SYM.
18597 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18598 (PARMS): Do not use macros from bp-asm.h.
18601 (__stpcpy): Likewise. Do not use BP_SYM.
18602 (stpcpy): Do not use BP_SYM in weak_alias.
18603 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18605 (PARMS): Do not use macros from bp-asm.h.
18609 (__stpncpy): Likewise. Do not use BP_SYM.
18610 (stpncpy): Do not use BP_SYM in weak_alias.
18611 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18612 (PARMS): Do not use macros from bp-asm.h.
18615 (strchr): Likewise. Do not use BP_SYM.
18616 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18618 (PARMS): Do not use macros from bp-asm.h.
18621 (__strchrnul): Likewise. Do not use BP_SYM.
18622 (strchrnul): Do not use BP_SYM in weak_alias.
18623 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18625 (PARMS): Do not use macros from bp-asm.h.
18627 (strcspn): Do not use BP_SYM.
18628 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18630 (PARMS): Do not use macros from bp-asm.h.
18633 (strpbrk): Likewise. Do not use BP_SYM.
18634 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18636 (PARMS): Do not use macros from bp-asm.h.
18639 (strrchr): Likewise. Do not use BP_SYM.
18640 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18641 (PARMS): Do not use macros from bp-asm.h.
18643 (strspn): Do not use BP_SYM.
18644 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18645 (PARMS): Do not use macros from bp-asm.h.
18649 (FUNCTION): Likewise. Do not use BP_SYM.
18650 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18652 (strtok_r): Likewise.
18653 (__GI___strtok_r): Likewise.
18654 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18655 (PARMS): Do not use macros from bp-asm.h.
18659 (__mpn_sub_n): Do not use BP_SYM.
18660 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18662 (PARMS): Do not use macros from bp-asm.h.
18665 (__mpn_submul_1): Do not use BP_SYM.
18666 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18668 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18670 (PARMS): Do not use macros from bp-asm.h.
18675 (__clone): Do not use BP_SYM.
18676 (clone): Do not use BP_SYM in weak_alias.
18677 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18679 (PARMS): Do not use macros from bp-asm.h.
18681 (__mmap64): Do not use BP_SYM.
18682 (mmap64): Do not use BP_SYM in weak_alias.
18683 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18684 <bp-sym.h> and <bp-asm.h>.
18685 (PARMS): Do not use macros from bp-asm.h.
18686 (__posix_fadvise64_l64): Do not use BP_SYM.
18687 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18688 (PARMS): Do not use macros from bp-asm.h.
18690 (semtimedop): Do not use BP_SYM.
18691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18694 2013-02-21 Allan McRae <allan@archlinux.org>
18696 * manual/message.texi (Charset conversion in gettext):
18697 Move @end statement to beginning of line.
18699 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18706 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18707 (denorm): Likewise.
18708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18711 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18713 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18714 tail-call to the resolved function if pltexit isn't needed.
18716 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18719 or Y being zero as being unlikely.
18720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18723 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18725 * manual/nss.texi (System Databases and Name Service Switch):
18726 Remove frobnicate @pxref.
18728 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18730 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18731 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18733 2013-02-20 Petr Machata <pmachata@redhat.com>
18735 * elf/elf.h (R_ARM_TARGET1): New macro.
18736 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18737 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18738 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18739 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18740 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18741 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18742 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18743 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18744 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18745 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18746 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18747 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18748 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18749 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18750 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18751 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18752 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18753 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18754 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18755 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18756 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18757 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18758 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18759 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18760 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18761 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18762 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18763 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18764 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18765 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18766 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18767 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18768 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18769 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18770 (R_ARM_THM_GOT_BREL12): Likewise.
18771 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18772 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18773 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18774 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18775 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18776 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18777 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18778 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18779 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18781 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18783 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18784 __attribute_used__ to __attribute__ ((unused)).
18786 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18788 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18791 comment formatting.
18792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18794 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18797 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18799 (ENTER): Remove both macro definitions.
18801 (CHECK_BOUNDS_LOW): Likewise.
18802 (CHECK_BOUNDS_HIGH): Likewise.
18803 (CHECK_BOUNDS_BOTH): Likewise.
18804 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18805 (RETURN_BOUNDED_POINTER): Likewise.
18806 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18807 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18808 (POP_ERRNO_LOCATION_RETURN): Likewise.
18809 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18810 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18811 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18813 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18814 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18815 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18816 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18817 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18818 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18819 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18820 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18821 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18822 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18823 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18824 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18825 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18826 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18828 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18829 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18831 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18832 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18833 * sysdeps/i386/i586/memset.S (memset): Likewise.
18834 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18836 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18838 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18839 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18840 Change uses of L(2) to L(out).
18841 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18842 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18843 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18844 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18845 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18847 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18848 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18850 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18851 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18852 (RETURN): Do not use macro LEAVE.
18853 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18854 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18855 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18856 * sysdeps/i386/i686/memset.S (memset): Likewise.
18857 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18858 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18859 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18860 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18862 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18863 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18864 L(1_2) and L(1_3) into L(1).
18865 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18866 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18867 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18868 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18869 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18870 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18871 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18872 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18873 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18875 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18876 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18878 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18879 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18880 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18881 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18882 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18883 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18884 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18885 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18886 * sysdeps/i386/strspn.S (strspn): Likewise.
18887 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18889 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18890 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18891 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18892 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18893 L(1_3) into L(1_1).
18894 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18895 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18896 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18898 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18900 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18902 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18905 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18907 * math/atest-exp.c (exp_mpn): Remove ROUND.
18908 * math/atest-exp2.c (exp_mpn): Likewise.
18909 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18911 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18912 * stdlib/tst-tls-atexit-lib.c: Likewise.
18913 * stdlib/tst-tls-atexit.c: Likewise.
18915 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18917 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18918 and __attribute_alloc_size__.
18920 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18922 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18923 __attribute_alloc_size__.
18924 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18925 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18927 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18929 * include/programs/xmalloc.h: New file.
18930 * catgets/gencat.c: Include it.
18931 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18932 * elf/pldd.c: Likewise.
18933 * iconv/iconv_charmap.c: Likewise.
18934 * iconv/iconvconfig.c: Likewise.
18935 * iconv/strtab.c: Likewise.
18936 * locale/programs/locale.c: Likewise.
18937 * locale/programs/localedef.h: Likewise.
18938 * locale/programs/simple-hash.c: Likewise.
18939 * nscd/nscd.h: Likewise.
18940 * nss/makedb.c: Likewise.
18941 * sysdeps/generic/ldconfig.h: Likewise.
18943 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18945 * Versions.def: Add GLIBC_2.18.
18946 * include/link.h (struct link_map): New member l_tls_dtor_count.
18947 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18948 (__call_tls_dtors): Likewise.
18949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18950 __cxa_thread_atexit_impl.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18967 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18968 (tests): Add test case tst-tls-atexit.
18969 (modules-names): Add shared library for tst-tls-atexit.
18970 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18971 (GLIBC_PRIVATE): Add __call_tls_dtors.
18972 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18974 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18975 * stdlib/tst-tls-atexit.c: New test case.
18976 * stdlib/tst-tls-atexit-lib.c: New test case.
18978 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18980 * elf/Versions (ld): Add _dl_find_dso_for_object.
18981 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18982 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18983 (dl_open_worker): Use _dl_find_dso_for_object.
18984 * elf/dl-sym.c (do_sym): Likewise.
18985 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18987 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18989 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18990 Syntactic changes only.
18991 (_dl_runtime_profile): Do a tail-call to the resolved function.
18993 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/x86_64/bp-asm.h: Remove file.
18997 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18998 <bp-sym.h> and <bp-asm.h>.
18999 (__clone): Do not use BP_SYM.
19000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19001 <bp-sym.h> and <bp-asm.h>.
19002 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19003 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19005 (_setjmp): Do not use BP_SYM.
19006 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19008 (setjmp): Do not use BP_SYM.
19009 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19011 (mempcpy): Do not use BP_SYM in weak_alias.
19012 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19014 (strchr): Do not use BP_SYM.
19015 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19017 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19018 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19019 (_start): Do not use BP_SYM.
19020 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19022 (strcat): Do not use BP_SYM.
19023 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19025 (STRCMP): Do not use BP_SYM.
19026 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19028 (STRCPY): Do not use BP_SYM.
19029 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19031 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19033 (FUNCTION): Do not use BP_SYM.
19034 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19036 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19038 2013-02-17 Andreas Jaeger <aj@suse.de>
19040 * time/Versions: Sort entries.
19041 * string/Versions: Likewise.
19042 * resolv/Versions: Likewise.
19043 * posix/Versions: Likewise.
19044 * iconv/Versions: Likewise.
19045 * elf/Versions: Likewise.
19046 * wcsmbs/Versions: Likewise.
19048 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19050 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19051 loop termination condition.
19053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19054 variable to calculate EZ.
19057 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19058 the lower precision input.
19060 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19063 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19064 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19065 (run-via-rtld-prefix): Do not handle %-bp tests.
19066 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19067 (all-object-suffixes): Remove .ob.
19068 (bppfx): Remove variable.
19069 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19070 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19071 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19072 [$(build-bounded) = yes] (libtype.ob): Likewise.
19073 * Makerules (elide-routines.ob): Remove variable.
19074 (do-tests-clean): Do not handle *-bp.out.
19075 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19076 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19077 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19078 (tests): Do not include $(tests-bp.out).
19079 (xtests): Do not include $(xtests-bp.out).
19080 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19081 [$(build-bounded) = yes] ($(addprefix
19082 $(objpfx),$(binaries-bounded))): Remove rule.
19083 ($(objpfx)%-bp.out): Remove rule.
19084 * config.make.in (build-bounded): Remove variable.
19085 * crypt/Makefile [$(build-bounded) = yes]
19086 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19087 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19088 append to variable.
19089 [$(build-bounded) = yes] (install-lib): Likewise.
19090 [$(build-bounded) = yes] (generated): Likewise.
19091 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19093 * intl/Makefile [$(build-bounded) = yes]
19094 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19095 * math/Makefile [$(build-bounded) = yes]
19096 ($(tests:%=$(objpfx)%-bp): Likewise.
19097 * misc/Makefile [$(build-bounded) = yes]
19098 ($(objpfx)tst-tsearch-bp): Likewise.
19099 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19100 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19102 * string/Makefile (o-objects.ob): Remove variable.
19103 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19104 (CFLAGS-.ob): Remove variable.
19105 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19106 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19107 both definitions of variable.
19108 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19109 (ASFLAGS-.ob): Remove variable.
19111 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19114 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19115 Remove __BOUNDED_POINTERS__ from condition.
19116 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19117 * string/bits/string2.h [!__NO_STRING_INLINES &&
19118 !__BOUNDED_POINTERS__]: Likewise.
19119 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19121 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19122 Remove conditional code.
19123 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19124 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19125 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19129 * csu/libc-start.c: Do not include <bp-sym.h>.
19130 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19131 * elf/dl-open.c: Do not include <bp-sym.h>.
19132 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19133 * math/fegetenv.c: Do not include <bp-sym.h>.
19134 (fegetenv): Do not use BP_SYM in versioned symbols.
19135 * nptl/sysdeps/pthread/bits/libc-lockP.h
19136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19139 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19141 (__pthread_mutex_destroy): Likewise.
19142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19143 (__pthread_mutex_lock): Likewise.
19144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19145 (__pthread_mutex_trylock): Likewise.
19146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19147 (__pthread_mutex_unlock): Likewise.
19148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19149 (__pthread_mutexattr_init): Likewise.
19150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19151 (__pthread_mutexattr_destroy): Likewise.
19152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19153 (__pthread_mutexattr_settype): Likewise.
19154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19155 (__pthread_rwlock_init): Likewise.
19156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19157 (__pthread_rwlock_destroy): Likewise.
19158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19159 (__pthread_rwlock_rdlock): Likewise.
19160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19161 (__pthread_rwlock_tryrdlock): Likewise.
19162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19163 (__pthread_rwlock_wrlock): Likewise.
19164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19165 (__pthread_rwlock_trywrlock): Likewise.
19166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19167 (__pthread_rwlock_unlock): Likewise.
19168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19169 (__pthread_key_create): Likewise.
19170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19171 (__pthread_setspecific): Likewise.
19172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19173 (__pthread_getspecific): Likewise.
19174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19177 (_pthread_cleanup_push_defer): Likewise.
19178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19179 (_pthread_cleanup_pop_restore): Likewise.
19180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19181 (pthread_setcancelstate): Likewise.
19182 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19184 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19185 (memchr): Do not use BP_SYM in weak_alias.
19186 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19187 (fegetenv): Do not use BP_SYM in versioned symbols.
19188 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19189 (fesetenv): Do not use BP_SYM in versioned symbols.
19190 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19191 (feupdateenv): Do not use BP_SYM in versioned symbols.
19192 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19193 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19194 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19195 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19196 (open64): Do not use BP_SYM in weak_alias.
19197 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19198 (fegetenv): Do not use BP_SYM in versioned symbols.
19199 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19200 (fesetenv): Do not use BP_SYM in versioned symbols.
19201 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19202 (feupdateenv): Do not use BP_SYM in versioned symbols.
19203 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19204 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19205 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19206 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19207 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19208 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19209 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19211 (__libc_start_main): Do not use BP_SYM.
19213 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19216 redundant return line.
19218 (denorm): Likewise.
19219 (dbl_mp): Likewise.
19220 (sub_magnitudes): Likewise.
19226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19228 (denorm): Likewise.
19229 (dbl_mp): Likewise.
19230 (sub_magnitudes): Likewise.
19237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19239 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19240 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19243 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19244 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19246 of __mul for squares.
19247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19251 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19254 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19257 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19259 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19260 prototype or function definition. Rename ubp_* variables and
19261 parameters. Remove argv definitions conditional on
19262 [__BOUNDED_POINTERS__].
19263 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19264 * elf/dl-runtime.c (_dl_fixup): Likewise.
19265 * include/set-hooks.h (RUN_HOOK): Likewise.
19266 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19268 * string/strcpy.c (strcpy): Do not use __unbounded.
19269 * sysdeps/generic/frame.h (struct layout): Likewise.
19270 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19271 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19272 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19273 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19274 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19275 (__backtrace): Likewise.
19276 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19278 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19279 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19280 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19282 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19283 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19284 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19285 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19286 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19287 Do not use __unbounded.
19288 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19289 Rename __unboundedrlimits parameter to rlimits in prototype.
19290 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19291 Do not use __unbounded.
19292 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19293 not use __ptrvalue.
19294 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19295 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19296 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19297 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19298 __ptrvalue or __unbounded.
19299 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19300 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19302 (__new_msgctl): Do not use __ptrvalue.
19303 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19305 (__libc_msgrcv): Do not use __ptrvalue.
19306 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19307 startup_info): Do not use __unbounded.
19308 (__libc_start_main): Likewise. Rename ubp_* variables and
19309 parameters. Remove argv definitions conditional on
19310 [__BOUNDED_POINTERS__].
19311 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19313 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19315 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19317 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19319 (__new_shmctl): Do not use __ptrvalue.
19320 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19321 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19323 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19325 (__libc_sigaction): Likewise.
19326 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19329 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19331 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19333 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19335 * string/mempcpy.c: Implement by calling memcpy.
19337 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19345 values in the mantissa.
19347 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19348 minimize writes to Z.
19349 (sub_magnitudes): Simplify code a bit.
19351 2013-02-12 Roland McGrath <roland@hack.frob.com>
19353 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19354 from the message. The linker prefixes all warnings with that already.
19356 2013-02-12 Andreas Schwab <schwab@suse.de>
19359 * posix/regexec.c (extend_buffers): Add parameter min_len.
19360 (check_matching): Pass minimum needed length.
19361 (clean_state_log_if_needed): Likewise.
19362 (get_subexp): Likewise.
19363 * posix/Makefile (tests): Add bug-regex34.
19364 (bug-regex34-ENV): Define.
19365 * posix/bug-regex34.c: New file.
19368 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19369 elements compare against the byte sequence of it, not its name.
19370 * posix/Makefile (tests): Add bug-regex35.
19371 (bug-regex35-ENV): Define.
19372 * posix/bug-regex35.c: New file.
19374 2013-02-11 Tom de Vries <tom@codesourcery.com>
19376 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19378 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19379 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19380 (CHECK_EOL): Add undef.
19382 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19384 * bits/stdlib-bsearch.h: New file.
19385 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19386 * stdlib/stdlib.h: Likewise.
19388 2013-02-11 Roland McGrath <roland@hack.frob.com>
19390 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19391 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19393 * manual/search.texi (Array Search Function): Add missing const in
19395 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19396 declaration to use rlim_t.
19397 (Basic Scheduling Functions): Remove erroneous const from
19398 sched_getparam prototype. Remove erroneous * from
19399 sched_get_priority_max and sched_get_priority_min prototypes.
19400 (Resource Usage): Fix summary @comment on vtimes to refer to
19401 sys/vtimes.h rather than vtimes.h.
19402 Add missing *s in vtimes prototype.
19403 (Limits on Resources): Fix ulimit prototype to return long int.
19404 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19405 prototypes to use long int rather than double.
19406 (BSD Random): Fix initstate and setstate to use char *, not void *.
19407 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19408 prototype to make second argument 'struct aiocb64 *const[]'.
19409 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19410 (Status of AIO Operations): Remove erroneous const in aio_return and
19411 aio_return64 prototypes.
19412 (Synchronizing I/O): Fix sync prototype to return void.
19413 * manual/startup.texi (Suboptions): Remove an erroneous const in
19414 getsubopt prototype.
19415 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19416 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19417 use size_t rather than int.
19418 (Scanning All Users): Likewise for getpwent_r.
19419 (Setting Groups): Add missing const to setgroups prototype.
19420 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19421 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19422 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19423 'const void *' rather than 'const char *'.
19424 (Host Address Functions): Likewise for inet_ntop.
19425 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19426 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19427 ssize_t for return value.
19428 (Sending Data): Likewise for send, sendto, sendmsg.
19429 (Socket Option Functions): Add a missing const in setsockopt prototype.
19430 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19431 use wchar_t for the argument.
19432 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19433 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19435 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19436 double/float/long double for second argument.
19437 Fix return types of significand, significandf, significandl.
19438 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19439 argument in fchmod prototype.
19440 (File Owner): Use uid_t and gid_t in fchown prototype.
19441 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19442 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19443 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19444 use 'const struct dirent **' as argument types to CMP function pointer
19446 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19447 (File Times): Fix summary magic @comment for struct utimbuf and utime
19448 to refer to utime.h, not time.h.
19449 * manual/string.texi (Argz Functions): Add missing const in
19450 argz_extract and argz_next prototypes.
19451 (Finding Tokens in a String): Likewise for basename.
19452 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19453 (Copying and Concatenation): Fix typo in wmemmove prototype.
19454 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19455 (Signal Stack): Remove erroneous const in sigstack prototype.
19456 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19458 (Simple Calendar Time): Likewise for stime.
19459 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19461 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19462 say sys/sysctl.h instead.
19463 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19464 and vsyslog prototypes.
19466 2013-02-11 Tom de Vries <tom@codesourcery.com>
19468 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19471 2013-02-11 Roland McGrath <roland@hack.frob.com>
19473 * misc/sys/mman.h: Fix typo in mremap comment.
19475 2013-02-08 Roland McGrath <roland@hack.frob.com>
19477 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19478 the '\0' terminator.
19480 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19483 * debug/segfault.c: Don't include <bp-checks.h>.
19484 * sysdeps/generic/bp-checks.h: Remove file.
19485 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19486 (__GETDENTS): Don't use CHECK_N.
19487 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19488 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19489 (__getgroups): Don't use CHECK_N.
19490 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19491 (setgroups): Don't use CHECK_N.
19492 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19493 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19494 (__libc_msgrcv): Don't use CHECK_N.
19495 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19496 (__libc_msgsnd): Don't use CHECK_N.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19499 (__libc_pread): Don't use CHECK_N.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19501 include <bp-checks.h>.
19502 (__libc_pread64): Don't use CHECK_N.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19504 include <bp-checks.h>.
19505 (__libc_pwrite): Don't use CHECK_N.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19507 include <bp-checks.h>.
19508 (__libc_pwrite64): Don't use CHECK_N.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19511 (__libc_pread): Don't use CHECK_N.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19513 include <bp-checks.h>.
19514 (__libc_pread64): Don't use CHECK_N.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19516 include <bp-checks.h>.
19517 (__libc_pwrite): Don't use CHECK_N.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19519 include <bp-checks.h>.
19520 (__libc_pwrite64): Don't use CHECK_N.
19521 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19522 (do_pread): Don't use CHECK_N.
19523 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19524 (do_pread64): Don't use CHECK_N.
19525 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19526 (do_pwrite): Don't use CHECK_N.
19527 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19528 (do_pwrite64): Don't use CHECK_N.
19529 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19530 (__libc_readv): Don't use CHECK_N.
19531 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19532 (semop): Don't use CHECK_N.
19533 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19535 (semtimedop): Don't use CHECK_N.
19536 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19537 (__libc_pread): Don't use CHECK_N.
19538 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19540 (__libc_pread64): Don't use CHECK_N.
19541 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19543 (__libc_pwrite): Don't use CHECK_N.
19544 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19546 (__libc_pwrite64): Don't use CHECK_N.
19547 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19549 (__libc_msgrcv): Don't use CHECK_N.
19550 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19551 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19552 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19553 (__libc_writev): Don't use CHECK_N.
19555 2013-02-08 Roland McGrath <roland@hack.frob.com>
19557 * string/strcpy.c: Removed unused variable.
19559 * Makeconfig (+sysdep-includes): Define with := rather than =.
19560 Use an existing include/ subdir of each sysdeps dir before it.
19562 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19564 * nscd/connection.c (register_traced_file): Comment function.
19565 [HAVE_INOTIFY] (union __inev): Define.
19566 [HAVE_INOTIFY] (inotify_check_files): New function.
19567 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19568 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19570 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19572 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19574 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19575 loaded if not already and that a failure is permanent.
19577 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19580 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19581 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19583 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19586 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19587 (CHECK_1_NULL_OK): Likewise.
19588 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19589 (__fxstat): Do not use CHECK_1.
19590 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19592 (___fxstat64): Do not use CHECK_1.
19593 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19595 (__fxstatat): Do not use CHECK_1.
19596 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19598 (__fxstatat64): Do not use CHECK_1.
19599 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19601 (__fxstat): Do not use CHECK_1.
19602 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19604 (__fxstatat): Do not use CHECK_1.
19605 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19607 (__getresgid): Do not use CHECK_1.
19608 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19610 (__getresuid): Do not use CHECK_1.
19611 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19613 (__lxstat): Do not use CHECK_1.
19614 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19616 (__old_msgctl): Do not use CHECK_1.
19617 (__new_msgctl): Likewise.
19618 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19620 (__new_setrlimit): Do not use CHECK_1.
19621 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19623 (__old_shmctl): Do not use CHECK_1.
19624 (__new_shmctl): Likewise.
19625 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19627 (__xstat): Do not use CHECK_1.
19628 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19629 (__lxstat): Do not use CHECK_1.
19630 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19632 (___lxstat64): Do not use CHECK_1.
19633 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19634 (__old_msgctl): Do not use CHECK_1.
19635 (__new_msgctl): Likewise.
19636 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19638 (__gettimeofday): Do not use CHECK_1.
19639 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19640 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19641 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19643 (__gettimeofday): Do not use CHECK_1.
19644 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19645 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19646 (__new_shmctl): Do not use CHECK_1.
19647 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19649 (do_sigtimedwait): Do not use CHECK_1.
19650 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19652 (do_sigwaitinfo): Do not use CHECK_1.
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19655 (msgctl): Do not use CHECK_1.
19656 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19658 (shmctl): Do not use CHECK_1.
19659 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19660 (ustat): Do not use CHECK_1.
19661 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19663 (__fxstat): Do not use CHECK_1.
19664 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19666 (__fxstatat): Do not use CHECK_1.
19667 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19669 (__lxstat): Do not use CHECK_1.
19670 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19672 (__xstat): Do not use CHECK_1.
19673 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19674 (__xstat): Do not use CHECK_1.
19675 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19676 (___xstat64): Do not use CHECK_1.
19679 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19681 (CHECK_BOUNDS_HIGH): Likewise.
19682 * string/strcpy.c: Do not include <bp-checks.h>.
19683 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19685 2013-02-07 Roland McGrath <roland@hack.frob.com>
19687 * nscd/nscd-client.h (__nscd_drop_map_ref):
19688 Add __attribute__ ((unused)).
19689 * nis/nss-nisplus.h (niserr2nss): Likewise.
19691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19692 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19694 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19695 Remove inline keyword.
19696 * include/rounding-mode.h (round_away): Likewise.
19697 * libio/wfileops.c (adjust_wide_data): Likewise.
19698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19699 (__m128i_strloadu_tolower): Likewise.
19700 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19701 (__m128i_strloadu_tolower): Likewise.
19702 * time/mktime.c (ydhms_diff): Likewise.
19703 * locale/elem-hash.h (elem_hash): Likewise.
19704 * locale/setlocale.c (setdata): Likewise.
19705 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19706 (re_string_wchar_at): Likewise.
19707 (bitset_not, bitset_merge, bitset_mask): Likewise.
19708 [!(__GNUC__ > 3)] (inline): Remove macro.
19709 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19710 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19711 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19712 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19713 * string/memcmp.c (memcmp_bytes): Likewise.
19714 * locale/programs/locarchive.c (compute_hashval): Likewise.
19715 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19716 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19717 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19718 * nss/getent.c (print_rpc, print_protocols): Likewise.
19719 (print_passwd, print_group, print_aliases): Likewise.
19720 * nis/nss-nisplus.h (niserr2nss): Likewise.
19721 * nscd/connections.c (restart_p): Likewise.
19722 Change return type to bool.
19724 2013-02-05 Roland McGrath <roland@hack.frob.com>
19726 * Makeconfig (all-Depend-files): Add existing
19727 $(sorted-subdirs:=/Depend) files.
19728 (all-subdirs): Remove nss.
19729 * sysdeps/unix/inet/Subdirs: Add it here instead.
19730 * hesiod/Depend: New file.
19732 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19733 instead of calling alloca.
19735 * io/lseek.c (__lseek): Rename to __libc_lseek.
19736 Define __lseek as an alias.
19738 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19740 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19742 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19743 else clause and remove check for non-standard endianness.
19745 2013-02-04 David S. Miller <davem@davemloft.net>
19747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19749 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19752 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19753 (__ubp_memchr): Remove prototype.
19754 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19755 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19756 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19757 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19758 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19760 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19761 (__ubp_memchr): Likewise.
19762 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19763 (__ubp_memchr): Likewise.
19764 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19765 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19766 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19767 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19769 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19770 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19771 (__getcwd): Do not use CHECK_STRING.
19772 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19774 (__real_chown): Do not use CHECK_STRING.
19775 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19777 (fchownat): Do not use CHECK_STRING.
19778 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19780 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19782 (__lchown): Do not use CHECK_STRING.
19783 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19784 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19785 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19786 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19788 include <bp-checks.h>.
19789 (truncate64): Do not use CHECK_STRING.
19790 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19792 (__real_chown): Do not use CHECK_STRING.
19793 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19795 (__lchown): Do not use CHECK_STRING.
19796 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19798 (__chown): Do not use CHECK_STRING.
19799 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19801 (truncate64): Do not use CHECK_STRING.
19802 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19804 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19805 (__xmknod): Do not use CHECK_STRING.
19806 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19808 (__xmknodat): Do not use CHECK_STRING.
19809 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19810 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19812 2013-02-04 Andreas Schwab <schwab@suse.de>
19815 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19816 * include/netdb.h: Likewise for h_errno.
19817 * elf/tst-stackguard1.c: Include <tls.h>.
19819 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19821 * elf/link.h (struct link_map): Extend the l_addr comment.
19822 * include/link.h (struct link_map): Likewise.
19824 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19827 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19828 (BOUNDED_1): Remove macro.
19829 * debug/backtrace.c: Don't include <bp-checks.h>.
19830 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19831 (__backtrace): Likewise.
19832 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19834 (__backtrace): Don't use BOUNDED_1.
19835 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19837 (__backtrace): Don't use BOUNDED_1.
19838 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19839 (__backtrace): Don't use BOUNDED_1.
19840 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19841 (shmat): Don't use BOUNDED_N.
19843 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19846 * sysdeps/generic/bp-start.h: Remove file.
19847 * csu/libc-start.c: Don't include <bp-start.h>.
19848 (LIBC_START_MAIN): Set up __environ directly instead of using
19849 INIT_ARGV_and_ENVIRON.
19850 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19854 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19856 (CHECK_FCNTL): Likewise.
19857 (CHECK_N_PAGES): Likewise.
19860 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19862 (CHECK_SIGSET_NULL_OK): Likewise.
19863 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19865 (sigpending): Don't use CHECK_SIGSET.
19866 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19868 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19869 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19871 (do_sigsuspend): Don't use CHECK_SIGSET.
19872 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19874 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19875 (do_sigwait): Don't use CHECK_SIGSET.
19876 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19879 include <bp-checks.h>.
19880 (sigpending): Don't use CHECK_SIGSET.
19881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19882 include <bp-checks.h>.
19883 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19884 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19886 (sigpending): Don't use CHECK_SIGSET.
19887 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19889 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19892 * sysdeps/generic/bp-semctl.h: Remove file.
19893 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19894 <bp-checks.h> and <bp-semctl.h>.
19895 (__old_semctl): Don't use CHECK_SEMCTL.
19896 (__new_semctl): Likewise.
19897 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19899 (__old_semctl): Don't use CHECK_SEMCTL.
19900 (__new_semctl): Likewise.
19901 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19902 <bp-checks.h> and <bp-semctl.h>.
19903 (__old_semctl): Don't use CHECK_SEMCTL.
19904 (__new_semctl): Likewise.
19905 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19906 <bp-checks.h> and <bp-semctl.h>.
19907 (semctl): Don't use CHECK_SEMCTL.
19910 * Makerules (elide-bp-thunks): Remove variable.
19911 (elide-routines.oS): Don't use $(elide-bp-thunks).
19912 (elide-routines.os): Likewise.
19913 (elide-routines.o): Likewise.
19914 (elide-routines.op): Likewise.
19915 (elide-routines.og): Likewise.
19916 (objects): Don't use $(bp-thunks).
19917 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19919 (common-generated): Do not add s-proto-bp.d.
19920 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19923 Do not generate makefile rules for bounded-pointer thunks.
19924 * sysdeps/generic/bp-thunks.h: Remove file.
19925 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19926 * sysdeps/unix/s-proto-bp.S: Likewise.
19929 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19930 parts of result separately when argument is not close to line from
19931 -i to i and one part of argument is small.
19932 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19933 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19934 * math/libm-test.inc (cacos_test): Add more tests.
19935 (casin_test): Likewise.
19936 (casinh_test): Likewise.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 2013-01-31 David S. Miller <davem@davemloft.net>
19942 * po/de.po: Update from translation team.
19944 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19946 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19948 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19950 * configure.in (_AC_PROG_CC_C89): New definition.
19951 * configure: Regenerate.
19953 * configure.in (AC_PROG_CPP): New definition.
19954 * configure: Regenerate.
19956 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19958 * debug/tst-backtrace.h: New file.
19959 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19960 (ret): Remove variable.
19962 (FAIL): Remove macro.
19963 (NO_INLINE): Likewise.
19964 (fn1): Use match function instead of strstr.
19965 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19966 (ret): Remove variable.
19968 (FAIL): Remove macro.
19969 (NO_INLINE): Likewise.
19970 (fn): Use match function instead of strstr.
19971 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19972 (ret): Remove variable.
19974 (FAIL): Remove macro.
19975 (NO_INLINE): Likewise.
19976 (handle_signal): Use match function instead of strstr.
19977 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19978 (ret): Remove variable.
19980 (FAIL): Remove macro.
19981 (NO_INLINE): Likewise.
19982 (handle_signal): Use match function instead of strstr.
19984 2013-01-23 Roland McGrath <roland@hack.frob.com>
19986 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19988 2013-01-23 David S. Miller <davem@davemloft.net>
19990 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19991 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19992 argument of CAS if possible.
19993 * sysdeps/sparc/sparc64/bits/atomic.h
19994 (__arch_compare_and_exchange_val_32_acq): Likewise.
19995 (__arch_compare_and_exchange_val_64_acq): Likewise.
19997 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19999 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20000 * sysdeps/posix/ulimit.c: ... this.
20001 Include <limits.h>.
20002 * sysdeps/unix/bsd/ulimit.c: Remove file.
20004 2013-01-23 Adam Conrad <adconrad@0c3.net>
20006 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20007 (LDFLAGS-tst-array5): Likewise.
20009 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20012 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20013 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20014 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20015 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20017 2013-01-21 David S. Miller <davem@davemloft.net>
20019 * sysdeps/sparc/backtrace.c: New file.
20020 * sysdeps/sparc/sparc32/backtrace.h: New file.
20021 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20022 * sysdeps/sparc/sparc64/backtrace.h: New file.
20023 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20024 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20027 2013-01-21 Andreas Schwab <schwab@suse.de>
20030 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20033 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20039 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20040 Mark Mitchell <mark@codesourcery.com>
20041 Tom de Vries <tom@codesourcery.com>
20042 Paul Pluzhnikov <ppluzhnikov@google.com>
20044 * debug/tst-backtrace2.c: New file.
20045 * debug/tst-backtrace3.c: Likewise.
20046 * debug/tst-backtrace4.c: Likewise.
20047 * debug/tst-backtrace5.c: Likewise.
20048 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20049 (CFLAGS-tst-backtrace3.c): Likewise.
20050 (CFLAGS-tst-backtrace4.c): Likewise.
20051 (CFLAGS-tst-backtrace5.c): Likewise.
20052 (LDFLAGS-tst-backtrace2): Likewise.
20053 (LDFLAGS-tst-backtrace3): Likewise.
20054 (LDFLAGS-tst-backtrace4): Likewise.
20055 (LDFLAGS-tst-backtrace5): Likewise.
20056 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20057 tst-backtrace4 and tst-backtrace5.
20059 2013-01-18 Anton Blanchard <anton@samba.org>
20060 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20062 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20063 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20065 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20067 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20068 "+r" and remove output regs list as redundant. Add explicit inline
20069 asm to specify register of return val to work around compiler codegen
20070 bug. Remove (int) cast on return value. Add return type parameter to
20071 use in macro so that this macro does not truncate return value for
20073 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20074 pass to INTERNAL_VSYSCALL_NCS.
20075 (INLINE_VSYSCALL): Add 'long int' as return type to
20076 INTERNAL_VSYSCALL_NCS macro invocation.
20077 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20078 INTERNAL_VSYSCALL_NCS macro invocation.
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20081 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20084 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20085 Fix application of SIMD FP exception mask.
20087 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20088 mp_no from a power of two.
20089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20090 __mpexp_twomm1. Use __pow_mp.
20092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20095 2013-01-17 David S. Miller <davem@davemloft.net>
20097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20099 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20102 * include/complex.h: Condition contents on [!_COMPLEX_H].
20103 (__kernel_casinhf): New prototype.
20104 (__kernel_casinh): Likewise.
20105 (__kernel_casinhl): Likewise.
20106 * math/Makefile (libm_calls): Add k_casinh.
20107 * math/k_casinh.c: New file.
20108 * math/k_casinhf.c: Likewise.
20109 * math/k_casinhl.c: Likewise.
20110 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20111 finite nonzero arguments.
20112 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20113 finite nonzero arguments.
20114 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20115 finite nonzero arguments.
20116 * math/s_casinh.c: Do not include <float.h>.
20117 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20118 * math/s_casinhf.c: Do not include <float.h>.
20119 (__casinhf): Move code for finite nonzero arguments to
20121 * math/s_casinhl.c: Do not include <float.h>.
20122 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20124 (__casinhl): Move code for finite nonzero arguments to
20126 * math/libm-test.inc (cacos_test): Add more tests.
20127 * sysdeps/i386/fpu/libm-test-ulps: Update.
20128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20130 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20132 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20133 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20134 [!HAVE_MREMAP]: Remove [defined linux] case.
20135 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20137 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20139 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20141 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20143 * elf/elf.h (R_386_SIZE32): New relocation.
20144 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20146 (elf_machine_rela): Likewise.
20147 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20148 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20150 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20152 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20153 (FP_FAST_FMA): Do not define.
20154 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20155 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20156 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20157 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20158 !_SOFT_FLOAT]: Likewise.
20159 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20160 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20163 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20165 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20166 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20167 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20170 2013-01-16 Andreas Schwab <schwab@suse.de>
20173 * include/stdlib.h (__mktemp): Add declaration.
20174 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20175 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20177 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20179 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20181 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20182 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20183 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20185 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20186 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20188 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20190 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20191 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20192 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20194 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20195 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20197 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20199 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20201 2013-01-15 David S. Miller <davem@davemloft.net>
20203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20204 trunc{,f} to libm-sysdep_routes.
20205 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20216 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20217 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20218 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20219 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20220 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20223 nearbyint{,f} to libm-sysdep_routes.
20224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20238 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20241 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20242 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20244 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20245 libc_feholdexcept and libc_fesetenv.
20247 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20249 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20251 2013-01-14 David S. Miller <davem@davemloft.net>
20253 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20254 (SPARC_ASM_VIS2_IFUNC): Likewise.
20255 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20257 use of 'siam' instruction.
20258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20291 routines to libm-sysdep_routines.
20292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20295 fdim/fdimf to libm-sysdep_routines.
20296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20304 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20305 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20306 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20307 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20309 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20311 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20312 to optimize copies.
20314 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20319 local variable MPTWO.
20320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20323 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20325 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20328 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20330 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20332 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20334 * manual/pattern.texi (glob_t): Document gl_flags.
20335 (glob64_t): Likewise.
20337 2013-01-11 David S. Miller <davem@davemloft.net>
20339 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20340 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20341 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20342 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20343 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20344 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20345 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20346 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20347 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20348 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20349 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20350 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20351 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20353 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20354 sparc V9 rather than using V8 code.
20355 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20356 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20360 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20363 2013-01-11 Roland McGrath <roland@hack.frob.com>
20365 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20366 not in the main loop.
20367 * configure: Regenerated.
20369 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20371 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20372 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20374 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20375 [!__GLIBC_HAVE_LONG_LONG] case.
20376 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20377 condition to just #else.
20378 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20379 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20380 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20381 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20383 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20384 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20385 #elif condition to just #else.
20386 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20387 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20388 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20389 #elif condition to just #else.
20391 2013-01-11 Steve Ellcey <sellcey@mips.com>
20393 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20394 (EF_MIPS_ARCH_64): Fix value.
20395 (EF_MIPS_ARCH_32R2): New.
20396 (EF_MIPS_ARCH_64R2): New.
20398 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20400 * Makeconfig (+link-pie-before-libc): New.
20401 (+link-pie-after-libc): Likewise.
20402 (+link-pie-tests): Likewise.
20403 (+link-pie): Rewritten.
20404 (link-before-libc): Remove $(config-LDFLAGS).
20405 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20406 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20407 (config-LDFLAGS): Renamed to ...
20408 (rtld-LDFLAGS): This.
20409 (rtld-tests-LDFLAGS): New macro.
20410 (link-libc-rpath-link): Likewise.
20411 (link-libc-tests-rpath-link): Likewise.
20412 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20413 (link-libc): Prepand $(link-libc-rpath-link).
20414 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20415 (test-program-prefix): New macro.
20416 (test-via-rtld-prefix): Likewise.
20417 (test-program-cmd): Likewise.
20418 (host-test-program-cmd): Likewise.
20419 * Makefile ($(common-objpfx)testrun.sh): Replace
20420 $(run-program-prefix) with $(test-program-prefix).
20421 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20423 ($(common-objpfx)shlib.lds): Likewise.
20424 (build-module-helper): Likewise.
20425 ($(common-objpfx)format.lds): Likewise.
20426 * Rules (binaries-pie-tests): New.
20427 (binaries-pie-notests): Likewise.
20428 (binaries-pie): Rewritten.
20429 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20430 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20431 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20432 (make-test-out): Replace $(host-built-program-cmd) with
20433 $(host-test-program-cmd).
20434 * config.make.in (build-hardcoded-path-in-tests): New variable.
20435 * configure.in (--enable-hardcoded-path-in-tests): New configure
20437 (hardcoded_path_in_tests): New AC_SUBST.
20438 * configure: Regenerated.
20439 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20440 $(built-program-cmd) with $(test-program-cmd).
20441 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20442 (test_program_cmd): This.
20443 * elf/Makefile ($(objpfx)order.out): Run test with
20444 $(test-program-prefix).
20445 ($(objpfx)order2.out): Likewise.
20446 ($(objpfx)tst-initorder.out): Likewise.
20447 ($(objpfx)tst-initorder2.out): Likewise.
20448 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20449 $(test-program-cmd).
20450 ($(objpfx)tst-array1-static.out): Likewise.
20451 ($(objpfx)tst-array2.out): Likewise.
20452 ($(objpfx)tst-array3.out): Likewise.
20453 ($(objpfx)tst-array4.out): Likewise.
20454 ($(objpfx)tst-array5.out): Likewise.
20455 ($(objpfx)tst-array5-static.out): Likewise.
20456 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20457 $(test-program-cmd).
20458 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20459 $(run-program-prefix) with $(test-program-prefix).
20460 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20461 (test_program_prefix): This.
20462 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20463 $(run-program-prefix) with $(test-program-prefix).
20464 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20465 (test_program_prefix): This.
20466 * iconvdata/tst-tables.sh: Likewise.
20467 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20468 $(run-program-prefix) with $(test-program-prefix).
20469 ($(objpfx)tst-translit.out): Likewise.
20470 ($(objpfx)tst-gettext2.out): Likewise.
20471 ($(objpfx)tst-gettext4.out): Likewise.
20472 ($(objpfx)tst-gettext6.out): Likewise.
20473 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20474 (test_program_prefix): This.
20475 * intl/tst-gettext2.sh: Likewise.
20476 * intl/tst-gettext4.sh Likewise.
20477 * intl/tst-gettext6.sh: Likewise.
20478 * intl/tst-translit.sh: Likewise.
20479 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20480 with $(test-program-cmd).
20481 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20482 $(run-program-prefix) with $(test-program-prefix).
20483 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20484 (test_program_prefix): This.
20485 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20486 $(run-program-prefix) with $(test-program-prefix).
20487 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20488 (test_program_prefix): This.
20489 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20490 * posix/Makefile ($(objpfx)globtest.out): Replace
20491 $(run-via-rtld-prefix) and $(test-wrapper) with
20492 $(test-program-prefix) and $(test-via-rtld-prefix).
20493 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20494 $(test-program-prefix).
20495 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20496 $(host-test-program-cmd).
20497 (tst-spawn-ARGS): Likewise.
20498 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20499 $(test-program-prefix).
20500 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20501 (test_via_rtld_prefix): This.
20502 (test_wrapper): Renamed to ...
20503 (test_program_prefix): This.
20504 (run_program_prefix): Replaced by test_program_prefix.
20505 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20506 (test_program_prefix): This.
20507 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20508 with $(host-test-program-cmd).
20509 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20510 $(run-program-prefix) with $(test-program-prefix).
20511 ($(objpfx)tst-printf.out): Likewise.
20512 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20513 $(test-program-cmd).
20514 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20515 (test_program_prefix): This.
20516 * stdio-common/tst-unbputc.sh: Likewise.
20517 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20518 $(run-program-prefix) with $(test-program-prefix).
20519 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20520 (test_program_prefix): This.
20521 * string/Makefile ($(objpfx)tst-svc.out): Replace
20522 $(built-program-cmd) with $(test-program-cmd).
20524 2013-01-11 Andreas Jaeger <aj@suse.de>
20527 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20528 value. Sync with Linux 3.7.
20530 2013-01-10 David S. Miller <davem@davemloft.net>
20532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20533 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20534 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20536 2013-01-10 Roland McGrath <roland@hack.frob.com>
20538 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20540 * configure: Regenerated.
20542 2013-01-10 David S. Miller <davem@davemloft.net>
20544 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20545 sparc V9 rather than using V8 code.
20546 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20547 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20549 2013-01-10 Roland McGrath <roland@hack.frob.com>
20551 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20552 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20553 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20554 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20555 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20556 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20557 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20558 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20559 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20560 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20561 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20562 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20563 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20564 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20565 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20566 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20567 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20568 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20569 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20570 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20571 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20572 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20573 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20574 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20575 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20576 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20577 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20579 2013-01-10 David S. Miller <davem@davemloft.net>
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20583 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20585 * posix/Makefile (tests-static): New variable.
20586 (tests): Add $(tests-static).
20587 (tst-exec-static-ARGS): New variable.
20588 (tst-spawn-static-ARGS): Likewise.
20589 * posix/tst-exec-static.c: New file.
20590 * posix/tst-spawn-static.c: Likewise.
20591 * posix/tst-exec.c: Support run directly.
20592 * posix/tst-spawn.c: Likewise.
20594 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20596 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20598 * math/bits/mathcalls.h (llrint): Likewise.
20599 (llround): Likewise.
20600 * stdlib/stdlib.h (struct drand48_data): Likewise.
20601 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20602 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20603 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20605 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20607 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20608 (elf_greg_t): Likewise.
20609 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20610 (__jmp_buf): Likewise.
20611 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20613 (llrint): Likewise, for all definitions.
20614 (llrintl): Likewise.
20616 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20617 Remove [__GNUC__] condition.
20618 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20619 condition to just [__USE_ISOC99].
20620 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20622 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20625 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20626 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20628 (_POSIX_V6_ILP32_OFF32): Likewise.
20629 (_XBS5_ILP32_OFF32): Likewise.
20630 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20631 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20633 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20638 doubles __mpexp_twomm1. Adjust usage.
20639 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20642 2013-01-10 Andreas Schwab <schwab@suse.de>
20645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20646 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20648 2013-01-09 David S. Miller <davem@davemloft.net>
20651 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20652 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20653 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20654 (TCP_FASTOPEN): Define.
20655 (tcp_repair_opt): New structure.
20656 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20658 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20659 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20660 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20661 (tcp_cookie_transactions): New structure.
20663 2013-01-09 Anton Blanchard <anton@samba.org>
20665 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20666 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20668 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20670 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20672 * include/features.h (__USE_ANSI): Remove.
20674 2013-01-09 Roland McGrath <roland@hack.frob.com>
20676 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20678 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20680 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20682 * sysdeps/s390/fpu/libm-test-ulps: Update.
20684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20686 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20690 (denorm): Likewise.
20691 (__mp_dbl): Likewise.
20692 (__dbl_mp): Likewise.
20693 (add_magnitudes): Likewise.
20694 (sub_magnitudes): Likewise.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20704 (denorm): Likewise.
20705 (__mp_dbl): Likewise.
20706 (__dbl_mp): Likewise.
20707 (add_magnitudes): Likewise.
20708 (sub_magnitudes): Likewise.
20714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20718 (denorm): Likewise.
20719 (__mp_dbl): Likewise.
20720 (__dbl_mp): Likewise.
20721 (add_magnitudes): Likewise.
20722 (sub_magnitudes): Likewise.
20729 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20731 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20732 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20733 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20734 2 && __USE_EXTERN_INLINES]: Likewise.
20736 2013-01-08 Andreas Jaeger <aj@suse.de>
20739 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20741 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20742 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20744 2013-01-07 Anton Blanchard <anton@samba.org>
20746 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20747 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20748 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20749 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20750 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20751 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20752 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20753 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20757 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20758 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20760 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20764 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20765 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20766 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20768 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20769 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20770 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20771 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20772 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20773 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20775 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20776 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20780 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20781 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20784 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20785 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20786 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20788 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20790 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20792 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20793 (__MALLOC_PMT): Likewise.
20794 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20795 [__GNUC__], only on [_LIBC].
20796 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20797 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20798 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20799 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20800 forward declaration.
20801 (realloc_hook_ini): Likewise.
20802 (memalign_hook_ini): Likewise.
20803 (__libc_memalign): Do not use __MALLOC_PMT in variable
20805 (__libc_valloc): Likewise.
20806 (__libc_pvalloc): Likewise.
20807 (__libc_calloc): Likewise.
20808 (__posix_memalign): Likewise.
20811 * math/s_casinh.c: Include <float.h>.
20812 (__casinh): Do not do computation with squaring and square root
20813 for large arguments.
20814 * math/s_casinhf.c: Include <float.h>.
20815 (__casinhf): Do not do computation with squaring and square root
20816 for large arguments.
20817 * math/s_casinhl.c: Include <float.h>.
20818 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20819 (__casinhl): Do not do computation with squaring and square root
20820 for large arguments.
20821 * math/libm-test.inc (casin_test): Add more tests.
20822 (casinh_test): Likewise.
20823 * sysdeps/i386/fpu/libm-test-ulps: Update.
20824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20826 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20828 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20829 (__x86_64_raw_data_cache_size): Likewise.
20830 (__x86_64_data_cache_size_half): Likewise.
20831 (__x86_64_raw_data_cache_size_half): Likewise.
20832 (__x86_64_shared_cache_size): Likewise.
20833 (__x86_64_raw_shared_cache_size): Likewise.
20834 (__x86_64_shared_cache_size_half): Likewise.
20835 (__x86_64_raw_shared_cache_size_half): Likewise.
20836 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20838 (__x86_data_cache_size): This.
20839 (__x86_64_raw_data_cache_size): Renamed to ...
20840 (__x86_raw_data_cache_size): This.
20841 (__x86_64_data_cache_size_half): Renamed to ...
20842 (__x86_data_cache_size_half): This.
20843 (__x86_64_raw_data_cache_size_half): Renamed to ...
20844 (__x86_raw_data_cache_size_half): This.
20845 (__x86_64_shared_cache_size): Renamed to ...
20846 (__x86_shared_cache_size): This.
20847 (__x86_64_raw_shared_cache_size): Renamed to ...
20848 (__x86_raw_shared_cache_size): This.
20849 (__x86_64_shared_cache_size_half): Renamed to ...
20850 (__x86_shared_cache_size_half): This.
20851 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20852 (__x86_raw_shared_cache_size_half): This.
20853 * sysdeps/x86_64/memcpy.S: Updated.
20854 * sysdeps/x86_64/memset.S: Likewise.
20855 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20859 2013-01-04 David S. Miller <davem@davemloft.net>
20861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20863 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20865 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20866 1 to avoid redefinition warning.
20867 (__USE_GNU): Don't define.
20868 (init_signaling_nan): Protoize.
20870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20872 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20874 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20876 (__cpymn): Likewise.
20877 (norm): Remove commented code.
20878 (denorm): Likewise.
20879 (__mp_dbl): Likewise.
20881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20882 (__cpymn): Likewise.
20883 (norm): Remove commented code.
20884 (denorm): Likewise.
20885 (__mp_dbl): Likewise.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20889 mp_no value for 1.0 and 2.0.
20890 (norm): Use RADIXI instead of radixi.d.
20891 (denorm): Likewise.
20892 (__mul): Use 0.0 instead of zero.d.
20893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20894 mp_no value for 1.0 and 2.0.
20895 (norm): Use RADIXI instead of radixi.d.
20896 (denorm): Likewise.
20897 (__mul): Use 0.0 instead of zero.d.
20899 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20902 * math/s_casinh.c (__casinh): Reduce finite argument to first
20903 quadrant then set signs of results at the end.
20904 * math/s_casinhf.c (__casinhf): Likewise.
20905 * math/s_casinhl.c (__casinhl): Likewise.
20906 * math/libm-test.inc (casin_test): Add more tests.
20907 (casinh_test): Likewise.
20908 * sysdeps/i386/fpu/libm-test-ulps: Update.
20909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20913 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20915 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20917 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20919 (denorm): Likewise.
20920 (__mp_dbl): Likewise.
20923 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20924 and adjust the header comment.
20926 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20927 variable name from declaration.
20929 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20932 Initialize COMMON_CPUID_INDEX_7 element.
20933 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20934 (CPUID_RTM): Likewise.
20935 (HAS_RTM): Likewise.
20936 (COMMON_CPUID_INDEX_7): New enum.
20938 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20941 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20942 size is zero, record memory as freed.
20944 2013-01-03 Andreas Jaeger <aj@suse.de>
20946 * po/ia.po: Add new Interlingua translation.
20948 2012-01-03 Allan McRae <allan@archlinux.org>
20950 * locale/programs/localedef.c: Fix description of '--posix' flag.
20952 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20954 * NEWS: Update dates in second copyright notice.
20955 * README: Update copyright dates in example.
20956 * manual/libc.texinfo: Update copyright dates.
20957 * scripts/test-installation.pl: Update copyright date in --version
20960 * hurd/ctty-input.c: Fix copyright notice formatting.
20961 * hurd/ctty-output.c: Likewise.
20962 * hurd/dtable.c: Likewise.
20963 * hurd/hurd-raise.c: Likewise.
20964 * hurd/hurdprio.c: Likewise.
20965 * hurd/msgportdemux.c: Likewise.
20966 * misc/sys/file.h: Likewise.
20967 * misc/sys/ioctl.h: Likewise.
20968 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20969 * sysdeps/mach/hurd/chdir.c: Likewise.
20970 * sysdeps/mach/hurd/fchdir.c: Likewise.
20971 * sysdeps/mach/hurd/rename.c: Likewise.
20972 * sysdeps/mach/hurd/rmdir.c: Likewise.
20973 * sysdeps/mach/hurd/seekdir.c: Likewise.
20974 * sysdeps/mach/hurd/setsid.c: Likewise.
20975 * sysdeps/posix/wait3.c: Likewise.
20977 * All files with FSF copyright notices: Update copyright dates
20978 using scripts/update-copyrights.
20979 * intl/plural.c: Regenerated.
20980 * locale/programs/charmap-kw.h: Likewise.
20981 * locale/programs/locfile-kw.h: Likewise.
20983 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20985 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20989 calculation loop and add branch prediction.
20991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20992 check access beyond bounds of m1np.
20994 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20996 (__inv): Remove local variable MPTWO to use the global
20998 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21002 MP3HALFS static const.
21004 2013-01-01 David S. Miller <davem@davemloft.net>
21006 * po/ca.po: Update from translation team.
21008 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21010 * scripts/update-copyrights: New file.
21011 * Makeconfig: Reformat copyright notice.
21012 * ctype/ctype.h: Likewise.
21013 * debug/swprintf_chk.c: Likewise.
21014 * elf/dl-cache.c: Likewise.
21015 * elf/dl-debug.c: Likewise.
21016 * elf/dl-object.c: Likewise.
21017 * grp/initgroups.c: Likewise.
21018 * hurd/Makefile: Likewise.
21019 * hurd/hurd/signal.h: Likewise.
21020 * hurd/hurdfault.c: Likewise.
21021 * hurd/hurdioctl.c: Likewise.
21022 * hurd/hurdlookup.c: Likewise.
21023 * hurd/intr-msg.c: Likewise.
21024 * iconv/gconv_open.c: Likewise.
21025 * libio/swprintf.c: Likewise.
21026 * locale/lc-ctype.c: Likewise.
21027 * locale/nl_langinfo.c: Likewise.
21028 * mach/Machrules: Likewise.
21029 * mach/Makefile: Likewise.
21030 * malloc/obstack.h: Likewise.
21031 * manual/Makefile: Likewise.
21032 * manual/tsort.awk: Likewise.
21033 * misc/bits/stab.def: Likewise.
21034 * nis/nis_print_group_entry.c: Likewise.
21035 * nis/nis_table.c: Likewise.
21036 * nis/nss_compat/compat-pwd.c: Likewise.
21037 * nis/nss_compat/compat-spwd.c: Likewise.
21038 * po/Makefile: Likewise.
21039 * posix/fnmatch.c: Likewise.
21040 * posix/regex.h: Likewise.
21041 * resolv/Makefile: Likewise.
21042 * resolv/nss_dns/dns-network.c: Likewise.
21043 * resolv/res_hconf.c: Likewise.
21044 * scripts/gen-sorted.awk: Likewise.
21045 * soft-fp/soft-fp.h: Likewise.
21046 * stdio-common/printf.h: Likewise.
21047 * stdlib/monetary.h: Likewise.
21048 * stdlib/random.c: Likewise.
21049 * stdlib/random_r.c: Likewise.
21050 * sysdeps/generic/Makefile: Likewise.
21051 * sysdeps/gnu/Makefile: Likewise.
21052 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21073 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21080 * sysdeps/mach/hurd/errnos.awk: Likewise.
21081 * sysdeps/mach/hurd/fork.c: Likewise.
21082 * sysdeps/mach/hurd/getcwd.c: Likewise.
21083 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21084 * sysdeps/mach/hurd/mmap.c: Likewise.
21085 * sysdeps/mach/hurd/utimes.c: Likewise.
21086 * sysdeps/mach/hurd/xmknod.c: Likewise.
21087 * sysdeps/posix/profil.c: Likewise.
21088 * sysdeps/posix/readdir_r.c: Likewise.
21089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21090 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21091 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21092 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21096 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21098 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21099 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21100 * sysdeps/pthread/lio_listio.c: Likewise.
21101 * sysdeps/sparc/dl-procinfo.h: Likewise.
21102 * sysdeps/unix/i386/sysdep.S: Likewise.
21103 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21104 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21105 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21106 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21108 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21109 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21110 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21111 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21112 * sysdeps/wordsize-32/divdi3.c: Likewise.
21113 * time/sys/time.h: Likewise.
21114 * wcsmbs/Makefile: Likewise.
21116 2013-01-01 David S. Miller <davem@davemloft.net>
21118 * po/fr.po: Update from translation team.
21120 * catgets/gencat.c: Update copyright year.
21121 * csu/version.c: Likewise.
21122 * debug/catchsegv.sh: Likewise.
21123 * debug/pcprofiledump.c: Likewise.
21124 * debug/xtrace.sh: Likewise.
21125 * elf/ldconfig.c: Likewise.
21126 * elf/ldd.bash.in: Likewise.
21127 * elf/pldd.c: Likewise.
21128 * elf/sotruss.ksh: Likewise.
21129 * elf/sprof.c: Likewise.
21130 * iconv/iconv_prog.c: Likewise.
21131 * iconv/iconvconfig.c: Likewise.
21132 * locale/programs/locale.c: Likewise.
21133 * locale/programs/localedef.c: Likewise.
21134 * login/programs/pt_chown.c: Likewise.
21135 * malloc/memusage.sh: Likewise.
21136 * malloc/memusagestat.c: Likewise.
21137 * malloc/mtrace.pl: Likewise.
21138 * nscd/nscd.c: Likewise.
21139 * nss/getent.c: Likewise.
21140 * nss/makedb.c: Likewise.
21141 * posix/getconf.c: Likewise.
21143 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21145 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21148 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21150 * math/bits/mathcalls.h (modf): Use __nonnull.
21152 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21154 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21155 (split): Use macro CN instead of the bare value.
21156 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21159 instead of the bare value.
21160 (power1): Likewise.
21162 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21166 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21168 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21170 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21171 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21172 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21173 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21175 2012-12-28 Andreas Jaeger <aj@suse.de>
21177 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21178 values are from Linux 3.7.
21180 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21181 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21183 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21185 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21188 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21190 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21191 variables with preprocessor constants.
21192 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21193 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21196 2012-12-27 Bruno Haible <bruno@clisp.org>
21199 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21202 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21205 and use variable directly.
21206 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21208 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21210 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21211 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21213 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21215 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21216 include directive. Remove local variable MPONE.
21217 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21218 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21219 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21221 2012-12-25 David S. Miller <davem@davemloft.net>
21223 * version.h (RELEASE): Set to "development".
21224 (VERSION): Set to "2.17.90".
21225 * NEWS: Add 2.18 section.
21227 2012-12-21 David S. Miller <davem@davemloft.net>
21229 * po/hr.po: Update from translation team.
21231 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21233 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21235 2012-12-19 Steve Ellcey <sellcey@mips.com>
21237 * NEWS: Mention new memcpy for MIPS.
21239 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21241 * manual/contrib.texi (Contributors): Spelling correction.
21243 2012-12-15 David S. Miller <davem@davemloft.net>
21245 * po/ru.po: Update from translation team.
21247 2012-12-13 David S. Miller <davem@davemloft.net>
21249 * NEWS: Mention IFUNC testsuite enhancements.
21251 * po/pl.po: Update from translation team.
21252 * po/bg.po: Likewise.
21254 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21255 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21257 2012-12-11 David S. Miller <davem@davemloft.net>
21259 * po/sv.po: Update from translation team.
21261 * po/vi.po: Update from translation team.
21263 * po/cs.po: Update from translation team.
21265 * po/de.po: Update from translation team.
21266 * po/eo.po: Likewise.
21267 * po/nl.po: Likewise.
21269 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21272 * manual/argp.texi (Argp Helper Functions): Move node to follow
21273 Argp Parsing State.
21276 * manual/conf.texi (Limits on File System Capacity): Mention if
21277 terminating null is included in the max size.
21279 2012-12-10 Andreas Jaeger <aj@suse.de>
21281 * po/cs.po: Update from translation team.
21283 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21285 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21286 void pointer and cast to uintptr_t.
21287 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21289 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21290 * sysdeps/s390/s390-64/memset.S: Likewise.
21292 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21295 * menual/message.texi (Message Translation): Fix typos.
21296 (Helper programs for gettext): Likewise.
21298 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21301 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21304 2012-12-07 David S. Miller <davem@davemloft.net>
21306 * po/libc.pot: Update.
21308 2012-12-07 Richard Henderson <rth@redhat.com>
21311 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21312 normal/normal case to before the switch.
21313 (_FP_DIV): Likewise.
21315 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21316 Mike Frysinger <vapier@gentoo.org>
21318 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21319 check for __NR_fadvise64_64.
21321 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21323 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21324 0, not just to plain "0" as a statement.
21325 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21328 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21330 * NEWS: Use sourceware.org in Bugzilla URL.
21332 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21335 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21337 * stdio-common/tst-put-error.c (do_test): Add newline to the
21338 padded test to ensure flush.
21340 2012-12-05 Jeff Law <law@redhat.com>
21342 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21344 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21346 * README: Don't refer to ports add-on as distributed separately.
21347 Mention AArch64 in list of systems supported in the ports add-on.
21349 * LICENSES: Add more non-FSF copyright and license notices.
21351 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21354 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21356 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21357 10000 as width of padded output.
21359 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21361 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21363 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21364 variable LX with __attribute__ ((unused)).
21365 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21367 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21370 with __attribute__ ((unused)).
21372 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21374 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21376 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21378 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21379 (CFLAGS-nldbl-acos.c): New variable.
21380 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21381 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21382 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21383 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21384 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21385 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21386 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21387 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21388 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21389 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21390 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21391 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21392 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21393 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21394 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21395 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21396 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21397 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21398 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21399 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21400 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21401 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21402 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21403 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21404 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21405 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21406 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21407 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21408 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21409 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21410 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21411 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21412 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21413 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21414 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21415 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21416 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21417 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21418 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21419 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21420 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21421 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21422 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21423 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21424 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21425 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21426 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21427 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21428 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21429 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21430 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21431 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21432 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21433 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21434 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21435 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21436 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21441 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21442 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21443 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21479 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21483 whole low double instead of just low 47 bits when splitting values
21486 2012-12-03 Allan McRae <allan@archlinux.org>
21488 * manual/stdio.texi (Predefined Printf Handlers): Remove
21489 @hsep and @vsep usage.
21491 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21493 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21494 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21496 2012-12-03 Jeff Law <law@redhat.com>
21498 * time/sys/time.h (settimeofday): Do not mark TV argument
21501 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21503 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21504 when currently writing and seek to current position when not.
21505 * libio/Makefile (tests): Remove bug-fclose1.
21506 * libio/bug-fclose1.c: Delete.
21508 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21510 * manual/arith.texi (feenableexcept): Fix typo.
21511 (fedisableexcept): Likewise.
21513 2012-11-30 Roland McGrath <roland@hack.frob.com>
21515 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21516 second, differently-typed declaration, rather than a cast.
21518 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21520 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21521 * include/rpc/svc.h: ... here.
21523 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21526 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21527 depending n and resplen2 to catch cases where answer
21530 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21532 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21533 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21535 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21539 2012-11-29 Roland McGrath <roland@hack.frob.com>
21541 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21543 2012-11-28 Jeff Law <law@redhat.com>
21546 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21547 dataset_temporary. Track alloca usage into alloca_used.
21548 If dataset is large allocate and release it via malloc/free.
21550 2012-06-04 Florian Weimer <fweimer@redhat.com>
21553 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21555 2012-11-28 David S. Miller <davem@davemloft.net>
21557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21559 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21562 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21563 of pi/2 rounded to nearest to 64 bits.
21564 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21565 nearest to 64 bits.
21566 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21569 2012-11-28 Jeff Law <law@redhat.com>
21570 Martin Osvald <mosvald@redhat.com>
21573 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21574 * sunrpc/svc.c: Include time.h.
21575 (__svc_accept_failed): New function.
21576 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21577 any reason other than EINTR, call __svc_accept_failed.
21578 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21579 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21581 2012-11-28 Andreas Schwab <schwab@suse.de>
21583 * scripts/abilist.awk: Also handle indirect functions in .opd
21586 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21589 * sysdeps/x86/fpu/powl_helper.c: New file.
21590 * sysdeps/x86/fpu/Makefile: Likewise.
21591 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21593 (__ieee754_powl): Use __powl_helper for finite arguments except
21594 integer exponents below 8.
21595 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21597 (__ieee754_powl): Use __powl_helper for finite arguments except
21598 integer exponents below 8.
21599 * math/libm-test.inc (pow_test): Add more tests and enable some
21600 previously disabled tests.
21601 * sysdeps/i386/fpu/libm-test-ulps: Update.
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21604 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21605 Carlos O'Donell <carlos_odonell@mentor.com>
21607 * nss/makedb.c (is_prime): Assert that input is odd and greater
21608 than 4. Note that fact in a comment too.
21609 (next_prime): Add 4 to input.
21611 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21614 * libio/Makefile (tests): Add test case tst-fwrite-error.
21615 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21616 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21617 * libio/tst-fwrite-error.c: New test case.
21619 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21621 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21622 before casting to void *.
21623 * include/libc-internal.h (__pointer_type): New macro.
21624 (__integer_if_pointer_type_sub): Likewise.
21625 (__integer_if_pointer_type): Likewise.
21626 (cast_to_integer): Likewise.
21627 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21628 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21629 before casting to atomic64_t.
21630 (atomic_exchange_acq): Likewise.
21631 (__arch_exchange_and_add_body): Likewise.
21632 (__arch_add_body): Likewise.
21633 (atomic_add_negative): Likewise.
21634 (atomic_add_zero): Likewise.
21636 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21638 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21639 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21640 (add_fdes): Likewise.
21641 (linear_search_fdes): Likewise.
21642 (binary_search_unencoded_fdes): Likewise.
21644 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21646 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21648 2012-11-24 Adam Conrad <adconrad@0c3.net>
21650 * configure.in: Autodetect C++ header directories.
21651 * configure: Regenerated.
21653 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21655 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21657 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21661 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21663 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21664 LDBL_MANT_DIG == 106]: Disable some tests.
21665 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21667 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21672 input for small inputs. Return +/- pi/2 for large inputs.
21673 * math/libm-test.inc (atan_test): Add more tests.
21675 * sysdeps/generic/unwind-dw2-fde-glibc.c
21676 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21677 __attribute__ ((unused)).
21680 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21681 x * y if x and y are nonzero and z is zero.
21684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21685 nonzero exponents with absolute value below 0x1p-117 to +/-
21689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21690 up arguments below 2**-450, not just those below 2**-500.
21691 * math/libm-test.inc (hypot_test): Add another test.
21694 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21695 Return a+b for ratio over 2**120, not 2**60.
21696 * math/libm-test.inc (hypot_test): Add another test.
21698 * math/libm-test.inc (clog_test): Use
21699 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21700 (clog10_test): Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21705 2012-11-22 Andreas Schwab <schwab@suse.de>
21707 * sysdeps/i386/fpu/libm-test-ulps: Update.
21709 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21711 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21712 printf output with newline.
21714 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21717 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21718 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21719 -z nodlopen, -z initfirst and -z execstack support.
21720 * configure: Regenerated.
21722 * elf/elf.h (DF_1_NODIRECT): New macro.
21723 (DF_1_IGNMULDEF): Likewise.
21724 (DF_1_NOKSYMS): Likewise.
21725 (DF_1_NOHDR): Likewise.
21726 (DF_1_EDITED): Likewise.
21727 (DF_1_NORELOC): Likewise.
21728 (DF_1_SYMINTPOSE): Likewise.
21729 (DF_1_GLOBAUDIT): Likewise.
21730 (DF_1_SINGLETON): Likewise.
21731 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21732 DT_1_SUPPORTED_MASK bits.
21733 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21735 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21737 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21739 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21741 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21744 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21745 (sendmmsg): Move declarations...
21746 * socket/sys/socket.h: ... here.
21747 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21748 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21750 * socket/recvmmsg.c: ... this new file.
21751 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21752 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21753 definition of __sendmmsg hidden.
21754 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21755 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21756 Move ENOSYS stub into and include it from...
21757 * socket/sendmmsg.c: ... this new file.
21758 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21759 (sysdep_routines): Move recvmmsg and sendmmsg...
21760 * socket/Makefile (routines): ... here.
21761 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21762 (GLIBC_PRIVATE): Add __sendmmsg.
21763 * include/sys/socket.h (__sendmmsg): Add declarations.
21764 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21767 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21770 variable I1 with __attribute__ ((unused)).
21771 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21773 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21775 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21776 DUMMY variables with __attribute__ ((unused)).
21778 * bits/byteswap.h: Include <bits/types.h>.
21779 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21781 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21783 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21784 string_t. Do not manually set errno.
21785 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21786 length with __strnlen. Make sure to both set errno and return it on
21789 2012-11-19 David S. Miller <davem@davemloft.net>
21791 With help from Joseph Myers.
21792 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21793 very large arguments properly.
21794 * math/libm-test.inc (atan_test): New tests.
21795 (atan2_test): New tests.
21796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21799 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21802 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21805 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21806 [POSIX] (EADDRNOTAVAIL): Likewise.
21807 [POSIX] (EAFNOSUPPORT): Likewise.
21808 [POSIX] (EALREADY): Likewise.
21809 [POSIX] (ECONNABORTED): Likewise.
21810 [POSIX] (ECONNREFUSED): Likewise.
21811 [POSIX] (ECONNRESET): Likewise.
21812 [POSIX] (EDESTADDRREQ): Likewise.
21813 [POSIX] (EDQUOT): Likewise.
21814 [POSIX] (EHOSTUNREACH): Likewise.
21815 [POSIX] (EIDRM): Likewise.
21816 [POSIX] (EISCONN): Likewise.
21817 [POSIX] (ELOOP): Likewise.
21818 [POSIX] (EMULTIHOP): Likewise.
21819 [POSIX] (ENETDOWN): Likewise.
21820 [POSIX] (ENETUNREACH): Likewise.
21821 [POSIX] (ENOBUFS): Likewise.
21822 [POSIX] (ENODATA): Likewise.
21823 [POSIX] (ENOLINK): Likewise.
21824 [POSIX] (ENOMSG): Likewise.
21825 [POSIX] (ENOPROTOOPT): Likewise.
21826 [POSIX] (ENOSR): Likewise.
21827 [POSIX] (ENOSTR): Likewise.
21828 [POSIX] (ENOTCONN): Likewise.
21829 [POSIX] (ENOTSOCK): Likewise.
21830 [POSIX] (EOPNOTSUPP): Likewise.
21831 [POSIX] (EOVERFLOW): Likewise.
21832 [POSIX] (EPROTO): Likewise.
21833 [POSIX] (EPROTONOSUPPORT): Likewise.
21834 [POSIX] (EPROTOTYPE): Likewise.
21835 [POSIX] (ESTALE): Likewise.
21836 [POSIX] (ETIME): Likewise.
21837 [POSIX] (ETXTBSY): Likewise.
21838 [POSIX] (EWOULDBLOCK): Likewise.
21839 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21840 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21841 [POSIX] (SEEK_CUR): Likewise.
21842 [POSIX] (SEEK_END): Likewise.
21843 [POSIX || UNIX98] (mode_t): Do not require.
21844 [POSIX] (off_t): Likewise.
21845 [POSIX] (pid_t): Likewise.
21846 [POSIX] (sys/stat.h): Do not allow header.
21847 [POSIX] (unistd.h): Likewise.
21848 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21849 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21850 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21851 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21853 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21854 sigevent): Specify elements.
21855 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21857 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21858 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21860 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21861 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21862 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21863 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21864 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21865 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21866 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21867 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21869 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21870 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21871 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21872 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21873 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21881 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21883 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21884 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21886 Specify lower bound on value.
21887 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21893 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21894 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21896 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21898 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21915 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21917 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21927 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21929 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21935 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21936 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21937 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21938 specify as optional.
21939 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21940 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21942 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21943 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21944 [XPG3] (NL_LANGMAX): Likewise.
21945 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21946 [POSIX || XPG3] (NL_NMAX): Likewise.
21947 [POSIX || XPG3] (NL_SETMAX): Likewise.
21948 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21949 [XPG3] (NZERO): Likewise.
21950 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21951 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21952 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21953 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21954 (REG_ERANGE): Expect.
21955 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21957 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21958 Use (void) in prototype.
21959 [POSIX] (*_t): Allow.
21960 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21961 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21962 (WRDE_BADVAL): Expect.
21964 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21966 [XPG3 || XPG4] (O_RSYNC): Likewise.
21967 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21969 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21970 [XPG3 || XPG4] (sigqueue): Likewise.
21971 [XPG3 || XPG4] (sigtimedwait): Likewise.
21972 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21973 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21974 [XPG3 || XPG4] (vsnprintf): Likewise.
21975 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21977 [XPG3 || XPG4] (blksize_t): Likewise.
21978 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21980 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21981 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21982 [XPG3 || XPG4] (struct itimerspec): Likewise.
21983 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21984 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21985 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21986 [XPG3 || XPG4] (clockid_t): Likewise.
21987 [XPG3 || XPG4] (timer_t): Likewise.
21988 [XPG3 || XPG4] (clock_getres): Likewise.
21989 [XPG3 || XPG4] (clock_gettime): Likewise.
21990 [XPG3 || XPG4] (clock_settime): Likewise.
21991 [XPG3 || XPG4] (nanosleep): Likewise.
21992 [XPG3 || XPG4] (timer_create): Likewise.
21993 [XPG3 || XPG4] (timer_delete): Likewise.
21994 [XPG3 || XPG4] (timer_gettime): Likewise.
21995 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21996 [XPG3 || XPG4] (timer_settime): Likewise.
21997 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21998 [XPG3 || XPG4] (getlogin_r): Likewise.
21999 [XPG3 || XPG4] (pread): Likewise.
22000 [XPG3 || XPG4] (pthread_atfork): Likewise.
22001 [XPG3 || XPG4] (pwrite): Likewise.
22004 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22007 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22009 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22010 finalizing MALLSTREAM.
22012 * sysdeps/mach/hurd/syncfs.c: New file.
22014 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22017 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22018 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22019 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22020 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22021 (_nss_dns_gethostbyname4_r): Likewise.
22022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22023 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22025 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22028 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22030 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22032 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22033 * elf/cache.c (print_entry): Print ",AArch64" for
22036 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22037 * elf/cache.c (print_entry): Print ",hard-float" for
22040 2012-11-18 David S. Miller <davem@davemloft.net>
22042 With help from Joseph Myers.
22043 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22045 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22047 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22048 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22050 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22051 * math/libm-test.inc (y0_test): New tests.
22052 (y1_test): New tests.
22053 * sysdeps/i386/fpu/libm-test-ulps: Update.
22054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22057 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22059 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22061 * configure: Regenerated.
22063 2012-11-17 David S. Miller <davem@davemloft.net>
22066 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22067 nonzero exponents with absolute value below 0x1p-128 to +/-
22070 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22072 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22074 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22076 * posix/getconf-speclist.c: New file.
22077 * posix/posix-envs.def: Likewise.
22078 * posix/confstr.c (START_ENV_GROUP): New macro.
22079 (END_ENV_GROUP): Likewise.
22080 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22081 (KNOWN_PRESENT_ENV_STRING): Likewise.
22082 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22083 (UNKNOWN_ENVIRONMENT): Likewise.
22084 (confstr): Include posix-envs.def instead of handling
22085 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22086 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22087 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22088 (END_ENV_GROUP): Likewise.
22089 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22090 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22091 (UNKNOWN_ENVIRONMENT): Likewise.
22092 (__sysconf): Include posix-envs.def instead of handling associated
22093 cases directly here.
22094 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22095 preprocessing getconf-speclist.c rather than running getconf or
22096 generating empty file.
22098 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22100 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22102 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22105 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22107 2012-11-16 David S. Miller <davem@davemloft.net>
22109 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22110 smaller than LDBL_EPSILON/2.0L, just return xm1.
22112 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22114 * elf/tst-array1.c (init): Set constructor priority to 1000.
22115 (fini): Set destructor priority to 1000.
22116 * elf/tst-array2dep.c: Likewise.
22118 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22121 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22122 (_IO_new_file_xsputn): Also return EOF if none of the input
22123 data was written when overflow failed.
22124 * libio/iopadn.c (_IO_padn): Likewise.
22125 * libio/iowpadn.c (_IO_wpadn): Likewise.
22126 * stdio-common/tst-put-error.c: Add copyright notice.
22127 (do_test): Add case for printing padded string.
22128 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22129 _IO_padn returned error.
22130 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22131 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22134 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22136 * libio/libioP.h: Add comment note that the references to C++
22137 bits are now obsolete.
22139 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22141 * math/libm-test.inc (check_complex): Use asprintf.
22143 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22145 * debug/pcprofiledump.c (print_version): Update copyright year.
22146 * malloc/memusagestat.c (print_version): Likewise.
22148 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22151 * elf/Makefile (tests): Add tst-audit8.
22152 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22153 ($(objpfx)tst-audit8.out): New target.
22154 (tst-audit8-ENV): New variable.
22155 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22156 audit if l_reloc_result is NULL.
22157 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22158 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22159 * elf/tst-audit8.c: New file.
22161 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22163 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22164 * misc/Makefile (CFLAGS-select.c): Define.
22165 * posix/Makefile (CFLAGS-pause.c): Define.
22167 2012-11-13 David S. Miller <davem@davemloft.net>
22169 * crypt/Makefile: Move test targets after toplevel Rules
22170 inclusion. Grab any necessary sysdep routines when linking.
22171 * crypt/md5.c (md5_process_block): Remove define, we will always
22172 name it __md5_process_block.
22173 (md5_finish_ctx): Update md5_process_block call.
22174 (md5_stream): Likewise.
22175 (md5_process_bytes): Likewise.
22176 (md5_process_block): Rename to __md5_process_block and move to ...
22177 * crypt/md5-block.c: ... here.
22178 * crypt/sha256.c (sha256_process_block): Move to ...
22179 * crypt/sha256-block.c: ... here.
22180 * crypt/sha512.c (sha512_process_block): Move to ...
22181 * crypt/sha512-block.c: ... here.
22182 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22184 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22185 * sysdeps/sparc/sparc64/multiarch/Makefile
22186 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22188 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22189 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22191 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22192 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22193 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22194 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22195 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22196 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22198 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22202 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22206 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22208 * timezone/tzselect.ksh: Update from tzcode git revision
22209 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22210 * timezone/zdump.c: Likewise.
22211 * timezone/zic.c: Likewise.
22212 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22213 in TZVERSION setting, not $(PKGVERSION).
22214 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22215 REPORT_BUGS_TO settings.
22218 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22221 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22223 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22224 detection to immediately after _FP_ROUND().
22225 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22228 2012-11-11 David S. Miller <davem@davemloft.net>
22230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22232 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22233 __close rather than their public counterparts.
22235 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22237 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22239 [UNIX98] (sem_timedwait): Do not expect.
22240 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22241 [XPG4 || UNIX98] (sockatmark): Do not expect.
22242 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22243 (clock_getcpuclockid): Do not expect.
22244 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22245 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22247 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22248 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22249 [UNIX98] (vwscanf): Likewise.
22250 [UNIX98] (vswscanf): Likewise.
22252 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22254 * timezone/version.h: Remove file.
22255 * timezone/README: Do not refer to version.h.
22256 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22257 $(objpfx)version.h.
22258 ($(objpfx)zdump.o): Likewise.
22259 ($(objpfx)version.h): New target.
22261 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22263 * timezone/README: Don't mention modification to tzselect.ksh.
22264 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22265 work on unmodified tzselect.ksh. Substitute version numbers in
22268 * Makefile (format-me): Remove.
22269 (INSTALL): Adjust indentation. Use commands directly instead of
22270 using $(format-me).
22272 * aclocal.m4 (ACX_PKGVERSION): New macro.
22273 (ACX_BUGURL): Likewise.
22274 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22275 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22276 (REPORT_BUGS_TO): Likewise.
22277 * configure: Regenerated.
22278 * config.h.in (PKGVERSION): New macro.
22279 (REPORT_BUGS_TO): Likewise.
22280 * config.make.in (PKGVERSION): New variable.
22281 (PKGVERSION_TEXI): Likewise.
22282 (REPORT_BUGS_TO): Likewise.
22283 (REPORT_BUGS_TEXI): Likewise.
22284 * Makefile (format-me): Use -I$(common-objpfx)manual.
22285 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22286 ($(common-objpfx)manual/%): New target.
22287 (manual/%): Remove target.
22288 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22289 (print_version): Use PKGVERSION.
22290 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22291 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22292 and REPORT_BUGS_TO.
22293 ($(objpfx)xtrace): Likewise.
22294 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22295 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22296 (print_version): Use PKGVERSION.
22297 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22298 (do_version): Use PKGVERSION.
22299 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22301 (common-ldd-rewrite): Likewise.
22302 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22303 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22304 (print_version): Use PKGVERSION.
22305 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22306 * elf/pldd.c (argp_program_bug_address): Remove variable.
22307 (more_help): New function.
22308 (argp): Use more_help.
22309 (print_version): Use PKGVERSION.
22310 * elf/sln.c (main): Use PKGVERSION.
22311 (usage): Use REPORT_BUGS_TO.
22312 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22313 (top level): Use PKGVERSION.
22314 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22315 (print_version): Use PKGVERSION.
22316 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22317 (print_version): Use PKGVERSION.
22318 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22319 (print_version): Use PKGVERSION.
22320 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22321 (print_version): Use PKGVERSION.
22322 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22323 (print_version): Use PKGVERSION.
22324 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22325 (print_version): Use PKGVERSION.
22326 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22328 ($(objpfx)memusage): Likewise.
22329 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22330 (do_version): Use PKGVERSION.
22331 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22332 (print_version): Use PKGVERSION.
22333 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22334 ($PKGVERSION): New variable.
22335 ($REPORT_BUGS_TO): Likewise.
22336 (usage): Use $REPORT_BUGS_TO.
22337 (top level): Use $PKGVERSION.
22338 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22339 ($(objpfx)pkgvers.texi): New rule.
22340 ($(objpfx)stamp-pkgvers): Likewise.
22341 * manual/install.texi: Include pkgvers.texi.
22342 (--with-pkgversion): Document new configure option.
22343 (--with-bugurl): Likewise.
22344 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22345 than necessarily for this particular distribution. Use
22346 REPORT_BUGS_TO for where to report bugs.
22347 * INSTALL: Regenerated.
22348 * manual/libc.texinfo: Include pkgvers.texi.
22349 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22350 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22351 (print_version): Use PKGVERSION.
22352 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22353 (print_version): Use PKGVERSION.
22354 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22355 (print_version): Use PKGVERSION.
22356 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22357 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22359 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22360 (print_version): Use PKGVERSION.
22361 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22362 (print_version): Use PKGVERSION.
22363 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22366 * timezone/checktab.awk: Update from tzcode 2012i.
22367 * timezone/ialloc.c: Likewise.
22368 * timezone/private.h: Likewise.
22369 * timezone/scheck.c: Likewise.
22370 * timezone/tzfile.h: Likewise.
22371 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22372 (TZVERSION): Hardcode tzcode version number.
22373 * timezone/zdump.c: Update from tzcode 2012i.
22374 * timezone/zic.c: Likewise.
22375 * timezone/version.h: New file.
22376 * timezone/README: Describe version.h. Update upstream location.
22379 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22380 (mktemp): Enable declaration.
22381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22398 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22399 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22400 for copies of such integer values.
22401 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22402 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22404 2012-11-09 Andreas Jaeger <aj@suse.de>
22406 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22407 definitions and declarations that are provided by
22408 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22410 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22412 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22413 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22414 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22417 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22419 * elf/elf.h: Update comment before AArch64 relocations.
22421 2012-11-07 David S. Miller <davem@davemloft.net>
22423 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22424 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22425 (__start_context): Declare.
22426 (__makecontext_ret): Delete.
22427 (__makecontext): Hook up __start_context instead of
22429 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22430 (sysdep_routines): Add __start_context when in stdlib.
22432 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22435 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22436 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22438 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22439 (READELF): New variable. Use it instead of hardcoded "readelf".
22441 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22443 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22444 * sysdeps/x86/Makefile: Here.
22445 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22446 * sysdeps/x86/tst-xmmymm.sh: This.
22448 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22450 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22452 [UNIX98] (pthread_barrier_t): Do not expect.
22453 [UNIX98] (pthread_barrierattr_t): Likewise.
22454 [UNIX98] (pthread_spinlock_t): Likewise.
22455 [UNIX98] (pthread_barrier_destroy): Likewise.
22456 [UNIX98] (pthread_barrier_init): Likewise.
22457 [UNIX98] (pthread_barrier_wait): Likewise.
22458 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22459 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22460 [UNIX98] (pthread_barrierattr_init): Likewise.
22461 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22462 [UNIX98] (pthread_getcpuclockid): Likewise.
22463 [UNIX98] (pthread_mutex_timedlock): Likewise.
22464 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22465 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22466 [UNIX98] (pthread_sigmask): Likewise.
22467 [UNIX98] (pthread_spin_destroy): Likewise.
22468 [UNIX98] (pthread_spin_init): Likewise.
22469 [UNIX98] (pthread_spin_lock): Likewise.
22470 [UNIX98] (pthread_spin_trylock): Likewise.
22471 [UNIX98] (pthread_spin_unlock): Likewise.
22472 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22474 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22476 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22477 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22478 [XPG3 || XPG4] (pthread_key_t): Likewise.
22479 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22480 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22481 [XPG3 || XPG4] (pthread_once_t): Likewise.
22482 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22483 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22485 [XPG3 || XPG4] (pthread_t): Likewise.
22487 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22489 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22491 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22492 Change function return type to int.
22494 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22495 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22496 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22497 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22498 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22499 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22500 [!POSIX] (posix_madvise): Likewise.
22501 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22503 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22504 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22505 (mode_t): Likewise.
22506 (posix_mem_offset): Likewise.
22507 (posix_typed_mem_get_info): Likewise.
22508 (posix_typed_mem_open): Likewise.
22510 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22511 Change condition to [XOPEN2K8].
22513 * conform/conformtest.pl: Preprocess allow-header data with -x c
22514 instead of from stdin.
22515 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22516 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22517 [C99-based standards] (cerfc): Likewise.
22518 [C99-based standards] (cexp2): Likewise.
22519 [C99-based standards] (cexpm1): Likewise.
22520 [C99-based standards] (clog10): Likewise.
22521 [C99-based standards] (clog1p): Likewise.
22522 [C99-based standards] (clog2): Likewise.
22523 [C99-based standards] (clgamma): Likewise.
22524 [C99-based standards] (ctgamma): Likewise.
22525 [C99-based standards] (cerff): Likewise.
22526 [C99-based standards] (cerfcf): Likewise.
22527 [C99-based standards] (cexp2f): Likewise.
22528 [C99-based standards] (cexpm1f): Likewise.
22529 [C99-based standards] (clog10f): Likewise.
22530 [C99-based standards] (clog1pf): Likewise.
22531 [C99-based standards] (clog2f): Likewise.
22532 [C99-based standards] (clgammaf): Likewise.
22533 [C99-based standards] (ctgammaf): Likewise.
22534 [C99-based standards] (cerfl): Likewise.
22535 [C99-based standards] (cerfcl): Likewise.
22536 [C99-based standards] (cexp2l): Likewise.
22537 [C99-based standards] (cexpm1l): Likewise.
22538 [C99-based standards] (clog10l): Likewise.
22539 [C99-based standards] (clog1pl): Likewise.
22540 [C99-based standards] (clog2l): Likewise.
22541 [C99-based standards] (clgammal): Likewise.
22542 [C99-based standards] (ctgammal): Likewise.
22543 * conform/data/inttypes.h-data [C99-based standards]: Include
22544 stdint.h-data. Remove all expectations for stdint.h contents.
22545 [C99-based standards] (PRI*): Do not allow.
22546 [C99-based standards] (SCN*): Likewise.
22547 [C99-based standards] (*_t): Likewise.
22548 [C99-based-standards] (PRId8): Expect macro.
22549 [C99-based-standards] (PRIi8): Likewise.
22550 [C99-based-standards] (PRIo8): Likewise.
22551 [C99-based-standards] (PRIu8): Likewise.
22552 [C99-based-standards] (PRIx8): Likewise.
22553 [C99-based-standards] (PRIX8): Likewise.
22554 [C99-based-standards] (SCNd8): Likewise.
22555 [C99-based-standards] (SCNi8): Likewise.
22556 [C99-based-standards] (SCNo8): Likewise.
22557 [C99-based-standards] (SCNu8): Likewise.
22558 [C99-based-standards] (SCNx8): Likewise.
22559 [C99-based-standards] (PRIdLEAST8): Likewise.
22560 [C99-based-standards] (PRIiLEAST8): Likewise.
22561 [C99-based-standards] (PRIoLEAST8): Likewise.
22562 [C99-based-standards] (PRIuLEAST8): Likewise.
22563 [C99-based-standards] (PRIxLEAST8): Likewise.
22564 [C99-based-standards] (PRIXLEAST8): Likewise.
22565 [C99-based-standards] (SCNdLEAST8): Likewise.
22566 [C99-based-standards] (SCNiLEAST8): Likewise.
22567 [C99-based-standards] (SCNoLEAST8): Likewise.
22568 [C99-based-standards] (SCNuLEAST8): Likewise.
22569 [C99-based-standards] (SCNxLEAST8): Likewise.
22570 [C99-based-standards] (PRIdFAST8): Likewise.
22571 [C99-based-standards] (PRIiFAST8): Likewise.
22572 [C99-based-standards] (PRIoFAST8): Likewise.
22573 [C99-based-standards] (PRIuFAST8): Likewise.
22574 [C99-based-standards] (PRIxFAST8): Likewise.
22575 [C99-based-standards] (PRIXFAST8): Likewise.
22576 [C99-based-standards] (SCNdFAST8): Likewise.
22577 [C99-based-standards] (SCNiFAST8): Likewise.
22578 [C99-based-standards] (SCNoFAST8): Likewise.
22579 [C99-based-standards] (SCNuFAST8): Likewise.
22580 [C99-based-standards] (SCNxFAST8): Likewise.
22581 [C99-based-standards] (PRId16): Likewise.
22582 [C99-based-standards] (PRIi16): Likewise.
22583 [C99-based-standards] (PRIo16): Likewise.
22584 [C99-based-standards] (PRIu16): Likewise.
22585 [C99-based-standards] (PRIx16): Likewise.
22586 [C99-based-standards] (PRIX16): Likewise.
22587 [C99-based-standards] (SCNd16): Likewise.
22588 [C99-based-standards] (SCNi16): Likewise.
22589 [C99-based-standards] (SCNo16): Likewise.
22590 [C99-based-standards] (SCNu16): Likewise.
22591 [C99-based-standards] (SCNx16): Likewise.
22592 [C99-based-standards] (PRIdLEAST16): Likewise.
22593 [C99-based-standards] (PRIiLEAST16): Likewise.
22594 [C99-based-standards] (PRIoLEAST16): Likewise.
22595 [C99-based-standards] (PRIuLEAST16): Likewise.
22596 [C99-based-standards] (PRIxLEAST16): Likewise.
22597 [C99-based-standards] (PRIXLEAST16): Likewise.
22598 [C99-based-standards] (SCNdLEAST16): Likewise.
22599 [C99-based-standards] (SCNiLEAST16): Likewise.
22600 [C99-based-standards] (SCNoLEAST16): Likewise.
22601 [C99-based-standards] (SCNuLEAST16): Likewise.
22602 [C99-based-standards] (SCNxLEAST16): Likewise.
22603 [C99-based-standards] (PRIdFAST16): Likewise.
22604 [C99-based-standards] (PRIiFAST16): Likewise.
22605 [C99-based-standards] (PRIoFAST16): Likewise.
22606 [C99-based-standards] (PRIuFAST16): Likewise.
22607 [C99-based-standards] (PRIxFAST16): Likewise.
22608 [C99-based-standards] (PRIXFAST16): Likewise.
22609 [C99-based-standards] (SCNdFAST16): Likewise.
22610 [C99-based-standards] (SCNiFAST16): Likewise.
22611 [C99-based-standards] (SCNoFAST16): Likewise.
22612 [C99-based-standards] (SCNuFAST16): Likewise.
22613 [C99-based-standards] (SCNxFAST16): Likewise.
22614 [C99-based-standards] (PRId32): Likewise.
22615 [C99-based-standards] (PRIi32): Likewise.
22616 [C99-based-standards] (PRIo32): Likewise.
22617 [C99-based-standards] (PRIu32): Likewise.
22618 [C99-based-standards] (PRIx32): Likewise.
22619 [C99-based-standards] (PRIX32): Likewise.
22620 [C99-based-standards] (SCNd32): Likewise.
22621 [C99-based-standards] (SCNi32): Likewise.
22622 [C99-based-standards] (SCNo32): Likewise.
22623 [C99-based-standards] (SCNu32): Likewise.
22624 [C99-based-standards] (SCNx32): Likewise.
22625 [C99-based-standards] (PRIdLEAST32): Likewise.
22626 [C99-based-standards] (PRIiLEAST32): Likewise.
22627 [C99-based-standards] (PRIoLEAST32): Likewise.
22628 [C99-based-standards] (PRIuLEAST32): Likewise.
22629 [C99-based-standards] (PRIxLEAST32): Likewise.
22630 [C99-based-standards] (PRIXLEAST32): Likewise.
22631 [C99-based-standards] (SCNdLEAST32): Likewise.
22632 [C99-based-standards] (SCNiLEAST32): Likewise.
22633 [C99-based-standards] (SCNoLEAST32): Likewise.
22634 [C99-based-standards] (SCNuLEAST32): Likewise.
22635 [C99-based-standards] (SCNxLEAST32): Likewise.
22636 [C99-based-standards] (PRIdFAST32): Likewise.
22637 [C99-based-standards] (PRIiFAST32): Likewise.
22638 [C99-based-standards] (PRIoFAST32): Likewise.
22639 [C99-based-standards] (PRIuFAST32): Likewise.
22640 [C99-based-standards] (PRIxFAST32): Likewise.
22641 [C99-based-standards] (PRIXFAST32): Likewise.
22642 [C99-based-standards] (SCNdFAST32): Likewise.
22643 [C99-based-standards] (SCNiFAST32): Likewise.
22644 [C99-based-standards] (SCNoFAST32): Likewise.
22645 [C99-based-standards] (SCNuFAST32): Likewise.
22646 [C99-based-standards] (SCNxFAST32): Likewise.
22647 [C99-based-standards] (PRId64): Likewise.
22648 [C99-based-standards] (PRIi64): Likewise.
22649 [C99-based-standards] (PRIo64): Likewise.
22650 [C99-based-standards] (PRIu64): Likewise.
22651 [C99-based-standards] (PRIx64): Likewise.
22652 [C99-based-standards] (PRIX64): Likewise.
22653 [C99-based-standards] (SCNd64): Likewise.
22654 [C99-based-standards] (SCNi64): Likewise.
22655 [C99-based-standards] (SCNo64): Likewise.
22656 [C99-based-standards] (SCNu64): Likewise.
22657 [C99-based-standards] (SCNx64): Likewise.
22658 [C99-based-standards] (PRIdLEAST64): Likewise.
22659 [C99-based-standards] (PRIiLEAST64): Likewise.
22660 [C99-based-standards] (PRIoLEAST64): Likewise.
22661 [C99-based-standards] (PRIuLEAST64): Likewise.
22662 [C99-based-standards] (PRIxLEAST64): Likewise.
22663 [C99-based-standards] (PRIXLEAST64): Likewise.
22664 [C99-based-standards] (SCNdLEAST64): Likewise.
22665 [C99-based-standards] (SCNiLEAST64): Likewise.
22666 [C99-based-standards] (SCNoLEAST64): Likewise.
22667 [C99-based-standards] (SCNuLEAST64): Likewise.
22668 [C99-based-standards] (SCNxLEAST64): Likewise.
22669 [C99-based-standards] (PRIdFAST64): Likewise.
22670 [C99-based-standards] (PRIiFAST64): Likewise.
22671 [C99-based-standards] (PRIoFAST64): Likewise.
22672 [C99-based-standards] (PRIuFAST64): Likewise.
22673 [C99-based-standards] (PRIxFAST64): Likewise.
22674 [C99-based-standards] (PRIXFAST64): Likewise.
22675 [C99-based-standards] (SCNdFAST64): Likewise.
22676 [C99-based-standards] (SCNiFAST64): Likewise.
22677 [C99-based-standards] (SCNoFAST64): Likewise.
22678 [C99-based-standards] (SCNuFAST64): Likewise.
22679 [C99-based-standards] (SCNxFAST64): Likewise.
22680 [C99-based-standards] (PRIdMAX): Likewise.
22681 [C99-based-standards] (PRIiMAX): Likewise.
22682 [C99-based-standards] (PRIoMAX): Likewise.
22683 [C99-based-standards] (PRIuMAX): Likewise.
22684 [C99-based-standards] (PRIxMAX): Likewise.
22685 [C99-based-standards] (PRIXMAX): Likewise.
22686 [C99-based-standards] (SCNdMAX): Likewise.
22687 [C99-based-standards] (SCNiMAX): Likewise.
22688 [C99-based-standards] (SCNoMAX): Likewise.
22689 [C99-based-standards] (SCNuMAX): Likewise.
22690 [C99-based-standards] (SCNxMAX): Likewise.
22691 [C99-based-standards] (PRIdPTR): Likewise.
22692 [C99-based-standards] (PRIiPTR): Likewise.
22693 [C99-based-standards] (PRIoPTR): Likewise.
22694 [C99-based-standards] (PRIuPTR): Likewise.
22695 [C99-based-standards] (PRIxPTR): Likewise.
22696 [C99-based-standards] (PRIXPTR): Likewise.
22697 [C99-based-standards] (SCNdPTR): Likewise.
22698 [C99-based-standards] (SCNiPTR): Likewise.
22699 [C99-based-standards] (SCNoPTR): Likewise.
22700 [C99-based-standards] (SCNuPTR): Likewise.
22701 [C99-based-standards] (SCNxPTR): Likewise.
22702 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22704 * conform/data/stdint.h-data: Update comments to clarify
22706 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22708 [C99-based standards] (INT8_MAX): Likewise.
22709 [C99-based standards] (INT16_MIN): Likewise.
22710 [C99-based standards] (INT16_MAX): Likewise.
22711 [C99-based standards] (INT32_MIN): Likewise.
22712 [C99-based standards] (INT32_MAX): Likewise.
22713 [C99-based standards] (INT64_MIN): Likewise.
22714 [C99-based standards] (INT64_MAX): Likewise.
22715 [C99-based standards] (UINT8_MAX): Likewise.
22716 [C99-based standards] (UINT16_MAX): Likewise.
22717 [C99-based standards] (UINT32_MAX): Likewise.
22718 [C99-based standards] (UINT64_MAX): Likewise.
22719 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22720 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22721 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22722 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22723 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22724 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22725 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22726 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22727 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22728 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22729 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22730 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22731 [C99-based standards] (INT_FAST8_MIN): Likewise.
22732 [C99-based standards] (INT_FAST8_MAX): Likewise.
22733 [C99-based standards] (INT_FAST16_MIN): Likewise.
22734 [C99-based standards] (INT_FAST16_MAX): Likewise.
22735 [C99-based standards] (INT_FAST32_MIN): Likewise.
22736 [C99-based standards] (INT_FAST32_MAX): Likewise.
22737 [C99-based standards] (INT_FAST64_MIN): Likewise.
22738 [C99-based standards] (INT_FAST64_MAX): Likewise.
22739 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22740 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22741 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22742 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22743 [C99-based standards] (INTPTR_MIN): Likewise.
22744 [C99-based standards] (INTPTR_MAX): Likewise.
22745 [C99-based standards] (UINTPTR_MAX): Likewise.
22746 [C99-based standards] (INTMAX_MIN): Likewise.
22747 [C99-based standards] (INTMAX_MAX): Likewise.
22748 [C99-based standards] (UINTMAX_MAX): Likewise.
22749 [C99-based standards] (PTRDIFF_MIN): Likewise.
22750 [C99-based standards] (PTRDIFF_MAX): Likewise.
22751 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22752 [C99-based standards] (SIZE_MAX): Likewise.
22753 [C99-based standards] (WCHAR_MAX): Likewise.
22754 [C99-based standards] (WINT_MAX): Likewise.
22755 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22756 constraint on value.
22757 [C99-based standards] (WCHAR_MIN): Likewise.
22758 [C99-based standards] (WINT_MIN): Likewise.
22759 [C99-based standards] (*_t): Allow.
22760 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22761 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22762 Include math.h-data and complex.h-data. Remove all expectations
22763 of math.h and complex.h contents.
22764 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22766 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22767 (struct tm): Expect tag.
22768 [C99-based-standards] (wcstof): Expect function.
22769 [C99-based-standards] (wcstold): Likewise.
22770 [C99-based-standards] (wcstoll): Likewise.
22771 [C99-based-standards] (wcstoull): Likewise.
22772 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22773 macro-int-constant. Specify type.
22774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22775 constraint on value.
22776 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22778 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22780 [ISO C standards]: Do not allow headers.
22781 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22782 wcs[abcdefghijklmnopqrstuvwxyz]*.
22783 [ISO C standards] (*_t): Do not allow.
22784 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22786 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22787 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22789 [ISO C standards]: Do not allow headers.
22790 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22791 is[abcdefghijklmnopqrstuvwxyz]*.
22792 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22793 to[abcdefghijklmnopqrstuvwxyz]*.
22794 [ISO C standards] (*_t): Do not allow.
22795 * conform/data/stdalign.h-data: New file.
22796 * conform/data/stdbool.h-data: Likewise.
22797 * conform/data/stdnoreturn.h-data: Likewise.
22799 2012-11-07 Roland McGrath <roland@hack.frob.com>
22802 * manual/filesys.texi (Directory Entries): Typo fix.
22803 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22805 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22807 * elf/elf.h (EM_AARCH64): New macro.
22808 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22809 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22810 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22811 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22812 (R_AARCH64_TLSDESC): Likewise.
22813 (NT_ARM_TLS): Likewise.
22814 (NT_ARM_HW_BREAK): Likewise.
22815 (NT_ARM_HW_WATCH): Likewise.
22817 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22820 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22821 (__ieee754_powl): Saturate nonzero exponents with absolute value
22822 below 0x1p-79 to +/- 0x1p-79.
22823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22824 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22825 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22826 nonzero exponents with absolute value below 0x1p-32 to +/-
22828 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22829 (__ieee754_powl): Saturate nonzero exponents with absolute value
22830 below 0x1p-79 to +/- 0x1p-79.
22831 * math/libm-test.inc (pow_test): Add more tests.
22833 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22835 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22836 _dl_s390_cap_flags with kernel. Increase string length.
22837 (_dl_s390_platforms): Add z196 and zEC12.
22839 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22841 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22842 Change XOPEN21K to XOPEN2K.
22844 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22846 * string/memmove.c: Use memcpy when possible.
22848 2012-11-06 Andreas Jaeger <aj@suse.de>
22850 * po/eo.po: Update from translation team.
22852 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22856 exponent and small x and y exponents, scale x or y up. Increase
22857 by 2 the exponent used in scaling up.
22858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22860 * math/libm-test.inc (fma_test): Add more tests.
22861 (fma_test_towardzero): Likewise.
22862 (fma_test_downward): Likewise.
22863 (fma_test_upward): Likewise.
22865 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22868 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22872 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22873 namespace for names of struct fields.
22874 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22876 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22877 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22879 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22882 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22884 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22886 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22890 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22893 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22897 definitely overflow as x * y not x * y + z.
22898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22900 * math/libm-test.inc (fma_test): Add more tests.
22901 (fma_test_towardzero): Likewise.
22902 (fma_test_downward): Likewise.
22903 (fma_test_upward): Likewise.
22905 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22909 * include/stub-tag.h: Remove file.
22910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22912 * manual/maint.texi (Porting): Don't reference it.
22913 * Makerules ($(objpfx)stubs): Likewise.
22914 * dirent/closedir.c: Don't include <stub-tag.h>.
22915 * dirent/dirfd.c: Likewise.
22916 * dirent/fdopendir.c: Likewise.
22917 * dirent/getdents.c: Likewise.
22918 * dirent/getdents64.c: Likewise.
22919 * dirent/opendir.c: Likewise.
22920 * dirent/readdir.c: Likewise.
22921 * dirent/readdir64.c: Likewise.
22922 * dirent/readdir64_r.c: Likewise.
22923 * dirent/readdir_r.c: Likewise.
22924 * dirent/rewinddir.c: Likewise.
22925 * dirent/seekdir.c: Likewise.
22926 * dirent/telldir.c: Likewise.
22927 * gmon/profil.c: Likewise.
22928 * grp/setgroups.c: Likewise.
22929 * inet/if_index.c: Likewise.
22930 * io/access.c: Likewise.
22931 * io/chdir.c: Likewise.
22932 * io/chmod.c: Likewise.
22933 * io/chown.c: Likewise.
22934 * io/close.c: Likewise.
22935 * io/dup.c: Likewise.
22936 * io/dup2.c: Likewise.
22937 * io/dup3.c: Likewise.
22938 * io/euidaccess.c: Likewise.
22939 * io/faccessat.c: Likewise.
22940 * io/fchdir.c: Likewise.
22941 * io/fchmod.c: Likewise.
22942 * io/fchmodat.c: Likewise.
22943 * io/fchown.c: Likewise.
22944 * io/fchownat.c: Likewise.
22945 * io/fcntl.c: Likewise.
22946 * io/flock.c: Likewise.
22947 * io/fstatfs.c: Likewise.
22948 * io/fstatfs64.c: Likewise.
22949 * io/fstatvfs.c: Likewise.
22950 * io/fstatvfs64.c: Likewise.
22951 * io/futimens.c: Likewise.
22952 * io/fxstat.c: Likewise.
22953 * io/fxstat64.c: Likewise.
22954 * io/fxstatat.c: Likewise.
22955 * io/fxstatat64.c: Likewise.
22956 * io/getcwd.c: Likewise.
22957 * io/isatty.c: Likewise.
22958 * io/lchmod.c: Likewise.
22959 * io/lchown.c: Likewise.
22960 * io/link.c: Likewise.
22961 * io/linkat.c: Likewise.
22962 * io/lseek.c: Likewise.
22963 * io/lseek64.c: Likewise.
22964 * io/lxstat64.c: Likewise.
22965 * io/mkdir.c: Likewise.
22966 * io/mkdirat.c: Likewise.
22967 * io/mkfifo.c: Likewise.
22968 * io/mkfifoat.c: Likewise.
22969 * io/open.c: Likewise.
22970 * io/open64.c: Likewise.
22971 * io/openat.c: Likewise.
22972 * io/openat64.c: Likewise.
22973 * io/pipe.c: Likewise.
22974 * io/pipe2.c: Likewise.
22975 * io/poll.c: Likewise.
22976 * io/posix_fadvise.c: Likewise.
22977 * io/posix_fadvise64.c: Likewise.
22978 * io/posix_fallocate.c: Likewise.
22979 * io/posix_fallocate64.c: Likewise.
22980 * io/read.c: Likewise.
22981 * io/readlink.c: Likewise.
22982 * io/readlinkat.c: Likewise.
22983 * io/rmdir.c: Likewise.
22984 * io/sendfile.c: Likewise.
22985 * io/sendfile64.c: Likewise.
22986 * io/statfs.c: Likewise.
22987 * io/statfs64.c: Likewise.
22988 * io/statvfs.c: Likewise.
22989 * io/statvfs64.c: Likewise.
22990 * io/symlink.c: Likewise.
22991 * io/symlinkat.c: Likewise.
22992 * io/ttyname.c: Likewise.
22993 * io/ttyname_r.c: Likewise.
22994 * io/umask.c: Likewise.
22995 * io/unlink.c: Likewise.
22996 * io/unlinkat.c: Likewise.
22997 * io/utime.c: Likewise.
22998 * io/utimensat.c: Likewise.
22999 * io/write.c: Likewise.
23000 * io/xmknod.c: Likewise.
23001 * io/xmknodat.c: Likewise.
23002 * io/xstat.c: Likewise.
23003 * io/xstat64.c: Likewise.
23004 * login/getpt.c: Likewise.
23005 * login/grantpt.c: Likewise.
23006 * login/unlockpt.c: Likewise.
23007 * math/e_acoshl.c: Likewise.
23008 * math/e_acosl.c: Likewise.
23009 * math/e_asinl.c: Likewise.
23010 * math/e_atan2l.c: Likewise.
23011 * math/e_atanhl.c: Likewise.
23012 * math/e_coshl.c: Likewise.
23013 * math/e_expl.c: Likewise.
23014 * math/e_fmodl.c: Likewise.
23015 * math/e_gammal_r.c: Likewise.
23016 * math/e_hypotl.c: Likewise.
23017 * math/e_j0l.c: Likewise.
23018 * math/e_j1l.c: Likewise.
23019 * math/e_jnl.c: Likewise.
23020 * math/e_lgammal_r.c: Likewise.
23021 * math/e_log10l.c: Likewise.
23022 * math/e_log2l.c: Likewise.
23023 * math/e_logl.c: Likewise.
23024 * math/e_powl.c: Likewise.
23025 * math/e_rem_pio2l.c: Likewise.
23026 * math/e_sinhl.c: Likewise.
23027 * math/e_sqrtl.c: Likewise.
23028 * math/fclrexcpt.c: Likewise.
23029 * math/fedisblxcpt.c: Likewise.
23030 * math/feenablxcpt.c: Likewise.
23031 * math/fegetenv.c: Likewise.
23032 * math/fegetexcept.c: Likewise.
23033 * math/fegetround.c: Likewise.
23034 * math/feholdexcpt.c: Likewise.
23035 * math/fesetenv.c: Likewise.
23036 * math/fesetround.c: Likewise.
23037 * math/feupdateenv.c: Likewise.
23038 * math/fgetexcptflg.c: Likewise.
23039 * math/fraiseexcpt.c: Likewise.
23040 * math/fsetexcptflg.c: Likewise.
23041 * math/ftestexcept.c: Likewise.
23042 * math/k_cosl.c: Likewise.
23043 * math/k_rem_pio2l.c: Likewise.
23044 * math/k_sinl.c: Likewise.
23045 * math/k_tanl.c: Likewise.
23046 * math/s_asinhl.c: Likewise.
23047 * math/s_atanl.c: Likewise.
23048 * math/s_cbrtl.c: Likewise.
23049 * math/s_erfl.c: Likewise.
23050 * math/s_expm1l.c: Likewise.
23051 * math/s_log1pl.c: Likewise.
23052 * math/s_tanhl.c: Likewise.
23053 * misc/acct.c: Likewise.
23054 * misc/brk.c: Likewise.
23055 * misc/chflags.c: Likewise.
23056 * misc/chroot.c: Likewise.
23057 * misc/fchflags.c: Likewise.
23058 * misc/fgetxattr.c: Likewise.
23059 * misc/flistxattr.c: Likewise.
23060 * misc/fremovexattr.c: Likewise.
23061 * misc/fsetxattr.c: Likewise.
23062 * misc/fsync.c: Likewise.
23063 * misc/ftruncate.c: Likewise.
23064 * misc/futimes.c: Likewise.
23065 * misc/futimesat.c: Likewise.
23066 * misc/getdomain.c: Likewise.
23067 * misc/getdtsz.c: Likewise.
23068 * misc/gethostid.c: Likewise.
23069 * misc/gethostname.c: Likewise.
23070 * misc/getloadavg.c: Likewise.
23071 * misc/getpagesize.c: Likewise.
23072 * misc/getsysstats.c: Likewise.
23073 * misc/getxattr.c: Likewise.
23074 * misc/gtty.c: Likewise.
23075 * misc/ioctl.c: Likewise.
23076 * misc/lgetxattr.c: Likewise.
23077 * misc/listxattr.c: Likewise.
23078 * misc/llistxattr.c: Likewise.
23079 * misc/lremovexattr.c: Likewise.
23080 * misc/lsetxattr.c: Likewise.
23081 * misc/lutimes.c: Likewise.
23082 * misc/madvise.c: Likewise.
23083 * misc/mincore.c: Likewise.
23084 * misc/mlock.c: Likewise.
23085 * misc/mlockall.c: Likewise.
23086 * misc/mmap.c: Likewise.
23087 * misc/mprotect.c: Likewise.
23088 * misc/msync.c: Likewise.
23089 * misc/munlock.c: Likewise.
23090 * misc/munlockall.c: Likewise.
23091 * misc/munmap.c: Likewise.
23092 * misc/preadv.c: Likewise.
23093 * misc/preadv64.c: Likewise.
23094 * misc/ptrace.c: Likewise.
23095 * misc/pwritev.c: Likewise.
23096 * misc/pwritev64.c: Likewise.
23097 * misc/readv.c: Likewise.
23098 * misc/reboot.c: Likewise.
23099 * misc/remap_file_pages.c: Likewise.
23100 * misc/removexattr.c: Likewise.
23101 * misc/revoke.c: Likewise.
23102 * misc/select.c: Likewise.
23103 * misc/setdomain.c: Likewise.
23104 * misc/setegid.c: Likewise.
23105 * misc/seteuid.c: Likewise.
23106 * misc/sethostid.c: Likewise.
23107 * misc/sethostname.c: Likewise.
23108 * misc/setregid.c: Likewise.
23109 * misc/setreuid.c: Likewise.
23110 * misc/setxattr.c: Likewise.
23111 * misc/sstk.c: Likewise.
23112 * misc/stty.c: Likewise.
23113 * misc/swapoff.c: Likewise.
23114 * misc/swapon.c: Likewise.
23115 * misc/sync.c: Likewise.
23116 * misc/syncfs.c: Likewise.
23117 * misc/syscall.c: Likewise.
23118 * misc/truncate.c: Likewise.
23119 * misc/ualarm.c: Likewise.
23120 * misc/usleep.c: Likewise.
23121 * misc/ustat.c: Likewise.
23122 * misc/utimes.c: Likewise.
23123 * misc/vhangup.c: Likewise.
23124 * misc/writev.c: Likewise.
23125 * posix/_exit.c: Likewise.
23126 * posix/alarm.c: Likewise.
23127 * posix/execve.c: Likewise.
23128 * posix/fexecve.c: Likewise.
23129 * posix/fork.c: Likewise.
23130 * posix/fpathconf.c: Likewise.
23131 * posix/getaddrinfo.c: Likewise.
23132 * posix/getegid.c: Likewise.
23133 * posix/geteuid.c: Likewise.
23134 * posix/getgid.c: Likewise.
23135 * posix/getgroups.c: Likewise.
23136 * posix/getlogin.c: Likewise.
23137 * posix/getlogin_r.c: Likewise.
23138 * posix/getpgid.c: Likewise.
23139 * posix/getpid.c: Likewise.
23140 * posix/getppid.c: Likewise.
23141 * posix/getresgid.c: Likewise.
23142 * posix/getresuid.c: Likewise.
23143 * posix/getsid.c: Likewise.
23144 * posix/getuid.c: Likewise.
23145 * posix/glob64.c: Likewise.
23146 * posix/nanosleep.c: Likewise.
23147 * posix/pathconf.c: Likewise.
23148 * posix/pause.c: Likewise.
23149 * posix/posix_madvise.c: Likewise.
23150 * posix/pread.c: Likewise.
23151 * posix/pread64.c: Likewise.
23152 * posix/pwrite.c: Likewise.
23153 * posix/pwrite64.c: Likewise.
23154 * posix/sched_getaffinity.c: Likewise.
23155 * posix/sched_getp.c: Likewise.
23156 * posix/sched_gets.c: Likewise.
23157 * posix/sched_primax.c: Likewise.
23158 * posix/sched_primin.c: Likewise.
23159 * posix/sched_rr_gi.c: Likewise.
23160 * posix/sched_setaffinity.c: Likewise.
23161 * posix/sched_setp.c: Likewise.
23162 * posix/sched_sets.c: Likewise.
23163 * posix/sched_yield.c: Likewise.
23164 * posix/setgid.c: Likewise.
23165 * posix/setlogin.c: Likewise.
23166 * posix/setpgid.c: Likewise.
23167 * posix/setresgid.c: Likewise.
23168 * posix/setresuid.c: Likewise.
23169 * posix/setsid.c: Likewise.
23170 * posix/setuid.c: Likewise.
23171 * posix/sleep.c: Likewise.
23172 * posix/spawni.c: Likewise.
23173 * posix/sysconf.c: Likewise.
23174 * posix/times.c: Likewise.
23175 * posix/wait.c: Likewise.
23176 * posix/wait3.c: Likewise.
23177 * posix/wait4.c: Likewise.
23178 * posix/waitpid.c: Likewise.
23179 * resolv/gai_sigqueue.c: Likewise.
23180 * resource/getpriority.c: Likewise.
23181 * resource/getrlimit.c: Likewise.
23182 * resource/getrusage.c: Likewise.
23183 * resource/nice.c: Likewise.
23184 * resource/setpriority.c: Likewise.
23185 * resource/setrlimit.c: Likewise.
23186 * resource/ulimit.c: Likewise.
23187 * rt/aio_cancel.c: Likewise.
23188 * rt/aio_fsync.c: Likewise.
23189 * rt/aio_read.c: Likewise.
23190 * rt/aio_sigqueue.c: Likewise.
23191 * rt/aio_suspend.c: Likewise.
23192 * rt/aio_write.c: Likewise.
23193 * rt/clock_getres.c: Likewise.
23194 * rt/clock_gettime.c: Likewise.
23195 * rt/clock_nanosleep.c: Likewise.
23196 * rt/clock_settime.c: Likewise.
23197 * rt/lio_listio.c: Likewise.
23198 * rt/mq_close.c: Likewise.
23199 * rt/mq_getattr.c: Likewise.
23200 * rt/mq_notify.c: Likewise.
23201 * rt/mq_open.c: Likewise.
23202 * rt/mq_receive.c: Likewise.
23203 * rt/mq_send.c: Likewise.
23204 * rt/mq_setattr.c: Likewise.
23205 * rt/mq_timedreceive.c: Likewise.
23206 * rt/mq_timedsend.c: Likewise.
23207 * rt/mq_unlink.c: Likewise.
23208 * rt/shm_open.c: Likewise.
23209 * rt/shm_unlink.c: Likewise.
23210 * rt/timer_create.c: Likewise.
23211 * rt/timer_delete.c: Likewise.
23212 * rt/timer_getoverr.c: Likewise.
23213 * rt/timer_gettime.c: Likewise.
23214 * rt/timer_settime.c: Likewise.
23215 * setjmp/__longjmp.c: Likewise.
23216 * setjmp/setjmp.c: Likewise.
23217 * signal/kill.c: Likewise.
23218 * signal/killpg.c: Likewise.
23219 * signal/raise.c: Likewise.
23220 * signal/sigaction.c: Likewise.
23221 * signal/sigaltstack.c: Likewise.
23222 * signal/sigblock.c: Likewise.
23223 * signal/sigignore.c: Likewise.
23224 * signal/sigintr.c: Likewise.
23225 * signal/signal.c: Likewise.
23226 * signal/sigpause.c: Likewise.
23227 * signal/sigpending.c: Likewise.
23228 * signal/sigqueue.c: Likewise.
23229 * signal/sigreturn.c: Likewise.
23230 * signal/sigset.c: Likewise.
23231 * signal/sigsetmask.c: Likewise.
23232 * signal/sigstack.c: Likewise.
23233 * signal/sigsuspend.c: Likewise.
23234 * signal/sigtimedwait.c: Likewise.
23235 * signal/sigvec.c: Likewise.
23236 * signal/sigwait.c: Likewise.
23237 * signal/sigwaitinfo.c: Likewise.
23238 * signal/sysv_signal.c: Likewise.
23239 * socket/accept.c: Likewise.
23240 * socket/accept4.c: Likewise.
23241 * socket/bind.c: Likewise.
23242 * socket/connect.c: Likewise.
23243 * socket/getpeername.c: Likewise.
23244 * socket/getsockname.c: Likewise.
23245 * socket/getsockopt.c: Likewise.
23246 * socket/isfdtype.c: Likewise.
23247 * socket/listen.c: Likewise.
23248 * socket/recv.c: Likewise.
23249 * socket/recvfrom.c: Likewise.
23250 * socket/recvmsg.c: Likewise.
23251 * socket/send.c: Likewise.
23252 * socket/sendmsg.c: Likewise.
23253 * socket/sendto.c: Likewise.
23254 * socket/setsockopt.c: Likewise.
23255 * socket/shutdown.c: Likewise.
23256 * socket/sockatmark.c: Likewise.
23257 * socket/socket.c: Likewise.
23258 * socket/socketpair.c: Likewise.
23259 * stdio-common/ctermid.c: Likewise.
23260 * stdio-common/cuserid.c: Likewise.
23261 * stdio-common/remove.c: Likewise.
23262 * stdio-common/rename.c: Likewise.
23263 * stdio-common/renameat.c: Likewise.
23264 * stdio-common/tempname.c: Likewise.
23265 * stdlib/getcontext.c: Likewise.
23266 * stdlib/makecontext.c: Likewise.
23267 * stdlib/setcontext.c: Likewise.
23268 * stdlib/swapcontext.c: Likewise.
23269 * stdlib/system.c: Likewise.
23270 * streams/fattach.c: Likewise.
23271 * streams/fdetach.c: Likewise.
23272 * streams/getmsg.c: Likewise.
23273 * streams/getpmsg.c: Likewise.
23274 * streams/putmsg.c: Likewise.
23275 * streams/putpmsg.c: Likewise.
23276 * sysdeps/unix/bsd/getpt.c: Likewise.
23277 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23278 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23279 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23282 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23283 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23284 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23285 * sysvipc/msgctl.c: Likewise.
23286 * sysvipc/msgget.c: Likewise.
23287 * sysvipc/msgrcv.c: Likewise.
23288 * sysvipc/msgsnd.c: Likewise.
23289 * sysvipc/semctl.c: Likewise.
23290 * sysvipc/semget.c: Likewise.
23291 * sysvipc/semop.c: Likewise.
23292 * sysvipc/semtimedop.c: Likewise.
23293 * sysvipc/shmat.c: Likewise.
23294 * sysvipc/shmctl.c: Likewise.
23295 * sysvipc/shmdt.c: Likewise.
23296 * sysvipc/shmget.c: Likewise.
23297 * termios/tcdrain.c: Likewise.
23298 * termios/tcflow.c: Likewise.
23299 * termios/tcflush.c: Likewise.
23300 * termios/tcgetattr.c: Likewise.
23301 * termios/tcgetpgrp.c: Likewise.
23302 * termios/tcsendbrk.c: Likewise.
23303 * termios/tcsetattr.c: Likewise.
23304 * termios/tcsetpgrp.c: Likewise.
23305 * time/adjtime.c: Likewise.
23306 * time/clock.c: Likewise.
23307 * time/getitimer.c: Likewise.
23308 * time/gettimeofday.c: Likewise.
23309 * time/setitimer.c: Likewise.
23310 * time/settimeofday.c: Likewise.
23311 * time/stime.c: Likewise.
23312 * time/time.c: Likewise.
23314 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23316 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23319 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23321 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23323 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23327 FE_TONEAREST before applying Dekker multiplication and Knuth
23328 addition. Clear inexact exceptions and check for exact zero
23329 results afterwards.
23330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23331 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23333 * math/libm-test.inc (fma_test): Add more tests.
23334 (fma_test_towardzero): Likewise.
23335 (fma_test_downward): Likewise.
23336 (fma_test_upward): Likewise.
23337 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23339 (libc_fesetround): New macro.
23340 (libc_fesetroundf): Likewise.
23341 (libc_fesetroundl): Likewise.
23342 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23344 (libc_fesetround_387): Likewise.
23345 (libc_fesetroundf): New macro.
23346 (libc_fesetround): Likewise.
23347 (libc_fesetroundl): Likewise.
23348 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23350 (libc_fesetroundf): New macro.
23351 (libc_fesetround): Likewise.
23352 (libc_fesetroundl): Likewise.
23353 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23354 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23355 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23357 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23358 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23360 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23361 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23363 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23367 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23368 integer constant usable in #if and use that to give value to enum
23370 (FE_DIVBYZERO): Likewise.
23371 (FE_UNDERFLOW): Likewise.
23372 (FE_OVERFLOW): Likewise.
23373 (FE_INVALID): Likewise.
23374 (FE_INVALID_SNAN): Likewise.
23375 (FE_INVALID_ISI): Likewise.
23376 (FE_INVALID_IDI): Likewise.
23377 (FE_INVALID_ZDZ): Likewise.
23378 (FE_INVALID_IMZ): Likewise.
23379 (FE_INVALID_COMPARE): Likewise.
23380 (FE_INVALID_SOFTWARE): Likewise.
23381 (FE_INVALID_SQRT): Likewise.
23382 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23383 (FE_TONEAREST): Likewise.
23384 (FE_TOWARDZERO): Likewise.
23385 (FE_UPWARD): Likewise.
23386 (FE_DOWNWARD): Likewise.
23387 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23388 (FE_DIVBYZERO): Likewise.
23389 (FE_OVERFLOW): Likewise.
23390 (FE_UNDERFLOW): Likewise.
23391 (FE_INEXACT): Likewise.
23392 (FE_TONEAREST): Likewise.
23393 (FE_DOWNWARD): Likewise.
23394 (FE_UPWARD): Likewise.
23395 (FE_TOWARDZERO): Likewise.
23396 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23397 (FE_UNDERFLOW): Likewise.
23398 (FE_OVERFLOW): Likewise.
23399 (FE_DIVBYZERO): Likewise.
23400 (FE_INVALID): Likewise.
23401 (FE_TONEAREST): Likewise.
23402 (FE_TOWARDZERO): Likewise.
23403 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23404 (FE_OVERFLOW): Likewise.
23405 (FE_UNDERFLOW): Likewise.
23406 (FE_DIVBYZERO): Likewise.
23407 (FE_INEXACT): Likewise.
23408 (FE_TONEAREST): Likewise.
23409 (FE_TOWARDZERO): Likewise.
23410 (FE_UPWARD): Likewise.
23411 (FE_DOWNWARD): Likewise.
23412 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23413 (FE_DIVBYZERO): Likewise.
23414 (FE_OVERFLOW): Likewise.
23415 (FE_UNDERFLOW): Likewise.
23416 (FE_INEXACT): Likewise.
23417 (FE_TONEAREST): Likewise.
23418 (FE_DOWNWARD): Likewise.
23419 (FE_UPWARD): Likewise.
23420 (FE_TOWARDZERO): Likewise.
23422 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23424 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23426 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23428 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23429 commands. Quote $PWD.
23430 (blacklist_exports): Don't use remove_newlines. Replace "declare
23432 (remove_newlines): Remove.
23434 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23436 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23437 * stdlib/stdlib.h (atof): Moved to ...
23438 * include/bits/stdlib-float.h: Here. New file.
23439 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23440 * stdlib/bits/stdlib-float.h: New file.
23441 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23446 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23448 * conform/conformtest.pl (@headers): Add fenv.h.
23449 * conform/data/fenv.h-data: New file.
23450 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23451 include of <math/fenv.h>.
23453 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23454 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23455 && !UNIX98]. Enables tests for XOPEN2K8.
23456 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23457 POSIX2008]: Likewise.
23459 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23460 (struct rusage): Do not expect type or its members.
23463 * math/math.h (FP_NAN): Define macro to integer constant usable in
23464 #if and use that to give value to enum constant.
23465 (FP_INFINITE): Likewise.
23466 (FP_ZERO): Likewise.
23467 (FP_SUBNORMAL): Likewise.
23468 (FP_NORMAL): Likewise.
23470 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23472 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23473 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23476 2012-11-02 Roland McGrath <roland@hack.frob.com>
23478 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23479 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23480 autoconf-time if not.
23481 * configure.in: Remove AC_PREREQ.
23483 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23485 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23486 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23487 of the internal implementation.
23489 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23491 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23492 except include of <misc/sys/syslog.h>.
23494 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23497 function returns with a NULL context exit with zero.
23499 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23501 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23503 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23505 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23506 (run_program_cmd): This.
23507 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23508 (tst_langinfo): New variable. Use it.
23510 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23512 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23513 floating point opcodes.
23515 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23517 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23520 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23522 * sysdeps/mach/hurd/powerpc: Remove directory.
23523 * sysdeps/mach/powerpc: Likewise.
23525 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23527 * scripts/check-local-headers.sh: Ignore c++ headers.
23529 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23531 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23532 __libc_cleanup_region_start argument.
23534 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23539 x * y using scaling, not as x * y + z.
23540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23542 * math/libm-test.inc (fma_test): Add more tests.
23543 (fma_test_towardzero): Likewise.
23544 (fma_test_downward): Likewise.
23545 (fma_test_upward): Likewise.
23547 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23549 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23551 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23556 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23558 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23560 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23567 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23570 Fix the order of the list for glibc 2.17.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23574 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23578 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23582 for low part of x being zero before using __atanl (y).
23583 * math/libm-test.inc (atan2_test): Add another test.
23585 * manual/install.texi (Configuring and compiling): Document
23586 general use of test-wrapper and test-wrapper-env.
23587 * INSTALL: Regenerated.
23589 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23590 (__fma): Do not extract and scale down low bits on after-rounding
23591 systems when result rounded to normal precision would have normal
23593 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23594 (__fmal): Do not extract and scale down low bits on after-rounding
23595 systems when result rounded to normal precision would have normal
23597 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23598 (__fmal): Do not extract and scale down low bits on after-rounding
23599 systems when result rounded to normal precision would have normal
23601 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23603 (fma_test): Add more tests.
23604 (fma_test_towardzero): Likewise.
23605 (fma_test_downward): Likewise.
23606 (fma_test_upward): Likewise.
23608 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23610 * sysdeps/i386/tininess.h: Renamed to ...
23611 * sysdeps/x86/tininess.h: This.
23612 * sysdeps/x86_64/tininess.h: Removed.
23614 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23616 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23617 input. Use $(build-program-cmd).
23618 ($(objpfx)tst-array1-static.out): Likewise.
23619 ($(objpfx)tst-array2.out): Likewise.
23620 ($(objpfx)tst-array3.out): Likewise.
23621 ($(objpfx)tst-array4.out): Likewise.
23622 ($(objpfx)tst-array5.out): Likewise.
23623 ($(objpfx)tst-array5-static.out): Likewise.
23625 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23627 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23630 * nss/nsswitch.h (nss_interface_function): Provide new
23631 macro for use with NSS functions.
23632 * grp/initgroups.c: Use new macro.
23633 * nss/getXXbyYY.c: Likewise.
23634 * nss/getXXbyYY_r.c: Likewise.
23635 * nss/getXXent.c: Likewise.
23636 * nss/getXXent_r.c: Likewise.
23637 * sysdeps/posix/getaddrinfo.c: Likewise.
23639 2012-10-30 Andreas Jaeger <aj@suse.de>
23641 * po/ru.po: Update Russion translation from translation project.
23643 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23648 result and shift together with sticky bit instead of replicating
23649 round-to-nearest rounding.
23650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23652 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23653 missing underflow exceptions.
23654 (fma_test_towardzero): Add more tests.
23655 (fma_test_downward): Likewise.
23656 (fma_test_upward): Likewise.
23659 * sysdeps/generic/tininess.h: New file.
23660 * sysdeps/i386/tininess.h: Likewise.
23661 * sysdeps/sh/tininess.h: Likewise.
23662 * sysdeps/x86_64/tininess.h: Likewise.
23663 * stdlib/tst-strtod-underflow.c: Likewise.
23664 * stdlib/tst-tininess.c: Likewise.
23665 * stdlib/strtod_l.c: Include <tininess.h>.
23666 (round_and_return): Do not set errno for exact underflow cases.
23667 Force an underflow exception when setting errno for underflow.
23668 Determine underflow based on rounding to normal precision if
23669 TININESS_AFTER_ROUNDING.
23670 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23671 ERANGE for exact underflow cases.
23672 * stdlib/Makefile (tests): Add tst-tininess and
23673 tst-strtod-underflow.
23674 ($(objpfx)tst-tininess): Use $(link-libm).
23675 ($(objpfx)tst-strtod-underflow): Likewise.
23677 2012-10-30 Andreas Jaeger <aj@suse.de>
23680 * elf/Makefile (tests): Remove conditional for have-initfini-array
23681 since this is now always required and the variable does not exist
23683 (tests-static): Likewise.
23684 (modules-names): Likewise.
23686 * po/eo.po: Add Esperanto translation from translation project.
23688 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23689 merged with constructor/destructor.
23690 (init_array): Likewise.
23691 * elf/tst-array2dep.c (fini_array): Likewise.
23692 (init_array): Likewise.
23694 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23696 * manual/message.texi: Delete @cartouche tags.
23698 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23700 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23702 * sysdeps/mach/hurd/fsync.c: Likewise.
23704 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23705 [_POSIX_REALTIME_SIGNALS]: Change condition to
23706 [_POSIX_REALTIME_SIGNALS > 0].
23708 2012-10-27 Andreas Jaeger <aj@suse.de>
23710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23711 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23713 [__WORDSIZE != 64]: Likewise.
23715 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23717 * iconvdata/tst-table.sh: Remove ${SHELL}.
23718 * iconvdata/tst-tables.sh: Likewise.
23720 2012-10-25 David S. Miller <davem@davemloft.net>
23722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23723 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23728 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23729 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23730 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23733 2012-10-25 Roland McGrath <roland@hack.frob.com>
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23736 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23739 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23740 Jim Blandy <jimb@codesourcery.com>
23742 * scripts/cross-test-ssh.sh: New file.
23743 * manual/install.texi (Configuring and compiling): Document use of
23745 * INSTALL: Regenerated.
23747 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23749 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23752 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23754 * Makeconfig (run-program-prefix): Fix comment.
23756 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23757 Jim Blandy <jimb@codesourcery.com>
23759 * Makeconfig (test-wrapper): New variable,
23760 (test-wrapper-env): Likewise.
23761 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23762 (run-built-tests): Define to yes.
23763 (run-program-prefix): Use $(test-wrapper).
23764 (built-program-cmd): Likewise.
23765 * Rules (make-test-out): Use $(test-wrapper-env) and
23766 $(host-built-program-cmd).
23767 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23768 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23770 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23771 $(test-wrapper-env) to tst-rtld-load-self.sh.
23772 ($(objpfx)order2.out): Use $(test-wrapper).
23773 ($(objpfx)tst-initorder.out): Likewise.
23774 ($(objpfx)tst-initorder2.out): Likewise.
23775 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23776 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23777 (test_wrapper_env): New variable. Use it to run ld.so.
23778 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23779 Use it to run ld.so.
23780 (test_wrapper_env): Likewise.
23781 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23782 $(test-wrapper) to run-iconv-test.sh.
23783 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23784 (ICONV): Use $test_wrapper.
23785 * posix/Makefile ($(objpfx)globtest.out): Pass
23786 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23787 globtest.sh, not $(run-program-prefix).
23788 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23789 (test_wrapper): Likewise.
23790 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23791 set together with run_via_rtld_prefix.
23792 (run_program_prefix): Define in terms of test_wrapper and
23793 run_via_rtld_prefix.
23795 2012-10-24 Roland McGrath <roland@hack.frob.com>
23797 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23798 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23802 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23803 Declare __clock_getres, __clock_gettime, __clock_settime,
23804 __clock_nanosleep, and __clock_getcpuclockid.
23805 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23806 Remove librt_hidden_def (clock_gettime).
23807 * sysdeps/unix/clock_gettime.c: Likewise.
23808 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23810 * rt/clock_getres.c: Define __clock_getres as an alias.
23811 * sysdeps/posix/clock_getres.c: Likewise.
23812 * rt/clock_settime.c: Define __clock_settime as an alias.
23813 * sysdeps/unix/clock_settime.c: Likewise.
23814 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23815 * sysdeps/unix/clock_nanosleep.c: Likewise.
23816 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23817 * rt/clock-compat.c: New file.
23818 * rt/Makefile (librt-routines): Add clock-compat and move
23819 $(clock-routines) to ...
23820 (routines): ... here, new variable.
23821 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23822 Don't add get_clockfreq here.
23823 * rt/Versions (libc: GLIBC_2.17): New version set.
23824 Add clock_* symbols here.
23825 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23827 (GLIBC_2.17): Add clock_* symbols.
23828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23839 * NEWS: Mention the move.
23841 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23842 Use __open, __read, __close rather than their public counterparts.
23843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23844 (__get_clockfreq_via_cpuinfo): Likewise.
23845 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23846 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23848 * config.h.in (HAVE_IFUNC): New #undef.
23849 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23851 * configure: Regenerated.
23853 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23855 * configure.in: Move READELF check to start of file.
23856 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23857 libc_cv_asm_gnu_indirect_function in the process.
23858 * configure: Regenerated.
23860 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23862 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23863 send the output to /dev/null.
23864 (libc_cv_cc_with_libunwind): Likewise.
23865 (libc_cv_as_noexecstack): Likewise.
23866 * configure: Regenerate.
23868 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23870 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23872 * posix/globtest.sh (TMPDIR): Do not set.
23873 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23874 (testout): Likewise.
23876 2012-10-24 Andreas Jaeger <aj@suse.de>
23878 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23879 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23880 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23881 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23882 posix_fadvise64, posix_fallocate64.
23884 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23885 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23886 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23888 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23890 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23893 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23894 <bits/fcntl-linux.h>.
23895 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23898 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23899 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23900 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23901 [__WORDSIZE != 64]: Likewise.
23903 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23905 * Makeconfig (run-built-tests): New variable.
23906 * Rules [$(cross-compiling) = yes]: Change condition to
23907 [$(run-built-tests) = no].
23908 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23909 to [$(run-built-tests) = yes].
23910 * elf/Makefile [$(cross-compiling) = no]: Likewise
23911 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23912 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23913 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23914 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23915 * io/Makefile [$(cross-compiling) = no]: Likewise.
23916 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23917 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23918 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23919 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23920 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23921 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23922 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23923 * string/Makefile [$(cross-compiling) = no]: Likewise.
23925 * posix/Makefile ($(objpfx)globtest.out): Pass
23926 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23927 $(rtld-installed-name).
23928 * posix/globtest.sh (elf_objpfx): Remove variable.
23929 (rtld_installed_name): Likewise.
23930 (library_path): Likewise.
23931 (run_program_prefix): New variable. Use for running globtest
23934 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23935 Joseph Myers <joseph@codesourcery.com>
23937 * Makeconfig (host-built-program-cmd): New variable.
23938 * elf/Makefile (tst-stackguard1-ARGS): Use
23939 $(host-built-program-cmd).
23940 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23941 (tst-spawn-ARGS): Likewise.
23942 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23944 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23945 Jim Blandy <jimb@codesourcery.com>
23947 * Makeconfig (run-via-rtld-prefix): New variable.
23948 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23949 (built-program-cmd): Likewise.
23951 2012-10-22 Andreas Jaeger <aj@suse.de>
23953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23954 __O_RSYNC if it exists, otherwise to O_SYNC.
23956 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23957 Joseph Myers <joseph@codesourcery.com>
23959 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23961 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23963 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23966 2012-10-22 Andreas Jaeger <aj@suse.de>
23968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23973 bits/fcntl-linux.h.
23975 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23976 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23983 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23984 Joseph Myers <joseph@codesourcery.com>
23986 * config.make.in (NM): New variable.
23988 2012-10-21 Andreas Jaeger <aj@suse.de>
23990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23991 definitions and declarations that are provided by
23992 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23994 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23997 * elf/Makefile (tests-static): Add tst-leaks1-static.
23998 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23999 ($(objpfx)tst-leaks1-static): New rule.
24000 ($(objpfx)tst-leaks1-static-mem): Likewise.
24001 (tst-leaks1-static-ENV): New macro.
24002 * elf/dl-open.c (dl_open_worker): Check the main application
24003 only if SHARED is defined.
24004 * elf/tst-leaks1-static.c: New file.
24006 2012-10-20 Andreas Jaeger <aj@suse.de>
24008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24009 generic values for Linux.
24010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24011 and declarations that are provided by <bits/fcntl-linux.h> and
24012 include <bits/fcntl-linux.h>.
24013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24016 2012-10-20 Roland McGrath <roland@hack.frob.com>
24018 * io/fcntl.h: Move include of <bits/types.h> to the top and
24019 include it unconditionally.
24021 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24023 * wcsmbs/Makefile (tests-ifunc): New variable.
24024 (tests): Add $(tests-ifunc).
24025 * wcsmbs/test-wcschr-ifunc.c: New file.
24026 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24027 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24028 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24029 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24030 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24032 * string/Makefile (tests-ifunc): New variable.
24033 (tests): Add $(tests-ifunc).
24034 * string/test-memccpy.c (TEST_NAME): New macro.
24035 * string/test-memchr.c (TEST_NAME): Likewise.
24036 * string/test-memcmp.c (TEST_NAME): Likewise.
24037 * string/test-memcpy.c (TEST_NAME): Likewise.
24038 * string/test-memmem.c (TEST_NAME): Likewise.
24039 * string/test-memmove.c (TEST_NAME): Likewise.
24040 * string/test-memset.c (TEST_NAME): Likewise.
24041 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24042 * string/test-stpcpy.c (TEST_NAME): Likewise.
24043 * string/test-stpncpy.c (TEST_NAME): Likewise.
24044 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24045 * string/test-strcasestr.c (TEST_NAME): Likewise.
24046 * string/test-strcat.c (TEST_NAME): Likewise.
24047 * string/test-strchr.c (TEST_NAME): Likewise.
24048 * string/test-strcmp.c(TEST_NAME): Likewise.
24049 * string/test-strcpy.c (TEST_NAME): Likewise.
24050 * string/test-strcspn.c (TEST_NAME): Likewise.
24051 * string/test-strlen.c (TEST_NAME): Likewise.
24052 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24053 * string/test-strncmp.c (TEST_NAME): Likewise.
24054 * string/test-strncpy.c (TEST_NAME): Likewise.
24055 * string/test-strnlen.c (TEST_NAME): Likewise.
24056 * string/test-strpbrk.c (TEST_NAME): Likewise.
24057 * string/test-strrchr.c (TEST_NAME): Likewise.
24058 * string/test-strspn.c (TEST_NAME): Likewise.
24059 * string/test-strstr.c (TEST_NAME): Likewise.
24060 * string/test-bcopy-ifunc.c: New file.
24061 * string/test-bzero-ifunc.c: Likewise.
24062 * string/test-memccpy-ifunc.c: Likewise.
24063 * string/test-memchr-ifunc.c: Likewise.
24064 * string/test-memcmp-ifunc.c: Likewise.
24065 * string/test-memcpy-ifunc.c: Likewise.
24066 * string/test-memmem-ifunc.c: Likewise.
24067 * string/test-memmove-ifunc.c: Likewise.
24068 * string/test-mempcpy-ifunc.c: Likewise.
24069 * string/test-memset-ifunc.c: Likewise.
24070 * string/test-rawmemchr-ifunc.c: Likewise.
24071 * string/test-stpcpy-ifunc.c: Likewise.
24072 * string/test-stpncpy-ifunc.c: Likewise.
24073 * string/test-strcasecmp-ifunc.c: Likewise.
24074 * string/test-strcasestr-ifunc.c: Likewise.
24075 * string/test-strcat-ifunc.c: Likewise.
24076 * string/test-strchr-ifunc.c: Likewise.
24077 * string/test-strchrnul-ifunc.c: Likewise.
24078 * string/test-strcmp-ifunc.c: Likewise.
24079 * string/test-strcpy-ifunc.c: Likewise.
24080 * string/test-strcspn-ifunc.c: Likewise.
24081 * string/test-strlen-ifunc.c: Likewise.
24082 * string/test-strncasecmp-ifunc.c: Likewise.
24083 * string/test-strncat-ifunc.c: Likewise.
24084 * string/test-strncmp-ifunc.c: Likewise.
24085 * string/test-strncpy-ifunc.c: Likewise.
24086 * string/test-strnlen-ifunc.c: Likewise.
24087 * string/test-strpbrk-ifunc.c: Likewise.
24088 * string/test-strrchr-ifunc.c: Likewise.
24089 * string/test-strspn-ifunc.c: Likewise.
24090 * string/test-strstr-ifunc.c: Likewise.
24092 * debug/Makefile (tests-ifunc): New variable.
24093 (tests): Add $(tests-ifunc).
24094 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24095 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24096 * debug/test-stpcpy_chk-ifunc.c: New file.
24097 * debug/test-strcpy_chk-ifunc.c: Likewise.
24099 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24102 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24103 header is not read in.
24105 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24107 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24108 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24109 directly. Pass built executable to script as
24110 $(built-program-cmd).
24111 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24112 $testprogram without using LD_LIBRARY_PATH and $ldso.
24114 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24115 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24116 $(rtld-installed-name).
24117 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24118 (rtld_installed_name): Likewise.
24119 (library_path): Likewise.
24120 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24121 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24122 $(run-program-prefix) to tst-tables.sh.
24123 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24124 it to run tst-table-from and tst-table-to.
24125 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24126 Pass it to tst-table.sh.
24127 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24128 $(run-program-prefix) to tst-gettext.sh.
24129 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24131 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24133 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24134 to run tst-gettext.
24135 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24136 to run tst-gettext2.
24137 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24138 to run tst-translit.
24139 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24140 $(run-program-prefix) to tst-mtrace.sh.
24141 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24143 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24144 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24145 $(rtld-installed-name).
24146 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24147 (rtld_installed_name): Likewise.
24148 (run_program_prefix): New variable. Use it to run wordexp-test.
24150 * Makeconfig (ARCH): Remove all definitions.
24151 (machine): Likewise.
24152 [ARCH]: Remove conditional code.
24153 [!objdir]: Give error.
24154 [!objdir] (objpfx): Remove.
24155 [!objdir] (common-objpfx): Likewise.
24156 [!objdir] (common-objdir): Likewise.
24157 * configure.in (config_makefile): Remove. Hardcode Makefile in
24158 AC_CONFIG_FILES call.
24159 * configure: Regenerated.
24162 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24164 (testout): Likewise.
24166 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24167 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24168 $(rtld-installed-name).
24169 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24170 (rtld_installed_name): Likwise.
24171 (runit): Remove function.
24172 (run_getconf): New variable, Use it for running getconf binary.
24174 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24177 * string/test-memmem.c (check_result): New function.
24178 (do_one_test): Use it.
24179 (check1): New function.
24180 (test_main): Use it.
24182 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24184 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24186 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24188 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24189 (_G_LSEEK64): Likewise.
24190 (_G_MMAP64): Likewise.
24191 (_G_FSTAT64): Likewise.
24192 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24193 (_G_LSEEK64): Likewise.
24194 (_G_MMAP64): Likewise.
24195 (_G_FSTAT64): Likewise.
24196 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24197 unconditional. Call __mmap64 directly.
24198 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24199 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24200 __lseek64 directly.
24201 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24202 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24204 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24205 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24206 __lseek64 directly.
24207 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24208 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24209 __lseek64 directly.
24210 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24211 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24212 __lseek64 directly.
24213 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24214 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24215 __fxstat64 directly.
24216 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24217 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24219 (freopen64) [!_G_OPEN64]: Remove conditional code.
24220 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24222 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24223 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24225 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24226 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24228 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24229 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24231 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24232 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24234 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24235 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24237 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24238 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24240 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24242 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24245 * manual/memory.texi (Malloc Tunable Parameters): Add note
24246 about free list pointers overwriting some perturb bytes.
24247 Wording suggested by Roland McGrath.
24249 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24251 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24252 (lgamma_test): Likewise.
24253 (tgamma_test): Likewise.
24255 2012-10-16 Florian Weimer <fweimer@redhat.com>
24258 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24259 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24261 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24263 * NEWS: Mention BZ #14716.
24264 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24265 when removing AVAILABLE1_USES_J macro.
24267 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24269 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24270 (__bswap_64): __uint64_t for unsigned 64-bit int.
24272 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24274 * include/string.h (memmem): Declare libc hidden alias.
24275 * string/memmem.c (memmem): Define libc hidden alias.
24276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24277 __read, __close instead of open, read, close.
24279 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24282 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24284 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24285 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24286 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24288 (__rawmemchr_sse2): Likewise.
24289 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24290 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24291 (__strchr_sse2): Likewise.
24292 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24293 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24294 (__strcasecmp_sse2): Likewise.
24295 (__strncasecmp_sse2): Likewise.
24296 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24297 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24298 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24299 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24300 (__strrchr_sse2): Likewise.
24301 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24303 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24304 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24305 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24306 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24307 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24308 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24309 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24310 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24311 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24312 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24313 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24314 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24315 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24316 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24317 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24318 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24319 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24320 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24321 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24322 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24323 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24324 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24325 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24326 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24327 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24329 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24330 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24331 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24332 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24334 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24336 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24337 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24338 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24339 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24341 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24343 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24344 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24345 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24346 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24348 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24362 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24366 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24378 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24382 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24386 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24387 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24388 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24390 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24391 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24392 * include/ifunc-impl-list.h: New file.
24393 * misc/ifunc-impl-list.c: Likewise.
24394 * misc/Makefile (routines): Add ifunc-impl-list.
24395 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24396 * string/test-string.h: Include <ifunc-impl-list.h>.
24397 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24398 TEST_NAME]: New variables.
24399 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24401 (test_init): Call __libc_ifunc_impl_list to initialize
24402 func_list if TEST_IFUNC and TEST_NAME are defined.
24404 * string/Makefile (strop-tests): Add bcopy and bzero.
24405 * string/test-bcopy.c: New file.
24406 * string/test-bzero.c: Likewise.
24407 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24409 * string/test-memset.c: Support bzero test if TEST_BZERO is
24411 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24413 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24415 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24418 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24420 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24421 * configure: Regenerated.
24423 * Makeconfig (+link-static-before-libc): Don't include
24424 $(link-static-libc).
24426 * libio/libio.h (_IO_pos_t): Remove.
24428 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24430 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24433 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24435 * crypt/crypt-entry.c: Include fips-private.h.
24436 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24437 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24438 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24439 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24441 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24443 * crypt/crypt-private.h: Include stdbool.h.
24444 (_ufc_setup_salt_r): Return bool.
24445 * crypt/crypt-entry.c: Include errno.h.
24446 (__crypt_r): Return NULL with EINVAL for bad salt.
24447 * crypt/crypt_util.c (bad_for_salt): New.
24448 (_ufc_setup_salt_r): Check that salt is long enough and within
24449 the specified alphabet.
24450 * crypt/badsalttest.c: New file.
24451 * crypt/Makefile (tests): Add it.
24452 ($(objpfx)badsalttest): New.
24454 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24456 * NEWS: Add entry for BZ #14602.
24458 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24460 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24462 * math/libm-test.inc: Update comment listing what functions and
24464 (isgreater_test): New function.
24465 (isgreaterequal_test): Likewise.
24466 (isless_test): Likewise.
24467 (islessequal_test): Likewise.
24468 (islessgreater_test): Likewise.
24469 (isunordered_test): Likewise.
24470 (main): Call the new functions.
24472 2012-10-09 Roland McGrath <roland@hack.frob.com>
24474 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24475 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24476 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24477 * sysdeps/i386/configure: Regenerated.
24478 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24479 * sysdeps/mach/configure: Regenerated.
24480 * sysdeps/mach/hurd/configure: Regenerated.
24481 * sysdeps/powerpc/configure: Regenerated.
24482 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24483 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24484 * sysdeps/s390/s390-32/configure: Regenerated.
24485 * sysdeps/s390/s390-64/configure: Regenerated.
24486 * sysdeps/sh/configure: Regenerated.
24487 * sysdeps/sparc/configure: Regenerated.
24488 * sysdeps/unix/sysv/linux/configure: Regenerated.
24489 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24490 * sysdeps/x86_64/configure: Regenerated.
24492 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24493 defined. Don't check if MAP is NULL.
24495 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24497 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24498 (_G_stat64): Likewise.
24499 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24500 (_G_stat64): Likewise.
24501 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24502 instead of struct _G_stat64.
24503 * libio/fileops.c (mmap_remap_check): Likewise.
24504 (decide_maybe_mmap): Likewise.
24505 (_IO_new_file_seekoff): Likewise.
24506 (_IO_file_stat): Likewise.
24507 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24509 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24510 instead of struct _G_stat64.
24511 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24513 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24516 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24518 (CHECK_EOL): New macro.
24519 (two_way_short_needle): Check beginning of haystack for EOL. Use
24521 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24522 Replace with CHECK_EOL.
24523 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24524 Replace with CHECK_EOL.
24526 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24528 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24530 * math/libm-test.inc: Update comment listing what functions and
24532 (finite_test): New function.
24533 (isinf_test): Likewise.
24534 (isnan_test): Likewise.
24535 (fpclassify_test): Test subnormal input.
24536 (isfinite_test): Likewise.
24537 (isnormal_test): Likewise.
24538 (main): Call the new functions.
24540 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24543 * Makerules (%.dynsym): Force C locale when running
24544 $(OBJDUMP) --dynamic-syms.
24546 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24548 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24551 2012-10-06 David S. Miller <davem@davemloft.net>
24553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24554 upper 32-bits of the length value in %o2 since we use branch-on-register
24555 tests which consider the entire 64-bit register.
24557 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24559 * string/test-strstr.c (check2): Add a test for page boundary.
24561 2012-10-05 David S. Miller <davem@davemloft.net>
24563 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24564 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24566 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24568 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24569 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24570 and bzero when HWCAP_SPARC_CRYPTO is present.
24572 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24575 * string/test-strstr.c (check2): New function.
24576 (test_main): Call check2.
24578 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24580 * string/bug-strcasestr1.c (do_test): Moved to ...
24581 * string/test-strcasestr.c (check1): Here. New function.
24582 (do_one_test): Break out result checking code into ...
24583 (check_result): This. New function.
24584 (do_one_test): Call check_result.
24585 (test_main): Call check1.
24586 * string/bug-strchr1.c (do_test): Moved to ...
24587 * string/test-strchr.c (check1): Here. New function.
24588 (do_one_test): Break out result checking code into ...
24589 (check_result): This. New function.
24590 (do_one_test): Call check_result.
24591 (test_main): Call check1.
24592 * string/bug-strstr1.c (main): Moved to ...
24593 * string/test-strstr.c (check1): Here. New function.
24594 (do_one_test): Break out result checking code into ...
24595 (check_result): This. New function.
24596 (do_one_test): Call check_result.
24597 (test_main): Call check1.
24598 * string/bug-strcasestr1.c: Removed.
24599 * string/bug-strchr1.c: Likewise.
24600 * string/bug-strstr1.c: Likewise.
24602 * elf/Makefile (dl-routines): Add hwcaps.
24603 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24604 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24605 (_dl_important_hwcaps): Moved to ...
24606 * elf/dl-hwcaps.c: Here. New file.
24607 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24610 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24611 if IS_IN_rtld isn't defined.
24613 * elf/dl-support.c (_dl_sysinfo_map): New.
24614 Include "get-dynamic-info.h" and "setup-vdso.h".
24615 (_dl_non_dynamic_init): Call setup_vdso.
24616 * elf/dynamic-link.h: Don't include <assert.h>.
24617 (elf_get_dynamic_info): Moved to ...
24618 * elf/get-dynamic-info.h: Here. New file.
24619 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24620 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24621 * elf/setup-vdso.h: Here. New file.
24622 * elf/rtld.c: Include "setup-vdso.h".
24623 (dl_main): Call setup_vdso.
24625 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24627 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24628 creal in comment listing functions tested. List finite, isinf,
24629 isnan, isless, islessequal, isgreater, isgreaterequal,
24630 islessgreater, isunordered, lgamma_r and pow10 as functions and
24631 macros not tested. Mention which functions not tested are aliases
24632 for other functions. Fix typo. Note that signs of NaNs are not
24635 * scripts/config.guess: Update from config.git.
24636 * scripts/config.sub: Likewise.
24638 2012-10-04 Roland McGrath <roland@hack.frob.com>
24640 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24641 * misc/madvise.c (madvise): Renamed to __madvise.
24642 Make madvise a weak alias.
24643 * include/sys/mman.h: Declare __madvise.
24644 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24645 * sysdeps/unix/syscalls.list
24646 (madvise): Make __madvise the strong name, and madvise a weak alias.
24647 * sysdeps/unix/sysv/linux/syscalls.list
24648 (madvise, mmap): Remove redundant entries.
24649 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24650 * malloc/malloc.c (mtrim): Likewise.
24651 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24653 2012-10-03 Roland McGrath <roland@hack.frob.com>
24655 * sysdeps/mach/hurd/dl-cache.c: File removed.
24656 * config.h.in (USE_LDCONFIG): New #undef.
24657 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24658 * configure: Regenerated.
24659 * elf/Makefile (dl-routines): Add dl-cache only under
24660 [$(use-ldconfig) = yes].
24661 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24662 cache on [USE_LDCONFIG].
24663 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24665 * elf/rtld.c (dl_main): Likewise.
24667 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24669 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24670 _SC_LEVEL4_CACHE_LINESIZE.
24672 2012-10-03 Roland McGrath <roland@hack.frob.com>
24674 * sysdeps/unix/bsd/confstr.h: File removed.
24676 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24678 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24681 2012-10-02 Roland McGrath <roland@hack.frob.com>
24683 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24684 Make 'mapoff' field ElfW(Off) rather than off_t.
24686 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24688 * nscd/Makefile: Remove nscd-cflags and all its users.
24689 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24690 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24693 * malloc.c (malloc_printerr): Clarify error message.
24695 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24699 Set bit_FMA_Usable if FMA is supported.
24700 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24702 (bit_FMA4_Usable): Updated.
24703 (index_FMA_Usable): New macro.
24704 (CPUID_FMA): Likewise
24705 (HAS_FMA): Defined with bit_FMA_Usable.
24707 2012-10-01 Roland McGrath <roland@hack.frob.com>
24709 * bits/types.h (__swblk_t): Type removed.
24710 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24711 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24713 (__SWBLK_T_TYPE): Likewise.
24714 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24715 (__SWBLK_T_TYPE): Likewise.
24716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24717 (__SWBLK_T_TYPE): Likewise.
24718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24719 (__SWBLK_T_TYPE): Likewise.
24721 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24722 Honza Horak <hhorak@redhat.com>
24724 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24725 (xdr_mapname): Use YPMAXMAP as maxsize.
24726 (xdr_peername): Use YPMAXPEER as maxsize.
24727 (xdr_keydat): Use YPAXRECORD as maxsize.
24728 (xdr_valdat): Use YPMAXRECORD as maxsize.
24730 2012-10-01 Roland McGrath <roland@hack.frob.com>
24732 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24734 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24735 * csu/init-first.c: ... here.
24736 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24737 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24738 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24739 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24740 * sysdeps/i386/init-first.c: File removed.
24741 * sysdeps/sh/init-first.c: File removed.
24743 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24747 if x * y might underflow to zero and z is zero.
24748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24750 * math/libm-test.inc (min_subnorm_value): New variable.
24751 (fma_test): Add more tests.
24752 (fma_test_towardzero): Likewise.
24753 (fma_test_downward): Likewise
24754 (fma_test_upward): Likewise.
24755 (initialize): Set min_subnorm_value.
24757 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24763 mode for addition resulting in exact zero.
24764 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24767 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24769 * math/libm-test.inc (fma_test): Add more tests.
24770 (fma_test_towardzero): New function.
24771 (fma_test_downward): Likewise.
24772 (fma_test_upward): Likewise.
24773 (main): Call the new functions.
24775 2012-09-28 David S. Miller <davem@davemloft.net>
24777 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24779 2012-09-28 Roland McGrath <roland@hack.frob.com>
24781 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24782 instead of SIGALRM.
24784 * sysdeps/gnu/_G_config.h: Moved to ...
24785 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24786 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24787 * sysdeps/generic/_G_config.h: ... here.
24789 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24791 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24793 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24794 Conditionalize target on [libnss_test1.so-version].
24796 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24798 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24799 (elfobjdir): Move out of conditionals.
24801 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24802 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24803 (__nss_lookup_function): Conditionalize label remove_from_tree on
24804 [!DO_STATIC_NSS || SHARED], matching its only use.
24806 2012-09-28 David S. Miller <davem@davemloft.net>
24808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24809 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24811 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24813 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24815 when HWCAP_SPARC_CRYPTO is present.
24817 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24819 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24821 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24824 * stdio-common/vfprintf.c (process_string_arg): Revert
24827 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24829 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24831 * stdio-common/tst-sprintf.c: Include <locale.h>
24832 (main): Test sprintf's handling of incomplete multibyte
24835 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24837 * elf/dl-runtime.c (VERSYMIDX): Removed.
24838 * elf/dl-version.c (VERSYMIDX): Likewise.
24839 * elf/do-rel.h (VERSYMIDX): Likewise.
24840 (VALIDX): Likewise.
24841 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24842 * elf/rtld.c (VALIDX): Likewise.
24843 (ADDRIDX): Likewise.
24844 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24845 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24846 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24847 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24848 (VALIDX): Likewise.
24849 (ADDRIDX): Likewise.
24851 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24853 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24855 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24858 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24860 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24861 addresses are in the same scope as 192.0.2/24.
24862 * posix/gai.conf: Document new scope table defaults.
24864 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24867 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24868 for ftell. Compute offsets from write pointers instead.
24869 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24871 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24874 * libio/Makefile (tests): New test case tst-fseek.
24875 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24876 combination works in wide mode.
24877 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24878 state when the external buffer state changes.
24880 2012-09-27 David S. Miller <davem@davemloft.net>
24883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24884 pass reloc->r_addend in as the 'high' argument to
24885 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24889 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24891 * rt/tst-aio2.c: Include <pthread.h>.
24892 * rt/tst-aio3.c: Likewise.
24894 2012-09-27 Steve Ellcey <sellcey@mips.com>
24896 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24898 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24900 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24901 contents on [SHARED].
24903 2012-09-26 Marek Polacek <polacek@redhat.com>
24907 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24908 for C++ and GCC <4.3 as well as for non GCC compilers.
24910 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24914 2012-09-25 Roland McGrath <roland@hack.frob.com>
24916 * Makefile.in (all, install): Declare with .PHONY.
24917 Reported by Michael Hope <michael.hope@linaro.org>.
24919 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24921 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24922 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24924 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24926 (sydep_routines): Add the new and the internal functions.
24927 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24928 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24930 (GLIBC_2.17): Add the new function.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24932 (GLIBC_2.17): Likewise.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24934 (GLIBC_2.17): Likewise.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24936 (GLIBC_2.17): Likewise.
24937 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24939 2012-09-25 Alan Modra <amodra@gmail.com>
24941 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24942 Add release barrier before setting once_control to say
24943 initialisation is done. Add hints on lwarx. Use macro in
24945 (clear_once_control): Add release barrier.
24947 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24950 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24952 * math/s_clog10.c (__clog10): Likewise.
24953 * math/s_clog10f.c (__clog10f): Likewise.
24954 * math/s_clog10l.c (__clog10l): Likewise.
24955 * math/s_clogf.c (__clogf): Likewise.
24956 * math/s_clogl.c (__clogl): Likewise.
24957 * math/Makefile (libm-calls): Add x2y2m1.
24958 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24959 (__x2y2m1): Likewise.
24960 (__x2y2m1l): Likewise.
24961 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24962 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24963 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24965 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24966 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24967 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24968 * sysdeps/i386/fpu/libm-test-ulps: Update.
24969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24973 int as type of variable DEPTH.
24974 (glob): Use size_t instead of int as type of variables NEWCOUNT
24977 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24979 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24980 Add s_sincosf-sse2.
24981 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24982 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24983 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24984 macros for using routine as __sincosf_ia32.
24985 Use macro for function declaration and weak_alias.
24986 * sysdeps/i386/fpu/libm-test-ulps: Update.
24988 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24991 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24992 subnormal argument.
24993 * math/s_cexpf.c (__cexpf): Likewise.
24994 * math/s_csinf.c (__csinf): Likewise.
24995 * math/s_csinhf.c (__csinhf): Likewise.
24996 * math/s_ctanf.c (__ctanf): Likewise.
24997 * math/s_ctanhf.c (__ctanhf): Likewise.
24998 * math/s_ccosh.c (__ccoshf): Likewise.
24999 * math/s_cexp.c (__cexpl): Likewise.
25000 * math/s_csin.c (__csin): Likewise.
25001 * math/s_csinh.c (__csinh): Likewise.
25002 * math/s_ctan.c (__ctan): Likewise.
25003 * math/s_ctanh.c (ctanh): Likewise.
25004 * math/s_ccoshl.c (__ccoshl): Likewise.
25005 * math/s_cexpl.c (__cexpl): Likewise.
25006 * math/s_csinl.c (__csinl): Likewise.
25007 * math/s_csinhl.c (__csinhl): Likewise.
25008 * math/s_ctanl.c (__ctanl): Likewise.
25009 * math/s_ctanhl.c (__ctanhl): Likewise.
25011 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25013 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25014 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25015 (_IO_off_t): Define to __off_t, not _G_off_t.
25016 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25017 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25018 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25019 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25020 type of __dummy and __dummy2 fields.
25021 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25022 (_G_ssize_t): Likewise.
25023 (_G_off_t): Likewise.
25024 (_G_pid_t): Likewise.
25025 (_G_uid_t): Likewise.
25026 (_G_wchar_t): Likewise.
25027 (_G_wint_t): Likewise.
25028 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25029 (_G_ssize_t): Likewise.
25030 (_G_off_t): Likewise.
25031 (_G_pid_t): Likewise.
25032 (_G_uid_t): Likewise.
25033 (_G_wchar_t): Likewise.
25034 (_G_wint_t): Likewise.
25035 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25036 (_G_ssize_t): Likewise.
25037 (_G_off_t): Likewise.
25038 (_G_pid_t): Likewise.
25039 (_G_uid_t): Likewise.
25040 (_G_wchar_t): Likewise.
25041 (_G_wint_t): Likewise.
25043 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25045 * malloc/arena.c: Include malloc-sysdep.h.
25046 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25047 is sufficient to shrink the heap or an unmap is needed.
25048 * sysdeps/generic/malloc-sysdep.h: New file. Define
25049 new function check_may_shrink_heap.
25050 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25051 new function check_may_shrink_heap.
25053 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25055 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25058 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25060 * catgets/test-gencat.sh: Add "set -e".
25061 * elf/tst-pathopt.sh: Likewise.
25062 * grp/tst_fgetgrent.sh: Likewise.
25063 * iconvdata/run-iconv-test.sh: Likewise.
25064 * intl/tst-gettext.sh: Likewise.
25065 * intl/tst-gettext2.sh: Likewise.
25066 * intl/tst-gettext4.sh: Likewise.
25067 * intl/tst-gettext6.sh: Likewise.
25068 * intl/tst-translit.sh: Likewise.
25069 * io/ftwtest-sh: Likewise.
25070 * libio/test-freopen.sh: Likewise.
25071 * malloc/tst-mtrace.sh: Likewise.
25072 * posix/globtest.sh: Likewise.
25073 * posix/tst-getconf.sh: Likewise.
25074 * posix/wordexp-tst.sh: Likewise.
25075 * stdio-common/tst-printf.sh: Likewise.
25076 * stdio-common/tst-unbputc.sh: Likewise.
25077 * stdlib/tst-fmtmsg.sh: Likewise.
25078 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25079 * catgets/Makefile: Do not specify -e option when running
25080 testsuite shell scripts.
25081 * elf/Makefile: Likewise.
25082 * grp/Makefile: Likewise.
25083 * iconvdata/Makefile: Likewise.
25084 * intl/Makefile: Likewise.
25085 * io/Makefile: Likewise.
25086 * libio/Makefile: Likewise.
25087 * malloc/Makefile: Likewise.
25088 * posix/Makefile: Likewise.
25089 * stdio-common/Makefile: Likewise.
25090 * stdlib/Makefile: Likewise.
25091 * sysdeps/x86_64/Makefile: Likewise.
25093 * io/ftwtest-sh: Add copyright header.
25094 * posix/globtest.sh: Likewise.
25095 * posix/tst-getconf.sh: Likewise.
25096 * posix/wordexp-tst.sh: Likewise.
25097 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25099 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25102 * Makeconfig (+link): Defined as $(+link-static) if
25103 $(build-shared) isn't yes.
25104 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25106 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25108 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25111 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25112 new chunk size with MALLOC_ALIGN_MASK.
25114 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25117 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25119 (__printf_fphex): Determine rounding using get_rounding_mode and
25121 * stdio-common/tst-printf-round.c (struct hex_test): New
25123 (hex_tests): New variable.
25124 (test_hex_in_one_mode): New function.
25125 (do_test): Also run tests for hex float output.
25127 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25129 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25131 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25132 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25133 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25134 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25135 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25136 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25138 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25140 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25141 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25142 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25143 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25145 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25148 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25150 * elf/tst-rtld-load-self.sh: New test.
25151 * elf/Makefile: Run it.
25153 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25155 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25156 (tst-writev-ENV): Remove.
25157 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25159 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25161 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25163 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25165 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25167 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25169 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25170 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25174 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25177 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25178 * config.make.in (have-cpp-asm-debuginfo): Removed.
25179 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25180 * configure: Regenerated.
25182 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25185 * stdio-common/printf_fp.c: Include <stdbool.h> and
25187 (___printf_fp): Determine rounding using get_rounding_mode and
25189 * stdio-common/tst-printf-round.c: New file.
25190 * stdio-common/Makefile (tests): Add tst-printf-round.
25191 (link-libm): New variable.
25192 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25194 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25197 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25198 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25200 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25203 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25205 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25206 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25207 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25208 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25210 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25213 * include/rounding-mode.h: New file.
25214 * sysdeps/generic/get-rounding-mode.h: Likewise.
25215 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25216 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25217 (MAX_VALUE): New macro.
25218 (MIN_VALUE): Likewise.
25219 (overflow_value): New function.
25220 (underflow_value): Likewise.
25221 (round_and_return): Use overflow_value and underflow_value to
25222 determine return values in overflow and underflow cases. Use
25223 round_away to determine rounding depending on rounding mode.
25224 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25225 determine return values in overflow and underflow cases.
25226 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25227 (struct test_results): New structure.
25228 (struct test): Use struct test_results to store expected results
25229 for all rounding modes.
25230 (TEST): Include expected results for all rounding modes.
25231 (test_in_one_mode): New function.
25232 (do_test): Use test_in_one_mode to compute and check results.
25233 Check results for all rounding modes.
25234 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25237 2012-12-09 Allan McRae <allan@archlinux.org>
25239 * sysdeps/i386/fpu/libm-test-ulps: Update
25241 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25243 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25244 (_G_int32_t): Likewise.
25245 (_G_uint16_t): Likewise.
25246 (_G_uint32_t): Likewise.
25247 (_G_HAVE_BOOL): Likewise.
25248 (_G_HAVE_ATEXIT): Likewise.
25249 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25250 (_G_HAVE_IO_FILE_OPEN): Likewise.
25251 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25252 (_G_int32_t): Likewise.
25253 (_G_uint16_t): Likewise.
25254 (_G_uint32_t): Likewise.
25255 (_G_HAVE_BOOL): Likewise.
25256 (_G_HAVE_ATEXIT): Likewise.
25257 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25258 (_G_HAVE_IO_FILE_OPEN): Likewise.
25259 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25260 (_G_int32_t): Likewise.
25261 (_G_uint16_t): Likewise.
25262 (_G_uint32_t): Likewise.
25263 (_G_HAVE_BOOL): Likewise.
25264 (_G_HAVE_ATEXIT): Likewise.
25265 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25266 (_G_HAVE_IO_FILE_OPEN): Likewise.
25268 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25270 * csu/libc-tls.c: Update copyright years.
25272 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25274 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25275 [!_G_USING_THUNKS]: Remove conditional code.
25276 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25277 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25279 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25280 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25281 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25282 (_G_VTABLE_LABEL_PREFIX): Likewise.
25283 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25284 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25286 (_G_VTABLE_LABEL_PREFIX): Likewise.
25287 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25288 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25289 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25290 (_G_VTABLE_LABEL_PREFIX): Likewise.
25291 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25293 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25295 * libio/Makefile: Include ../Makeconfig before tests.
25296 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25297 only if $(build-shared) is yes.
25299 * iconv/gconv_db.c: Update copyright years.
25301 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25303 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25304 unwind info if defined PIC. Fix special cases description.
25305 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25307 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25309 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25311 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25313 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25315 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25318 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25319 (LDLIBS-tst-chk4): This.
25320 (LDFLAGS-tst-chk5): Renamed to ...
25321 (LDLIBS-tst-chk5): This.
25322 (LDFLAGS-tst-chk6): Renamed to ...
25323 (LDLIBS-tst-chk6): This.
25324 (LDFLAGS-tst-lfschk4): Renamed to ...
25325 (LDLIBS-tst-lfschk4): This.
25326 (LDFLAGS-tst-lfschk5): Renamed to ...
25327 (LDLIBS-tst-lfschk5): This.
25328 (LDFLAGS-tst-lfschk6): Renamed to ...
25329 (LDLIBS-tst-lfschk6): This.
25331 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25332 on $(common-objpfx)soversions.mk.
25334 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25337 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25340 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25342 * malloc/arena.c (arena_get_retry): New function that gets
25343 another arena for the caller to try its request on.
25344 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25345 current arena cannot fulfill the request.
25346 (__libc_memalign): Likewise.
25347 (__libc_memalign): Likewise.
25348 (__libc_pvalloc): Likewise.
25349 (__libc_calloc): Likewise.
25351 2012-09-05 John Tobey <john.tobey@gmail.com>
25354 * manual/arith.texi (Operations on Complex): Fix description
25355 of carg branch cut.
25357 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25360 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25364 * manual/memory.texi (Memory): Make order of menu items match
25367 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25369 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25370 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25371 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25373 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25375 * csu/libc-tls.c (static_dtv): Renamed to ...
25376 (_dl_static_dtv): This. Make it global.
25377 (_dl_initial_dtv): Removed.
25378 (__libc_setup_tls): Updated.
25379 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25380 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25383 2012-09-06 Petr Machata <pmachata@redhat.com>
25385 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25386 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25387 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25388 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25390 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25393 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25394 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25397 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25400 * Makeconfig (link-static-before-libc): Replace $(+prector)
25402 (link-static-after-libc): Replace $(+postctor) with
25404 (link-bounded): Replace $(+prector)/$(+postctor) with
25405 $(+prectorT)/$(+postctorT).
25406 (+prectorT): New macro.
25407 (+postctorT): Likewise.
25409 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25411 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25412 (round_str): Handle values above the maximum for IBM long double
25414 * stdlib/tst-strtod-round.c (tests): Regenerated.
25416 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25418 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25420 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25421 zarch_nohighgprs around the zarch optimized routines.
25422 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25423 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25424 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25427 2012-09-05 David S. Miller <davem@davemloft.net>
25429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25431 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25432 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25433 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25434 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25437 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25439 * malloc/arena.c: Fold copyright years.
25440 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25442 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25444 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25446 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25448 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25450 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25452 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25453 change internal state upon failure.
25455 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25457 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25458 * malloc/memusage.c (mmap): Likewise.
25459 (mmap64, mremap): Likewise. Adjust name in comment.
25461 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25463 * libio/fileops.c: Fix typos in comments.
25464 * libio/oldfileops.c: Likewise.
25465 * libio/wfileops.c: Likewise.
25467 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25470 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25471 (tst-malloc-usable-ENV): Set environment for test case.
25472 * malloc/hooks.c (malloc_check_get_size): New function to get
25474 * malloc/malloc.c (musable): Use malloc_check_get_size.
25475 * malloc/tst-malloc-usable.c: New test case.
25477 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25479 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25481 2012-09-05 Allan McRae <allan@archlinux.org>
25484 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25485 determine header location.
25486 * configure: Regenerated.
25488 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25490 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25492 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25493 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25495 (test): Regenerate.
25497 2012-09-04 David S. Miller <davem@davemloft.net>
25499 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25500 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25503 2012-09-04 Florian Weimer <fweimer@redhat.com>
25505 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25508 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25510 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25513 * libio/iogetdelim.c: Include <limits.h>.
25514 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25515 + len + 1 would overflow.
25517 2012-09-03 Andreas Jaeger <aj@suse.de>
25519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25520 * sysdeps/i386/fpu/libm-test-ulps: Update.
25522 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25524 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25525 Add s_sinf-sse2, s_conf-sse2.
25527 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25528 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25529 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25530 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25532 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25533 for using routine as __sinf_ia32.
25534 Use macro for function declaration and weak_alias.
25535 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25536 for using routine as __cosf_ia32.
25537 Use macro for function declaration and weak_alias.
25539 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25540 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25542 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25543 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25546 * math/libm-test.inc (cos_test): Add more test cases.
25547 (sin_test): Likewise.
25548 (sincos_test): Likewise.
25550 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25553 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25557 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25560 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25561 first element of the GOT.
25562 (elf_machine_load_address): Return the difference between
25563 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25565 2012-09-01 Allan McRae <allan@archlinux.org>
25568 * configure.in (AWK): Require gawk version 3.0 or later.
25569 * configure: Regenerated.
25571 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25573 * sysdeps/unix/sysv/linux/kernel-features.h
25574 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25575 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25576 [__NR_clock_getres]: Make code unconditional.
25577 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25578 (clock_getcpuclockid): Remove code left unreachable by removal of
25580 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25581 code unconditional.
25582 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25583 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25584 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25585 Make code unconditional.
25586 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25587 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25588 * sysdeps/unix/sysv/linux/clock_settime.c
25589 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25591 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25592 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25594 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25597 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25598 scripts/test-installation.pl.
25600 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25601 and $ld_so_version if it is set.
25603 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25607 failure if reading from procfs failed.
25608 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25610 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25612 * sysdeps/unix/sysv/linux/kernel-features.h
25613 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25614 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25615 Remove conditional code.
25616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25617 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25618 Remove conditional code.
25619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25620 * sysdeps/unix/sysv/linux/i386/fxstat.c
25621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25623 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25626 * sysdeps/unix/sysv/linux/i386/lxstat.c
25627 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25629 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25630 Remove conditional code.
25631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25632 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25633 Remove conditional code.
25634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25635 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25636 <kernel-features.h>.
25637 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25639 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25640 Remove conditional code.
25641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25642 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25643 Remove conditional.
25645 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25648 * NEWS: Add fixed bug number.
25650 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25653 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25654 underflowing exponent in case of negative sign.
25655 * stdlib/tst-strtod-round-data: Add more tests.
25656 * stdlib/tst-strtod-round.c (tests): Regenerated.
25659 * stdlib/strtod_l.c (NDIG): Remove.
25660 (HEXNDIG): Likewise.
25661 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25662 smallest representable value.
25663 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25664 lie within an exact representation of 1/2 ulp of the result.
25665 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25667 (TENS_P9_IDX): Define unconditionally.
25668 (TENS_P9_SIZE): Likewise.
25669 (TENS_P10_IDX): Likewise.
25670 (TENS_P10_SIZE): Likewise.
25671 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25672 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25673 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25674 entries for 10^2^13 and 10^2^14.
25675 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25676 (TENS_P13_IDX): Define.
25677 (TENS_P13_SIZE): Likewise.
25678 (TENS_P14_IDX): Likewise.
25679 (TENS_P14_SIZE): Likewise.
25680 (_fpioconst_pow10): Change array size to
25681 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25683 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25684 1024]: Add entries for 10^2^13 and 10^2^14.
25685 [LAST_POW10 > _LAST_POW10]: Remove #error.
25686 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25687 (_fpioconst_pow10): Change array size to
25688 FPIOCONST_POW10_ARRAY_SIZE.
25689 * stdlib/gen-fpioconst.c: New file.
25690 * stdlib/gen-tst-strtod-round.c: Likewise.
25691 * stdlib/tst-strtod-round-data: Likewise.
25692 * stdlib/tst-strtod-round.c: Likewise.
25693 * stdlib/Makefile (tests): Add tst-strtod-round.
25696 * stdlib/strtod_l.c: Include <stdint.h>.
25697 (NDEBUG): Do not define.
25698 (round_and_return): Change EXPONENT parameter to type intmax_t.
25699 Rearrange calculations to avoid internal overflow possibilities.
25700 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25701 Rearrange calculations to avoid internal overflow possibilities.
25702 Assert that number fits inside MPNSIZE limbs.
25703 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25704 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25705 calculations and add assertions to avoid internal overflow
25706 possibilities. Add casts to avoid signed/unsigned operations.
25707 * stdlib/tst-strtod-overflow.c: New file.
25708 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25710 2012-08-25 Marek Polacek <polacek@redhat.com>
25712 * time/time.h: Fix some typos in comments.
25714 2012-08-23 Roland McGrath <roland@hack.frob.com>
25716 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25717 * posix/tst-rfc3484-2.c: Likewise.
25718 * posix/tst-rfc3484-3.c: Likewise.
25720 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25722 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25723 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25725 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25728 #include of fxstatat64.c.
25730 2012-08-22 Roland McGrath <roland@hack.frob.com>
25732 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25733 * shadow/getspent_r.c: Likewise.
25734 * shadow/getspnam.c: Likewise.
25735 * shadow/getspnam_r.c: Likewise.
25736 * gshadow/getsgent.c: Likewise.
25737 * gshadow/getsgent_r.c: Likewise.
25738 * gshadow/getsgnam.c: Likewise.
25739 * gshadow/getsgnam_r.c: Likewise.
25740 * inet/getnetbyad.c: Likewise.
25741 * inet/getnetbyad_r.c: Likewise.
25742 * inet/getnetbynm.c: Likewise.
25743 * inet/getnetbynm_r.c: Likewise.
25744 * inet/getnetent.c: Likewise.
25745 * inet/getnetent_r.c: Likewise.
25746 * inet/getproto.c: Likewise.
25747 * inet/getproto_r.c: Likewise.
25748 * inet/getprtent.c: Likewise.
25749 * inet/getprtent_r.c: Likewise.
25750 * inet/getprtname.c: Likewise.
25751 * inet/getprtname_r.c: Likewise.
25752 * inet/getrpcbyname.c: Likewise.
25753 * inet/getrpcbyname_r.c: Likewise.
25754 * inet/getrpcbynumber.c: Likewise.
25755 * inet/getrpcbynumber_r.c: Likewise.
25756 * inet/getrpcent.c: Likewise.
25757 * inet/getrpcent_r.c: Likewise.
25758 * inet/getaliasent.c: Likewise.
25759 * inet/getaliasent_r.c: Likewise.
25760 * inet/getaliasname.c: Likewise.
25761 * inet/getaliasname_r.c: Likewise.
25762 * nscd/getgrgid_r.c: Likewise.
25763 * nscd/getgrnam_r.c: Likewise.
25764 * nscd/gethstbyad_r.c: Likewise.
25765 * nscd/gethstbynm3_r.c: Likewise.
25766 * nscd/getpwnam_r.c: Likewise.
25767 * nscd/getpwuid_r.c: Likewise.
25768 * nscd/getsrvbynm_r.c: Likewise.
25769 * nscd/getsrvbypt_r.c: Likewise.
25770 * nscd/gai.c: Likewise.
25772 * configure.in (build_nscd): New substituted variable, set
25773 by --disable-build-nscd and defaults to $use_nscd.
25774 * configure: Regenerated.
25775 * config.make.in (build-nscd): New substituted variable.
25776 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25777 Change conditional to require [$(build-nscd) = yes] as well.
25778 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25781 * configure.in (use_nscd): New substituted variable, set by
25782 --disable-nscd. If enabled, define USE_NSCD.
25783 * configure: Regenerated.
25784 * config.h.in: Add USE_NSCD.
25785 * config.make.in (use-nscd): New substituted variable.
25786 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25787 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25788 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25789 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25790 (CFLAGS-getgrnam_r.c): Likewise.
25791 (CFLAGS-initgroups.c): Likewise.
25792 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25793 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25795 * inet/getnetgrent_r.c
25796 (nscd_setnetgrent): New function, broken out of ...
25797 (setnetgrent): ... here. Call it.
25798 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25799 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25800 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25801 * nscd/Makefile (routines, aux): Move definitions after include of
25802 Makeconfig. Conditionalize on [$(use-nscd) != no].
25803 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25804 Conditionalize on [USE_NSCD].
25805 (is_nscd, nscd_init_cb): Likewise.
25806 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25807 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25808 * nss/nss_db/db-init.c: Likewise.
25809 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25811 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25812 (make_request): Use it.
25813 (cache_valid_p): New function.
25814 (__check_pf): Use it.
25815 * NEWS: Add item for --disable-nscd.
25817 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25819 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25820 to support sed >= 4.2.1-20-ga9bf076.
25821 * configure: Regenerated.
25823 2012-08-22 Roland McGrath <roland@hack.frob.com>
25825 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25826 Conditionalize whole body on [IREL].
25828 2012-08-22 Jeff Law <law@redhat.com>
25831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25832 if the family is PF_UNSPEC.
25834 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25836 * Makerules (lib-version): Rename from V.
25837 (install-lib-nosubdir): Change V to lib-version.
25839 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25842 * powerpc32/power6/wcschr.c: New file.
25843 * powerpc32/power6/wcscpy.c: New file.
25844 * powerpc32/power6/wcsrchr.c: New file.
25845 * powerpc64/power6/wcschr.c: New file.
25846 * powerpc64/power6/wcscpy.c: New file.
25847 * powerpc64/power6/wcsrchr.c: New file.
25849 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25851 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25852 (two_way_short_needle): Use it.
25853 * string/strstr.c (AVAILABLE1_USES_J): Define.
25854 * string/strcasestr.c: Likewise.
25856 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25858 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25861 * NEWS: Add an entry.
25862 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25863 define their defaults.
25864 (two_way_short_needle): Detect end-of-string on-the-fly.
25865 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25866 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25867 * string/bug-strcasestr1.c: New test.
25868 * string/Makefile: Run it.
25870 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25873 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25874 the first character.
25876 2012-08-21 Roland McGrath <roland@hack.frob.com>
25878 * csu/elf-init.c (__libc_csu_irel): Function removed.
25879 * csu/libc-start.c (apply_irel): New function.
25880 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25882 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25884 * sysdeps/unix/sysv/linux/kernel-features.h
25885 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25886 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25887 <kernel-features.h>.
25888 [__NR_fadvise64_64]: Make code unconditional.
25889 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25890 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25891 !__NR_fadvise64_64)]: Likewise.
25892 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25893 !__NR_fadvise64_64))]: Likewise.
25894 [__NR_fadvise64]: Make code unconditional.
25895 [!__NR_fadvise64]: Remove conditional code.
25896 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25897 <kernel-features.h>.
25898 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25900 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25903 not include <kernel-features.h>.
25904 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25906 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25908 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25909 include <kernel-features.h>.
25910 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25912 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25915 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25918 slight instruction rearrangements per scrollpipe analysis.
25919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25921 2012-08-20 Roland McGrath <roland@hack.frob.com>
25923 * manual/syslog.texi (syslog; vsyslog, closelog):
25924 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25925 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25927 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25928 DSOCAPS to match condition on defining it.
25930 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25932 * sysdeps/unix/sysv/linux/kernel-features.h
25933 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25941 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25942 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25944 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25945 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25947 * sysdeps/unix/sysv/linux/kernel-features.h
25948 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25949 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25951 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25952 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25953 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25954 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25955 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25956 Make code unconditional.
25957 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25958 (__mmap64) [!__NR_mmap2]: Likewise.
25959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25960 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25961 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25962 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25963 [__NR_mmap2]: Make code unconditional.
25964 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25965 (__mmap64) [!__NR_mmap2]: Likewise.
25967 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25969 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25971 2012-08-18 Andreas Jaeger <aj@suse.de>
25973 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25975 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25977 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25978 * include/unistd.h (__have_sock_cloexec): Likewise.
25979 (__have_pipe2): Likewise.
25980 (__have_dup3): Likewise.
25982 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25985 * include/unistd.h (__have_pipe2): Change define into an extern int.
25986 (__have_dup3): Likewise.
25987 * socket/have_sock_cloexec.c: Include fcntl.h.
25988 (__have_pipe2): New variable.
25989 (__have_dup3): Likewise.
25991 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25993 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25995 2012-08-17 Marek Polacek <polacek@redhat.com>
25997 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25998 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26000 2012-08-17 Roland McGrath <roland@hack.frob.com>
26002 * configure.in: Add AC_SUBST for sysheaders.
26003 * configure: Regenerated.
26004 * config.make.in (sysheaders): New substituted variable.
26006 * sysdeps/unix/mkfifo.c: Moved ...
26007 * sysdeps/posix/mkfifo.c: ... here.
26008 * sysdeps/unix/mkfifoat.c: Moved ...
26009 * sysdeps/posix/mkfifoat.c: ... here.
26011 * sysdeps/unix/utime.c: Moved ...
26012 * sysdeps/posix/utime.c: ... here.
26014 * sysdeps/unix/time.c: Moved ...
26015 * sysdeps/posix/time.c: ... here.
26016 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26017 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26019 * sysdeps/unix/nice.c: Moved ...
26020 * sysdeps/posix/nice.c: ... here.
26022 * sysdeps/unix/alarm.c: Moved ...
26023 * sysdeps/posix/alarm.c: ... here.
26025 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26027 2012-08-17 Jeff Law <law@redhat.com>
26029 * intl/Makefile (codeset_mo): New variable.
26030 ($(codeset_mo)): New target.
26031 (tst-codeset.out): Depend on that. Remove explicit rule.
26032 (tst-gettext3.out, tst-gettext5.out): Likewise.
26033 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26034 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26035 * intl/tst-codeset.sh: Remove.
26036 * intl/tst-gettext3.sh: Likewise.
26037 * intl/tst-gettext5.sh: Likewise.
26039 2012-08-17 Roland McGrath <roland@hack.frob.com>
26041 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26042 * sysdeps/unix/syscalls.list: ... here.
26044 * sysdeps/posix/getaddrinfo.c
26045 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26046 (gaiconf_init, gaiconf_reload): Use them.
26047 [!_STATBUF_ST_NSEC]
26048 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26049 Define using time_t rather than struct timespec.
26051 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26052 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26054 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26056 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26057 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26060 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26061 __libc_cleanup_push argument.
26063 * bits/param.h: New file.
26064 * misc/sys/param.h: New file.
26065 * include/sys/param.h: New file.
26066 * misc/Makefile (headers): Add bits/param.h.
26067 * sysdeps/generic/sys/param.h: File removed.
26068 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26069 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26070 * sysdeps/mach/hurd/bits/param.h: New file.
26071 * sysdeps/mach/hurd/sys/param.h: File removed.
26073 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26076 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26078 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26079 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26082 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26083 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26084 rather than -D_IO_MTSAFE_IO conditionally.
26085 * stdio-common/Makefile (CPPFLAGS): Likewise.
26086 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26087 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26088 Use $(libio-mtsafe).
26089 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26090 of -D_IO_MTSAFE_IO.
26091 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26092 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26093 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26094 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26095 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26096 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26097 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26098 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26099 (CFLAGS-fread_u_chk.c): Likewise.
26100 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26101 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26102 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26103 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26104 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26105 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26106 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26107 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26108 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26110 * libio/Makefile: Test [$(libc-reentrant) = yes]
26111 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26114 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26115 * sysdeps/pthread/configure: File removed.
26116 * sysdeps/pthread/Makeconfig: New file.
26117 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26118 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26120 2012-08-16 Gary Benson <gbenson@redhat.com>
26122 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26123 unmapping the first object in a namespace.
26125 2012-08-16 Roland McGrath <roland@hack.frob.com>
26127 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26128 (__internal_setnetgrent): ... this. Add internal_function to
26129 definition. Add libc_hidden_def.
26130 (setnetgrent): Update caller.
26131 (internal_endnetgrent): Renamed to ...
26132 (__internal_endnetgrent): ... this. Add internal_function to
26133 definition. Add libc_hidden_def.
26134 (endnetgrent): Update caller.
26135 (internal_getnetgrent_r): Renamed to ...
26136 (__internal_getnetgrent_r): ... this. Add internal_function to
26137 definition. Add libc_hidden_def.
26138 (__getnetgrent_r): Update caller.
26139 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26141 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26143 * stdlib/longlong.h: Update from GCC.
26145 2012-08-16 Roland McGrath <roland@hack.frob.com>
26147 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26148 on _QL, which is set by umul_ppmm but never used.
26149 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26150 variables, which are set by GMP macros but never used.
26151 * stdio-common/_itowa.c (_itowa): Likewise.
26152 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26153 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26155 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26157 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26158 struct La_sh_regs is not constant.
26159 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26160 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26161 and struct La_sparc64_regs are not constant.
26163 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26165 * sysdeps/unix/sysv/linux/kernel-features.h
26166 (__ASSUME_POSIX_TIMERS): Remove.
26167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26169 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26170 Make code unconditional.
26171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26172 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26173 Make code unconditional.
26174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26175 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26176 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26178 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26179 Make code unconditional.
26180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26181 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26182 (__libc_missing_posix_timers): Remove.
26184 2012-08-15 Roland McGrath <roland@hack.frob.com>
26186 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26187 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26189 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26191 * elf/dl-sym.c: Include <stdlib.h>.
26193 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26194 constants, which avoids warnings in 32-bit builds.
26196 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26197 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26199 * misc/lseek.c: File moved to ...
26200 * io/lseek.c: ... here.
26202 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26204 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26205 shifting LEN more than 31 bits at once.
26207 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26210 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26211 segmentation fault for a case of two empty input strings.
26212 * string/test-strncasecmp.c (check1): Renamed to...
26213 (bz12205): ...this.
26214 (bz14195): Add new testcase for two empty input strings and N > 0.
26215 (test_main): Call new testcase, adapt for renamed function.
26217 2012-08-15 Andreas Jaeger <aj@suse.de>
26220 * crypt/md5test2.c: New test, based on test supplied by Serge
26221 Belyshev <belyshev@depni.sinp.msu.ru>.
26222 * crypt/Makefile (xtests): Add md5test-giant..
26223 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26225 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26228 * crypt/md5.c (md5_process_block): Don't assume the buffer
26229 length is less than 2**32.
26230 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26231 length is less than 2**64.
26233 2012-08-15 Roland McGrath <roland@hack.frob.com>
26235 * string/str-two-way.h: Include <sys/param.h>.
26236 (MAX): Macro removed.
26238 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26239 Move #define and #undef of memmove to just before and after
26240 including <string.h>.
26242 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26243 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26244 and after including <string.h>. Move declarations of
26245 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26246 to before #include "string/memmove.c".
26248 * include/dirent.h: Declare __getdirentries.
26250 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26251 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26253 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26255 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26256 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26257 * sysdeps/i386/configure: Regenerated.
26258 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26259 STABS_CURRENT_FILE, and STABS_FUN.
26260 (END): Remove call to STABS_FUN_END.
26261 (STABS_CURRENT_FILE1): Delete.
26262 (STABS_CURRENT_FILE): Likewise.
26263 (STABS_FUN): Likewise.
26264 (STABS_FUN_END): Likewise.
26265 (STABS_FUN2): Likewise.
26266 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26267 * sysdeps/x86_64/configure: Regenerated.
26269 2012-08-14 Roland McGrath <roland@hack.frob.com>
26271 * elf/dl-open.c: Include <atomic.h>.
26272 * elf/dl-lookup.c: Likewise.
26274 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26276 * sysdeps/unix/sysv/linux/kernel-features.h
26277 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26278 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26280 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26282 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26283 condition on __ASSUME_CLONE_THREAD_FLAGS.
26285 2012-08-14 Andreas Jaeger <aj@suse.de>
26287 * sysdeps/i386/fpu/libm-test-ulps: Update.
26289 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26291 * include/atomic.h (atomic_exchange_and_add): Split into ...
26292 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26295 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26299 2012-08-13 Jeff Law <law@redhat.com>
26301 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26302 null byte in the output string.
26304 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26306 * sysdeps/unix/sysv/linux/kernel-features.h
26307 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26308 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26309 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26310 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26311 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26312 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26313 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26315 2012-08-09 Jeff Law <law@redhat.com>
26318 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26319 When avoid_arena is set, don't retry in the that arena. Pick the
26320 next one, whatever it might be.
26321 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26322 (arena_lock): Pass in new parameter to arena_get2.
26323 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26325 (__libc_malloc): Unify retrying after main arena failure with
26326 __libc_memalign version.
26327 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26329 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26332 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26333 to __redirect_strstr.
26334 (__strstr_sse42): Use typeof __redirect_strstr.
26335 (__strstr_ia32): Likewise.
26336 (__libc_strstr): New prototype.
26337 (strstr): Renamed to ...
26338 (__libc_strstr): This.
26339 (strstr): New strong alias of __libc_strstr.
26340 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26341 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26344 (__libc_time): New prototype.
26345 (time_ifunc): Replace time with __libc_time.
26346 (time): New strong alias and hidden definition of __libc_time.
26347 (__GI_time): Remove strong alias.
26348 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26349 Include <stddef.h>.
26350 (memmove): Redefined to __redirect_memmove.
26351 (__memmove_sse2): Use typeof __redirect_memmove.
26352 (__memmove_ssse3): Likewise.
26353 (__memmove_ssse3_back): Likewise.
26354 (__libc_memmove): New prototype.
26355 (memmove): Renamed to ...
26356 (__libc_memmove): This.
26357 (memmove): New strong alias of __libc_memmove.
26359 2012-08-08 Mark Salter <msalter@redhat.com>
26362 (R_MN10300_TLS_GD): Define.
26363 (R_MN10300_TLS_LD): Likewise.
26364 (R_MN10300_TLS_LDO): Likewise.
26365 (R_MN10300_TLS_GOTIE): Likewise.
26366 (R_MN10300_TLS_IE): Likewise.
26367 (R_MN10300_TLS_LE): Likewise.
26368 (R_MN10300_TLS_DTPMOD): Likewise.
26369 (R_MN10300_TLS_DTPOFF): Likewise.
26370 (R_MN10300_TLS_TPOFF): Likewise.
26371 (R_MN10300_SYM_DIFF): Likewise.
26372 (R_MN10300_ALIGN): Likewise.
26373 (R_MN10300_NUM): Update.
26375 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26377 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26380 2012-08-08 Roland McGrath <roland@hack.frob.com>
26382 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26384 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26385 sysdeps/unix -> sysdeps/posix move.
26386 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26388 2012-08-07 Allan McRae <allan@archlinux.org>
26391 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26392 (SUNOS_CPP): Likewise.
26393 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26395 (open_input): Call CPP using execvp.
26397 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26399 * sysdeps/unix/sysv/linux/kernel-features.h
26400 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26401 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26402 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26403 (__ASSUME_WAITID_SYSCALL): Likewise.
26404 * sysdeps/unix/sysv/linux/dl-execstack.c
26405 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26406 code unconditional.
26407 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26410 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26411 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26413 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26415 [__ASSUME_WAITID_SYSCALL]: Likewise.
26416 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26418 2012-08-07 Roland McGrath <roland@hack.frob.com>
26420 * sysdeps/unix/closedir.c: Renamed to ...
26421 * sysdeps/posix/closedir.c: ... here.
26422 * sysdeps/unix/dirfd.c: Renamed to ...
26423 * sysdeps/posix/dirfd.c: ... here.
26424 * sysdeps/unix/dirstream.h: Renamed to ...
26425 * sysdeps/posix/dirstream.h: ... here.
26426 * sysdeps/unix/fdopendir.c: Renamed to ...
26427 * sysdeps/posix/fdopendir.c: ... here.
26428 * sysdeps/unix/opendir.c: Renamed to ...
26429 * sysdeps/posix/opendir.c: ... here.
26430 * sysdeps/unix/readdir.c: Renamed to ...
26431 * sysdeps/posix/readdir.c: ... here.
26432 * sysdeps/unix/readdir_r.c: Renamed to ...
26433 * sysdeps/posix/readdir_r.c: ... here.
26434 * sysdeps/unix/rewinddir.c: Renamed to ...
26435 * sysdeps/posix/rewinddir.c: ... here.
26436 * sysdeps/unix/seekdir.c: Renamed to ...
26437 * sysdeps/posix/seekdir.c: ... here.
26438 * sysdeps/unix/telldir.c: Renamed to ...
26439 * sysdeps/posix/telldir.c: ... here.
26440 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26441 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26442 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26443 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26446 * bits/fcntl.h: ... here.
26448 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26450 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26451 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26452 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26453 (struct flock): Move l_start, l_len to the beginning.
26454 Use __pid_t for l_pid.
26455 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26456 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26457 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26458 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26459 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26460 [__USE_LARGEFILE64] (struct flock64): New type.
26461 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26464 * bits/dirent.h: ... here.
26466 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26467 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26469 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26472 Change from 2.6.0 to 2.6.16.
26473 * sysdeps/unix/sysv/linux/configure: Regenerated.
26474 * sysdeps/unix/sysv/linux/kernel-features.h
26475 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26476 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26478 (__ASSUME_UTIMES): Likewise.
26479 (__ASSUME_CLONE_STOPPED): Remove.
26480 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26481 architectures, not kernel version.
26482 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26483 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26484 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26485 (__ASSUME_WAITID_SYSCALL): Likewise.
26486 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26487 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26488 * README: State 2.6.16 as minimum Linux kernel version. Do not
26489 refer to older versions.
26491 2012-08-06 Roland McGrath <roland@hack.frob.com>
26493 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26494 Define alphasort64 as an alias.
26495 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26496 Define versionsort64 as an alias.
26497 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26498 Define scandir64 as an alias.
26499 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26500 Define scandirat64 as an alias.
26501 * dirent/alphasort64.c (alphasort64):
26502 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26503 * dirent/versionsort64.c: Likewise.
26504 * dirent/scandir64.c: Likewise.
26505 * dirent/scandirat64.c: Likewise.
26506 * sysdeps/wordsize-64/alphasort.c: File removed.
26507 * sysdeps/wordsize-64/alphasort64.c: File removed.
26508 * sysdeps/wordsize-64/scandir.c: File removed.
26509 * sysdeps/wordsize-64/scandir64.c: File removed.
26510 * sysdeps/wordsize-64/scandirat.c: File removed.
26511 * sysdeps/wordsize-64/scandirat64.c: File removed.
26512 * sysdeps/wordsize-64/versionsort.c: File removed.
26513 * sysdeps/wordsize-64/versionsort64.c: File removed.
26514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26515 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26516 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26517 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26518 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26519 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26521 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26523 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26525 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26527 [defined __arch64__ || defined __sparcv9]
26528 (__INO_T_MATCHES_INO64_T): New macro.
26529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26530 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26531 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26532 * sysdeps/unix/sysv/linux/bits/dirent.h
26533 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26534 (_DIRENT_MATCHES_DIRENT64): New macro.
26536 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26537 Define lockf64 as an alias.
26538 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26539 Define fseeko64 as an alias.
26540 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26541 Define ftello64 as an alias.
26542 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26543 Define _IO_fgetpos64 and fgetpos64 as aliases.
26544 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26545 Define _IO_fsetpos64 and fsetpos64 as aliases.
26546 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26547 Conditionalize body on this.
26548 * libio/fseeko64.c: Likewise.
26549 * libio/ftello64.c: Likewise.
26550 * libio/iofgetpos64.c: Likewise.
26551 * libio/iofsetpos64.c: Likewise.
26552 * sysdeps/wordsize-64/lockf.c: File removed.
26553 * sysdeps/wordsize-64/lockf64.c: File removed.
26554 * sysdeps/wordsize-64/fseeko.c: File removed.
26555 * sysdeps/wordsize-64/fseeko64.c: File removed.
26556 * sysdeps/wordsize-64/ftello.c: File removed.
26557 * sysdeps/wordsize-64/ftello64.c: File removed.
26558 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26559 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26560 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26561 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26565 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26567 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26569 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26570 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26571 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26573 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26575 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26577 [defined __arch64__ || defined __sparcv9]
26578 (__OFF_T_MATCHES_OFF64_T): New macro.
26579 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26580 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26582 (__OFF_T_MATCHES_OFF64_T): New macro.
26584 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26586 * stdlib/secure-getenv.c (__secure_getenv): Replace
26587 GLIBC_2_16 with GLIBC_2_17.
26589 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26592 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26594 2012-08-03 David S. Miller <davem@davemloft.net>
26596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26598 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26602 (__ASSUME_CORRECT_SI_PID): Likewise.
26603 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26604 (__ASSUME_TMPFS_NAME): Likewise.
26605 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26606 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26607 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26608 (HAVE_AUX_SECURE): Make definition unconditional.
26609 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26610 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26612 2012-08-03 Roland McGrath <roland@hack.frob.com>
26614 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26615 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26616 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26618 __eloop_threshold instead of SYMLOOP_MAX.
26620 * sysdeps/generic/eloop-threshold.h: New file.
26621 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26623 * elf/chroot_canon.c (chroot_canon): Likewise.
26625 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26629 Change to 2.6.0 everywhere.
26630 * sysdeps/unix/sysv/linux/configure: Regenerated.
26631 * sysdeps/unix/sysv/linux/kernel-features.h
26632 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26633 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26635 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26636 (__ASSUME_FUTEX_REQUEUE): Remove.
26637 (__ASSUME_STATFS64): Define unconditionally.
26638 (__ASSUME_AT_SECURE): Likewise.
26639 (__ASSUME_CORRECT_SI_PID): Likewise.
26640 (__ASSUME_TGKILL): Define without depending on kernel version for
26642 (__ASSUME_UTIMES): Likewise.
26643 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26645 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26646 (__ASSUME_TMPFS_NAME): Likewise.
26647 * README: Update reference to Linux kernel versions.
26649 2012-08-02 Marek Polacek <polacek@redhat.com>
26652 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26653 libc_cv_asm_type_prefix with %.
26654 * configure: Regenerated.
26655 * include/libc-symbols.h: Remove comment about
26656 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26657 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26658 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26659 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26660 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26661 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26662 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26663 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26664 * elf/tst-unique2mod1.c: Likewise.
26665 * elf/tst-unique1mod2.c: Likewise.
26666 * elf/tst-unique1mod1.c: Likewise.
26667 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26668 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26669 Replace ASM_TYPE_DIRECTIVE with .type.
26670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26671 * sysdeps/i386/sysdep.h: Likewise.
26672 * sysdeps/x86_64/sysdep.h: Likewise.
26673 * sysdeps/sh/sysdep.h: Likewise.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26675 Do not define ASM_TYPE_DIRECTIVE.
26676 * sysdeps/powerpc/sysdep.h: Likewise.
26677 * sysdeps/powerpc/powerpc32/sysdep.h:
26678 Replace ASM_TYPE_DIRECTIVE with .type.
26679 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26680 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26681 * sysdeps/i386/fpu/e_powf.S: Likewise.
26682 * sysdeps/i386/fpu/e_expl.S: Likewise.
26683 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26684 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26685 * sysdeps/i386/fpu/e_pow.S: Likewise.
26686 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26687 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26688 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26689 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26690 * sysdeps/i386/fpu/e_log2.S: Likewise.
26691 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26692 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26693 * sysdeps/i386/fpu/e_powl.S: Likewise.
26694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26695 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26696 * sysdeps/i386/fpu/e_logl.S: Likewise.
26697 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26698 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26699 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26701 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26702 * sysdeps/i386/fpu/e_log.S: Likewise.
26703 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26704 * sysdeps/i386/fpu/e_logf.S: Likewise.
26705 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26706 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26707 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26708 * sysdeps/i386/fpu/e_log10.S: Likewise.
26709 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26711 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26712 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26713 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26715 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26716 * sysdeps/i386/i686/strtok.S: Likewise.
26717 * sysdeps/i386/i386-mcount.S: Likewise.
26718 * sysdeps/i386/strtok.S: Likewise.
26719 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26720 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26722 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26723 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26724 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26725 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26726 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26727 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26728 * sysdeps/x86_64/_mcount.S: Likewise.
26729 * sysdeps/x86_64/strtok.S: Likewise.
26730 * sysdeps/sh/_mcount.S: Likewise.
26732 2012-08-01 Roland McGrath <roland@hack.frob.com>
26734 * libio/iofopen.c: Include <fcntl.h>.
26735 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26736 (_IO_fopen64, fopen64): Define as aliases.
26737 * libio/iofopen64.c: Include <fcntl.h>.
26738 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26739 Conditionalize body on this.
26740 * sysdeps/wordsize-64/iofopen.c: File removed.
26741 * sysdeps/wordsize-64/iofopen64.c: File removed.
26743 2012-08-01 Marek Polacek <polacek@redhat.com>
26745 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26746 Use dlfcn directly instead of a variable.
26747 (binfmt-subdir): Do not define.
26750 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26752 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26753 Remove all definitions.
26754 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26755 <kernel-features.h>.
26756 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26757 (miss_F_GETOWN_EX): Remove all definitions.
26758 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26760 [!__ASSUME_FCNTL64]: Remove conditional code.
26761 [__ASSUME_FCNTL64]: Make code unconditional.
26762 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26763 <kernel-features.h>.
26764 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26765 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26766 (lockf64) [__NR_fcntl64]: Make code unconditional.
26767 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26769 * sysdeps/unix/sysv/linux/kernel-features.h
26770 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26771 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26772 Make code unconditional.
26773 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26774 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26776 [__NR_vfork]: Make code unconditional.
26777 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26778 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26780 [__NR_vfork]: Make code unconditional.
26781 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26782 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26784 2012-08-01 Roland McGrath <roland@hack.frob.com>
26786 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26787 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26789 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26790 Define mkstemp64 as an alias.
26791 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26792 Define mkstemps64 as an alias.
26793 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26794 Define mkostemp64 as an alias.
26795 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26796 Define mkostemps64 as an alias.
26797 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26798 Conditionalize body on this.
26799 * misc/mkostemp64.c: Likewise.
26800 * misc/mkostemps64.c: Likewise.
26801 * misc/mkstemps64.c: Likewise.
26802 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26803 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26804 * sysdeps/wordsize-64/mkostemp.c: File removed.
26805 * sysdeps/wordsize-64/mkstemp.c: File removed.
26806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26808 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26812 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26813 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26814 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26815 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26817 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26818 compat_symbol macros from <shlib-compat.h> rather than the underlying
26819 default_symbol_version and symbol_version macros, so that DEFAULT
26820 lines in shlib-versions are respected.
26821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26823 2012-08-01 Florian Weimer <fweimer@redhat.com>
26825 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26826 Declare with warn_unused_result.
26827 (setgid, setregid, setegid, setresgid): Likewise.
26828 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26830 * WUR-REPORT: Remove set*id functions.
26832 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26834 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26836 2012-07-31 Roland McGrath <roland@hack.frob.com>
26839 * include/sys/socket.h (__libc_accept, __libc_accept4):
26840 Add attribute_hidden.
26841 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26843 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26845 * inet/getnetgrent_r.c (setup): Likewise.
26847 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26849 2012-07-31 David S. Miller <davem@davemloft.net>
26851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26853 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26856 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26857 value between 1.0 and 2.0 and smaller part has absolute value less
26859 * math/s_clog10.c (__clog10): Likewise.
26860 * math/s_clog10f.c (__clog10f): Likewise.
26861 * math/s_clog10l.c (__clog10l): Likewise.
26862 * math/s_clogf.c (__clogf): Likewise.
26863 * math/s_clogl.c (__clogl): Likewise.
26864 * math/libm-test.inc (clog_test): Add more tests.
26865 (clog10_test): Likewise.
26866 * sysdeps/i386/fpu/libm-test-ulps: Update.
26867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26869 2012-07-31 Florian Weimer <fweimer@redhat.com>
26871 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26872 Exit with zero in case no suitable GID is found, and write a
26873 message to standard error.
26875 2012-07-30 Roland McGrath <roland@hack.frob.com>
26877 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26879 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26880 (MAXPATHLEN): Removed.
26881 (NOGROUP, NODEV): New macros.
26882 (setbit, clrbit, isset, isclr): New macros.
26883 (howmany, roundup, powerof2): New macros.
26884 (DEV_BSIZE): New macro.
26886 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26887 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26889 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26890 definition on [!__NO_LONG_DOUBLE_MATH].
26892 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26893 PTR_MANGLE and PTR_DEMANGLE.
26895 * socket/accept4.c (accept4): Rename to __libc_accept4.
26896 Define accept4 as a weak alias.
26898 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26899 on [_DIRENT_HAVE_D_TYPE].
26900 * io/ftw.c (ftw_dir): Likewise.
26902 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26904 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26906 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26907 Use the BSD numbers rather than the arbitrary ones we had.
26908 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26909 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26910 (SIGXCPU, SIGXFSZ): New macros.
26913 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26914 initializer on [_LIBC_REENTRANT].
26916 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26917 definitions inside [_POSIX_MAPPED_FILES].
26919 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26921 * dirent/opendir.c: Include <fcntl.h>.
26923 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26924 (__libc_getspecific): Likewise.
26925 (__libc_key_create): Likewise.
26927 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26928 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26929 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26930 (tmpfile64): Define as alias.
26931 * sysdeps/wordsize-64/tmpfile.c: File removed.
26932 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26936 * stdio-common/vfscanf.c: Include <stdbool.h>.
26937 * nss/makedb.c: Likewise.
26938 * stdio-common/_i18n_number.h: Likewise.
26939 * argp/argp-help.c: Likewise.
26940 * posix/wordexp.c: Likewise.
26941 * sysdeps/posix/spawni.c: Likewise.
26942 * nss/nss_files/files-initgroups.c: Likewise.
26943 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26944 * nss/nss_files/files-initgroups.c: Likewise.
26945 * nss/nss_db/db-netgrp.c: Likewise.
26946 * nss/nss_db/db-initgroups.c: Likewise.
26947 * io/fchmodat.c: Include <sys/stat.h>.
26949 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26950 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26952 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26955 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26956 Add multiple inclusion protection.
26958 2012-07-27 David S. Miller <davem@davemloft.net>
26960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26962 2012-07-27 Gary Benson <gbenson@redhat.com>
26965 * elf/rtld.c: Include <stap-probe.h>.
26966 (dl_main): Added static probes "init_start" and "init_complete".
26967 * elf/dl-load.c: Include <stap-probe.h>.
26968 (lose): Take new parameter "nsid".
26969 Added static probe "map_failed".
26970 (_dl_map_object_from_fd): Pass namespace id to lose.
26971 Added static probe "map_start".
26972 (open_verify): Pass namespace id to lose.
26973 * elf/dl-open.c: Include <stap-probe.h>.
26974 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26975 and "reloc_complete".
26976 * elf/dl-close.c: Include <stap-probe.h>.
26977 (_dl_close_worker): Added static probes "unmap_start" and
26979 * elf/rtld-debugger-interface.txt: New file documenting the above.
26981 2012-07-26 Roland McGrath <roland@hack.frob.com>
26983 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26984 rather than a string variable.
26985 * sunrpc/rpc_main.c (h_output): Likewise.
26986 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26988 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26990 * inet/check_native.c: New file.
26992 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26995 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26996 if larger part has absolute value 1.0.
26997 * math/s_clog10.c (__clog10): Likewise.
26998 * math/s_clog10f.c (__clog10f): Likewise.
26999 * math/s_clog10l.c (__clog10l): Likewise.
27000 * math/s_clogf.c (__clogf): Likewise.
27001 * math/s_clogl.c (__clogl): Likewise.
27002 * math/libm-test.inc (clog_test): Add more tests.
27003 (clog10_test): Likewise.
27004 * sysdeps/i386/fpu/libm-test-ulps: Update.
27005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27007 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27008 (pltexit): Likewise.
27009 (La_regs): Likewise.
27010 (La_retval): Likewise.
27011 (int_retval): Likewise.
27012 Update #error for removed macros to refer only to definitions in
27014 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27016 (pltexit): Likewise.
27017 (La_regs): Likewise.
27018 (La_retval): Likewise.
27019 (int_retval): Likewise.
27020 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27022 (pltexit): Likewise.
27023 (La_regs): Likewise.
27024 (La_retval): Likewise.
27025 (int_retval): Likewise.
27026 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27028 (pltexit): Likewise.
27029 (La_regs): Likewise.
27030 (La_retval): Likewise.
27031 (int_retval): Likewise.
27032 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27034 (pltexit): Likewise.
27035 (La_regs): Likewise.
27036 (La_retval): Likewise.
27037 (int_retval): Likewise.
27038 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27040 (pltexit): Likewise.
27041 (La_regs): Likewise.
27042 (La_retval): Likewise.
27043 (int_retval): Likewise.
27044 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27046 (pltexit): Likewise.
27047 (La_regs): Likewise.
27048 (La_retval): Likewise.
27049 (int_retval): Likewise.
27050 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27051 macro definitions in tst-audit.h.
27052 * sysdeps/i386/tst-audit.h: New file.
27053 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27054 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27055 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27056 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27057 * sysdeps/sh/tst-audit.h: Likewise.
27058 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27059 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27060 * sysdeps/x86_64/tst-audit.h: Likewise.
27062 2012-07-26 Andreas Jaeger <aj@suse.de>
27064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27067 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27068 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27069 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27071 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27072 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27073 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27075 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27078 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27080 (si_call_addr, si_syscall, si_arch): Define new macro.
27081 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27083 (si_call_addr, si_syscall, si_arch): Define new marcro.
27084 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27086 (si_call_addr, si_syscall, si_arch): Define new macro.
27087 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27089 (si_call_addr, si_syscall, si_arch): Define new macro.
27091 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27094 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27095 Change to 2.4.21 where previously 2.4.1.
27096 * sysdeps/unix/sysv/linux/configure: Regenerated.
27097 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27098 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27099 Linux kernel version.
27100 (__ASSUME_STD_AUXV): Remove.
27101 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27103 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27104 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27105 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27106 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27107 (__ASSUME_NETLINK_SUPPORT): Likewise.
27108 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27109 (__no_netlink_support): Remove conditional definition.
27110 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27112 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27113 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27114 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27115 (if_nameindex_ioctl): Remove.
27116 (if_nameindex_netlink): Do not handle __no_netlink_support.
27117 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27119 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27120 Remove conditional code.
27121 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27123 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27125 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27126 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27127 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27129 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27130 [!__ASSUME_STD_AUXV]: Remove conditional code.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27132 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27133 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27135 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27136 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27138 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27140 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27141 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27143 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27145 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27148 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27151 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27152 code unconditional.
27153 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27155 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27157 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27160 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27162 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27165 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27166 code unconditional.
27167 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27169 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27171 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27174 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27175 code unconditional.
27176 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27178 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27180 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27183 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27185 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27186 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27187 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27188 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27189 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27191 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27192 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27193 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27194 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27195 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27196 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27197 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27198 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27199 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27200 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27201 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27202 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27203 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27205 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27206 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27209 2012-07-25 Florian Weimer <fweimer@redhat.com>
27211 * Versions.def: Add GLIBC_2.17.
27212 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27213 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27214 Introduce __libc_secure_getenv.
27215 * stdlib/Versions (2.17): Add secure_getenv
27216 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27217 * stdlib/secure-getenv.c: Rename __secure_getenv to
27218 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27219 symbol __secure_getenv for GLIBC_2.0.
27220 * stdlib/tst-secure-getenv.c: New.
27221 * stdlib/Makefile (tests): Add testcase.
27222 * manual/startup.texi (Environment Access): Document
27224 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27225 __libc_secure_getenv.
27226 * inet/ruserpass.c (ruserpass): Likewise.
27227 * malloc/mtrace.c (mtrace): Likewise.
27228 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27229 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27230 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27231 * sysdeps/posix/tempname.c: Likewise. Evaluate
27232 HAVE_SECURE_GETENV.
27233 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27234 __secure_getenv to __libc_secure_getenv.
27235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27248 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27250 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27251 (struct La_i86_retval): Likewise.
27252 (struct La_x86_64_regs): Likewise.
27253 (struct La_x86_64_retval): Likewise.
27254 (struct La_x32_regs): Likewise.
27255 (struct La_x32_retval): Likewise.
27256 (struct La_ppc32_regs): Likewise.
27257 (struct La_ppc32_retval): Likewise.
27258 (struct La_ppc64_regs): Likewise.
27259 (struct La_ppc64_retval): Likewise.
27260 (struct La_sh_regs): Likewise.
27261 (struct La_sh_retval): Likewise.
27262 (struct La_s390_32_regs): Likewise.
27263 (struct La_s390_32_retval): Likewise.
27264 (struct La_s390_64_regs): Likewise.
27265 (struct La_s390_64_retval): Likewise.
27266 (struct La_sparc32_regs): Likewise.
27267 (struct La_sparc32_retval): Likewise.
27268 (struct La_sparc64_regs): Likewise.
27269 (struct La_sparc64_retval): Likewise.
27270 (struct audit_ifaces): Remove architecture-specific pltenter and
27272 * sysdeps/i386/ldsodefs.h: New file.
27273 * sysdeps/powerpc/ldsodefs.h: Likewise.
27274 * sysdeps/s390/ldsodefs.h: Likewise.
27275 * sysdeps/sh/ldsodefs.h: Likewise.
27276 * sysdeps/sparc/ldsodefs.h: Likewise.
27277 * sysdeps/x86_64/ldsodefs.h: Likewise.
27279 2012-07-25 Marek Polacek <polacek@redhat.com>
27282 * math/libm-test.inc (yn_test): Add another test.
27283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27284 to ERANGE when the result is +-Inf.
27285 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27286 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27287 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27288 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27290 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27292 * conform/data/time.h-data (NULL): Use macro-constant. Require
27294 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27296 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27298 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27300 * configure.in <sysdeps resolving>: Correct printing
27302 * configure: Regenerate.
27304 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27306 * math/w_ilogb.c: Include <limits.h>.
27307 * math/w_ilogbl.c: Likewise.
27309 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27311 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27312 va_copy. Document allowing for unavailable va_copy only as
27313 pre-C99 compatibility.
27314 * manual/string.texi (Copying and Concatenation): Use va_copy
27315 instead of __va_copy in concat example.
27317 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27319 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27320 (__sendto): Use create_address_port. Initialize APORT and deallocate
27323 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27324 with O_NOLINK passed to __file_name_lookup.
27326 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27327 with O_NOLINK passed to __file_name_lookup.
27329 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27330 negative N or less than NGIDS.
27332 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27333 type to string_t. Set ERANGE as errno and return it if NAME is not big
27334 enough. Use memcpy instead of strncpy.
27336 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27338 * elf/Makefile (check-data): Remove.
27339 (localplt.data): New vpath directive.
27340 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27341 instead of $(check-data).
27342 * scripts/data/localplt-generic.data: Move to ...
27343 * sysdeps/generic/localplt.data: ... here.
27344 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27345 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27346 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27349 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27352 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27355 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27358 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27361 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27365 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27367 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27368 PPC32 and PPC64 files.
27369 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27370 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27372 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27374 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27375 __makecontext_ret to ...
27376 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27377 ... here and call exit if uc_link is NULL. New file.
27378 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27379 __makecontext_ret.S.
27380 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27381 __makecontext_ret to ...
27382 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27383 ... here and call exit if uc_link is NULL. New file.
27384 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27385 __makecontext_ret.S.
27387 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27389 * elf/elf.h (R_390_IRELATIVE): New definition.
27390 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27391 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27392 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27393 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27394 (elf_machine_lazy_rel): Likewise.
27395 * sysdeps/s390/dl-irel.h: New file.
27396 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27397 * sysdeps/s390/s390-64/memset.S: New asm code.
27398 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27399 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27400 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27401 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27402 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27403 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27405 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27406 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27407 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27408 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27409 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27410 * sysdeps/s390/s390-32/memset.S: New asm code.
27411 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27413 2012-07-17 Marek Polacek <polacek@redhat.com>
27416 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27417 * sysdeps/s390/s390-64/configure.in: Likewise.
27418 * sysdeps/sparc/configure.in: Likewise.
27419 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27420 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27421 * sysdeps/i386/configure.in: Likewise.
27422 * sysdeps/x86_64/configure.in: Likewise.
27423 * sysdeps/sh/configure.in: Likewise.
27424 * sysdeps/s390/s390-32/configure: Regenerated.
27425 * sysdeps/s390/s390-64/configure: Likewise.
27426 * sysdeps/x86_64/configure: Likewise.
27427 * sysdeps/sh/configure: Likewise.
27428 * sysdeps/powerpc/powerpc64/configure: Likewise.
27429 * sysdeps/powerpc/powerpc32/configure: Likewise.
27430 * sysdeps/sparc/configure: Likwise.
27431 * sysdeps/i386/configure: Likewise.
27433 * elf/dl-open.c: Comment fixes.
27435 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27437 * Makefile [CXX] (check-data): Remove.
27438 [CXX] (c++-types.data): New vpath directive.
27439 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27440 vpath. Do not allow for C++ type data being missing.
27441 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27442 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27443 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27444 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27445 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27446 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27447 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27450 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27453 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27456 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27459 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27462 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27465 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27468 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27471 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27472 definitions to architecture-specific files.
27473 (TLS_IE): Likewise.
27474 (TLS_LD): Likewise.
27475 (TLS_GD): Likewise.
27476 * sysdeps/i386/tls-macros.h: New file.
27477 * sysdeps/powerpc/tls-macros.h: Likewise.
27478 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27479 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27480 * sysdeps/sh/tls-macros.h: Likewise.
27481 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27482 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27483 * sysdeps/x86_64/tls-macros.h: Likewise.
27485 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27488 zero value for regular exit case.
27490 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27491 (__start_context): Preserve zero value for regular exit case.
27493 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27494 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27496 * manual/setjmp.texi (setcontext): Clarify normal process
27497 termination when uc_link is the null pointer.
27498 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27501 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27503 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27504 preprocessor. Test for each exception mask separately.
27506 2012-07-16 Andreas Jaeger <aj@suse.de>
27508 * po/ru.po: Update from translation team.
27510 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27512 * conform/data/string.h-data (NULL): Use macro-constant. Require
27514 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27515 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27516 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27517 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27520 2012-07-13 Andreas Jaeger <aj@suse.de>
27522 * po/fr.po: Update from translation team.
27524 2012-07-12 Marek Polacek <polacek@redhat.com>
27527 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27531 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27535 Change to 2.4.1 where previously 2.4.0.
27536 * sysdeps/unix/sysv/linux/configure: Regenerated.
27537 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27538 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27540 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27541 (__ASSUME_AT_CLKTCK): Remove.
27542 (__ASSUME_AT_PAGESIZE): Likewise.
27543 (__ASSUME_AT_XID): Likewise.
27544 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27545 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27546 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27548 (HAVE_AUX_PAGESIZE): Likewise.
27549 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27550 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27551 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27553 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27557 the temporary buffer used to invoke __gethostbyname2_r,
27558 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27559 host_data / struct gaih_addrtuple.
27560 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27561 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27562 header file nss/nsswitch.h.
27563 * nss/nsswitch.h (global scope): Add definition of implementation
27564 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27565 resolv/nss_dns/dns-host.c).
27567 2012-07-11 Andreas Jaeger <aj@suse.de>
27569 * po/fr.po: Update from translation team.
27571 * po/sv.po: Update from translation team
27572 * po/fr.po: Another update from translation team.
27574 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27576 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27577 for subnormals or multiply small sinh result by itself.
27578 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27581 2012-07-11 David S. Miller <davem@davemloft.net>
27583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27585 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27588 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27589 (INTERNAL_MARK): Shift it here.
27591 2012-07-10 Marek Polacek <polacek@redhat.com>
27594 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27595 libc_cv_asm_global_directive with .globl.
27596 * configure: Regenerated.
27597 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27599 * sysdeps/i386/configure: Regenerated.
27600 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27602 * sysdeps/x86_64/configure: Regenerated.
27603 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27604 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27605 * elf/tst-unique2mod2.c: Likewise.
27606 * elf/tst-unique2mod1.c: Likewise.
27607 * elf/tst-unique1mod2.c: Likewise.
27608 * elf/tst-unique1mod1.c: Likewise.
27609 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27610 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27612 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27613 * sysdeps/mach/sysdep.h: Likewise.
27614 * sysdeps/i386/sysdep.h: Likewise.
27615 * sysdeps/i386/i386-mcount.S: Likewise.
27616 * sysdeps/x86_64/_mcount.S: Likewise.
27617 * sysdeps/x86_64/sysdep.h: Likewise.
27618 * sysdeps/sh/_mcount.S: Likewise.
27619 * sysdeps/sh/sysdep.h: Likewise.
27620 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27621 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27622 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27624 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27625 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27626 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27627 * locale/localeinfo.h: Likewise.
27628 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27629 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27631 2012-07-09 Roland McGrath <roland@hack.frob.com>
27634 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27636 * manual/message.texi (The Uniforum approach): Likewise.
27637 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27638 (glibc iconv Implementation): Likewise.
27640 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27643 * math/s_clog.c (__clog): Avoid scaling a value down where that
27644 could result in underflow.
27645 * math/s_clog10.c (__clog10): Likewise.
27646 * math/s_clog10f.c (__clog10f): Likewise.
27647 * math/s_clog10l.c (__clog10l): Likewise.
27648 * math/s_clogf.c (__clogf): Likewise.
27649 * math/s_clogl.c (__clogl): Likewise.
27650 * math/libm-test.inc (clog_test): Add more tests.
27651 (clog10_test): Likewise.
27652 * sysdeps/i386/fpu/libm-test-ulps: Update.
27653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27658 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27659 by 7 not 8 to examine high bit of fractional part.
27662 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27663 for call to __mcount_internal.
27664 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27665 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27666 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27668 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27671 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27672 approximation for values within 0x1p-13f of an odd multiple of
27674 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27675 exception. Add more tests.
27676 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27680 inputs and return -1 for them. Do not check for +Inf in case not
27681 reachable for +Inf.
27682 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27683 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27684 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27685 and return -1 for them. Do not check for +Inf in case not
27686 reachable for +Inf.
27687 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27690 and return -1 for them. Do not check for +Inf in case not
27691 reachable for +Inf.
27692 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27693 spurious underflow.
27694 * sysdeps/i386/fpu/libm-test-ulps: Update.
27695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27697 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27699 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27701 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27705 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27706 could result in spurious underflow. Scale down values above
27707 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27708 * math/s_csqrtf.c (__csqrtf): Likewise.
27709 * math/s_csqrtl.c (__csqrtl): Likewise.
27710 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27711 spurious underflow.
27712 * sysdeps/i386/fpu/libm-test-ulps: Update.
27713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27715 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27717 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27719 * catgets/xopen-msg.awk: New file.
27720 * catgets/xopen-msg.sed: Removed.
27722 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27724 * intl/po2test.awk: New file.
27725 * intl/po2test.sed: Removed.
27727 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27730 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27731 or multiply small sinh result by itself.
27732 * math/s_ctanf.c (__ctanf): Likewise.
27733 * math/s_ctanh.c (__ctanh): Likewise.
27734 * math/s_ctanhf.c (__ctanhf): Likewise.
27735 * math/s_ctanhl.c (__ctanhl): Likewise.
27736 * math/s_ctanl.c (__ctanl): Likewise.
27737 * math/libm-test.inc (ctan_test_tonearest): New function.
27738 (ctan_test_towardzero): Likewise.
27739 (ctan_test_downward): Likewise.
27740 (ctan_test_upward): Likewise.
27741 (ctanh_test_tonearest): Likewise.
27742 (ctanh_test_towardzero): Likewise.
27743 (ctanh_test_downward): Likewise.
27744 (ctanh_test_upward): Likewise.
27745 (main): Call these new functions.
27746 * sysdeps/i386/fpu/libm-test-ulps: Update.
27747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27749 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27751 * .gitignore: Delete /ports entry.
27753 2012-07-03 Andreas Jaeger <aj@suse.de>
27755 * po/bg.po: Update from translation team.
27756 * po/cs.po: Likewise.
27757 * po/de.po: Likewise.
27758 * po/hr.po: Likewise.
27759 * po/nl.pl: Likewise.
27760 * po/pl.po: Likewise.
27761 * po/vi.po: Likewise.
27763 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27765 * Makeconfig [!+link] (+link-before-libc): New variable.
27766 [!+link] (+link-after-libc): Likewise.
27767 [!+link] (+link-tests): Likewise.
27768 [!+link] (+link): Define in terms of $(+link-before-libc) and
27769 $(+link-after-libc).
27770 [!+link-static] (+link-static-before-libc): New variable.
27771 [!+link-static] (+link-static-after-libc): Likewise.
27772 [!+link-static] (+link-static-tests): Likewise.
27773 [!+link-static] (+link-static): Define in terms of
27774 $(+link-static-before-libc) and $(+link-static-after-libc).
27775 [build-shared] (link-libc-before-gnulib): New variable.
27776 [build-shared] (link-libc-tests): Likewise.
27777 [build-shared] (link-libc): Define in terms of
27778 $(link-libc-before-gnulib).
27779 [!build-shared] (link-libc-tests): New variable.
27780 (link-libc-static-tests): New variable.
27781 [!gnulib] (gnulib-arch): New variable.
27782 [!gnulib] (gnulib-tests): Likewise.
27783 [!gnulib] (static-gnulib-arch): Likewise.
27784 [!gnulib] (static-gnulib-tests): Likewise.
27785 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27786 Define with "=" instead of ":=".
27787 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27788 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27789 * Rules (binaries-all-notests): New variable.
27790 (binaries-all-tests): Likewise.
27791 (binaries-static-notests): Likewise.
27792 (binaries-static-tests): Likewise.
27793 (binaries-all): Define using $(binaries-all-notests) and
27794 $(binaries-all-tests).
27795 (binaries-static): Define using $(binaries-static-notests) and
27796 $(binaries-static-tests).
27797 (binaries-shared-tests): New variable.
27798 (binaries-shared-notests): Likewise.
27799 (binaries-shared): Remove variable.
27800 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27801 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27802 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27803 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27804 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27805 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27806 * elf/Makefile (sln-modules): New variable.
27807 (extra-objs): Add $(sln-modules:=.o).
27808 (ldconfig-modules): Add static-stubs.
27809 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27810 * elf/static-stubs.c: New file.
27813 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27814 by 7 not 8 to examine high bit of fractional part. Use volatile
27815 variables when splitting into final array of floats if
27816 __FLT_EVAL_METHOD__ != 0.
27817 * math/libm-test.inc (cos_test): Add another test.
27818 (sin_test): Likewise.
27819 * sysdeps/i386/fpu/libm-test-ulps: Update.
27822 * math/libm-test.inc (cosh_test): Add more tests.
27824 * version.h (RELEASE): Set to "development".
27825 (VERSION): Set to "2.16.90".
27827 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27829 * NEWS: Update copyright. Remove last-updated date.
27830 Mention math library bug fixes and timezone data changes.
27831 * README: Mention GNU/Hurd, x32, and HPPA support status.
27833 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27835 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27837 2012-06-27 Andreas Jaeger <aj@suse.de>
27839 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27841 2012-06-25 Andreas Jaeger <aj@suse.de>
27843 * sysdeps/s390/fpu/libm-test-ulps: Update.
27845 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27846 Thomas Schwinge <thomas@codesourcery.com>
27848 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27849 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27853 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27855 * sysdeps/mach/start.c: Remove file.
27856 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27857 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27858 * sysdeps/sh/init-first.c: Likewise.
27860 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27861 registers for frame unwinding purposes, add CFI directives.
27862 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27863 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27864 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27867 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27868 __fortify_fail returning.
27869 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27871 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27872 sysdeps/sh/____longjmp_chk.S.
27873 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27874 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27875 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27876 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27878 * sysdeps/sh/abort-instr.h: New file.
27879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27880 process in case exit returns.
27882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27883 initialize the GOT register before use.
27885 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27886 calculation of ARGC > 4.
27888 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27889 meaningful names to some local labels.
27891 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27892 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27894 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27895 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27896 (__arch_compare_and_exchange_val_16_acq): Likewise.
27897 (__arch_compare_and_exchange_val_32_acq): Likewise.
27898 (atomic_exchange_and_add): Fix gUSA sequence.
27899 (atomic_add): Likewise.
27900 (atomic_add_negative): Likewise.
27901 (atomic_add_zero): Likewise.
27902 (atomic_bit_test_set): Likewise.
27904 2012-06-22 Andreas Schwab <schwab@redhat.com>
27907 * include/link.h (struct link_map): Add l_free_initfini.
27908 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27910 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27911 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27912 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27915 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27917 * configure.in: Use AC_LANG_SOURCE.
27918 * configure: Regenerate.
27920 2012-06-22 Roland McGrath <roland@hack.frob.com>
27922 * configure.in (libc_cv_localstatedir): New substituted variable.
27923 * configure: Regenerated.
27924 * config.make.in (localstatedir): New variable, substituted from
27925 libc_cv_localstatedir.
27926 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27927 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27928 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27929 * sysdeps/gnu/configure: Regenerated.
27931 2012-06-21 Jeff Law <law@redhat.com>
27934 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27935 free. Simplify list management for _LIBC case.
27937 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27940 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27941 Clear sign bit of 64-bit integer value before comparing against
27944 * sysdeps/mach/configure: Regenerated.
27946 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27949 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27951 2012-06-21 Jeff Law <law@redhat.com>
27954 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27955 uint16_t for elements in the "seen" array to avoid char overflows.
27956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27957 * elf/dl-open.c (dl_open_worker): Likewise.
27959 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27961 * scripts/list-sources.sh: Scan PORTS for translations.
27962 * po/libc.pot: Regenerated.
27964 2012-06-21 Andreas Jaeger <aj@suse.de>
27967 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27969 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27970 * bits/byteswap-16.h (__bswap_16): Likewise.
27971 * bits/byteswap.h (__bswap_constant_16): Likewise.
27973 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27976 * sysdeps/i386/fpu_control.h: Removed.
27977 * sysdeps/x86_64/fpu_control.h: Moved to ...
27978 * sysdeps/x86/fpu_control.h: Here.
27980 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27981 (_FPU_SETCW): Likewise.
27983 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27986 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27987 * sysdeps/x86/fpu/bits/mathinline.h: This.
27988 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27992 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27993 functions if __x86_64__ is defined.
27995 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27997 * string/endian.h: Add !__ASSEMBLER__ condition for including
27998 conversion interfaces.
28000 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28004 of ABS(x) in calculating zero to negative powers other than odd
28006 * math/libm-test.inc (pow_test): Add more tests.
28008 2012-06-15 Andreas Jaeger <aj@suse.de>
28010 * manual/contrib.texi (Contributors): Update entry of Liubov
28011 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28014 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28016 * string/string.h: Add __wur to GNU version of strerror_r.
28018 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28021 * string/Makefile (tests): Add tst-strtok_r.
28022 * string/tst-strtok_r.c: New file.
28023 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28024 RAX_LP/RDX_LP on SAVE_PTR.
28026 2012-06-14 Roland McGrath <roland@hack.frob.com>
28028 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28030 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28032 * libm_test.inc (csqrt_test): Allow more spurious underflow
28034 (j0_test): Likewise.
28035 (j1_test): Likewise.
28036 (y0_test): Likewise.
28037 (y1_test): Likewise.
28039 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28041 * po/Makefile (libc.pot): Use UTF-8 charset.
28043 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28046 Suppress sign-conversion warning from FD_SET.
28047 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28048 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28049 not unsigned long int.
28050 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28052 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28056 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28057 __extern_always_inline instead of __extern_inline.
28058 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28059 (__signbit): Likewise.
28060 (__signbitl): Support C++ namespace.
28061 (lrintf): New inline function.
28063 (llrintf): Likewise.
28064 (llrint): Likewise.
28074 (floorf): Likewise.
28075 (nearbyint): Likewise.
28076 (nearbyintf): Likewise.
28078 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28081 non-default versions.
28083 2012-06-11 Roland McGrath <roland@hack.frob.com>
28086 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28088 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28090 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28091 (FE_UPWARD, FE_DOWNWARD): Don't define.
28092 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28093 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28095 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28097 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28098 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28100 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28102 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28104 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28105 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28107 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28110 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28111 * sysdeps/i386/fpu/Implies: New file.
28112 * sysdeps/x86_64/fpu/Implies: Likewise.
28113 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28114 * sysdeps/x86/fpu/bits/fenv.h: This.
28116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28119 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28122 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28123 character 0xffff that matches the last element of the
28126 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28128 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28131 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28133 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28134 values higher than 25.6283.
28136 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28139 subnormal exponent extraction and add some __builtin_expect.
28140 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28141 Fix for subnormal mantissa calculation.
28143 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28145 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28146 cpu2 is -1 and errno is not ENOSYS.
28148 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28151 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28152 * sysdeps/x86/bits/string.h: This.
28153 * sysdeps/x86_64/bits/string.h: Removed.
28155 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28156 if not compiling for x86-64, but compiling for >= i486.
28158 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28159 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28161 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28162 New macro from Linux kernel 3.4.0.
28163 (FP_XSTATE_MAGIC2): Likewise.
28164 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28165 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28166 (struct _fpx_sw_bytes): New struct.
28167 (struct _xsave_hdr): Likewise.
28168 (struct _ymmh_state): Likewise.
28169 (struct _xstate): Likewise.
28171 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28172 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28173 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28174 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28175 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28176 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28178 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28180 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28181 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28182 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28183 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28185 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28188 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28189 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28190 (sysdep_headers): Include sys/platform/ppc.h.
28191 * sysdeps/powerpc/test-gettimebase.c: Test for
28192 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28193 * manual/Makefile (appendices): Include platform.texi.
28194 * manual/contrib.texi (Contributors): Update @node pointers.
28195 * manual/maint.texi (Maintenance): Likewise.
28196 (Platform): New node.
28197 * manual/platform.texi: New file. Document the new features.
28199 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28200 Jakub Jelinek <jakub@redhat.com>
28203 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28204 where __builtin_expect is unavailable.
28206 2012-06-03 David S. Miller <davem@davemloft.net>
28208 * stdlib/longlong.h: Updated from GCC.
28210 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28213 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28214 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28217 (GLIBC_2.16): Likewise.
28219 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28221 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28223 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28226 (default-abi): New variable.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28228 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28230 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28232 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28234 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28237 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28238 definition. Document in comment.
28240 2012-06-01 David S. Miller <davem@davemloft.net>
28242 * stdlib/longlong.h: Updated from GCC.
28244 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28247 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28248 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28249 sys/debugreg.h sys/io.h here.
28250 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28251 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28253 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28254 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28255 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28256 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28257 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28258 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28260 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28261 Define only if __x86_64__ is defined.
28263 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28267 Use int64_t for variable i.
28268 * math/libm-test.inc (fmod_test): Add more tests.
28270 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28271 z computation is not scheduled after fetestexcept.
28272 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28273 Use math_force_eval instead of asm to ensure calculation scheduled
28274 before exception test.
28275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28276 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28278 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28281 computation is not scheduled after fetestexcept.
28283 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28286 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28287 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28289 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28291 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28292 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28294 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28297 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28299 (__WCHAR_MIN): Support __WORDSIZE == 64.
28300 (__WCHAR_MAX): Likewise.
28302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28303 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28306 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28307 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28310 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28311 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28313 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28314 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28316 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28317 Defined to 1 if __x86_64__ isn't defined.
28318 (_STAT_VER_LINUX_OLD): New.
28319 (st_atime): Remove duplicate.
28320 (st_mtime): Likewise.
28321 (st_ctime): Likewise.
28323 2012-05-31 David S. Miller <davem@davemloft.net>
28325 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28328 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28330 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28334 * elf/dl-reloc.c: Include <_itoa.h>.
28335 (_dl_reloc_bad_type): Remove use of INTUSE.
28336 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28337 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28338 * stdio-common/psiginfo.c (psiginfo): Likewise.
28339 * stdio-common/psignal.c (psignal): Likewise.
28340 * string/strsignal.c (strsignal): Likewise.
28341 * include/signal.h (_sys_siglist): Declare hidden proto.
28342 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28343 INTVARDEF with libc_hidden_data_def.
28344 * stdio-common/itoa-udigits.c: Likewise.
28345 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28346 (_itoa_lower_digits_internal): Remove declaration.
28347 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28348 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28349 (_sys_sigabbrev_internal): Remove aliases.
28350 (_sys_siglist): Define hidden alias.
28352 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28357 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28360 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28361 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28363 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28364 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28365 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28366 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28368 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28370 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28371 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28372 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28374 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28382 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28383 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28384 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28386 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28387 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28388 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28389 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28390 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28391 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28393 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28394 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28396 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28397 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28401 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28403 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28404 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28406 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28408 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28409 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28410 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28412 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28414 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28416 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28418 * math/math.h (M_El): Use two more decimal places.
28419 (M_LOG2El): Likewise.
28420 (M_LOG10El): Likewise.
28421 (M_LN2l): Likewise.
28422 (M_LN10l): Likewise.
28424 (M_PI_2l): Likewise.
28425 (M_PI_4l): Likewise.
28426 (M_1_PIl): Likewise.
28427 (M_2_PIl): Likewise.
28428 (M_2_SQRTPIl): Likewise.
28429 (M_SQRT2l): Likewise.
28430 (M_SQRT1_2l): Likewise.
28432 2012-05-31 David S. Miller <davem@davemloft.net>
28434 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28435 values between float registers.
28436 * sysdeps/sparc/sparc64/memset.S: Likewise.
28437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28439 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28441 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28442 -D_FORTIFY_SOURCE=1.
28443 (CPPFLAGS-tst-longjmp_chk.c): Define.
28444 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28445 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28446 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28447 CFLAGS-tst-wchar-h.c.
28449 2012-05-31 Marek Polacek <polacek@redhat.com>
28452 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28453 __endmntent_internal): Remove declaration.
28454 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28455 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28456 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28458 2012-05-30 David S. Miller <davem@davemloft.net>
28460 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28461 (___Q_simulate_exceptions): Use real FP ops rather than writing
28463 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28466 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28469 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28470 * sysdeps/x86/bits/xtitypes.h: This.
28472 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28473 * sysdeps/x86/bits/wordsize.h: This.
28475 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28476 * sysdeps/x86/bits/huge_vall.h: This.
28478 * sysdeps/i386/bits/select.h: Removed.
28479 * sysdeps/x86_64/bits/select.h: Renamed to ...
28480 * sysdeps/x86/bits/select.h: This.
28482 * sysdeps/i386/bits/setjmp.h: Removed.
28483 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28484 * sysdeps/x86/bits/setjmp.h: This.
28486 * sysdeps/i386/bits/mathdef.h: Removed.
28487 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28488 * sysdeps/x86/bits/mathdef.h: This.
28490 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28493 * include/sys/socket.h (__connect_internal)
28494 (__libc_sa_len_internal): Remove declaration.
28495 (__connect, __libc_sa_len): Declare hidden_proto.
28496 (SA_LEN): Remove use of INTUSE.
28497 * socket/connect.c: Add libc_hidden_def.
28498 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28499 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28500 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28502 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28504 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28505 of adding _internal alias.
28507 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28510 * sysdeps/i386/bits/link.h: Removed.
28511 * sysdeps/i386/bits/linkmap.h: Likewise.
28512 * sysdeps/x86_64/bits/link.h: Renamed to ...
28513 * sysdeps/x86/bits/link.h: This.
28514 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28515 * sysdeps/x86/bits/linkmap.h: This.
28517 * sysdeps/i386/bits/endian.h: Removed.
28518 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28519 * sysdeps/x86/bits/endian.h: This.
28521 * sysdeps/i386/bits/byteswap.h: Removed.
28522 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28523 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28524 * sysdeps/x86/bits/byteswap.h: This.
28525 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28526 * sysdeps/x86/bits/byteswap-16.h: This.
28527 * sysdeps/i386/Implies: Add x86.
28528 * sysdeps/x86_64/Implies: Likewise.
28530 2012-05-30 David S. Miller <davem@davemloft.net>
28532 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28533 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28534 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28535 (FP_TRAPPING_EXCEPTIONS): Define.
28536 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28537 (FP_TRAPPING_EXCEPTIONS): Define.
28538 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28539 subnormals only when inexact has been signalled or underflow
28540 exceptions are enabled.
28541 (_FP_PACK_CANONICAL): Likewise.
28543 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28546 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28547 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28549 2012-05-30 Richard Henderson <rth@twiddle.net>
28551 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28552 with #ifndef NOT_IN_libc.
28554 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28555 marked to avoid plt entry.
28557 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28560 * Makeconfig (default-abi): New macro.
28561 (abi-includes): Likewise.
28562 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28563 $(abi-$(default-abi)-lib-soname) for soname if defined.
28564 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28566 * Makefile (installed-stubs): Likewise.
28567 * include/stubs-biarch.h: Removed.
28568 * scripts/lib-names.awk: Only handle one library at a time.
28569 * scripts/soversions.awk: Remove WORDSIZE support.
28570 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28572 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28574 (syscall-list-default-condition): Likewise.
28575 (syscall-list-default-condition): Likewise.
28576 (syscall-list-includes): Likewise.
28577 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28578 syscall-list-* with abi-*. Handle undefined abi-variants.
28579 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28580 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28581 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28583 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28584 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28586 (syscall-list-32-options): Likewise.
28587 (syscall-list-32-condition): Likewise.
28588 (syscall-list-64-options): Likewise.
28589 (syscall-list-64-condition): Likewise.
28590 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28592 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28595 (abi-64-ld-soname): New macro.
28596 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28597 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28600 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28601 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28603 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28605 * sysdeps/unix/sysv/linux/kernel-features.h
28606 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28607 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28608 include <kernel-features.h>.
28609 [!__NR_ftruncate64]: Remove conditional code.
28610 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28611 [__NR_ftruncate64]: Make code unconditional.
28612 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28613 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28614 include <kernel-features.h>.
28615 [!__NR_ftruncate64]: Remove conditional code.
28616 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28617 [__NR_ftruncate64]: Make code unconditional.
28618 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28620 include <kernel-features.h>.
28621 [!__NR_ftruncate64]: Remove conditional code.
28622 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28623 [__NR_ftruncate64]: Make code unconditional.
28624 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28626 include <kernel-features.h>.
28627 [!__NR_ftruncate64]: Remove conditional code.
28628 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28629 [__NR_ftruncate64]: Make code unconditional.
28630 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28632 * configure.in (libc_cv_fpie): Weaken to a compile test using
28633 LIBC_TRY_CC_OPTION.
28634 * configure: Regenerated.
28636 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28651 2012-05-27 David S. Miller <davem@davemloft.net>
28653 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28655 (__Q_simulate_exceptions): Return void. Change to simulate
28656 exceptions by writing into the %fsr.
28657 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28658 (__Qp_handle_exceptions): Likewise.
28660 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28661 __Qp_handle_exceptions.
28662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28663 __Qp_handle_exceptions.
28664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28665 as unused and give dummy FP_RND_NEAREST initializer.
28666 (FP_INHIBIT_RESULTS): Define.
28667 (___Q_simulate_exceptions): Update declaration.
28668 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28671 as unused and give dummy FP_RND_NEAREST initializer.
28672 (__Qp_handle_exceptions): Update declaration.
28673 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28676 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28678 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28679 the temporary FPU control word.
28680 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28681 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28682 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28683 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28684 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28685 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28686 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28687 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28688 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28689 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28690 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28692 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28694 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28697 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28699 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28700 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28701 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28702 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28704 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28705 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28708 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28710 * po/h.po: Update from translation team.
28712 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28714 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28716 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28717 handling of denormals.
28718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28719 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28720 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28727 2012-05-26 Marek Polacek <polacek@redhat.com>
28730 * math/libm-test.inc (fma_test): Don't always expect underflow
28733 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28736 * elf/tst-execstack.c: Include stackinfo.h.
28737 (do_test): Adjust test case to ensure that pthread_getattr_np
28738 behaviour remains the same after marking stack executable.
28740 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28742 * sysdeps/unix/sysv/linux/kernel-features.h
28743 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28744 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28748 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28750 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28751 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28753 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28755 * configure.in: Define the default includes to being none.
28756 * configure: Regenerated.
28758 2012-05-25 Roland McGrath <roland@hack.frob.com>
28760 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28761 * sysdeps/x86_64/setjmp.S: Likewise.
28762 * sysdeps/i386/bsd-setjmp.S: Likewise.
28763 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28764 * sysdeps/i386/setjmp.S: Likewise.
28765 * sysdeps/i386/__longjmp.S: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28767 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28769 * include/stap-probe.h: New file.
28770 * configure.in: Handle --enable-systemtap.
28771 * configure: Regenerated.
28772 * config.h.in (USE_STAP_PROBE): New #undef.
28773 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28774 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28775 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28777 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28781 to 2.4.0 where earlier.
28782 * sysdeps/unix/sysv/linux/configure: Regenerated.
28783 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
28792 [__ASSUME_32BITUIDS]: Make code unconditional.
28793 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28794 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28795 <kernel-features.h>.
28796 [__ASSUME_32BITUIDS]: Make code unconditional.
28797 [!__ASSUME_32BITUIDS]: Remove conditional code.
28798 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28799 <kernel-features.h>.
28800 [__ASSUME_32BITUIDS]: Make code unconditional.
28801 [!__ASSUME_32BITUIDS]: Remove conditional code.
28802 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28803 <kernel-features.h>.
28804 [__ASSUME_32BITUIDS]: Make code unconditional.
28805 [!__ASSUME_32BITUIDS]: Remove conditional code.
28806 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28807 <kernel-features.h>.
28808 [__ASSUME_32BITUIDS]: Make code unconditional.
28809 [!__ASSUME_32BITUIDS]: Remove conditional code.
28810 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28811 <kernel-features.h>.
28812 [__ASSUME_32BITUIDS]: Make code unconditional.
28813 [!__ASSUME_32BITUIDS]: Remove conditional code.
28814 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28815 <kernel-features.h>.
28816 [__ASSUME_32BITUIDS]: Make code unconditional.
28817 [!__ASSUME_32BITUIDS]: Remove conditional code.
28818 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28819 <kernel-features.h>.
28820 [__ASSUME_32BITUIDS]: Make code unconditional.
28821 [!__ASSUME_32BITUIDS]: Remove conditional code.
28822 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28823 <kernel-features.h>.
28824 [__ASSUME_32BITUIDS]: Make code unconditional.
28825 [!__ASSUME_32BITUIDS]: Remove conditional code.
28826 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28827 <kernel-features.h>.
28828 [__ASSUME_32BITUIDS]: Make code unconditional.
28829 [!__ASSUME_32BITUIDS]: Remove conditional code.
28830 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28831 <kernel-features.h>.
28832 [__ASSUME_32BITUIDS]: Make code unconditional.
28833 [!__ASSUME_32BITUIDS]: Remove conditional code.
28834 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28835 <kernel-features.h>.
28836 [__NR_setresgid] (__setresgid): Do not declare.
28837 [__ASSUME_32BITUIDS]: Make code unconditional.
28838 [!__ASSUME_32BITUIDS]: Remove conditional code.
28839 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28840 <kernel-features.h>.
28841 [__NR_setresuid] (__setresuid): Do not declare.
28842 [__ASSUME_32BITUIDS]: Make code unconditional.
28843 [!__ASSUME_32BITUIDS]: Remove conditional code.
28844 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28845 <kernel-features.h>.
28846 [__ASSUME_32BITUIDS]: Make code unconditional.
28847 [!__ASSUME_32BITUIDS]: Remove conditional code.
28848 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28849 <kernel-features.h>.
28850 [__ASSUME_32BITUIDS]: Make code unconditional.
28851 [!__ASSUME_32BITUIDS]: Remove conditional code.
28852 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28853 <kernel-features.h>.
28854 [__ASSUME_32BITUIDS]: Make code unconditional.
28855 [!__ASSUME_32BITUIDS]: Remove conditional code.
28856 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28857 <kernel-features.h>.
28858 [__ASSUME_32BITUIDS]: Make code unconditional.
28859 [!__ASSUME_32BITUIDS]: Remove conditional code.
28860 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28861 <kernel-features.h>.
28862 [__ASSUME_32BITUIDS]: Make code unconditional.
28863 [!__ASSUME_32BITUIDS]: Remove conditional code.
28864 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28865 <kernel-features.h>.
28866 [__ASSUME_32BITUIDS]: Make code unconditional.
28867 [!__ASSUME_32BITUIDS]: Remove conditional code.
28868 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28869 <kernel-features.h>.
28870 [__ASSUME_32BITUIDS]: Make code unconditional.
28871 [!__ASSUME_32BITUIDS]: Remove conditional code.
28872 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28873 <kernel-features.h>.
28874 [__ASSUME_32BITUIDS]: Make code unconditional.
28875 [!__ASSUME_32BITUIDS]: Remove conditional code.
28876 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28877 <kernel-features.h>.
28878 [__ASSUME_32BITUIDS]: Make code unconditional.
28879 [!__ASSUME_32BITUIDS]: Remove conditional code.
28880 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28881 <kernel-features.h>.
28882 [__ASSUME_32BITUIDS]: Make code unconditional.
28883 [!__ASSUME_32BITUIDS]: Remove conditional code.
28884 * sysdeps/unix/sysv/linux/kernel-features.h
28885 (__ASSUME_SETRESUID_SYSCALL): Remove.
28886 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28887 (__ASSUME_32BITUIDS): Likewise.
28888 (__ASSUME_LDT_WORKS): Likewise.
28889 (__ASSUME_O_DIRECTORY): Likewise.
28890 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28891 architecture but not kernel version.
28892 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28893 (__ASSUME_MMAP2_SYSCALL): Likewise.
28894 (__ASSUME_STAT64_SYSCALL): Likewise.
28895 (__ASSUME_IPC64): Likewise.
28896 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28897 <kernel-features.h>.
28898 [__ASSUME_32BITUIDS]: Make code unconditional.
28899 [!__ASSUME_32BITUIDS]: Remove conditional code.
28900 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28901 <kernel-features.h>.
28902 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28903 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28904 132096]: Remove conditional code.
28905 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28906 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28907 <kernel-features.h>.
28908 [__ASSUME_32BITUIDS]: Make code unconditional.
28909 [!__ASSUME_32BITUIDS]: Remove conditional code.
28910 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28911 <kernel-features.h>.
28912 [__ASSUME_32BITUIDS]: Make code unconditional.
28913 [!__ASSUME_32BITUIDS]: Remove conditional code.
28914 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28915 <kernel-features.h>.
28916 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28918 (__setresgid): Do not declare.
28919 [__ASSUME_32BITUIDS]: Make code unconditional.
28920 [!__ASSUME_32BITUIDS]: Remove conditional code.
28921 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28922 <kernel-features.h>.
28923 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28925 (__setresuid): Do not declare.
28926 [__ASSUME_32BITUIDS]: Make code unconditional.
28927 [!__ASSUME_32BITUIDS]: Remove conditional code.
28928 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28929 <kernel-features.h>.
28930 [__ASSUME_32BITUIDS]: Make code unconditional.
28931 [!__ASSUME_32BITUIDS]: Remove conditional code.
28932 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28933 <kernel-features.h>.
28934 [__ASSUME_32BITUIDS]: Make code unconditional.
28935 [!__ASSUME_32BITUIDS]: Remove conditional code.
28937 2012-05-25 Richard Henderson <rth@twiddle.net>
28939 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28940 dl_hwcap to ifunc resolver.
28941 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28943 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28944 dl_hwcap to ifunc resolver.
28945 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28947 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28950 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28951 for |x| <= 2**-26, not 2**-57.
28952 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28955 2012-05-24 Jeff Law <law@redhat.com>
28957 * stdio-common/Makefile (tests): Add bug25.
28958 * stdio-common/bug25.c: New test.
28960 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28963 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28964 multiple of MALLOC_ALIGNMENT in size.
28965 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28967 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28969 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28971 (FILENAME_MAX): Use macro-int-constant.
28972 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28973 (_IOFBF): Use macro-int-constant.
28974 (_IOLBF): Likewise.
28975 (_IONBF): Likewise.
28976 (SEEK_CUR): Likewise.
28977 (SEEK_END): Likewise.
28978 (SEEK_SET): Likewise.
28979 (TMP_MAX): Likewise.
28980 (EOF): Use macro-int-constant. Require < 0.
28981 (NULL): Use macro-constant. Require == 0.
28982 (stdin): Require type to be FILE *.
28983 (stdout): Likewise.
28984 (stderr): Likewise.
28985 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28986 macro-int-constant.
28987 (EXIT_SUCCESS): Likewise.
28988 (NULL): Use macro-constant. Require == 0.
28989 (RAND_MAX): Use macro-int-constant.
28990 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28991 [C99-based standards] (strtof): Require function.
28992 [C99-based standards] (strtold): Likewise.
28993 [C99-based standards] (strtoll): Likewise.
28994 [C99-based standards] (strtoull): Likewise.
28995 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28996 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28997 [ISO || ISO99 || ISO11] (math.h): Likewise.
28998 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28999 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29002 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29005 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29006 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29007 * intl/dgettext.c (DCGETTEXT): Likewise.
29008 * intl/gettext.c (DCGETTEXT): Likewise.
29009 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29010 * posix/regex_internal.h (gettext): Likewise.
29011 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29012 Remove declaration.
29013 * include/argz.h (__argz_count_internal)
29014 (__argz_stringify_internal): Remove declaration.
29015 (__argz_count, __argz_stringify): Declare hidden proto.
29016 * intl/dcgettext.c: Remove use of INTDEF.
29017 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29018 * string/argz-stringify.c: Likewise.
29019 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29020 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29021 Declare hidden proto.
29022 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29023 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29024 Declare hidden proto.
29025 * include/stdio.h (__asprintf_internal): Don't declare.
29026 (__asprintf): Don't define as macro. Declare hidden proto.
29027 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29028 (__fsetlocking): Declare hidden proto.
29029 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29030 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29032 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29033 (_IO_setlinebuf): Remove use of INTUSE.
29034 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29035 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29036 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29037 Remove declaration.
29038 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29039 (_IO_do_flush): Remove use of INTUSE.
29040 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29041 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29042 (_IO_adjust_column, _IO_least_wmarker)
29043 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29044 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29045 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29046 (_IO_default_doallocate, _IO_wdefault_doallocate)
29047 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29048 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29049 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29050 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29051 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29052 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29053 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29054 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29055 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29056 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29057 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29058 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29059 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29061 (_IO_flush_all_internal, _IO_adjust_column_internal)
29062 (_IO_default_uflow_internal, _IO_default_finish_internal)
29063 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29064 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29065 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29066 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29067 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29068 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29069 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29070 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29071 (_IO_file_close_internal, _IO_file_close_it_internal)
29072 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29073 (_IO_file_init_internal, _IO_file_attach_internal)
29074 (_IO_file_fopen_internal, _IO_file_read_internal)
29075 (_IO_file_sync_internal, _IO_file_seek_internal)
29076 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29077 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29078 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29079 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29080 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29081 (_IO_list_all_internal, _IO_link_in_internal)
29082 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29083 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29084 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29085 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29086 (_IO_do_write_internal, _IO_padn_internal)
29087 (_IO_getline_info_internal, _IO_getline_internal)
29088 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29089 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29090 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29091 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29092 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29093 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29094 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29095 with libc_hidden_ver, remove use of INTUSE.
29096 * libio/genops.c: Likewise.
29097 * libio/freopen.c: Likewise.
29098 * libio/freopen64.c: Likewise.
29099 * libio/iofclose.c: Likewise.
29100 * libio/iofdopen.c: Likewise.
29101 * libio/iofflush.c: Likewise.
29102 * libio/iofflush_u.c: Likewise.
29103 * libio/iofgets.c: Likewise.
29104 * libio/iofgets_u.c: Likewise.
29105 * libio/iofopen.c: Likewise.
29106 * libio/iofopncook.c: Likewise.
29107 * libio/iofread.c: Likewise.
29108 * libio/iofread_u.c: Likewise.
29109 * libio/ioftell.c: Likewise.
29110 * libio/iofwrite.c: Likewise.
29111 * libio/iogetline.c: Likewise.
29112 * libio/iogets.c: Likewise.
29113 * libio/iogetwline.c: Likewise.
29114 * libio/iopadn.c: Likewise.
29115 * libio/iopopen.c: Likewise.
29116 * libio/ioseekoff.c: Likewise.
29117 * libio/ioseekpos.c: Likewise.
29118 * libio/iosetbuffer.c: Likewise.
29119 * libio/iosetvbuf.c: Likewise.
29120 * libio/ioungetc.c: Likewise.
29121 * libio/ioungetwc.c: Likewise.
29122 * libio/iovdprintf.c: Likewise.
29123 * libio/iovsprintf.c: Likewise.
29124 * libio/iovsscanf.c: Likewise.
29125 * libio/memstream.c: Likewise.
29126 * libio/obprintf.c: Likewise.
29127 * libio/oldfileops.c: Likewise.
29128 * libio/oldiofclose.c: Likewise.
29129 * libio/oldiofdopen.c: Likewise.
29130 * libio/oldiofopen.c: Likewise.
29131 * libio/oldiopopen.c: Likewise.
29132 * libio/oldstdfiles.c: Likewise.
29133 * libio/putc.c: Likewise.
29134 * libio/setbuf.c: Likewise.
29135 * libio/setlinebuf.c: Likewise.
29136 * libio/stdfiles.c: Likewise.
29137 * libio/strops.c: Likewise.
29138 * libio/vasprintf.c: Likewise.
29139 * libio/vscanf.c: Likewise.
29140 * libio/vsnprintf.c: Likewise.
29141 * libio/vswprintf.c: Likewise.
29142 * libio/wfiledoalloc.c: Likewise.
29143 * libio/wfileops.c: Likewise.
29144 * libio/wgenops.c: Likewise.
29145 * libio/wmemstream.c: Likewise.
29146 * libio/wstrops.c: Likewise.
29147 * libio/__fpurge.c: Likewise.
29148 * libio/__fsetlocking.c: Likewise.
29149 * assert/assert.c: Likewise.
29150 * debug/fgets_chk.c: Likewise.
29151 * debug/fgets_u_chk.c: Likewise.
29152 * debug/fread_chk.c: Likewise.
29153 * debug/fread_u_chk.c: Likewise.
29154 * debug/gets_chk.c: Likewise.
29155 * debug/obprintf_chk.c: Likewise.
29156 * debug/vasprintf_chk.c: Likewise.
29157 * debug/vdprintf_chk.c: Likewise.
29158 * debug/vsnprintf_chk.c: Likewise.
29159 * debug/vsprintf_chk.c: Likewise.
29160 * malloc/mtrace.c: Likewise.
29161 * misc/error.c: Likewise.
29162 * misc/syslog.c: Likewise.
29163 * stdio-common/asprintf.c: Likewise.
29164 * stdio-common/fxprintf.c: Likewise.
29165 * stdio-common/getw.c: Likewise.
29166 * stdio-common/isoc99_fscanf.c: Likewise.
29167 * stdio-common/isoc99_scanf.c: Likewise.
29168 * stdio-common/isoc99_vfscanf.c: Likewise.
29169 * stdio-common/isoc99_vscanf.c: Likewise.
29170 * stdio-common/isoc99_vsscanf.c: Likewise.
29171 * stdio-common/printf-prs.c: Likewise.
29172 * stdio-common/printf_fp.c: Likewise.
29173 * stdio-common/printf_fphex.c: Likewise.
29174 * stdio-common/printf_size.c: Likewise.
29175 * stdio-common/putw.c: Likewise.
29176 * stdio-common/scanf.c: Likewise.
29177 * stdio-common/sprintf.c: Likewise.
29178 * stdio-common/tmpfile.c: Likewise.
29179 * stdio-common/vfprintf.c: Likewise.
29180 * stdio-common/vfscanf.c: Likewise.
29181 * stdlib/strfmon_l.c: Likewise.
29182 * sunrpc/openchild.c: Likewise.
29183 * sunrpc/xdr_stdio.c: Likewise.
29184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29185 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29187 2012-05-24 Roland McGrath <roland@hack.frob.com>
29189 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29191 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29192 in the third column, to generate for the shared library an IFUNC
29193 that uses _dl_vdso_vsym.
29194 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29195 * Makeconfig (object-suffixes-noshared): New variable.
29197 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29198 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29199 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29200 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29203 * include/sys/time.h (__gettimeofday): Remove macro.
29204 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29205 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29207 (__gettimeofday): Add libc_hidden_def.
29208 (gettimeofday): Add libc_hidden_weak.
29209 * sysdeps/mach/gettimeofday.c: Likewise.
29210 * sysdeps/posix/gettimeofday.c: Likewise.
29211 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29212 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29214 (__gettimeofday_internal): Remove strong_alias.
29215 (__gettimeofday): Add libc_hidden_def.
29216 (gettimeofday): Add libc_hidden_weak.
29217 * sysdeps/unix/syscalls.list (gettimeofday):
29218 Remove __gettimeofday_internal alias.
29220 2012-05-24 Daniel Jacobowitz <drow@false.org>
29221 H.J. Lu <hongjiu.lu@intel.com>
29224 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29225 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29226 (largebin_index_32_big): New.
29227 (largebin_index): Use it for 16-byte alignment.
29228 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29229 correction with front_misalign.
29231 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29259 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29260 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29262 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29266 * math/libm-test.inc (exp_test): Add test from bug 14036.
29267 (pow_test): Add test from bug 10846.
29269 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29271 (special_function): Do not include flags in test name.
29272 (parse_args): Likewise.
29273 * sysdeps/i386/fpu/libm-test-ulps: Update.
29274 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29275 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29276 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29279 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29281 * math/libm-test.inc ("Philosophy"): Update comment about
29283 (UNDERFLOW_EXCEPTION): New macro.
29284 (UNDERFLOW_EXCEPTION_OK): Likewise.
29285 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29286 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29287 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29288 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29289 (INVALID_EXCEPTION_OK): Update value.
29290 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29291 (OVERFLOW_EXCEPTION_OK): Likewise.
29292 (IGNORE_ZERO_INF_SIGN): Likewise.
29293 (test_exceptions): Handle underflow exceptions.
29294 (acos_test): Update for underflow exception expectations.
29295 (cexp_test): Likewise.
29296 (clog_test): Likewise.
29297 (clog10_test): Likewise.
29298 (csqrt_test): Likewise.
29299 (ctan_test): Likewise.
29300 (ctanh_test): Likewise.
29301 (exp_test): Likewise.
29302 (exp10_test): Likewise.
29303 (exp2_test): Likewise.
29304 (expm1_test): Likewise.
29305 (fma_test): Likewise.
29306 (j0_test): Likewise.
29307 (jn_test): Likewise.
29308 (nexttoward_test): Likewise.
29309 (pow_test): Likewise.
29310 (scalbn_test): Likewise.
29311 (scalbln_test): Likewise.
29312 (tan_test): Likewise.
29313 (y1_test): Likewise.
29314 * sysdeps/i386/fpu/libm-test-ulps: Update.
29315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317 2012-05-23 David S. Miller <davem@davemloft.net>
29319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29320 (__libc_sigaction): Remove unused local variables.
29322 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29326 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29328 mktime: avoid signed integer overflow
29329 * time/mktime.c (__mktime_internal): Do not mishandle the case
29330 where diff == INT_MIN.
29332 mktime: simplify computation of average
29333 * time/mktime.c (ranged_convert): Use new time_t_avg function
29334 instead of rolling our own (probably-slower) code.
29336 mktime: do not assume signed right shift propagates sign bit
29337 * time/mktime.c (isdst_differ): New static function.
29338 (__mktime_internal): No need to normalize tm_isdst now.
29339 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29342 mktime: merge another wrapv change from gnulib
29343 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29344 from some compilers.
29346 mktime: remove incorrect attempt at unusual arithmetics
29347 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29348 The code didn't really work on such machines anyway.
29349 (TYPE_MINIMUM): Assume two's complement.
29350 (twos_complement_arithmetic): Verify that long_int and time_t
29351 are two's complement (or unsigned, in the latter case).
29353 mktime: check signed shifts on long_int and time_t, too
29354 * time/mktime.c (SHR): Check that shifts work as desired
29355 on the types long_int and time_t too, as SHR is used on
29358 mktime: do not assume 'long' is wide enough
29359 * time/mktime.c (verify): Move decl up.
29360 (long_int): New type.
29361 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29362 to remove assumption in the code that 'long' is wide enough to
29363 store year values. This assumption is not true on x32 and on
29364 some non-glibc platforms.
29366 mktime: merge wrapv change from gnulib
29367 * time/mktime.c (WRAPV): New macro.
29368 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29369 (guess_time_tm, __mktime_internal): Do not assume that signed
29370 integer overflow wraps around; modern compilers generate code
29371 where this assumption is no longer valid.
29373 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29375 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29376 Replace "jmp L(pseudo_end)" with "ret".
29377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29380 2012-05-23 Andreas Jaeger <aj@suse.de>
29382 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29383 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29385 2012-05-23 Andreas Jaeger <aj@suse.de>
29386 Maximilian Attems <max@stro.at>
29388 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29391 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29393 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29394 code so that pseudo_end is just ret and the stack pointer is
29395 correct also for static library in error case.
29397 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29399 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29400 move to syscalls.list.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29406 * manual/install.texi (Running make install): Do not mention Linux
29407 kernel version for which pt_chown is not needed.
29408 (Linux): Do not mention problems with nscd with 2.0 kernels.
29409 * INSTALL: Regenerated.
29411 2012-05-23 Andreas Jaeger <aj@suse.de>
29413 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29414 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29416 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29418 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29420 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29422 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29423 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29424 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29425 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29426 * sysdeps/unix/sysv/linux/bits/in.h
29427 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29429 2012-05-22 Roland McGrath <roland@hack.frob.com>
29431 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29432 (PREPARE_VERSION): Just use assert instead, it will be elided
29433 under [NDEBUG] anyway.
29435 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29437 * sysdeps/unix/sysv/linux/Makefile: Include
29438 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29439 (sysdep_routines): Remove sysctl.
29440 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29441 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29442 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29443 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29444 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29446 2012-05-22 Andreas Jaeger <aj@suse.de>
29448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29449 that pseudo_end is just ret and the stack pointer is correct also
29450 for static library in error case.
29452 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29455 * nss/nsswitch.c (defconfig_entries): New variable.
29456 (__nss_database_lookup): Don't leak defconfig entries.
29457 (nss_parse_service_list): Don't leak on error paths.
29458 (free_database_entries): New function.
29459 (free_defconfig): New function.
29460 (free_mem): Move common code to free_database_entries.
29462 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29464 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29466 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29468 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29469 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29472 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29473 (INTERNAL_SYSCALL_TYPES): Likewise.
29474 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29475 (LOAD_REGS_TYPES_[1-6]): Likewise.
29476 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29477 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29479 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29482 copysignl for GLIBC_2_0.
29483 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29484 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29486 logbl for GLIBC_2_0.
29487 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29488 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29490 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29493 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29495 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29498 * time/mktime.c: Update copyright years.
29500 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29502 mktime: merge comment-quoting-style change from gnulib
29503 * time/mktime.c: Quote 'like this' in comments.
29504 The GNU coding standards suggest that we no longer quote `like this',
29505 as "`" and "'" are typically rendered asymmetrically nowadays.
29506 The typical gnulib style is to quote 'like this' when quoting
29507 code, and "like this" when quoting English.
29509 * time/mktime.c (compile-command): Add "-I.".
29511 mktime: merge mktime-internal.h change from gnulib
29512 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29514 mktime: merge time_r change from gnulib
29515 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29517 mktime: merge DEBUG change from gnulib
29518 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29519 case system <time.h> has a #define.
29521 mktime: merge <sys/types.h> change from gnulib
29522 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29523 since <time.t> is now guaranteed to define time_t.
29525 mktime: merge HAVE_CONFIG_H change from gnulib
29526 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29528 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29533 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29535 (struct rusage): Use anonymous union to pad each field to
29538 2012-05-21 David S. Miller <davem@davemloft.net>
29540 * Makefules (o-iterator): Remove .s cases.
29541 (compile-command.s): Delete.
29542 (COMPILE.s): Delete.
29543 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29545 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29547 * configure.in (libc_cv_predef_stack_protector): Only consider
29548 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29549 * configure: Regenerated.
29551 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29554 New macro. Use R*LP on int and pointer.
29555 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29556 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29557 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29560 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29561 [__WORDSIZE_TIME64_COMPAT32] instead of
29562 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29563 (struct utmp): Likewise.
29564 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29565 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29567 (__WORDSIZE_TIME64_COMPAT32): This.
29568 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29569 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29570 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29571 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29572 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29573 (__WORDSIZE_TIME64_COMPAT32): New macro.
29575 2012-05-21 Andreas Jaeger <aj@suse.de>
29577 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29578 only if [SHARED]. Add prototype for __wcschr_ia32.
29580 2012-05-21 Roland McGrath <roland@hack.frob.com>
29582 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29583 of %rbp unmolested in the jmp_buf while mangling the low bits.
29584 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29585 unmolested high bits of %rbp while demangling the low bits.
29586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29588 2012-05-21 Andreas Jaeger <aj@suse.de>
29590 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29591 * sunrpc/svc_simple.c: Use it for registerrpc.
29592 * sunrpc/xcrypt.c: Use it for passwd2des.
29594 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29596 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29598 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29599 Don't define if [__SYSCALL_WORDSIZE != 32].
29600 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29603 2012-05-21 Bruno Haible <bruno@clisp.org>
29604 Andreas Jaeger <aj@suse.de>
29606 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29607 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29608 inptr and inend for must_buffer_ch.
29609 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29610 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29611 * stdio-common/Makefile (tests): Remove bug15.
29612 (bug15-ENV): Remove macro.
29613 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29616 2012-05-19 Andreas Jaeger <aj@suse.de>
29617 Roland McGrath <roland@hack.frob.com>
29619 * manual/contrib.texi: Completely rewritten. It contains now an
29620 alphabetical list of contributors and their contributions.
29622 2012-05-21 Richard Henderson <rth@twiddle.net>
29624 * misc/getauxval.c (__getauxval): Use unsigned long int.
29625 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29626 (getauxval): Use unsigned long int.
29628 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29630 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29632 2012-05-21 Roland McGrath <roland@hack.frob.com>
29634 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29635 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29636 __alignof__ (long double).
29638 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29642 2012-05-20 Richard Henderson <rth@twiddle.net>
29644 * misc/getauxval.c: New file.
29645 * misc/sys/auxv.h: New file.
29646 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29647 (routines): Add getauxval.
29648 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29649 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29650 * elf/dl-sysdep.c (_dl_auxv): Remove.
29651 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29652 * elf/dl-support.c (_dl_auxv): New variable.
29653 (_dl_aux_init): Initialize it.
29654 * manual/startup.texi (Auxiliary Vector): New node.
29655 * sysdeps/generic/bits/hwcap.h: New file.
29656 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29657 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29658 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29659 * sysdeps/sparc/sysdep.h: ... here. Include it.
29660 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29661 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29673 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29677 2012-05-19 David S. Miller <davem@davemloft.net>
29679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29681 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29684 * math/s_ccosh.c: Include <float.h>
29685 (__ccosh): Avoid internal overflow calculating sinh and cosh
29686 values before multiplying by sin and cos values.
29687 * math/s_ccoshf.c: Likewise.
29688 * math/s_ccoshl.c: Likewise.
29689 * math/s_csin.c: Likewise.
29690 * math/s_csinf.c: Likewise.
29691 * math/s_csinl.c: Likewise.
29692 * math/s_csinh.c: Likewise.
29693 * math/s_csinhf.c: Likewise.
29694 * math/s_csinhl.c: Likewise.
29695 * math/libm-test.inc (ccos_test): Add more tests.
29696 (ccosh_test): Likewise.
29697 (csin_test): Likewise.
29698 (csinh_test): Likewise.
29699 * sysdeps/i386/fpu/libm-test-ulps: Update.
29700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29702 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29704 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29705 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29707 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29709 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29711 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29712 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29713 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29714 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29715 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29716 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29717 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29718 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29719 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29720 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29721 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29722 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29723 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29724 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29725 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29726 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29727 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29728 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29729 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29730 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29731 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29732 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29733 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29734 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29735 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29736 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29737 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29738 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29739 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29740 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29741 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29743 2012-05-18 Andreas Jaeger <aj@suse.de>
29745 * csu/.gitignore: Delete.
29747 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29749 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29750 (timex): Use __syscall_slong_t.
29752 2012-05-18 Andreas Jaeger <aj@suse.de>
29753 Carlos O'Donell <carlos_odonell@mentor.com>
29755 * manual/install.texi (Configuring and compiling): Update
29756 description about files modified in the source directory.
29757 * INSTALL: Regenerated.
29759 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29761 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29762 value. Use "or" to set return value to -1.
29763 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29764 negate return value.
29766 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29768 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29769 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29770 failure if the compiler has Graphite support disabled.
29771 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29773 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29774 (CFLAGS-memmove.c): Likewise.
29775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29778 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29780 * sysdeps/x86_64/x32/_itoa.h: New file.
29782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29783 getdents system call only if kernel and user dirents have the
29784 same d_ino and d_off.
29786 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29787 LLONG_MAX != LONG_MAX.
29788 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29789 (_fitoa_word): Likewise.
29791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29793 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29795 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29797 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29798 include <bits/wordsize.h>. Check __x86_64__ instead of
29800 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29801 if __x86_64__ is defined. Use anonymous union on fpstate.
29803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29806 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29808 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29809 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29810 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29811 Refer to _rtld_local_ro instead of _rtld_global_ro.
29812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29814 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29816 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29818 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29819 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29820 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29822 * sysdeps/powerpc/powerpc32/dl-machine.c
29823 (__elf_machine_runtime_setup) [PROF]: Don't reference
29826 2012-05-18 Andreas Jaeger <aj@suse.de>
29828 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29829 function only available for GCCs before 3.4 since GCC 3.4
29830 introduced a builtin.
29832 (llrintf): Likewise.
29833 (llrint): Likewise.
29840 (nearbyint): Likewise.
29841 (nearbyintf): Likewise.
29845 (floorf): Likewise.
29847 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29849 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29850 on both fields and cast pointer to __syscall_ulong_t.
29852 * bits/types.h (__fsword_t): New type.
29853 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29854 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29856 (__FSWORD_T_TYPE): Likewise.
29857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29858 (__FSWORD_T_TYPE): Likewise.
29859 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29860 (__FSWORD_T_TYPE): Likewise.
29861 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29862 (__FSWORD_T_TYPE): Likewise.
29863 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29864 __SWORD_TYPE with __fsword_t.
29865 (statfs64): Likewise.
29867 2012-05-17 David S. Miller <davem@davemloft.net>
29869 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29871 2012-05-17 Andreas Jaeger <aj@suse.de>
29873 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29876 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29878 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29880 2012-05-17 Andreas Jaeger <aj@suse.de>
29882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29885 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29887 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29889 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29891 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29892 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29894 2012-05-17 Andreas Jaeger <aj@suse.de>
29895 Carlos O'Donell <carlos_odonell@mentor.com>
29898 * sysdeps/x86_64/multiarch/init-arch.h
29899 (bit_YMM_Usable): Rename to...
29900 (bit_AVX_Usable): ... this.
29901 (bit_FMA4_Usable): New macro.
29902 (bit_XMM_state): New macro.
29903 (bit_YMM_state): New macro.
29904 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29905 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29906 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29907 (CPUID_OSXSAVE): New macro.
29908 (CPUID_AVX): New macro.
29909 (CPUID_FMA4): New macro.
29910 (index_YMM_Usable): Rename to...
29911 (index_AVX_Usable): ... this.
29912 (HAS_AVX): Use HAS_ARCH_FEATURE.
29913 (HAS_FMA4): Likewise.
29914 (HAS_YMM_USABLE): Remove.
29915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29916 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29918 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29919 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29920 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29921 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29922 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29924 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29926 * math/libm-test.c: Support platforms without multiple rounding modes.
29927 * math/bug-nextafter.c: Support platforms without FP exceptions.
29928 * math/bug-nexttoward.c: Likewise.
29929 * math/test-fenv.c: Likewise.
29930 * math/test-misc.c: Likewise.
29931 * stdlib/bug-getcontext.c: Likewise.
29933 2012-05-17 Andreas Jaeger <aj@suse.de>
29935 * manual/examples/search.c (critter_cmp): Change signature to
29937 * manual/string.texi (Collation Functions): Likewise.
29939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29941 * bits/types.h: Fold copyright years.
29942 * bits/typesizes.h: Likewise.
29943 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29947 * time/time.h: Likewise.
29949 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29952 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29953 in instead of returning them. Return void.
29954 (__libc_mallinfo): Accumulate over all arenas.
29955 (__malloc_stats): Adjust for change in int_mallinfo interface.
29957 2012-05-16 Roland McGrath <roland@hack.frob.com>
29960 * configure.in (NM): Add AC_CHECK_TOOL for it.
29961 (libc_extra_cflags): New substituted variable.
29962 Check for -fstack-protector being used implicitly.
29963 * configure: Regenerated.
29964 * config.make.in (config-extra-cflags): New variable,
29965 gets @libc_extra_cflags@.
29966 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29969 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29970 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29971 * configure: Regenerated.
29972 * config.make.in (CPPUNDEFS): New substituted variable.
29973 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29974 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29975 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29977 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29979 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29980 (mq_attr): Use __syscall_slong_t.
29982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29985 Check __x86_64__ instead of __WORDSIZE.
29986 (_STAT_VER_LINUX): Likewise.
29987 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29988 __syscall_ulong_t and __syscall_slong_t.
29989 (stat64): Likewise.
29991 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29997 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29999 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30001 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30004 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30005 include <bits/wordsize.h>. Check __x86_64__ instead of
30007 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30009 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30012 include <bits/wordsize.h>. Check __x86_64__ instead of
30014 (user_regs_struct): Use "__extension__ unsigned long long"
30015 instead of "unsigned long" if __x86_64__ is defined.
30016 (user): Likewise. Pad after pointer field if __ILP32__ is
30019 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30021 * configure.in (makeinfo): Require version 4.5 or later. Allow
30023 * configure: Regenerated.
30024 * manual/install.texi (texinfo): Increase version requirement to
30026 * INSTALL: Regenerated.
30028 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30030 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30032 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30034 * sysdeps/x86_64/x32/ffs.c: New file.
30036 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30038 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30039 defined. Use __syscall_ulong_t.
30040 (shminfo): Use __syscall_ulong_t.
30041 (shm_info): Likewise.
30043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30046 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30048 (msgqnum_t): Use __syscall_ulong_t.
30049 (msglen_t): Likewise.
30050 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30053 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30054 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30056 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30058 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30059 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30061 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30064 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30065 include <bits/wordsize.h>. Check __x86_64__ instead of
30068 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30069 "unsigned long long int" if __x86_64__ is defined.
30070 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30073 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30074 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30076 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30078 (GET_PC): Cast to uintptr_t first.
30079 (GET_FRAME): Likewise.
30080 (GET_STACK): Likewise.
30082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30085 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30087 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30089 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30090 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30100 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30102 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30112 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30114 * Makerules (+depfiles): Also collect depfiles from .oS in
30116 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30117 .oS, $(libnldbl-routines)).
30119 * Makerules (native-compile-mkdep-flags): Define.
30120 * sunrpc/Makefile (extra-objs): Add $(addprefix
30121 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30122 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30123 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30124 calling $(make-target-directory).
30126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30128 * bits/types.h (__snseconds_t): Removed.
30129 * time/time.h (struct timespec): Replace __snseconds_t with
30131 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30132 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30135 (__SNSECONDS_T_TYPE): Likewise.
30136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30137 (__SNSECONDS_T_TYPE): Likewise.
30138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30139 (__SNSECONDS_T_TYPE): Likewise.
30141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30143 * sysdeps/mach/hurd/bits/typesizes.h
30144 (__SYSCALL_SLONG_TYPE): New macro.
30145 (__SYSCALL_ULONG_TYPE): Likewise.
30147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30149 * bits/types.h (__syscall_slong_t): New type.
30150 (__syscall_ulong_t): Likewise.
30152 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30153 (__SYSCALL_ULONG_TYPE): Likewise.
30154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30155 (__SYSCALL_SLONG_TYPE): Likewise.
30156 (__SYSCALL_ULONG_TYPE): Likewise.
30157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30158 (__SYSCALL_SLONG_TYPE): Likewise.
30159 (__SYSCALL_ULONG_TYPE): Likewise.
30160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30161 (__SYSCALL_SLONG_TYPE): Likewise.
30162 (__SYSCALL_ULONG_TYPE): Likewise.
30164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30166 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30167 Add sigaltstack-offsets.sym.
30168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30169 <sigaltstack-offsets.h>.
30170 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30171 longjmp_msg pointer.
30172 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30173 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30175 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30177 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30179 * elf/stackguard-macros.h: Remove file.
30180 * sysdeps/generic/stackguard-macros.h: New file.
30181 * sysdeps/i386/stackguard-macros.h: Likewise.
30182 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30183 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30184 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30185 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30186 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30187 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30188 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30189 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30190 <elf/stackguard-macros.h>.
30193 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30194 __aligned__ in attribute.
30195 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30196 (gregset_t): Likewise.
30198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30200 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30201 * sysdeps/x86_64/64/Implies-after: Here. New file.
30202 * sysdeps/x86_64/x32/Implies-after: New file.
30204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30206 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30207 and access return value for _dl_profile_fixup. Use R10_LP to
30210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30212 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30216 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30217 * sysdeps/x86_64/x32/sysdep.h: New file.
30219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30221 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30222 * sysdeps/x86_64/setjmp.S: Likewise.
30224 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30227 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30228 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30230 remove unused global constant.
30232 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30234 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30235 include of <not-cancel.h>.
30237 2012-05-15 Roland McGrath <roland@hack.frob.com>
30239 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30241 2012-05-15 Jeff Law <law@redhat.com>
30242 Andreas Jaeger <aj@suse.de>
30245 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30247 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30248 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30249 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30250 code changing __hst_map_handle.map.
30252 2012-05-15 Roland McGrath <roland@hack.frob.com>
30254 * configure.in (sysnames): Look for Implies-before and Implies-after
30256 * configure: Regenerated.
30258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30260 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30261 8-byte data alignment with LP_SIZE alignment.
30263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30278 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30282 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30283 (stackinfo_sub_sp): Likewise.
30285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30297 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30302 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30306 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30307 into R11_LP and load __x86_64_shared_cache_size_half into
30310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30315 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30324 powerpc32/power7/fpu/s_logb.c via #include.
30325 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30326 powerpc32/power7/fpu/s_logbf.c via #include.
30327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30328 powerpc32/power7/fpu/s_logbl.c via #include.
30330 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30332 * README.libm: Remove file.
30334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30337 count for x32. Use R*_LP and omit operand-size suffix.
30339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30341 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30342 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30343 * sysdeps/x86_64/x32/shlib-versions: New file.
30345 2012-05-14 Roland McGrath <roland@hack.frob.com>
30347 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30348 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30349 Use _dl_fatal_printf instead.
30351 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30353 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30354 set if not set by the user. Do not allow for being unset.
30355 * sysdeps/unix/sysv/linux/configure: Regenerated.
30357 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30359 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30360 the `q' suffix from lea and replace .quad with ASM_ADDR.
30362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30365 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30367 (PTR_DEMANGLE): Likewise.
30369 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30373 (ASM_ADDR): Likewise.
30374 (RAX_LP): Likewise.
30375 (RBP_LP): Likewise.
30376 (RBX_LP): Likewise.
30377 (RCX_LP): Likewise.
30378 (RDI_LP): Likewise.
30379 (RSI_LP): Likewise.
30380 (RSP_LP): Likewise.
30383 (R10_LP): Likewise.
30384 (R10_LP): Likewise.
30385 (R11_LP): Likewise.
30386 (R12_LP): Likewise.
30387 (R13_LP): Likewise.
30388 (R14_LP): Likewise.
30389 (R15_LP): Likewise.
30391 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30393 * sysdeps/x86_64/x32/dl-machine.h: New file.
30395 2012-05-14 Andreas Jaeger <aj@suse.de>
30397 * manual/Makefile (subdir): Remove export of subdir.
30398 (all): Remove target.
30399 (.PHONY): Remove all from list.
30400 (mkinstalldirs): Remove.
30401 (.PHONY): Remove installdirs from list.
30402 ($(inst_infodir)/libc.info): Use make-target-directory.
30403 (installdirs): Remove.
30404 (subdir_%): Remove.
30405 (glibc-targets): Remove.
30408 ($(objpfx)stubs ../po/manual.pot): Remove.
30409 ($(objpfx)stamp%): Remove.
30410 (make-target-directory): Remove.
30411 (subdir_install): Remove.
30412 (routines): Remove.
30419 * manual/.gitignore: Remove, it's not needed anymore.
30420 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30422 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30424 (texis): Renamed to $(objpfx)texis.
30425 (texis-path): New, contains path to generated files.
30426 (chapters.%): Use texis-path for complete path, add extra argument
30428 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30429 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30430 (summary,texi, stamp-summary): Use complete path of
30431 files. Generate files in build dir.
30432 (dir-add.texi): Build in build dir.
30433 (libm-err.texi,stamp-libm-err): Likewise.
30434 (version.texi, stamp-version): Likewise.
30435 (.%c.texi): Likewise.
30436 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30437 (mostlyclean): Remove target.
30438 (realclean): Remove target.
30439 (generated): Add new variable with contents from mostlyclean and
30440 realclean, remove entries duplicated in common-mostlyclean, add
30441 stamp-libm-err and stamp-version.
30442 (generated-dirs): Add libc directory.
30443 ($(inst_infodir)/libc.info): Install files from build dir.
30445 * manual/install.texi (Configuring and compiling): Adjust since
30446 the info files are not part of the tar ball anymore.
30448 2012-05-14 Andreas Jaeger <aj@suse.de>
30450 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30453 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30456 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30457 to 2.2.0 where earlier.
30458 * sysdeps/unix/sysv/linux/configure: Regenerated.
30459 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30460 Remove conditional code.
30461 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30462 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30463 Remove conditional code.
30464 [!__NR_lchown]: Likewise.
30465 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30466 [__NR_lchown]: Likewise.
30467 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30468 comment referencing __ASSUME_LCHOWN_SYSCALL.
30469 * sysdeps/unix/sysv/linux/i386/sigaction.c
30470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30473 Remove conditional code.
30474 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30475 (__protocol_available): Remove #if 0 code.
30476 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30478 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30479 * sysdeps/unix/sysv/linux/kernel-features.h
30480 (__ASSUME_GETCWD_SYSCALL): Don't define.
30481 (__ASSUME_REALTIME_SIGNALS): Likewise.
30482 (__ASSUME_PREAD_SYSCALL): Likewise.
30483 (__ASSUME_PWRITE_SYSCALL): Likewise.
30484 (__ASSUME_POLL_SYSCALL): Likewise.
30485 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30486 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30488 (__ASSUME_SIOCGIFNAME): Don't define.
30489 (__ASSUME_MSG_NOSIGNAL): Likewise.
30490 (__ASSUME_SENDFILE): Define unconditionally.
30491 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30492 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30494 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30495 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30496 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30497 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30498 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30499 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30500 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30505 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30517 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30523 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30525 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30526 Remove conditional code.
30527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30528 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30529 Remove conditional code.
30530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30531 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30532 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30533 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30534 Remove conditional code.
30535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30536 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30537 Remove conditional code.
30538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30539 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30540 Remove conditional code.
30541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30542 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30543 Remove conditional code.
30544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30545 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30546 Remove conditional code.
30547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30548 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30549 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30551 * sysdeps/unix/sysv/linux/sigaction.c
30552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30554 * sysdeps/unix/sysv/linux/sigpending.c
30555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30557 * sysdeps/unix/sysv/linux/sigprocmask.c
30558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30560 * sysdeps/unix/sysv/linux/sigsuspend.c
30561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30563 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30564 (__libc_missing_rt_sigs): Remove.
30565 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30566 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30567 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30568 Remove conditional code.
30569 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30570 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30572 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30573 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30574 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30575 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30577 2012-05-14 Andreas Jaeger <aj@suse.de>
30579 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30580 it's not used in glibc.
30581 (__coshm1): Likewise.
30582 (__acosh1p): Likewise.
30585 * manual/string.texi (Copying and Concatenation): Add missing
30586 variable in concat example.
30587 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30589 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30593 __builtin_clzl with __builtin_clzll.
30595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30598 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30601 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30603 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30604 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30605 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30606 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30608 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30610 * NEWS: Update ia64 info.
30612 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30614 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30617 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30619 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30620 * sysdeps/unix/syscalls.list (dup3): Likewise.
30621 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30622 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30624 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30626 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30627 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30629 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30631 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30633 (TLS_IE): Use mov/add instead of movq/addq to load thread
30635 (TLS_GD_PREFIX): New.
30638 2012-05-11 David S. Miller <davem@davemloft.net>
30640 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30641 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30642 (_FPU_SETCW): Likewise.
30644 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30647 is 32-byte aligned.
30649 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30652 * iconvdata/gb18030.c: Update tables.
30653 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30654 characters specially.
30655 (BODY for TO_LOOP): Add encoding of missing ranges.
30657 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30660 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30661 * sysdeps/mach/hurd/dup3.c: Likewise.
30662 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30663 * sysdeps/powerpc/memmove.c:: Likewise.
30665 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30668 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30670 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30672 * elf/elf.h (R_X86_64_RELATIVE64): New.
30673 (R_X86_64_NUM): Updated.
30674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30675 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30676 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30677 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30678 tst-quad1pie tst-quad2pie
30679 (modules-names): Add tst-quadmod1 tst-quadmod2.
30680 ($(objpfx)tst-quad1): New dependency.
30681 ($(objpfx)tst-quad2): Likewise.
30682 ($(objpfx)tst-quad1pie): Likewise.
30683 ($(objpfx)tst-quad2pie): Likewise.
30684 * sysdeps/x86_64/tst-quad1.c: New file.
30685 * sysdeps/x86_64/tst-quad1pie.c: New file.
30686 * sysdeps/x86_64/tst-quad2.c: Likewise.
30687 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30688 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30689 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30690 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30691 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30695 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30696 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30697 * streams/stropts.h (t_scalar_t): Define type.
30699 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30700 (_PATH_PRESERVE): Set to "/var/lib".
30701 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30703 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30706 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30707 if __dir_mkfile succeeded.
30709 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30710 checking for _hurd_dtablesize. Unlock it right after having
30711 finished _hurd_dtable allocation.
30713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30715 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30716 * sysdeps/mach/hurd/configure: Regenerated.
30717 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30718 special-casing to...
30719 * sysdeps/gnu/configure.in: ... this new file.
30720 * sysdeps/unix/sysv/linux/configure: Regenerated.
30721 * sysdeps/gnu/configure: New generated file.
30723 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30724 for Linux: use nsec instead of usec, as well as:
30725 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30726 members of type struct timespec.
30727 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30729 (struct stat64): Likewise.
30730 (_STATBUF_ST_NSEC): New macro.
30731 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30733 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30734 __strtoul_internal rather than strtoul.
30736 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30738 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30743 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30744 which preserves existing values.
30745 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30747 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30749 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30750 TIMEOUT values. Return EINVAL for NFDS values either negative or
30751 greater than FD_SETSIZE.
30753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30755 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30756 allocated, call __vm_protect to finish enabling the existing space, and
30757 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30758 allocate the remainder.
30760 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30762 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30763 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30767 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30768 sysdeps/mach/hurd/readlink.c.
30770 * posix/tst-sysconf.c (posix_options): Only use
30771 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30772 _POSIX_SYNCHRONIZED_IO when they are defined
30773 * sysdeps/mach/hurd/bits/posix_opt.h:
30774 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30775 (_XOPEN_REALTIME): Undefine macro.
30776 (_XOPEN_REALTIME_THREADS): Undefine macro.
30777 (_XOPEN_SHM): Undefine macro.
30778 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30780 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30782 (_POSIX_ASYNC_IO): Undefine macro.
30783 (_POSIX_PRIORITIZED_IO): Undefine macro.
30784 (_POSIX_SPIN_LOCKS): Define macro to -1.
30786 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30787 SA_NODEFER, SA_RESETHAND.
30788 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30789 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30794 * elf/Makefile (pldd-modules): Define unconditionally.
30796 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30798 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30802 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30803 Return ENOENT when name is empty.
30804 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30808 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30810 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30814 Fix mlock in all cases except non-readable pages.
30815 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30816 instead of VM_PROT_ALL as parameter to __vm_wire function.
30818 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30819 (__mkdir): When path is `/', just fail with EEXIST.
30820 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30824 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30825 <sys/uio.h> (for writev).
30826 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30827 and <sys/param.h> (for MIN).
30829 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30831 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30832 REQUESTED_TIME. Properly set the remaining time and return EINTR
30835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30837 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30838 Depend on against $(link-rpcuserlibs).
30840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30842 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30843 (__libc_stack_end): Do not use attribute_relro.
30844 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30845 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30846 to libthread-provided value.
30847 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30853 * bits/libc-lock.h (__libc_once_get): New macro.
30854 * sysdeps/mach/bits/libc-lock.h: Likewise.
30855 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30856 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30857 instead of using implementation details.
30859 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30860 * libio/freopen.c: Likewise.
30861 * libio/freopen64.c: Likewise.
30862 * misc/syslog.c: Likewise.
30863 * nscd/connections.c: Likewise.
30864 * nscd/netgroupcache.c: Likewise.
30865 * sysdeps/posix/getcwd.c: Likewise.
30867 2012-05-10 Roland McGrath <roland@hack.frob.com>
30869 * math/w_ilogbf.c: Add #include <limits.h>.
30871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30873 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30874 path instead of returning without unlocking.
30876 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30877 immediate-write ioctls.
30878 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30880 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30882 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30883 __builtin_frame_address instead of making assumptions about the
30884 location of the return address relative to DATA. Force early load of
30885 the return address.
30886 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30887 __builtin_frame_address.
30890 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30891 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30892 implement dup3 and do some further code clean-ups.
30893 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30894 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30898 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30900 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30901 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30902 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30903 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30904 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30907 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30908 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30909 when handler == SIG_ERR, not when handler != SIG_ERR.
30911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30913 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30914 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30917 accept4 for GNU Hurd.
30918 * include/sys/socket.h (__libc_accept4): New prototype.
30919 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30920 to implement __libc_accept4.
30921 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30923 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30925 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30926 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30927 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30928 signal-defines.sym.
30930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30932 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30936 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30937 assertion on O_CLOEXEC flag.
30938 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30939 * hurd/intern-fd.c: Likewise.
30940 * hurd/port2fd.c: Likewise.
30942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30945 * bits/in.h (IPV6_PKTINFO): Define new macro.
30946 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30948 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30953 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30954 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30955 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30956 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30958 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30959 * math/libm-test.inc (logb_test) : Additional logb tests.
30961 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30962 Andreas Jaeger <aj@suse.de>
30964 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30965 * configure: Regenerated.
30966 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30967 * config.make.in (link-obsolete-rpc): New substituted variable.
30968 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30969 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30970 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30971 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30972 so that libc.a contains the symbols.
30973 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30974 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30975 * sunrpc/auth_none.c: Likewise.
30976 * sunrpc/auth_unix.c: Likewise.
30977 * sunrpc/authdes_prot.c: Likewise.
30978 * sunrpc/authuxprot.c: Likewise.
30979 * sunrpc/clnt_gen.c: Likewise.
30980 * sunrpc/clnt_perr.c: Likewise.
30981 * sunrpc/clnt_raw.c: Likewise.
30982 * sunrpc/clnt_simp.c: Likewise.
30983 * sunrpc/clnt_tcp.c: Likewise.
30984 * sunrpc/clnt_udp.c: Likewise.
30985 * sunrpc/clnt_unix.c: Likewise.
30986 * sunrpc/des_crypt.c: Likewise.
30987 * sunrpc/des_soft.c: Likewise.
30988 * sunrpc/get_myaddr.c: Likewise.
30989 * sunrpc/key_call.c: Likewise.
30990 * sunrpc/key_prot.c: Likewise.
30991 * sunrpc/netname.c: Likewise.
30992 * sunrpc/pm_getmaps.c: Likewise.
30993 * sunrpc/pm_getport.c: Likewise.
30994 * sunrpc/pmap_clnt.c: Likewise.
30995 * sunrpc/pmap_prot.c: Likewise.
30996 * sunrpc/pmap_prot2.c: Likewise.
30997 * sunrpc/pmap_rmt.c: Likewise.
30998 * sunrpc/publickey.c: Likewise.
30999 * sunrpc/rpc_cmsg.c: Likewise.
31000 * sunrpc/rpc_common.c: Likewise.
31001 * sunrpc/rpc_dtable.c: Likewise.
31002 * sunrpc/rpc_prot.c: Likewise.
31003 * sunrpc/rpc_thread.c: Likewise.
31004 * sunrpc/rtime.c: Likewise.
31005 * sunrpc/svc.c: Likewise.
31006 * sunrpc/svc_auth.c: Likewise.
31007 * sunrpc/svc_raw.c: Likewise.
31008 * sunrpc/svc_run.c: Likewise.
31009 * sunrpc/svc_tcp.c: Likewise.
31010 * sunrpc/svc_udp.c: Likewise.
31011 * sunrpc/svc_unix.c: Likewise.
31012 * sunrpc/svcauth_des.c: Likewise.
31013 * sunrpc/xcrypt.c: Likewise.
31014 * sunrpc/xdr.c: Likewise.
31015 * sunrpc/xdr_array.c: Likewise.
31016 * sunrpc/xdr_float.c: Likewise.
31017 * sunrpc/xdr_intXX_t.c: Likewise.
31018 * sunrpc/xdr_mem.c: Likewise.
31019 * sunrpc/xdr_rec.c: Likewise.
31020 * sunrpc/xdr_ref.c: Likewise.
31021 * sunrpc/xdr_sizeof.c: Likewise.
31022 * sunrpc/xdr_stdio.c: Likewise.
31024 2012-05-10 Roland McGrath <roland@hack.frob.com>
31026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31027 change. Update copyright years.
31029 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31031 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31033 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31034 Joseph Myers <joseph@codesourcery.com>
31035 Paul Pluzhnikov <ppluzhnikov@google.com>
31038 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31040 [cross-compiling] (extra-libs): Likewise.
31041 [cross-compiling] (extra-libs-others): Likewise.
31042 [cross-compiling] (librpcsvc-routines): Likewise.
31043 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31044 [cross-compiling] (omit-deps): Likewise.
31045 (sunrpc-CPPFLAGS): New variable.
31046 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31047 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31048 (cross-rpcgen-objs): New variable.
31049 (extra-objs): Append $(cross-rpcgen-objs).
31050 ($(cross-rpcgen-objs)): New rule.
31051 ($(objpfx)cross-rpcgen): Likewise.
31052 (rpcgen-cmd): Define to use $(built-program-file). Expand
31054 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31055 ($(objpfx)x%.stmp): Likewise.
31056 * sunrpc/proto.h [IS_IN_build] (_): Define.
31057 [IS_IN_build] (_libc_intl_domainname): Likewise.
31059 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31062 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31063 and R_X86_64_TPOFF64.
31065 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31067 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31068 sysdeps/unix/sysv/syscalls.list.
31071 * sysdeps/unix/sysv/syscalls.list: Remove file.
31073 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31076 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31077 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31078 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31079 (__LC_IDENTIFICATION): Make these macros useful in #if
31080 expressions, as required by C99.
31082 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31084 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31085 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31088 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31090 * stdlib/longlong.h: Updated from GCC.
31092 2012-05-09 Andreas Jaeger <aj@suse.de>
31094 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31095 default is first entry.
31096 (run_mode): Set type.
31097 (main): Remove informal message about syslog.
31098 (options): Fix typo.
31101 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31104 (llrintf): Likewise.
31105 (llrint): Likewise.
31108 (nearbyint): Likewise.
31109 (nearbyintf): Likewise.
31111 2012-05-09 Andreas Jaeger <aj@suse.de>
31112 Pedro Alves <palves@redhat.com>
31114 * nscd/nscd.c (run_mode): Use enum.
31115 (main): Cleanup coding style issue.
31117 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31118 Andreas Jaeger <aj@suse.de>
31120 * nscd/nscd.c (go_background): Replaced with...
31121 (run_mode): ... this.
31122 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31123 (options): Add -F --foreground.
31124 (main): Implement it.
31125 (parse_opt): Parse it.
31127 2012-05-09 Andreas Jaeger <aj@suse.de>
31130 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31131 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31132 -Wconversion warning.
31133 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31136 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31138 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31140 (LC_ALL): Use macro-int-constant.
31141 (LC_COLLATE): Likewise.
31142 (LC_CTYPE): Likewise.
31143 (LC_MESSAGES): Likewise.
31144 (LC_MONETARY): Likewise.
31145 (LC_NUMERIC): Likewise.
31146 (LC_TIME): Likewise.
31147 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31148 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31150 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31152 [C99-based standards] (float_t): Expect type.
31153 [C99-based standards] (double_t): Expect type.
31154 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31156 [C99-based standards] (HUGE_VALL): Likewise.
31157 [C99-based standards] (INFINITY): Likewise.
31158 [C99-based standards] (NAN): Likewise.
31159 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31160 [C99-based standards] (FP_NAN): Likewise.
31161 [C99-based standards] (FP_NORMAL): Likewise.
31162 [C99-based standards] (FP_SUBNORMAL): Likewise.
31163 [C99-based standards] (FP_ZERO): Likewise.
31164 [C99-based standards] (FP_FAST_FMA): Use
31165 optional-macro-int-constant. Specify type. Require == 1.
31166 [C99-based standards] (FP_FAST_FMAF): Likewise.
31167 [C99-based standards] (FP_FAST_FMAL): Likewise.
31168 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31169 [C99-based standards] (FP_ILOGBNAN): Likewise.
31170 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31172 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31173 [C99-based standards] (math_errhandling): Specify type.
31174 [ISO99 || ISO11] (signgam): Do not allow.
31175 [non-C99-based standards] (copysignf): Do not allow.
31176 [non-C99-based standards] (exp2f): Likewise.
31177 [non-C99-based standards] (log2f): Likewise.
31178 [non-C99-based standards] (modff): Allow.
31179 [non-C99-based standards] (erff): Do not allow.
31180 [non-C99-based standards] (erfcf): Likewise.
31181 [non-C99-based standards] (gammaf): Likewise.
31182 [non-C99-based standards] (hypotf): Likewise.
31183 [non-C99-based standards] (j0f): Likewise.
31184 [non-C99-based standards] (j1f): Likewise.
31185 [non-C99-based standards] (jnf): Likewise.
31186 [non-C99-based standards] (lgammaf): Likewise.
31187 [non-C99-based standards] (tgammaf): Likewise.
31188 [non-C99-based standards] (y0f): Likewise.
31189 [non-C99-based standards] (y1f): Likewise.
31190 [non-C99-based standards] (ynf): Likewise.
31191 [non-C99-based standards] (isnanf): Likewise.
31192 [non-C99-based standards] (acoshf): Likewise.
31193 [non-C99-based standards] (asinhf): Likewise.
31194 [non-C99-based standards] (atanhf): Likewise.
31195 [non-C99-based standards] (cbrtf): Likewise.
31196 [non-C99-based standards] (expm1f): Likewise.
31197 [non-C99-based standards] (ilogbf): Likewise.
31198 [non-C99-based standards] (log1pf): Likewise.
31199 [non-C99-based standards] (logbf): Likewise.
31200 [non-C99-based standards] (nextafterf): Likewise.
31201 [non-C99-based standards] (remainderf): Likewise.
31202 [non-C99-based standards] (rintf): Likewise.
31203 [non-C99-based standards] (scalbf): Likewise.
31204 [non-C99-based standards] (copysignl): Likewise.
31205 [non-C99-based standards] (exp2l): Likewise.
31206 [non-C99-based standards] (log2l): Likewise.
31207 [non-C99-based standards] (modfl): Allow.
31208 [non-C99-based standards] (erfl): Do not allow.
31209 [non-C99-based standards] (erfcl): Likewise.
31210 [non-C99-based standards] (gammal): Likewise.
31211 [non-C99-based standards] (hypotl): Likewise.
31212 [non-C99-based standards] (j0l): Likewise.
31213 [non-C99-based standards] (j1l): Likewise.
31214 [non-C99-based standards] (jnl): Likewise.
31215 [non-C99-based standards] (lgammal): Likewise.
31216 [non-C99-based standards] (tgammal): Likewise.
31217 [non-C99-based standards] (y0l): Likewise.
31218 [non-C99-based standards] (y1l): Likewise.
31219 [non-C99-based standards] (ynl): Likewise.
31220 [non-C99-based standards] (isnanl): Likewise.
31221 [non-C99-based standards] (acoshl): Likewise.
31222 [non-C99-based standards] (asinhl): Likewise.
31223 [non-C99-based standards] (atanhl): Likewise.
31224 [non-C99-based standards] (cbrtl): Likewise.
31225 [non-C99-based standards] (expm1l): Likewise.
31226 [non-C99-based standards] (ilogbl): Likewise.
31227 [non-C99-based standards] (log1pl): Likewise.
31228 [non-C99-based standards] (logbl): Likewise.
31229 [non-C99-based standards] (nextafterl): Likewise.
31230 [non-C99-based standards] (remainderl): Likewise.
31231 [non-C99-based standards] (rintl): Likewise.
31232 [non-C99-based standards] (scalbl): Likewise.
31233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31234 [non-C99-based standards] (FP_*): Do not allow.
31235 [C99-based standards] (FP_*): Change to
31236 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31237 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31239 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31240 (SIG_ERR): Likewise.
31241 [X/Open-based standards] (SIG_HOLD): Likewise.
31242 (SIG_IGN): Likewise.
31243 (SIGABRT): Use macro-int-constant. Specify type. Require
31245 (SIGFPE): Likewise.
31246 (SIGILL): Likewise.
31247 (SIGINT): Likewise.
31248 (SIGSEGV): Likewise.
31249 (SIGTER): Likewise.
31250 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31251 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31252 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31253 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31254 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31255 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31256 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31257 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31258 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31259 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31260 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31261 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31262 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31263 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31264 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31265 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31266 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31267 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31268 [X/Open-based standards] (SIGTRAP): Likewise.
31269 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31270 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31271 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31272 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31273 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31276 2012-05-08 Ian Wienand <ianw@vmware.com>
31279 * time/tzset.c (__tzset_parse_tz): Update default rules for
31280 daylight time changes in the Energy Policy Act of 2005.
31282 2012-05-09 Andreas Jaeger <aj@suse.de>
31285 * elf/ldconfig.c (parse_conf): Change string to make clear that
31286 ldconfig only issued a warning if ld.so.conf does not exist.
31288 2012-05-08 David S. Miller <davem@davemloft.net>
31290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31291 movxtod instead of popping the value on the stack.
31293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31295 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31297 * config.h.in: Add HAVE_ARM_PCS_VFP.
31299 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31302 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31303 checking but the checks are disabled for any reason.
31305 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31307 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31308 and ELF64_R_TYPE with ELFW(R_TYPE).
31310 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31312 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31313 (ulimit): Likewise.
31315 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31316 (settimeofday): Likewise.
31318 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31320 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31321 a struct th_u2 inside the union, and move tu_block/tu_code into
31322 a new th_u3 union of tu_block/tu_code inside of that. Move
31323 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31324 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31325 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31326 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31327 (th_stuff): Change to th_u1.tu_stuff.
31329 (th_msg): Change to th_u1.th_u2.tu_data.
31331 2012-05-07 David S. Miller <davem@davemloft.net>
31333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31336 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31337 (SETUP_PIC_REG): Use it.
31338 (SETUP_PIC_REG_LEAF): Use it.
31340 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31344 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31346 (EXPL_FINITE): Likewise.
31347 (FLDLOG): Likewise.
31348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31349 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31353 (EXPL_FINITE): Likewise.
31354 (FLDLOG): Likewise.
31355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31356 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31358 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31359 test of -max_value argument for long double.
31360 * sysdeps/i386/fpu/libm-test-ulps: Update.
31361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31363 2012-05-06 David S. Miller <davem@davemloft.net>
31365 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31366 quad soft-float symbols whose references which are compiler
31368 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31370 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31376 (EXPL_FINITE): Likewise.
31377 (FLDLOG): Likewise.
31380 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31381 Adjust comments for base varying.
31382 (__expl_finite): Change alias to EXPL_FINITE.
31383 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31385 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31386 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31387 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31388 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31389 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31391 (EXPL_FINITE): Likewise.
31392 (FLDLOG): Likewise.
31395 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31396 Adjust comments for base varying.
31397 (__expl_finite): Change alias to EXPL_FINITE.
31398 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31403 * math/libm-test.inc (check_float_internal): Correct ulp
31404 calculation for subnormal expected results.
31406 2012-05-06 Andreas Jaeger <aj@suse.de>
31408 * Makeconfig (+math-flags): New, set to -frounding-math.
31409 (+cflags): Add +math-flags so that all of glibc gets compiled with
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31414 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31416 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31422 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31423 (__ieee754_expl): Allow for and saturate large arguments.
31424 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31425 (u_threshold): Likewise.
31426 (__exp): Call __ieee754_exp before checking for overflow and
31428 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31429 (u_threshold): Likewise.
31430 (__expf): Call __ieee754_expf before checking for overflow and
31432 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31433 (u_threshold): Likewise.
31434 (__expl): Call __ieee754_expl before checking for overflow and
31436 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31437 (__ieee754_expl): Allow for and saturate large arguments.
31438 * math/libm-test.inc (exp_test): Add another test. Do not allow
31439 missing overflow exception on overflow.
31440 (expm1_test): Do not allow missing overflow exception on overflow.
31442 * sysdeps/i386/fpu/e_expl.c: Move to ...
31443 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31444 rather than using inline asm.
31445 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31446 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31447 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31449 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31452 (signal): Likewise.
31456 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31458 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31459 sysdeps/unix/common/syscalls.list.
31460 (fchmod): Likewise.
31461 (fchown): Likewise.
31462 (ftruncate): Likewise.
31463 (getrusage): Likewise.
31464 (gettimeofday): Likewise.
31465 (setpgid): Likewise.
31466 (setregid): Likewise.
31467 (setreuid): Likewise.
31468 (sigaction): Likewise.
31469 (truncate): Likewise.
31470 (vhangup): Likewise.
31471 * sysdeps/unix/common/syscalls.list: Remove file.
31472 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31473 * sysdeps/unix/sysv/linux/Implies: Likewise.
31475 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31477 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31479 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31483 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31486 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31489 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31492 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31495 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31498 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31501 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31505 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31509 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31512 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31516 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31520 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31522 * sysdeps/unix/common/bits/dirent.h: Remove file.
31523 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31525 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31526 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31527 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31528 * sysdeps/unix/bsd/isatty.c: Likewise.
31529 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31530 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31531 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31533 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31537 long double comparison inaccuracies.
31538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31541 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31543 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31546 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31549 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31550 nonzero digits before rounding a hex value.
31551 * stdlib/tst-strtod.c (tests): Add another test.
31553 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31555 * sysdeps/s390/fpu/libm-test-ulps: Update.
31557 2012-05-03 Andreas Jaeger <aj@suse.de>
31559 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31560 does not get optimized out.
31561 (malloc_opt_barrier): New.
31563 2012-05-03 Andreas Jaeger <aj@suse.de>
31564 Roland McGrath <roland@hack.frob.com>
31566 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31567 intermediate file deletion.
31568 (generated): Add .symlist files.
31570 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31573 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31574 Redirect under this condition.
31575 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31576 [__USE_GNU] (__dprintf_chk): Not under this condition.
31577 [__USE_GNU] (__vdprintf_chk): Likewise.
31578 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31579 under this condition.
31580 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31581 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31582 [__USE_XOPEN2K8] (vdprintf): Likewise.
31583 [__USE_GNU] (__dprintf_chk): Not under this condition.
31584 [__USE_GNU] (__vdprintf_chk): Likewise.
31585 [__USE_GNU] (dprintf): Likewise.
31586 [__USE_GNU] (vdprintf): Likewise.
31588 2012-05-03 Roland McGrath <roland@hack.frob.com>
31590 * elf/Makefile (common-generated): Set this instead of generated for
31591 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31592 $(all-built-dso)-derived lists.
31594 2012-05-03 Andreas Jaeger <aj@suse.de>
31596 * sysdeps/i386/fpu/libm-test-ulps: Update.
31599 * FAQ.in: Likewise.
31600 * scripts/gen-FAQ.pl: Likewise.
31601 * manual/install.texi (Installation): Point to online location of
31603 * Makefile (files-for-dist): Remove FAQ.
31606 2012-05-02 Allan McRae <allan@archlinux.org>
31608 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31609 (LDFLAGS-reldepmod5.so): Likewise.
31610 (LDFLAGS-reldep6mod1.so): Likewise.
31611 (LDFLAGS-reldep6mod4.so): Likewise.
31612 (LDFLAGS-reldep8mod3.so): Likewise.
31613 (LDFLAGS-unload4mod1.so): Likewise.
31614 (LDFLAGS-unload4mod2.so): Likewise.
31615 (LDFLAGS-tst-initorder): Likewise.
31616 (LDFLAGS-tst-initordera2.so): Likewise.
31617 (LDFLAGS-tst-initordera3.so): Likewise.
31618 (LDFLAGS-tst-initordera4.so): Likewise.
31619 (LDFLAGS-tst-initorderb2.so): Likewise.
31620 (LDFLAGS-noload): Likewise.
31621 (LDFLAGS-next): Likewise.
31622 (LDFLAGS-order2mod1.so): Likewise.
31623 (LDFLAGS-order2mod2.so): Likewise.
31624 (LDFLAGS-tst-initorder2): Likewise.
31625 (LDFLAGS-tst-initorder2a.so): Likewise.
31626 (LDFLAGS-tst-initorder2b.so): Likewise.
31627 (LDFLAGS-tst-initorder2c.so): Likewise.
31628 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31630 2012-05-02 David S. Miller <davem@davemloft.net>
31632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31634 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31637 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31639 2012-05-02 Andreas Jaeger <aj@suse.de>
31641 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31642 since we manipulate rounding mode.
31643 (CPPFLAGS-test-idouble.c): Likewise.
31644 (CPPFLAGS-test-ifloat.c): Likewise.
31645 (CFLAGS-test-ldouble.c): Likewise.
31646 (CFLAGS-test-double.c): Likewise.
31647 (CFLAGS-test-float.c): Likewise.
31648 (CFLAGS-test-misc.c): Likewise.
31649 (CFLAGS-test-test-fenv.c): Likewise.
31651 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31656 comparisons to determine direction to adjust input.
31658 2012-05-01 Roland McGrath <roland@hack.frob.com>
31660 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31661 output to the target.
31663 * scripts/localplt.awk: New file.
31664 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31665 (check-localplt-CFLAGS): Variable removed.
31666 ($(all-built-dso:=.jmprel)): New static pattern rule.
31667 (generated): Add those targets.
31668 (localplt-built-dso): New variable.
31669 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31671 * elf/check-localplt.c: File removed.
31673 * scripts/check-execstack.awk: New file.
31674 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31675 (check-execstack-CFLAGS): Variable removed.
31676 ($(objpfx)check-execstack.h): Target removed.
31677 ($(objpfx)execstack-default): New target.
31678 (generated): Add that instead of check-execstack.h.
31679 ($(all-built-dso:=.phdr)): New static pattern rule.
31680 (generated): Add those targets.
31681 * elf/check-execstack.c: File removed.
31683 * scripts/check-textrel.awk: New file.
31684 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31685 (check-textrel-CFLAGS): Variable removed.
31686 (all-built-dso): Use := to define.o
31687 ($(all-built-dso:=.dyn)): New static pattern rule.
31688 (generated): Add those targets.
31689 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31690 * config.make.in (READELF): New substituted variable.
31691 * elf/check-textrel.c: File removed.
31693 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31695 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31697 * conform/data/ctype.h-data [C99-based standards] (isblank):
31699 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31700 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31702 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31703 Specify type. Require positive value.
31704 (EILSEQ): Likewise.
31705 (ERANGE): Likewise.
31706 [ISO || POSIX] (EILSEQ): Do not expect.
31707 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31708 Specify type. Require positive value.
31709 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31719 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31720 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31721 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31722 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31724 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31725 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31726 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31727 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31728 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31729 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31730 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31731 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31732 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31733 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31734 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31735 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31736 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31737 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31738 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31739 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31740 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31741 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31742 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31743 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31744 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31746 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31747 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31748 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31749 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31750 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31751 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31752 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31753 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31754 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31755 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31756 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31757 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31758 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31762 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31763 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31764 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31765 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31766 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31767 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31768 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31769 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31770 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31771 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31772 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31780 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31781 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31782 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31783 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31784 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31785 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31787 (FLT_ROUNDS): Expect as macro, not constant.
31788 (FLT_MANT_DIG): Use macro-int-constant.
31789 (DBL_MANT_DIG): Likewise.
31790 (LDBL_MANT_DIG): Likewise.
31791 (FLT_DIG): Likewise.
31792 (DBL_DIG): Likewise.
31793 (LDBL_DIG): Likewise.
31794 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31795 (DBL_MIN_EXP): Likewise.
31796 (LDBL_MIN_EXP): Likewise.
31797 (FLT_MAX_EXP): Use macro-int-constant.
31798 (DBL_MAX_EXP): Likewise.
31799 (LDBL_MAX_EXP): Likewise.
31800 (FLT_MAX_10_EXP): Likewise.
31801 (DBL_MAX_10_EXP): Likewise.
31802 (LDBL_MAX_10_EXP): Likewise.
31803 (FLT_MAX): Use macro-constant.
31804 (DBL_MAX): Likewise.
31805 (LDBL_MAX): Likewise.
31806 (FLT_EPSILON): Use macro-constant. Give upper bound.
31807 (DBL_EPSILON): Likewise.
31808 (LDBL_EPSILON): Likewise.
31809 (FLT_MIN): Likewise.
31810 (DBL_MIN): Likewise.
31811 (LDBL_MIN): Likewise.
31812 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31813 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31814 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31815 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31816 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31817 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31818 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31819 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31820 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31821 [ISO11] (FLT_TRUE_MIN): Likewise.
31822 [ISO11] (LDBL_TRUE_MIN): Likewise.
31823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31824 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31825 (SCHAR_MIN): Use macro-int-constant. Specify type.
31826 (SCHAR_MAX): Likewise.
31827 (UCHAR_MAX): Likewise.
31828 (CHAR_MIN): Likewise.
31829 (CHAR_MAX): Likewise.
31830 (MB_LEN_MAX): Use macro-int-constant.
31831 (SHRT_MIN): Use macro-int-constant. Specify type.
31832 (SHRT_MAX): Likewise.
31833 (USHRT_MAX): Likewise.
31834 (INT_MAX): Likewise.
31835 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31837 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31839 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31841 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31842 bound negative. Suffix upper bound with "L".
31843 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31845 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31847 [C99-based standards] (LLONG_MAX): Likewise.
31848 [C99-based standards] (ULLONG_MAX): Likewise.
31849 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31851 [ISO11] (max_align_t): Require type.
31852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31854 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31855 from $CFLAGS, without defining away __attribute__ calls.
31856 (checknamespace): Use $CFLAGS_namespace.
31858 * conform/conformtest.pl (@keywords): Only include C99 keywords
31859 for standards based on C99 or C11.
31861 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31863 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31866 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31867 usability of symbols in #if.
31869 * conform/conformtest.pl: If macro or constant types start
31870 "promoted:", expect the symbol to be of the following type
31871 promoted by the integer promotions.
31873 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31874 in one place. Also handle "macro-constant".
31876 * conform/conformtest.pl: Only accept expected macro values with
31877 "==". Parse all "macro" lines in one place.
31878 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31880 * conform/conformtest.pl: Handle braced types on "constant" lines
31881 instead of handling "typed-constant".
31882 * conform/data/signal.h-data: Use "constant" instead of
31885 * conform/conformtest.pl: Handle "optional-" at start of lines in
31886 one place rather than duplicating several cases. Handle each
31887 format of "macro" line with initial "optional-".
31889 * conform/conformtest.pl: Only accept expected constant or
31890 optional-constant values with "==". Parse all "constant" lines in
31891 one place. Parse all "optional-constant" lines in one place.
31892 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31893 * conform/data/fmtmsg.h-data: Likewise.
31894 * conform/data/netinet/in.h-data: Likewise.
31895 * conform/data/tar.h-data: Likewise.
31896 * conform/data/limits.h-data: Use "==" form on "constant" and
31897 "optional-constant" lines.
31899 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31900 Use -std=c99 for XOPEN2K.
31901 (@knownproblems): Remove.
31902 (newtoken): Don't check %isknown.
31904 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31905 Do not expect macro.
31906 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31907 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31908 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31909 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31910 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31911 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31912 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31913 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31914 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31915 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31916 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31917 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31918 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31919 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31920 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31921 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31922 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31923 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31924 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31925 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31926 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31929 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31930 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31931 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31932 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31933 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31934 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31935 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31936 [XPG3] (acosh): Likewise.
31937 [XPG3] (asinh): Likewise.
31938 [XPG3] (atanh): Likewise.
31939 [XPG3] (cbrt): Likewise.
31940 [XPG3] (expm1): Likewise.
31941 [XPG3] (ilogb): Likewise.
31942 [XPG3] (log1p): Likewise.
31943 [XPG3] (logb): Likewise.
31944 [XPG3] (nextafter): Likewise.
31945 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31946 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31947 [XPG3] (remainder): Likewise.
31948 [XPG3] (rint): Likewise.
31949 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31950 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31951 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31952 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31953 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31954 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31955 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31956 [UNIX98 || XOPEN2K] (scalb): Expect.
31957 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31958 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31959 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31960 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31961 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31962 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31963 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31964 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31965 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31966 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31967 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31968 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31969 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31985 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31991 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32007 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32095 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32096 _XOPEN_SOURCE_EXTENDED for XPG4.
32098 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32100 * Makeconfig (localtime): Remove variable.
32101 (inst_localtime-file): Likewise.
32103 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32124 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32128 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32129 comparisons to determine direction to adjust input.
32130 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32131 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32132 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32134 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32138 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32139 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32141 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32143 * math/libm-test.inc (nexttoward_test): Add more tests.
32145 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32149 in version GLIBC_2.1, not GLIBC_2.0.
32150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32153 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32156 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32158 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32159 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32160 * math/libm-test.inc (acos_test): Add more tests.
32161 (asin_test): Likewise.
32162 * sysdeps/i386/fpu/libm-test-ulps: Update.
32163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32166 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32168 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32169 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32170 * math/libm-test.inc (acos_test_tonearest): New function.
32171 (acos_test_towardzero): Likewise.
32172 (acos_test_downward): Likewise.
32173 (acos_test_upward): Likewise.
32174 (asin_test_tonearest): Likewise.
32175 (asin_test_towardzero): Likewise.
32176 (asin_test_downward): Likewise.
32177 (asin_test_upward): Likewise.
32178 (main): Call the new functions.
32179 * sysdeps/i386/fpu/libm-test-ulps: Update.
32180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32184 * math/e_exp10.c: Include <float.h>.
32185 (__ieee754_exp10): Handle underflow here rather than multiplying
32186 large negative argument by M_LN10.
32187 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32189 * math/e_exp10l.c: Include <float.h>.
32190 (__ieee754_exp10l): Handle underflow here rather than multiplying
32191 large negative argument by M_LN10l.
32192 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32193 spurious overflow exception on underflow.
32195 2012-04-29 Marek Polacek <polacek@redhat.com>
32197 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32198 (__fortify_function): New macro.
32199 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32200 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32201 __extern_always_inline.
32202 * libio/bits/stdio2.h: Likewise.
32203 * libio/bits/stdio.h: Likewise.
32204 * string/string.h: Likewise.
32205 * string/bits/string3.h: Likewise.
32206 * include/stdio.h: Likewise.
32207 * stdlib/bits/stdlib.h: Likewise.
32208 * stdlib/stdlib.h: Likewise.
32209 * rt/bits/mqueue2.h: Likewise.
32210 * rt/mqueue.h: Likewise.
32211 * posix/bits/unistd.h: Likewise.
32212 * posix/unistd.h: Likewise.
32213 * io/bits/poll2.h: Likewise.
32214 * io/bits/fcntl2.h: Likewise.
32215 * io/fcntl.h: Likewise.
32216 * io/sys/poll.h: Likewise.
32217 * misc/bits/syslog.h: Likewise.
32218 * misc/bits/syslog-ldbl.h: Likewise.
32219 * misc/sys/syslog.h: Likewise.
32220 * socket/bits/socket2.h: Likewise.
32221 * socket/sys/socket.h: Likewise.
32222 * debug/tst-chk1.c: Likewise.
32223 * wcsmbs/bits/wchar2.h: Likewise.
32224 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32225 * wcsmbs/wchar.h: Likewise.
32227 2012-04-29 Andreas Jaeger <aj@suse.de>
32229 * Makerules (tests): Remove enable-check-abi protection.
32230 (check-abi-warn): Remove.
32231 (check-abi-%): Remove check-abi-warn usage.
32233 * configure.in: Remove check-abi configure option.
32234 * configure: Regenerated.
32235 * config.make.in (enable-check-abi): Remove.
32237 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32240 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32241 double functions to double *_finite functions.
32244 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32245 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32247 * stdio-common/Makefile (tests): Add tst-sprintf3.
32248 * stdio-common/tst-sprintf3.c: New file.
32250 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32251 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32253 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32255 * conform/conformtest.pl: Remove duplicate typed-constant
32258 2012-04-28 David S. Miller <davem@davemloft.net>
32260 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32261 (check-abi-%): Remove AWK script prerequisite and explicit
32263 (check-abi): Rewrite to just diff the symlist with the abilist.
32264 (config-tls, config-abi-config): Delete, no longer used.
32265 (update-abi-%): Remove AWK script and explicit abilist directory.
32266 (update-abi): Rewrite to simply compare and conditionally copy the
32267 symlist and the sysdep abilist file. Remove update-abi-config
32269 * abilist/ld.abilist: Remove.
32270 * abilist/libBrokenLocale.abilist: Remove.
32271 * abilist/libanl.abilist: Remove.
32272 * abilist/libcrypt.abilist: Remove.
32273 * abilist/libdl.abilist: Remove.
32274 * abilist/librt.abilist: Remove.
32275 * abilist/libthread_db.abilist: Remove.
32276 * abilist/libutil.abilist: Remove.
32277 * scripts/extract-abilist.awk: Remove.
32278 * scripts/merge-abilist.awk: Remove.
32279 * sysdeps/generic/libcidn.abilist: New file.
32280 * sysdeps/generic/libnss_compat.abilist: New file.
32281 * sysdeps/generic/libnss_db.abilist: New file.
32282 * sysdeps/generic/libnss_dns.abilist: New file.
32283 * sysdeps/generic/libnss_files.abilist: New file.
32284 * sysdeps/generic/libnss_hesiod.abilist: New file.
32285 * sysdeps/generic/libnss_nis.abilist: New file.
32286 * sysdeps/generic/libnss_nisplus.abilist: New file.
32287 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32288 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32289 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32291 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32292 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32293 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32294 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32295 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32296 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32297 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32298 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32299 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32301 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32302 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32303 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32304 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32306 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32307 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32308 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32309 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32310 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32311 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32313 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32314 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32315 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32317 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32420 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32421 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32422 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32425 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32426 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32427 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32428 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32429 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32430 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32431 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32432 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32433 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32485 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32487 * conform/conformtest.pl: Fix typo in handling typed-constant from
32490 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32492 * README: Cut down references to pre-2.6 Linux kernels and
32493 Linuxthreads. Update lists of configurations in libc and ports
32494 and sort alphabetically. Say "or newer" with Linux kernel version
32497 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32499 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32502 * math/libm-test.inc (logb_test_downward): New test to expose
32503 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32506 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32509 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32511 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32512 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32514 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32516 * sysdeps/unix/i386/brk.S: Remove file.
32517 * sysdeps/unix/i386/dl-brk.S: Likewise.
32518 * sysdeps/unix/i386/pipe.S: Likewise.
32519 * sysdeps/unix/i386/sigreturn.S: Likewise.
32520 * sysdeps/unix/i386/syscall.S: Likewise.
32521 * sysdeps/unix/i386/vfork.S: Likewise.
32522 * sysdeps/unix/i386/wait.S: Likewise.
32524 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32525 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32527 * configure.in (arm*-none*): Do not allow without
32528 --enable-hacker-mode.
32529 (netbsd*): Remove case setting base_os.
32530 (386bsd*): Likewise.
32531 (freebsd*): Likewise.
32534 (sunos*): Likewise.
32535 (ultrix*): Likewise.
32536 (newsos*): Likewise.
32537 (dynix*): Likewise.
32543 (minix*): Likewise.
32544 (irix4*): Likewise.
32545 (irix6*): Likewise.
32546 (solaris[2-9]*): Likewise.
32548 * configure: Regenerated.
32550 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32554 overflow or cancellation in calculating denominator.
32555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32557 down expression to avoid unexpected rounding in newer GCCs.
32558 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32560 2012-04-26 David S. Miller <davem@davemloft.net>
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32563 long-double compat symbols.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32578 2012-04-25 David S. Miller <davem@davemloft.net>
32580 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32581 HWCAP_* values only after the memory barriers have been defined.
32582 (atomic_full_barrier): Define.
32583 (atomic_read_barrier): Define.
32584 (atomic_write_barrier): Define.
32586 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32588 * shlib-versions: Add libgcc_s version information.
32589 * sysdeps/generic/libgcc_s.h: Remove.
32590 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32592 * sysdeps/gnu/unwind-resume.c: Likewise.
32593 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32595 2012-04-25 David S. Miller <davem@davemloft.net>
32597 * sysdeps/unix/sparc/brk.S: Delete.
32598 * sysdeps/unix/sparc/dl-brk.S: Delete.
32599 * sysdeps/unix/sparc/pipe.S: Delete.
32600 * sysdeps/unix/sparc/sysdep.S: Delete.
32601 * sysdeps/unix/sparc/sysdep.h: Delete.
32602 * sysdeps/unix/sparc/vfork.S: Delete.
32603 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32604 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32606 (ret_ERRVAL, r0, r1, MOVE): Define.
32607 (JUMPTARGET): Remove.
32608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32609 sysdeps/unix/sparc/sysdep.h
32610 (ENTRY, END): Remove.
32611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32613 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32615 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32616 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32619 * timezone/README: Update upstream location and email address for
32621 * timezone/zdump.c: Update from tzcode 2012b.
32622 * timezone/zic.c: Likewise.
32624 * configure.in (libc_cv_as_needed): Remove test.
32625 * configure: Regenerated.
32626 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32627 conditional definition.
32628 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32629 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32630 * config.make.in (have-as-needed): Remove variable.
32632 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32633 Paul Pluzhnikov <ppluzhnikov@google.com>
32635 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32638 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32640 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32641 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32642 * sysdeps/sh/strlen.S: Likewise.
32644 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32646 * sysdeps/unix/fork.S: Remove file.
32647 * sysdeps/unix/i386/fork.S: Likewise.
32648 * sysdeps/unix/sparc/fork.S: Likewise.
32650 * sysdeps/unix/system.c: Remove file.
32651 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32653 * sysdeps/unix/getegid.S: Remove file.
32654 * sysdeps/unix/geteuid.S: Likewise.
32656 2012-04-24 Roland McGrath <roland@hack.frob.com>
32658 * scripts/check-localplt.awk: New file.
32659 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32661 * scripts/data/localplt-generic.data: Add a comment.
32663 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32664 NODE when __dir_mkfile failed.
32665 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32666 Reported by Ludovic Courtès <ludo@gnu.org>.
32668 2012-04-24 Andreas Jaeger <aj@suse.de>
32670 * Makerules (common-clean): Also remove gen-as-const-headers
32673 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32675 * Makerules (native-compile): Do not change working directory for
32676 build. Use $(OUTPUT_OPTION) in command.
32677 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32679 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32682 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32683 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32684 * math/libm-test.inc (floor_test): Add more tests.
32685 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32687 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32689 * sysdeps/unix/getdents.c: Remove file.
32690 * sysdeps/unix/sysv/getdents.c: Likewise.
32691 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32693 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32694 sysdeps/unix/mman/syscalls.list.
32696 (mprotect): Likewise.
32698 (munmap): Likewise.
32699 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32700 * sysdeps/unix/mman/syscalls.list: Remove.
32701 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32703 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32704 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32705 * configure: Regenerated.
32706 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32707 $(libgcc_s_suffix).
32708 * config.make.in (libgcc_s_suffix): Remove variable.
32710 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32712 * sysdeps/unix/sysv/gethostname.c: Move to ...
32713 * sysdeps/posix/gethostname.c: ... here.
32715 * sysdeps/unix/execve.S: Remove file.
32717 * sysdeps/unix/_exit.S: Remove file.
32719 2012-04-23 Andreas Jaeger <aj@suse.de>
32722 * manual/Makefile: Remove make dist support, there's no
32723 need for a stand-alone documentation tar ball.
32724 (TEXI2DVI): Define always, it's not in Makeconfig.
32727 (edition): Removed.
32728 (glibc-doc-$(edition).tar): Removed
32732 (ETAGS): Remove, it's in Makeconfig.
32733 (move-if-change): Remove, it's in Makeconfig.
32735 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32738 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32739 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32740 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32741 (strtod_l, strtof_l, strtold_l): Remove __wur.
32742 It is not necessarily an error to ignore strtol's return value.
32743 One can reliably look at the stored endptr to decide whether
32744 the number had valid syntax.
32746 2012-04-21 Andreas Jaeger <aj@suse.de>
32749 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32751 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32753 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32754 * sysdeps/unix/sysv/Versions: Remove file.
32756 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32761 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32765 version from __vm86.
32767 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32769 * sysdeps/unix/common/lxstat.c: Remove file.
32770 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32772 * sysdeps/unix/sysv/Makefile: Remove file.
32774 * sysdeps/unix/sysv/direct.h: Remove file.
32776 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32777 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32778 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32779 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32780 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32781 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32782 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32784 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32786 * sysdeps/unix/xmknod.c: Remove file.
32787 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32789 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32791 * sysdeps/unix/sysv/i386/time.S: Remove file.
32793 * sysdeps/unix/fxstat.c: Remove file.
32794 * sysdeps/unix/xstat.c: Likewise.
32795 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32797 * sysdeps/unix/sysv/sigaction.c: Remove file.
32799 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32800 (sysdep_headers): Remove variable.
32801 [termio.h not in sysdep_headers] (generated): Likewise.
32802 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32803 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32804 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32805 * sysdeps/unix/sysv/tcflow.c: Likewise.
32806 * sysdeps/unix/sysv/tcflush.c: Likewise.
32807 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32808 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32809 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32810 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32811 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32813 * sysdeps/unix/siglist.c: Remove file.
32815 * sysdeps/unix/getppid.S: Remove file.
32817 * sysdeps/unix/mkdir.c: Remove file.
32818 * sysdeps/unix/rmdir.c: Likewise.
32820 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32822 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32824 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32825 errlist-compat value.
32827 2012-04-18 David S. Miller <davem@davemloft.net>
32829 * sysdeps/generic/memcopy.h (reg_char): Delete.
32830 * debug/strcat_chk.c: Use char, not reg_char.
32831 * debug/strcpy_chk.c: Likewise.
32832 * debug/strncat_chk.c: Likewise.
32833 * debug/strncpy_chk.c: Likewise.
32834 * string/memchr.c: Likewise.
32835 * string/memrchr.c: Likewise.
32836 * string/rawmemchr.c: Likewise.
32837 * string/strcat.c: Likewise.
32838 * string/strchr.c: Likewise.
32839 * string/strchrnul.c: Likewise.
32840 * string/strcmp.c: Likewise.
32841 * string/strcpy.c: Likewise.
32842 * string/strncat.c: Likewise.
32843 * string/strncmp.c: Likewise.
32844 * string/strncpy.c: Likewise.
32846 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32848 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32849 __builtin_memcopy is called when src and dest ranges are known to not
32852 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32854 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32855 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32856 fwd_align_merge macro call.
32857 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32858 bwd_align_merge macro call.
32859 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32861 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32863 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32864 bwd_align_merge macros.
32865 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32866 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32869 2012-04-18 David S. Miller <davem@davemloft.net>
32871 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32873 2012-04-18 Andreas Jaeger <aj@suse.de>
32876 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32877 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32880 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32881 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32882 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32884 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32885 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32886 Adjust for changed ldbl-128 files.
32888 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32889 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32890 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32892 2012-04-17 David S. Miller <davem@davemloft.net>
32894 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32896 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32898 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32899 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32900 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32901 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32902 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32903 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32905 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32908 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32909 * math/libm-test.inc: Add ilogb errno and exception tests.
32910 * math/w_ilogb.c: New file: ilogb wrapper.
32911 * math/w_ilogbf.c: New file: ilogbf wrapper.
32912 * math/w_ilogbl.c: New file: ilogbl wrapper.
32913 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32914 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32915 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32916 exception being thrown with 0.0 as argument.
32917 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32918 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32919 exception being thrown with 0.0 as argument.
32920 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32921 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32922 exception being thrown with 0.0 as argument.
32923 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32924 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32925 exception being thrown with 0.0 as argument.
32926 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32927 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32928 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32929 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32931 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32932 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32933 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32934 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32936 2012-04-17 Petr Baudis <pasky@ucw.cz>
32938 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32941 2012-04-16 Marek Polacek <polacek@redhat.com>
32943 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32945 2012-04-16 Marek Polacek <polacek@redhat.com>
32947 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32948 operands of fdivp instruction.
32950 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32952 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32953 * elf/tst-auditmod3b.c: Likewise.
32954 * elf/tst-auditmod4b.c: Likewise.
32955 * elf/tst-auditmod5b.c: Likewise.
32956 * elf/tst-auditmod6b.c: Likewise.
32957 * elf/tst-auditmod6c.c: Likewise.
32958 * elf/tst-auditmod7b.c: Likewise.
32959 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32960 * sysdeps/x86_64/preconfigure.in: Likewise.
32961 * sysdeps/x86_64/preconfigure: Regenerated.
32963 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32965 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32968 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32971 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32973 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32976 * locale/iso-639.def: Fix gl language name. Spotted by
32979 2012-04-12 Roland McGrath <roland@hack.frob.com>
32982 * libio/libio.h (__io_write_fn): Update comment.
32984 2012-04-12 Petr Baudis <pasky@ucw.cz>
32987 * stdio.texi (Hook Functions): The user provided writer function
32988 is not allowed to return -1.
32990 2012-04-11 David S. Miller <davem@davemloft.net>
32992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32994 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32996 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32997 Add a leading slash to rtkaio.
32999 2012-04-11 Jim Meyering <meyering@redhat.com>
33002 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33003 It is not necessarily an error to ignore fwrite's return
33004 value. One can reliably use ferror to test for errors after
33007 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33009 * bits/types.h (__snseconds_t): New type.
33010 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33012 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33014 (__SNSECONDS_T_TYPE): Likewise.
33015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33016 (__SNSECONDS_T_TYPE): Likewise.
33017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33018 (__SNSECONDS_T_TYPE): Likewise.
33020 2012-04-10 Andreas Jaeger <aj@suse.de>
33023 * manual/time.texi (Processor Time): Return type of times is
33024 elapsed real time since an arbitrary point in the past.
33025 (CPU Time): Move CLK_TCK from here...
33026 (Processor Time): ...to here. Correct description.
33027 * manual/conf.texi (Constants for Sysconf): Correct description of
33030 2012-04-10 David S. Miller <davem@davemloft.net>
33033 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33034 where the is a gap between DT_REL(A) and DT_JMPREL.
33036 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33039 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33040 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33042 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33045 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33046 (dl_main): Handle --inhibit-cache.
33047 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33049 * elf/dl-load.c (_dl_map_object): Use it.
33050 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33052 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33055 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33056 (__ieee754_powl): Saturate large exponents rather than testing for
33057 overflow of y*log2(x).
33058 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33059 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33063 * math/s_ctan.c: Include <float.h>.
33064 (__ctan): Avoid internal overflow or cancellation in calculating
33066 * math/s_ctanf.c: Likewise.
33067 * math/s_ctanl.c: Likewise.
33068 * math/s_ctanh.c: Likewise.
33069 * math/s_ctanhf.c: Likewise.
33070 * math/s_ctanhl.c: Likewise.
33071 * math/libm-test.inc (ctan_test): Add more tests.
33072 (ctanh_test): Likewise.
33073 * sysdeps/i386/fpu/libm-test-ulps: Update.
33074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33076 2012-04-09 Andreas Jaeger <aj@suse.de>
33079 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33080 is an optional BSD extension.
33083 * manual/stdio.texi (Opening Streams): Document additional fopen
33086 2012-04-09 Roland McGrath <roland@hack.frob.com>
33088 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33089 %eax without telling the compiler.
33091 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33094 * manual/install.texi: Use sourceware.org.
33096 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33099 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33100 (__ieee754_pow): Generate overflow and underflow using huge*huge
33101 and tiny*tiny rather than just returning constant infinity or zero
33102 for large exponents.
33103 * math/libm-test.inc (pow_test): Require overflow exceptions for
33104 applicable cases of large exponents.
33107 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33108 (__ieee754_pow): Use iterative multiplication algorithm only for
33109 integer exponents with absolute value below 1024. Check for odd
33110 integer exponents when using algorithm for real exponents.
33111 * math/libm-test.inc (pow_test): Add more tests.
33112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33114 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33117 * math/libm-test.inc (exp_test): Do not allow overflow exception
33120 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33123 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33124 instead of __kernel_standard_f.
33126 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33128 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33129 * sysdeps/x86_64/memset_chk.S: Likewise.
33131 2012-04-08 Andreas Jaeger <aj@suse.de>
33134 * manual/startup.texi (Environment Access): Describe return value
33135 for putenv and setenv.
33138 * manual/filesys.texi (Directory Entries): Add description for
33142 * manual/filesys.texi (Directory Entries): Clarify that it's file
33143 system not operating system in the description of DT_UNKNOWN.
33146 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33148 2012-04-08 Stephen Compall <s11@member.fsf.org>
33151 * manual/llio.texi (Opening and Closing Files): Add cross
33152 reference to explain mode argument.
33154 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33156 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33157 * sysdeps/x86_64/memset_chk.S: Likewise.
33159 2012-04-07 David S. Miller <davem@davemloft.net>
33161 * elf/elf.h (R_SPARC_WDISP10): Define.
33162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33165 R_SPARC_SIZE64 and R_SPARC_H34.
33167 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33169 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33170 conditions and remove no longer applicable assertion.
33172 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33174 * bits/byteswap.h: Include <features.h>.
33175 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33176 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33178 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33180 * bits/byteswap.h (__bswap_16): Removed.
33181 Include <bits/byteswap-16.h> to get __bswap_16.
33182 * sysdeps/i386/bits/byteswap.h: Likewise.
33183 * sysdeps/s390/bits/byteswap.h: Likewise.
33184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33185 * bits/byteswap-16.h: New file.
33186 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33187 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33188 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33189 * string/Makefile (headers): Add bits/byteswap-16.h.
33191 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33194 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33196 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33197 * nss/tst-nss-static.c: New.
33199 2012-04-06 Robert Millan <rmh@gnu.org>
33202 * manual/llio.texi (File Position Primitive): lseek
33203 refers to WHENCE when it really means OFFSET.
33205 2012-04-06 Andreas Jaeger <aj@suse.de>
33207 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33208 strncmp declarations.
33210 * abilist/libc.abilist: Add __poll and __ppoll.
33212 2012-04-05 David S. Miller <davem@davemloft.net>
33214 * scripts/check-local-headers.sh: Accept a host triplet in the
33215 path matched by the exclude regexp.
33217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33219 * sysdeps/powerpc/powerpc32/dl-machine.h
33220 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33221 * sysdeps/s390/s390-32/dl-machine.h
33222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33223 * sysdeps/sparc/sparc32/dl-machine.h
33224 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33225 * sysdeps/sparc/sparc64/dl-machine.h
33226 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33228 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33230 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33231 undefined symbol errors.
33233 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33236 2012-04-05 Michael Matz <matz@suse.de>
33239 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33241 2012-04-05 Andreas Jaeger <aj@suse.de>
33244 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33247 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33249 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33250 which ROUND is no valid rounding mode.
33252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33254 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33256 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33258 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33261 an exception using FPU order intentionally.
33263 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33265 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33266 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33267 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33268 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33270 2012-04-05 Simon Josefsson <simon@josefsson.org>
33273 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33274 EINVAL when BUFLEN is too smal.
33276 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33279 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33280 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33282 2012-04-03 Andreas Jaeger <aj@suse.de>
33285 * manual/setjmp.texi (System V contexts): Fix sentence.
33288 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33289 New macro for this case.
33290 [!__GNUC__] (__bswap_64): New inline function for this case.
33291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33292 * bits/byteswap.h: Likewise.
33293 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33294 ull, guard with __GLIBC_HAVE_LONG_LONG.
33296 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33297 __GLIBC_HAVE_LONG_LONG.
33299 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33300 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33302 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33305 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33306 inptr and inend, rather than using last_ch.
33308 2012-04-02 David S. Miller <davem@davemloft.net>
33310 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33311 * stdio-common/printf-parse.h (read_int): Change return type to
33312 'int', return -1 on INT_MAX overflow.
33313 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33314 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33315 overflows INT_MAX. Check for overflow of in-format-string precision
33316 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33317 SIZE_MAX not INT_MAX for integer overflow test.
33318 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33319 skip the construct in the format string but do not record anything.
33320 * stdio-common/bug22.c: Adjust to test both width/prevision
33321 INT_MAX overflow as well as total length INT_MAX overflow. Check
33322 explicitly for proper errno values.
33324 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33326 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33328 * string/test-strcmp.c [! WIDE]: Likewise.
33329 * time/tst-mktime2.c: Likewise for INT_MAX.
33330 * string/test-string.h: #include <sys/param.h> for MIN.
33332 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33333 * sysdeps/i386/init-first.c (init): Likewise.
33334 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33335 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33336 * sysdeps/sh/init-first.c (init): Likewise.
33338 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33340 * po/ru.po: Update from translation team.
33341 * po/vi.po: Likewise.
33343 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33345 * resolv/nss_dns/dns-host.c: Merge copyright years.
33347 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33350 Optimize memcpy with prefetch if
33351 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33352 src, dst pointers have unequal 16 byte alignments.
33354 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33357 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33358 from a CNAME entry and return the minimum ttl for the query.
33359 (gaih_getanswer_slice): Likewise.
33361 2012-03-30 Jeff Law <law@redhat.com>
33363 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33365 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33366 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33368 * resolv/nss_dns/dns-host.c: Update copyright year.
33370 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33372 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33373 requests to save a system call. Fix check that all bytes are sent.
33375 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33376 comments for sendmmsg.
33378 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33381 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33382 with only 1 character between 0x0041 and 0x01b0.
33383 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33384 * wcsmbs/tst-mbsnrtowcs.c: New file.
33386 2012-03-29 David S. Miller <davem@davemloft.net>
33388 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33389 small copies by hand.
33391 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33394 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33395 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33398 2012-03-28 David S. Miller <davem@davemloft.net>
33400 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33401 that branches into memcpy.
33402 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33405 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33408 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33409 implementation too.
33410 * sysdeps/sparc/mempcpy.S: New file.
33412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33413 the IFUNC routine in the libc case.
33414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33417 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33418 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33420 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33421 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33422 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33423 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33425 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33426 loop to 256 bytes instead of 64 bytes and fix test signedness.
33428 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33429 * sysdeps/sparc/sparc32/Makefile: rather than here...
33430 * sysdeps/sparc/sparc64/Makefile: and here.
33432 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33434 * malloc/mallocbug.c: Avoid warnings about unused variables.
33436 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33439 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33440 in the right place. Discard and retry query if response is
33441 larger than input buffer size.
33443 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33448 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33449 x for large integer exponent.
33450 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33451 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33452 sign of result as needed afterwards.
33453 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33455 result for underflowing pow the same as for overflow.
33456 (__kernel_standard_l): Handle powl overflow and underflow here
33457 rather than calling __kernel_standard.
33458 * math/libm-test.inc (pow_test): Add more tests.
33473 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33474 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33475 (__kernel_standard_l): New function.
33476 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33478 * math/w_acosl.c (__acosl): Likewise.
33479 * math/w_asinl.c (__asinl): Likewise.
33480 * math/w_atan2l.c (__atan2l): Likewise.
33481 * math/w_atanhl.c (__atanhl): Likewise.
33482 * math/w_coshl.c (__coshl): Likewise.
33483 * math/w_exp10l.c (__exp10l): Likewise.
33484 * math/w_exp2l.c (__exp2l): Likewise.
33485 * math/w_fmodl.c (__fmodl): Likewise.
33486 * math/w_hypotl.c (__hypotl): Likewise.
33487 * math/w_j0l.c (__j0l, __y0l): Likewise.
33488 * math/w_j1l.c (__j1l, __y1l): Likewise.
33489 * math/w_jnl.c (__jnl, __ynl): Likewise.
33490 * math/w_lgammal.c (__lgammal): Likewise.
33491 * math/w_log10l.c (__log10l): Likewise.
33492 * math/w_log2l.c (__log2l): Likewise.
33493 * math/w_logl.c (__logl): Likewise.
33494 * math/w_powl.c (__powl): Likewise.
33495 * math/w_remainderl.c (__remainderl): Likewise.
33496 * math/w_scalbl.c (sysv_scalbl): Likewise.
33497 * math/w_sinhl.c (__sinhl): Likewise.
33498 * math/w_sqrtl.c (__sqrtl): Likewise.
33499 * math/w_tgammal.c (__tgammal): Likewise.
33500 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33501 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33502 * math/libm-test.inc (acos_test): Add more tests.
33503 (acosh_test): Likewise.
33504 (asin_test): Likewise.
33505 (atanh_test): Likewise.
33506 (exp_test): Likewise.
33507 (exp10_test): Likewise.
33508 (exp2_test): Likewise.
33509 (expm1_test): Likewise.
33510 (lgamma_test): Likewise.
33511 (log_test): Likewise.
33512 (log10_test): Likewise.
33513 (log1p_test): Likewise.
33514 (log2_test): Likewise.
33515 (pow_test): Do not allow some spurious overflow exceptions.
33516 (sqrt_test): Add more tests.
33517 (tgamma_test): Likewise.
33518 (y0_test): Likewise.
33519 (y1_test): Likewise.
33520 (yn_test): Likewise.
33522 2012-03-27 Anton Blanchard <anton@samba.org>
33524 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33527 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33530 2012-03-27 David S. Miller <davem@davemloft.net>
33532 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33534 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33535 have-as-vis3 check.
33537 2012-03-27 Andreas Jaeger <aj@suse.de>
33539 * sysdeps/x86_64/elf/configure.in: Moved to ...
33540 * sysdeps/x86_64/configure.in: ... here.
33541 * sysdeps/x86_64/elf/start.S: Moved to ...
33542 * sysdeps/x86_64/start.S: ... here.
33543 * sysdeps/x86_64/elf/configure: Delete.
33545 * sysdeps/x86_64/configure.in: Merge contents from
33546 sysdeps/i386/configure.in (without i686 check).
33548 * sysdeps/i386/elf/Versions: Merge into ...
33549 * sysdeps/i386/Versions: ... this.
33550 * sysdeps/i386/elf/Versions: Delete file.
33551 * sysdeps/i386/elf/start.S: Moved to ...
33552 * sysdeps/i386/start.S: ...here.
33553 * sysdeps/i386/elf/configure.in: Merge into...
33554 * sysdeps/i386/configure.in: ...here.
33555 * sysdeps/i386/elf/configure.in: Delete file.
33556 * sysdeps/i386/elf/configure: Delete file.
33558 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33559 * debug/backtracesyms.c: ... here.
33560 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33561 * debug/backtracesymsfd.c: ... here.
33562 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33563 * sysdeps/generic/ifunc-sel.h: ... here.
33565 * sysdeps/unix/i386/start.c: Delete file.
33566 * sysdeps/unix/sparc/start.c: Delete file.
33567 * sysdeps/unix/start.c: Delete file.
33569 * sysdeps/sh/elf/configure.in: Moved to ...
33570 * sysdeps/sh/configure.in: ... here.
33571 * sysdeps/sh/elf/start.S: Moved to ...
33572 * sysdeps/sh/start.S: ... here.
33573 * sysdeps/sh/elf/configure: Delete file.
33575 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33576 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33577 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33578 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33579 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33580 * sysdeps/powerpc/powerpc64/start.S: here.
33581 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33582 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33583 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33584 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33585 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33587 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33588 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33589 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33590 * sysdeps/powerpc/powerpc32/start.S: ... here.
33591 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33592 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33593 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33595 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33596 * sysdeps/powerpc/ifunc-sel.h: ... here.
33597 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33598 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33600 * sysdeps/sparc/elf/configure.in: Moved to ...
33601 * sysdeps/sparc/configure.in: ... here.
33602 * sysdeps/sparc/elf/configure: Delete file.
33603 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33604 * sysdeps/sparc/sparc32/start.S: ... here.
33605 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33606 * sysdeps/sparc/sparc64/start.S: ... here.
33607 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33608 * sysdeps/sparc/sparc32/Makefile: ... this.
33609 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33610 * sysdeps/sparc/sparc64/Makefile: ... this.
33612 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33613 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33614 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33615 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33616 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33617 * sysdeps/s390/s390-32/setjmp.S: ... here.
33618 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33619 * sysdeps/s390/s390-32/configure.in: ... here.
33620 * sysdeps/s390/s390-32/elf/configure: Delete file.
33621 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33622 * sysdeps/s390/s390-32/start.S: ... here.
33624 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33625 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33626 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33627 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33628 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33629 * sysdeps/s390/s390-64/setjmp.S: ... here.
33630 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33631 * sysdeps/s390/s390-64/configure.in: ... here
33632 * sysdeps/s390/s390-64/elf/configure: Delete file.
33633 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33634 * sysdeps/s390/s390-64/start.S: ... here.
33635 * sysdeps/s390/s390-64/elf/configure: Delete.
33637 * configure.in: Remove support for elf directories in sysdeps.
33639 * configure: Regenerated.
33640 * sysdeps/i386/configure: Regenerated.
33641 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33642 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33643 * sysdeps/s390/s390-32/configure: Regenerated.
33644 * sysdeps/s390/s390-64/configure: Regenerated.
33645 * sysdeps/sh/configure: Regenerated.
33646 * sysdeps/sparc/configure: Regenerated.
33647 * sysdeps/x86_64/configure: Regenerated.
33649 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33654 denormal result into account.
33656 2012-03-25 Roland McGrath <roland@hack.frob.com>
33658 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33659 Reported by Allan McRae <allan@archlinux.org>.
33661 2012-03-23 Jeff Law <law@redhat.com>
33663 * nss/getnssent.c (__nss_getent): Fix typo.
33665 2012-03-23 David S. Miller <davem@davemloft.net>
33667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33669 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33671 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33672 to pad to uint64_t for each field.
33673 (dl_tls_index): Replace unsigned long with uint64_t.
33675 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33676 Paul Pluzhnikov <ppluzhnikov@google.com>
33679 * grp/Makefile (otherlibs): Don't set it.
33680 * inet/Makefile (otherlibs): Likewise.
33681 * login/Makefile (otherlibs): Likewise.
33682 * nscd/Makefile (otherlibs): Likewise.
33683 * posix/Makefile (otherlibs): Likewise.
33684 * pwd/Makefile (otherlibs): Likewise.
33685 * rt/Makefile (otherlibs): Likewise.
33686 * sunrpc/Makefile (otherlibs): Likewise.
33687 * nss/Makefile (otherlibs): Likewise.
33688 Add libnss_files to routines and static-only-routines.
33689 ($(objpfx)getent): Remove rule.
33690 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33691 static-only-routines.
33693 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33696 * math/s_cexp.c: Include <float.h>.
33697 (__cexp): Handle exp result overflowing not necessarily
33698 overflowing both real and imaginary parts of result.
33699 * math/s_cexpf.c: Likewise.
33700 * math/s_cexpl.c: Likewise.
33701 * math/libm-test.inc (cexp_test): Add more tests.
33702 * sysdeps/i386/fpu/libm-test-ulps: Update.
33703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33705 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33707 * include/link.h (ELFW): New macro.
33708 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33709 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33711 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33713 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33718 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33720 (struct La_x32_retval): Likewise.
33722 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33724 * sysdeps/x86_64/preconfigure.in: New file.
33725 * sysdeps/x86_64/preconfigure: New generated file.
33727 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33730 * math/e_exp2l.c: Include <float.h>.
33731 (__ieee754_exp2l): Handle overflow and underflow cases
33732 separately. Only pass fractional part of argument to
33734 * math/libm-test.inc (exp2_test): Add more tests.
33736 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33737 negating x to take absolute value.
33738 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33740 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33743 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33744 computing low part if x was negated.
33745 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33747 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33749 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33750 la_x32_gnu_pltexit.
33751 (pltexit): Cast int_retval to ptrdiff_t.
33752 * elf/tst-auditmod3b.c: Likewise.
33753 * elf/tst-auditmod4b.c: Likewise.
33754 * elf/tst-auditmod5b.c: Likewise.
33755 * elf/tst-auditmod6b.c: Likewise.
33756 * elf/tst-auditmod6c.c: Likewise.
33757 * elf/tst-auditmod7b.c: Likewise.
33759 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33760 and x32_gnu_pltexit.
33762 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33763 __ELF_NATIVE_CLASS.
33764 (La_x32_regs): New macro.
33765 (La_x32_retval): Likewise.
33766 (la_x32_gnu_pltenter): New function prototype.
33767 (la_x32_gnu_pltexit): Likewise.
33769 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33776 * configure.in (libc_cv_cc_nofma): Check for option to disable
33777 generation of FMA instructions.
33778 * configure: Regenerate.
33779 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33780 * sysdeps/ieee754/dbl-64/Makefile: New file.
33781 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33782 Remove brandred-fma4.
33783 (CFLAGS-brandred-fma4.c): Remove.
33784 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33785 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33787 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33790 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33792 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33793 LLONG_MAX != LONG_MAX.
33794 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33795 (_fitoa_word): Likewise.
33796 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33797 LLONG_MAX != LONG_MAX.
33798 * stdio-common/_itowa.h: Include <_itoa.h>.
33799 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33800 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33801 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33802 only if not defined.
33803 (_ITOA_WORD_TYPE): Likewise.
33804 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33805 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33807 2012-03-21 David S. Miller <davem@davemloft.net>
33809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33811 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33813 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33814 of x86_64 when setting libc_cv_slibdir, libdir and
33816 * sysdeps/unix/sysv/linux/configure: Regenerated.
33818 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33820 * manual/lang.texi (Old Varargs): Remove section.
33821 (How Variadic): Update menu.
33822 (va_start): Do not mention varargs.h.
33824 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33825 Joseph Myers <joseph@codesourcery.com>
33827 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33829 * configure: Regenerated.
33831 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33833 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33834 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33837 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33840 * Makefile (files-for-dist): Remove NOTES.
33841 (NOTES): Remove rule.
33842 * README: Don't refer to NOTES.
33843 * manual/creature.texi: Don't include macros.texi.
33844 * manual/intro.texi (creature.texi): Remove comment referring to
33847 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33848 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33849 * configure: Regenerated.
33850 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33851 LIBC_TRY_CC_OPTION.
33852 (libc_cv_as_i686): Likewise.
33853 (libc_cv_cc_avx): Likewise.
33854 (libc_cv_cc_sse2avx): Likewise.
33855 (libc_cv_cc_fma4): Likewise.
33856 (libc_cv_cc_novzeroupper): Likewise.
33857 * sysdeps/i386/configure: Regenerated.
33860 * sysdeps/i386/fpu/s_cexp.S: Remove.
33861 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33862 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33863 * math/libm-test.inc (cexp_test): Add more tests.
33864 * sysdeps/i386/fpu/libm-test-ulps: Update.
33865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33867 2012-03-21 Allan McRae <allan@archlinux.org>
33869 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33871 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33874 * math/w_exp2.c: Do not include <float.h>.
33875 (o_threshold, u_threshold): Remove.
33876 (__exp2): Calculate result before checking finiteness and calling
33878 * math/w_exp2f.c: Likewise.
33879 * math/w_exp2l.c: Likewise.
33880 * math/libm-test.inc (exp2_test): Require overflow exception for
33884 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33885 range of signed 64-bit integers before using fistpll. Remove
33886 checks for whether integers fit in mantissa bits.
33887 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33888 the range of signed 32-bit integers before using fistpl. Remove
33889 checks for whether integers fit in mantissa bits.
33890 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33891 (__ieee754_powl): Test for y outside the range of signed 64-bit
33892 integers before using fistpll. Reduce 64-bit values to 63-bit
33894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33895 divide-by-zero is raised for zero to large negative powers.
33896 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33897 (__ieee754_powl): Test for y outside the range of signed 64-bit
33898 integers before using fistpll. Reduce 64-bit values to 63-bit
33900 * math/libm-test.inc (pow_test): Add more tests.
33902 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33904 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33905 <stdio-common/_itoa.h>.
33906 * debug/segfault.c: Likewise.
33907 * elf/dl-cache.c: Likewise.
33908 * elf/dl-minimal.c: Likewise.
33909 * elf/dl-misc.c: Likewise.
33910 * elf/dl-sysdep.c: Likewise.
33911 * elf/dl-version.c: Likewise.
33912 * elf/rtld.c: Likewise.
33913 * hurd/hurdsock.c: Likewise.
33914 * hurd/lookup-retry.c: Likewise.
33915 * malloc/malloc.c: Likewise.
33916 * malloc/mtrace.c: Likewise.
33917 * nscd/nscd_getgr_r.c: Likewise.
33918 * nscd/nscd_getpw_r.c: Likewise.
33919 * nscd/nscd_getserv_r.c: Likewise.
33920 * posix/getopt_init.c: Likewise.
33921 * posix/wordexp.c: Likewise.
33922 * stdio-common/_itoa.c: Likewise.
33923 * stdio-common/printf_fphex.c: Likewise.
33924 * stdio-common/vfprintf.c: Likewise.
33925 * string/_strerror.c: Likewise.
33926 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33927 * sysdeps/i386/i686/hp-timing.h: Likewise.
33928 * sysdeps/mach/_strerror.c: Likewise.
33929 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33930 * sysdeps/mach/hurd/sethostid.c: Likewise.
33931 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33932 * sysdeps/mach/xpg-strerror.c: Likewise.
33933 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33935 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33936 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33937 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33938 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33939 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33940 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33941 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33942 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33943 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33944 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33945 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33946 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33947 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33948 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33949 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33950 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33951 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33952 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33953 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33955 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33957 * stdio-common/_itoa.h: Moved to ...
33958 * sysdeps/generic/_itoa.h: Here.
33960 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33962 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33963 instead of "_itoa.h" and "_itowa.h".
33964 * stdio-common/vfprintf.: Likewise.
33966 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33968 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33970 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33971 (__signbit): Likwise.
33972 (llrintf): Likwise.
33975 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33977 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33980 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33982 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33983 OVERFLOW_EXCEPTION_OK.
33984 * math/libm-test.inc ("Philosophy"): Update comment about
33986 (OVERFLOW_EXCEPTION): Define.
33987 (OVERFLOW_EXCEPTION_OK): Likewise.
33988 (INVALID_EXCEPTION_OK): Renumber.
33989 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33990 (IGNORE_ZERO_INF_SIGN): Likewise.
33991 (test_exceptions): Handle FE_OVERFLOW.
33992 (exp10_test): Expect overflow exceptions.
33993 (exp2_test): Likewise.
33994 (expm1_test): Likewise.
33995 (nextafter_test): Likewise.
33996 (pow_test): Likewise.
33997 (scalbn_test): Likewise.
33998 (scalbln_test): Likewise.
34000 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34002 * sysdeps/x86_64/bits/atomic.h
34003 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34005 (atomic_exchange_acq): Likewise.
34006 (__arch_exchange_and_add_body): Likewise.
34007 (__arch_add_body): Likewise.
34008 (atomic_add_negative): Likewise.
34009 (atomic_add_zero): Likewise.
34011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34013 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34014 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34016 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34018 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34019 Check __x86_64__ instead of __WORDSIZE.
34021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34023 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34025 2012-03-19 David S. Miller <davem@davemloft.net>
34027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34029 * sysdeps/sparc/fpu/fenv_private.h: New file.
34030 * sysdeps/sparc/fpu/math_private.h: Use it.
34031 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34033 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34034 (libc_feholdexcept_setroundl): Remove.
34035 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34037 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34038 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34042 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34043 int64_t instead of long int.
34044 (INSERT_WORDS64): Likwise.
34046 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34048 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34049 _Unwind_GetCFA return to _Unwind_Ptr first.
34051 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34054 * math/s_clog.c: Include <float.h>.
34055 (__clog): Scale large or subnormal inputs.
34056 * math/s_clogf.c: Likewise.
34057 * math/s_clogl.c: Likewise.
34058 * math/s_clog10.c: Include <float.h>.
34059 (M_LOG10_2): Define.
34060 (__clog10): Scale large or subnormal inputs.
34061 * math/s_clog10f.c: Likewise.
34062 * math/s_clog10l.c: Likewise.
34063 * math/libm-test.inc (clog_test): Add more tests.
34064 (clog10_test): Likewise.
34065 * sysdeps/i386/fpu/libm-test-ulps: Update.
34066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34069 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34071 * math/libm-test.inc (atan2_test): Add another test.
34073 * Makerules (common-objdir-compile): Remove.
34074 * sysdeps/unix/Makefile (config-generated): Do not add
34075 $(unix-generated) to variable.
34076 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34077 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34079 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34081 [generic bits/local_lim.h] (before-compile): Do not append to
34083 [generic bits/local_lim.h] (common-generated): Likewise.
34084 [generic sys/param.h] (before-compile): Do not append to variable.
34085 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34086 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34088 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34090 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34091 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34092 [generic sys/param.h] ($(addprefix
34093 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34094 [generic sys/param.h] (common-generated): Do not append to
34096 [generic sys/param.h] (sysdep_headers): Likewise.
34097 [generic bits/errno.h] (before-compile): Do not append to
34099 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34101 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34102 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34103 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34104 [generic bits/errno.h] (common-generated): Do not append to
34106 [generic bits/ioctls.h] (before-compile): Do not append to
34108 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34110 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34111 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34112 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34114 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34115 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34116 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34117 [generic bits/ioctls.h] (common-generated): Do not append to
34119 [generic sys/syscall.h] (syscall.h): Remove variable.
34120 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34122 [generic sys/syscall.h] (before-compile): Do not append to
34124 [generic sys/syscall.h] (common-generated): Likewise.
34125 * sysdeps/unix/errnos-tmpl.c: Remove file.
34126 * sysdeps/unix/errnos.awk: Likewise.
34127 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34128 * sysdeps/unix/ioctls.awk: Likewise.
34129 * sysdeps/unix/mk-local_lim.c: Likewise.
34130 * sysdeps/unix/snarf-ioctls: Likewise.
34132 2012-03-19 Richard Henderson <rth@twiddle.net>
34134 * sysdeps/i386/fpu/fenv_private.h: New file.
34135 * sysdeps/i386/fpu/math_private.h: Use it.
34136 (math_opt_barrier, math_force_eval): Remove.
34137 (libc_feholdexcept_setround_53bit): Remove.
34138 (libc_feupdateenv_53bit): Remove.
34139 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34140 (math_opt_barrier, math_force_eval): Remove.
34141 (libc_feholdexcept): Remove.
34142 (libc_feholdexcept_setround): Remove.
34143 (libc_fetestexcept, libc_fesetenv): Remove.
34144 (libc_feupdateenv_test): Remove.
34145 (libc_feupdateenv, libc_feholdsetround): Remove.
34146 (libc_feresetround): Remove.
34148 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34149 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34151 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34152 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34153 (libc_feupdateenv_testl): New.
34154 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34155 (libc_feupdateenv_testf): New.
34156 (libc_feupdateenv): Use libc_feupdateenv_test.
34157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34158 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34160 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34161 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34162 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34163 (libc_feresetround_noex): New.
34164 (libc_feresetround_noexf): New.
34165 (libc_feresetround_noexl): New.
34166 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34167 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34168 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34169 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34172 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34174 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34175 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34176 SET_RESTORE_ROUND_NOEX.
34177 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34178 SET_RESTORE_ROUND_NOEXF.
34179 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34180 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34181 (libc_feholdsetroundf): New.
34182 (libc_feresetround, libc_feresetroundf): New.
34184 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34185 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34186 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34188 * sysdeps/generic/math_private.h: Include <fenv.h>.
34189 (default_libc_feholdexcept): New.
34190 (default_libc_feholdexcept_setround): New.
34191 (default_libc_fesetenv, default_libc_feupdateenv): New.
34192 (libc_feholdexcept): Only define if undefined.
34193 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34194 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34195 (libc_feholdexcept_setroundl): Likewise.
34196 (libc_feholdexcept_setround_53bit): Likewise.
34197 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34198 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34199 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34200 (libc_feupdateenv_53bit): Likewise.
34201 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34202 (libc_feholdexcept): Convert from macro to inline function.
34203 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34204 (libc_fesetenv, libc_feupdateenv): Likewise.
34206 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34207 not previously defined.
34208 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34209 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34210 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34211 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34212 * sysdeps/ieee754/flt-32/math_private.h: New file.
34213 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34214 math_private.h below SET_FLOAT_WORD.
34215 (__isnan, __isinf_ns, __finite): Remove.
34216 (__isnanf, __isinf_nsf, __finitef): Remove.
34218 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34222 2012-03-17 David S. Miller <davem@davemloft.net>
34225 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34228 2012-03-16 David S. Miller <davem@davemloft.net>
34230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34234 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34236 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34237 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34238 sysdep_routines when subdir is sysvipc.
34239 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34240 __getshmlba helper.
34242 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34244 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34246 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34249 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34251 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34252 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34253 (__lround): Renamed to ...
34254 (__llround): This. Replace long int with long long int.
34255 Define lround functions as aliases of llround functions.
34256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34260 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34261 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34262 adresses to uintptr_t. Replace "long int" and "unsigned long
34263 int" with "greg_t" on va_arg.
34265 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34267 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34268 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34270 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34271 Move e_machine check before EI_CLASS check. Handle x32
34272 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34273 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34274 SKIP_EM_IA_64 and include
34275 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34277 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34278 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34279 (add_system_dir): New macro.
34281 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34282 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34284 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34295 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34297 * math/w_j0f.c (j0f): Likewise.
34299 * math/w_j0l.c (__j0l): Likewise.
34301 * math/w_j1.c (j1): Likewise.
34303 * math/w_j1f.c (j1f): Likewise.
34305 * math/w_j1l.c (__j1l): Likewise.
34307 * math/w_jn.c (jn): Likewise.
34309 * math/w_jnf.c (jnf): Likewise.
34311 * math/w_jnl.c (__jnl): Likewise.
34313 * math/libm-test.inc (j0_test): Add more tests.
34314 (j1_test): Likewise.
34315 (jn_test): Likewise. Add trailing semicolon to existing test.
34316 (y0_test): Likewise.
34317 (y1_test): Likewise.
34318 * sysdeps/i386/fpu/libm-test-ulps: Update.
34319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34323 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34324 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34325 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34326 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34327 (__tanl): Set errno for infinite argument.
34328 * sysdeps/i386/fpu/mptan.c: Remove.
34329 * sysdeps/i386/fpu/s_tan.S: Likewise.
34330 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34331 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34332 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34333 * math/libm-test.inc (tan_test): Add more tests and enable more
34334 tests for double and long double.
34335 * sysdeps/i386/fpu/libm-test-ulps: Update.
34336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34338 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34340 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34341 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34343 2012-03-16 Roland McGrath <roland@hack.frob.com>
34345 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34346 * configure.in: Use it for both main tree and add-ons.
34347 * configure: Regenerated.
34349 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34351 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34353 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34355 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34359 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34360 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34361 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34362 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34363 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34365 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34367 != 0 for prec == 2.
34368 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34369 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34370 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34371 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34372 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34373 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34374 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34375 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34376 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34377 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34378 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34379 * math/libm-test.inc (cos_test): Add more tests and enable more
34380 tests for long double.
34381 (sin_test): Likewise.
34382 (sincos_test): Likewise.
34383 * sysdeps/i386/fpu/libm-test-ulps: Update.
34384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34386 2012-03-16 David S. Miller <davem@davemloft.net>
34388 * sysdeps/sparc/fpu/math_private.h: New file.
34390 2012-03-15 David S. Miller <davem@davemloft.net>
34392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34406 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34407 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34409 * sysdeps/sparc/sparc-ifunc.h: New file.
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34455 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34457 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34461 2012-03-15 Andreas Jaeger <aj@suse.de>
34464 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34465 ieee754/flt-32 implementation for sin, cos and sincos.
34466 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34467 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34468 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34469 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34470 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34471 ieee754/flt-32 implementation for tan.
34473 * math/libm-test.inc (cos_test): Enable some large input tests for
34475 (sin_test): Likewise.
34476 (sincos_test): Likewise.
34477 (tan_test): Add tests for large input.
34479 * sysdeps/i386/fpu/libm-test-ulps: Update.
34481 2012-03-15 Andreas Jaeger <aj@suse.de>
34484 * math/libm-test.inc (cos_test): Add more test cases.
34485 (sin_test): Likewise.
34486 (sincos_test): Likewise.
34488 2012-03-15 Andreas Jaeger <aj@suse.de>
34491 * math/libm-test.inc (cos_test): Add a test case for large input
34493 (sin_test): Likewise.
34494 (sincos_test): Likewise.
34496 2012-03-15 Andreas Jaeger <aj@suse.de>
34497 Joseph Myers <joseph@codesourcery.com>
34500 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34501 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34502 * sysdeps/i386/fpu/branred.c: Likewise.
34503 * sysdeps/i386/fpu/dosincos.c: Likewise.
34504 * sysdeps/i386/fpu/mpa.c: Likewise.
34505 * sysdeps/i386/fpu/s_cos.S: Likewise.
34506 * sysdeps/i386/fpu/s_sin.S: Likewise.
34507 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34508 * sysdeps/i386/fpu/sincos32.c: Likewise.
34510 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34512 (libc_feupdateenv_53bit): Define.
34513 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34515 (libc_feupdateenv_53bit): Define.
34517 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34518 53 bit (without extend i386 double precision).
34520 * math/libm-test.inc (sincos_test): Add tests for large input.
34524 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34526 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34530 2012-03-15 David S. Miller <davem@davemloft.net>
34532 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34533 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34534 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34535 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34560 fmin/fmax sysdep routines.
34561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34563 2012-03-14 David S. Miller <davem@davemloft.net>
34565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34637 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34642 * sysdeps/sparc/configure.in: New file.
34643 * sysdeps/sparc/configure: Generate.
34644 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34645 * configure: Regenerate.
34646 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34647 * config.make.in (have-as-vis3): New.
34648 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34649 available use -Av9d instead of -Av9a.
34650 * sysdeps/sparc/sparc64/Makefile: Likewise.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34660 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34667 fzeros/fnegs to load 0x80000000 into a float register instead of
34669 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34671 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34675 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34676 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34677 ($(inst_includedir)/bits/syscall.h): Remove rule.
34678 ($(objpfx)bits/syscall.d): Include instead of
34679 $(objpfx)syscall-list.d.
34680 (generated): Change syscall-list.h and syscall-list.d to
34681 bits/syscall.h and bits/syscall.d.
34683 2012-03-14 Roland McGrath <roland@hack.frob.com>
34686 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34688 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34691 * math/s_csqrt.c: Include <float.h>.
34692 (__csqrt): Scale large or subnormal inputs.
34693 * math/s_csqrtf.c: Likewise.
34694 * math/s_csqrtl.c: Likewise.
34695 * math/libm-test.inc (csqrt_test): Add more tests.
34696 * sysdeps/i386/fpu/libm-test-ulps: Update.
34697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34700 * math/libm-test.inc (hypot_test): Add more tests.
34702 2012-03-13 David S. Miller <davem@davemloft.net>
34705 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34706 double-precision for the calculation instead of scaling.
34708 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34710 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34711 manipulate bits before adding and subtracting TWO52[sx].
34712 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34713 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34715 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34717 2012-03-13 David S. Miller <davem@davemloft.net>
34719 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34720 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34722 rtld-global-offsets.h
34723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34725 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34730 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34731 'err' in the ifdef scope in which it is actually used.
34733 * nss/nss_db/db-init.c: Include string.h
34735 2012-03-12 David S. Miller <davem@davemloft.net>
34737 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34738 masking out of the most significant byte of random value used.
34739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34740 Fix coding style in previous change.
34742 * sysdeps/unix/sysv/linux/kernel-features.h
34743 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34744 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34746 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34749 2012-03-11 David S. Miller <davem@davemloft.net>
34751 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34752 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34754 for 'resultvar' otherwise things get truncated on 64-bit.
34756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34757 Fix masking out of the most significant byte of random value used.
34759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34761 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34765 2012-03-09 David S. Miller <davem@davemloft.net>
34767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34768 variables with appropriate CPP guards.
34769 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34770 from the frame pointer, not the stack pointer. Correct layout
34771 comments. Fix test on resulting framesize and the management of
34772 the outregs buffer for pltexit. Preserve floating point return
34773 values across _dl_call_pltexit call.
34774 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34775 framesize and the management of the outregs buffer for pltexit.
34776 Preserve floating point return values across _dl_call_pltexit
34778 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34779 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34780 (la_sparc64_gnu_pltexit): New functions.
34781 (print_exit): Fix format string for return register value.
34783 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34785 * sunrpc/Makefile (others): Add rpcgen.
34786 ($(objpfx)rpcgen): Remove special build rule and dependency on
34788 * sunrpc/rpcgen.c: New file.
34790 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34793 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34794 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34795 * sysdeps/i386/crti.S: Likewise.
34796 * sysdeps/i386/crtn.S: Likewise.
34797 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34798 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34799 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34800 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34801 * sysdeps/sh/crti.S: Likewise.
34802 * sysdeps/sh/crtn.S: Likewise.
34803 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34806 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34808 * locale/programs/locfile-kw.gperf: Likewise.
34809 * locale/programs/charmap-kw.h: Regenerated.
34810 * locale/programs/locfile-kw.h: Likewise.
34813 * intl/plural.y: Replace FSF snail mail address with URL.
34814 * intl/plural.c: Regenerated.
34816 2012-03-09 Richard Henderson <rth@twiddle.net>
34818 * include/math_private.h: Remove file.
34819 * math/math_private.h: Move file ...
34820 * sysdeps/generic/math_private.h: ... here.
34822 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34823 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34824 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34826 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34827 and <math_private.h>.
34828 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34829 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34830 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34831 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34832 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34833 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34836 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34840 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34842 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34844 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34845 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34850 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34858 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34860 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34866 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34868 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34874 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34875 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34916 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34917 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34919 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34921 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34922 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34923 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34925 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34928 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34929 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34930 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34933 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34934 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34935 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34936 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34938 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34939 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34940 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34942 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34943 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34944 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34945 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34947 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34951 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34952 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34953 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34954 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34955 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34956 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34957 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34958 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34959 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34960 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34961 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34962 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34963 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34964 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34965 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34967 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34969 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34971 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34972 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34976 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34977 * sysdeps/ieee754/k_standard.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34987 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34990 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34991 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34992 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34993 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34995 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34997 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34998 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34999 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35000 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35001 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35002 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35003 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35008 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35009 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35010 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35011 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35012 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35013 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35016 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35019 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35020 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35021 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35022 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35023 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35024 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35026 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35030 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35031 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35033 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35034 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35035 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35036 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35037 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35038 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35039 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35094 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35100 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35110 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35127 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35128 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35138 * sysdeps/ieee754/s_lib_version.c: Likewise.
35139 * sysdeps/ieee754/s_matherr.c: Likewise.
35140 * sysdeps/ieee754/s_signgam.c: Likewise.
35141 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35143 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35144 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35145 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35146 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35147 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35148 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35149 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35150 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35151 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35152 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35155 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35156 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35157 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35158 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35159 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35163 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35165 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35166 * sunrpc/rpc_main.c: Likewise.
35167 * sunrpc/rpc_svcout.c: Likewise.
35169 2012-03-09 David S. Miller <davem@davemloft.net>
35171 * include/math_private.h: New file.
35173 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35175 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35176 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35177 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35178 from <bits/socket_type.h>.
35179 (enum __socket_type): Don't define here.
35180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35182 bits/socket_type.h.
35185 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35186 checking __USE_GNU.
35188 * Makerules ($(inst_includedir)/%.h): New rule.
35189 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35190 (install-others): Remove variable setting.
35191 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35193 2012-03-08 Richard Henderson <rth@twiddle.net>
35195 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35196 from macro to inline function; merge with the
35197 !__LIBC_INTERNAL_MATH_INLINES version.
35198 (__ieee754_sqrtf): Likewise.
35200 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35201 to inline function.
35202 (__rintf, __floor, __floorf): Likewise.
35204 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35205 macro to inline function.
35206 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35209 not <math/math_private.h>.
35211 2012-03-08 David S. Miller <davem@davemloft.net>
35213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35215 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35217 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35219 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35221 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35222 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35224 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35226 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35227 be defined individually, they must be defined as a block. Define
35228 S for printing a string instead of hidint the different by using a
35229 macro for adding the 'l'.
35230 * stdio-common/tst-fphex-wide.c: Adjust.
35232 2012-03-07 Marek Polacek <polacek@redhat.com>
35234 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35236 2012-03-08 Marek Polacek <polacek@redhat.com>
35239 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35240 * stdio-common/tst-fphex.c: Define a few macros to make the
35241 test reusable. Use them.
35242 * stdio-common/tst-fphex-wide.c: New file.
35244 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35247 * manual/macros.texi (gnusystems): New macro.
35248 (nongnusystems): Likewise.
35249 (gnulinuxhurdsystems): Likewise.
35250 (gnuhurdsystems): Likewise..
35251 (gnulinuxsystems): Likewise.
35252 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35253 variants of the GNU system, not "GNU system".
35254 * manual/conf.texi: Likewise.
35255 * manual/errno.texi: Likewise. Update example of errno macro
35257 * manual/filesys.texi: Likewise.
35258 (getumask): Document as specific to GNU/Hurd.
35259 * manual/install.texi: Likewise. Reword some references to
35261 * manual/intro.texi: Likewise.
35262 * manual/io.texi: Likewise.
35263 (File Name Portability): Detail which constraints are inapplicable
35264 to all GNU systems and which are only inapplicable to GNU/Hurd.
35265 * manual/job.texi: Likewise.
35266 * manual/llio.texi: Likewise.
35267 (O_NOCTTY): Document as present on GNU/Linux.
35268 * manual/maint.texi: Likewise.
35269 * manual/memory.texi: Likewise.
35270 * manual/pattern.texi: Likewise.
35271 * manual/pipe.texi: Likewise.
35272 * manual/process.texi: Likewise.
35273 * manual/resource.texi: Likewise.
35274 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35276 * manual/setjmp.texi: Likewise.
35277 * manual/signal.texi: Likewise.
35278 * manual/startup.texi: Likewise.
35279 * manual/stdio.texi: Likewise.
35280 * manual/terminal.texi: Likewise.
35281 (ONLCR): Document as POSIX.
35282 (OXTABS): Document availability on GNU/Linux as XTABS.
35283 (ONOEOT): Document availability separately from other bits.
35284 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35285 * manual/time.texi: Likewise.
35286 * manual/users.texi: Likewise.
35287 * INSTALL: Regenerated.
35288 * sysdeps/gnu/errlist.c: Regenerated.
35290 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35291 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35292 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35294 * configure: Regenerated.
35296 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35298 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35299 default includes instead of AC_HEADER_CHECK.
35300 * sysdeps/i386/configure: Regenerated.
35303 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35304 * math/s_cacoshf.c (__cacoshf): Likewise.
35305 * math/s_cacoshl.c (__cacoshl): Likewise.
35306 * math/s_casinh.c (__casinh): Set signs of result from argument.
35307 * math/s_casinhf.c (__casinhf): Likewise.
35308 * math/s_casinhl.c (__casinhl): Likewise.
35309 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35310 (casinh_test): Add more tests.
35311 * sysdeps/i386/fpu/libm-test-ulps: Update.
35312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35314 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35316 * po/zh_TW.po: Update from translation team.
35318 * login/Makefile (distribute): Remove variable.
35319 * catgets/Makefile: Likewise.
35320 * mach/Makefile: Likewise.
35321 * malloc/Makefile: Likewise.
35322 * misc/Makefile: Likewise.
35323 * iconv/Makefile: Likewise.
35324 * nscd/Makefile: Likewise.
35325 * hurd/Makefile: Likewise.
35326 * manual/Makefile: Likewise.
35327 * locale/Makefile: Likewise.
35328 * intl/Makefile: Likewise.
35329 * conform/Makefile: Likewise.
35330 * nss/Makefile: Likewise.
35331 * time/Makefile: Likewise.
35332 * soft-fp/Makefile: Likewise.
35333 * dirent/Makefile: Likewise.
35334 * gmon/Makefile: Likewise.
35335 * po/Makefile: Likewise.
35336 * rt/Makefile: Likewise.
35337 * socket/Makefile: Likewise.
35338 * math/Makefile: Likewise.
35339 * signal/Makefile: Likewise.
35340 * debug/Makefile: Likewise.
35341 * elf/Makefile: Likewise.
35342 * timezone/Makefile: Likewise.
35343 * stdlib/Makefile: Likewise.
35344 * iconvdata/Makefile: Likewise.
35345 * sunrpc/Makefile: Likewise.
35346 * io/Makefile: Likewise.
35347 * argp/Makefile: Likewise.
35348 * inet/Makefile: Likewise.
35349 * hesiod/Makefile: Likewise.
35350 * grp/Makefile: Likewise.
35351 * csu/Makefile: Likewise.
35352 * wctype/Makefile: Likewise.
35353 * crypt/Makefile: Likewise.
35354 * libio/Makefile: Likewise.
35355 * string/Makefile: Likewise.
35356 * nis/Makefile: Likewise.
35357 * resolv/Makefile: Likewise.
35358 * stdio-common/Makefile: Likewise.
35359 * wcsmbs/Makefile: Likewise.
35360 * dlfcn/Makefile: Likewise.
35361 * posix/Makefile: Likewise.
35364 * timezone/Makefile: Don't install timezone files, just the programs
35367 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35369 * nss/databases.def: Add missing gshadow entry.
35371 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35373 2012-03-06 Marek Polacek <polacek@redhat.com>
35376 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35377 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35378 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35379 * stdio-common/tst-long-dbl-fphex.c: New file.
35381 2012-03-06 David S. Miller <davem@davemloft.net>
35383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35384 (set_obp_int): New function.
35385 (get_obp_int): New function.
35386 (__get_clockfreq_via_dev_openprom): Likewise.
35387 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35388 Avoid unused variable warnings on 'val' and use builtin_expect.
35389 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35391 (INLINE_CLONE_SYSCALL): Likewise.
35393 2012-03-05 David S. Miller <davem@davemloft.net>
35395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35397 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35402 only for |x| >= 40.
35403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35405 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35408 Replace gettimeofday with __vdso_gettimeofday.
35410 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35411 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35412 __vdso_clock_gettime and __vdso_getcpu.
35414 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35415 time with __vdso_time.
35417 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35419 * manual/lang.texi (size_t): Note types to which size_t may be
35420 equivalent with the GNU C Library, but do not describe when
35421 differences between them are significant.
35423 2012-03-05 Andreas Jaeger <aj@suse.de>
35425 * sysdeps/i386/fpu/libm-test-ulps: Update.
35427 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35430 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35431 (__ieee754_pow): Save and restore rounding mode and use
35432 round-to-nearest for main computations.
35433 * math/libm-test.inc (pow_test_tonearest): New function.
35434 (pow_test_towardzero): Likewise.
35435 (pow_test_downward): Likewise.
35436 (pow_test_upward): Likewise.
35437 (main): Call the new functions.
35438 * sysdeps/i386/fpu/libm-test-ulps: Update.
35439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35442 * math/libm-test.inc (cosh_test_tonearest): New function.
35443 (cosh_test_towardzero): Likewise.
35444 (cosh_test_downward): Likewise.
35445 (cosh_test_upward): Likewise.
35446 (sinh_test_tonearest): Likewise.
35447 (sinh_test_towardzero): Likewise.
35448 (sinh_test_downward): Likewise.
35449 (sinh_test_upward): Likewise.
35450 (main): Call the new functions.
35451 * sysdeps/i386/fpu/libm-test-ulps: Update.
35452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35454 2012-03-05 Tom de Vries <tom@codesourcery.com>
35456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35457 default stack guard is set in last bytes.
35458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35460 2012-03-05 Kees Cook <keescook@chromium.org>
35462 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35465 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35466 possibly allocate from heap instead of stack.
35467 * stdio-common/bug-vfprintf-nargs.c: New file.
35468 * stdio-common/Makefile (tests): Add nargs overflow test.
35470 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35474 2012-03-03 Marek Polacek <polacek@redhat.com>
35476 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35477 * math/math_private.h: Likewise.
35478 * stdlib/tst-strtod.c: Likewise.
35479 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35480 * sysdeps/x86_64/bits/atomic.h: Likewise.
35482 2012-03-02 David S. Miller <davem@davemloft.net>
35484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35488 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35489 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35490 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35491 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35493 2012-03-02 Roland McGrath <roland@hack.frob.com>
35496 * manual/examples/README: New file, says the example source files
35497 can be used under GPL>=2.
35498 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35499 line containing just "*/".
35500 * manual/examples/add.c: Add copyright header (GPL>=2).
35501 * manual/examples/argp-ex1.c: Likewise.
35502 * manual/examples/argp-ex2.c: Likewise.
35503 * manual/examples/argp-ex3.c: Likewise.
35504 * manual/examples/argp-ex4.c: Likewise.
35505 * manual/examples/atexit.c: Likewise.
35506 * manual/examples/db.c: Likewise.
35507 * manual/examples/dir.c: Likewise.
35508 * manual/examples/dir2.c: Likewise.
35509 * manual/examples/execinfo.c: Likewise.
35510 * manual/examples/filecli.c: Likewise.
35511 * manual/examples/filesrv.c: Likewise.
35512 * manual/examples/fmtmsgexpl.c: Likewise.
35513 * manual/examples/genpass.c: Likewise.
35514 * manual/examples/inetcli.c: Likewise.
35515 * manual/examples/inetsrv.c: Likewise.
35516 * manual/examples/isockad.c: Likewise.
35517 * manual/examples/longopt.c: Likewise.
35518 * manual/examples/memopen.c: Likewise.
35519 * manual/examples/memstrm.c: Likewise.
35520 * manual/examples/mkfsock.c: Likewise.
35521 * manual/examples/mkisock.c: Likewise.
35522 * manual/examples/mygetpass.c: Likewise.
35523 * manual/examples/pipe.c: Likewise.
35524 * manual/examples/popen.c: Likewise.
35525 * manual/examples/rprintf.c: Likewise.
35526 * manual/examples/search.c: Likewise.
35527 * manual/examples/select.c: Likewise.
35528 * manual/examples/setjmp.c: Likewise.
35529 * manual/examples/sigh1.c: Likewise.
35530 * manual/examples/sigusr.c: Likewise.
35531 * manual/examples/stpcpy.c: Likewise.
35532 * manual/examples/strdupa.c: Likewise.
35533 * manual/examples/strftim.c: Likewise.
35534 * manual/examples/strncat.c: Likewise.
35535 * manual/examples/subopt.c: Likewise.
35536 * manual/examples/swapcontext.c: Likewise.
35537 * manual/examples/termios.c: Likewise.
35538 * manual/examples/testopt.c: Likewise.
35539 * manual/examples/testpass.c: Likewise.
35540 * manual/examples/timeval_subtract.c: Likewise.
35543 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35545 * manual/timeval_subtract.c.texi: ... here, new file.
35547 2012-03-02 David S. Miller <davem@davemloft.net>
35549 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35551 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35554 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35555 (__sin): Save and restore rounding mode and use round-to-nearest
35556 for all computations.
35557 (__cos): Save and restore rounding mode and use round-to-nearest
35558 for all computations.
35559 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35561 (tan): Save and restore rounding mode and use round-to-nearest for
35563 * math/libm-test.inc (cos_test_tonearest): New function.
35564 (cos_test_towardzero): Likewise.
35565 (cos_test_downward): Likewise.
35566 (cos_test_upward): Likewise.
35567 (sin_test_tonearest): Likewise.
35568 (sin_test_towardzero): Likewise.
35569 (sin_test_downward): Likewise.
35570 (sin_test_upward): Likewise.
35571 (tan_test_tonearest): Likewise.
35572 (tan_test_towardzero): Likewise.
35573 (tan_test_downward): Likewise.
35574 (tan_test_upward): Likewise.
35575 (main): Call the new functions.
35576 * sysdeps/i386/fpu/libm-test-ulps: Update.
35577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35580 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35581 small n, then large n, before computing and testing k+n.
35582 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35587 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35588 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35593 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35594 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35595 * math/libm-test.inc (scalbn_test): Add more tests.
35596 (scalbln_test): Likewise.
35598 * manual/filesys.texi (mode_t): Describe constraints on size and
35599 signedness, not exact equivalence to a particular type.
35601 (ino64_t): Likewise.
35603 (nlink_t): Likewise.
35604 (blkcnt_t): Likewise.
35605 (blkcnt64_t): Likewise.
35606 * manual/llio.texi (off_t): Likewise.
35609 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35610 (__ieee754_exp): Save and restore rounding mode and use
35611 round-to-nearest for all computations.
35612 * math/libm-test.inc (exp_test_tonearest): New function.
35613 (exp_test_towardzero): Likewise.
35614 (exp_test_downward): Likewise.
35615 (exp_test_upward): Likewise.
35616 (main): Call the new functions.
35617 * sysdeps/i386/fpu/libm-test-ulps: Update.
35618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35620 2012-03-01 Chris Demetriou <cgd@google.com>
35622 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35623 have predictable order.
35625 2012-03-01 David S. Miller <davem@davemloft.net>
35627 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35629 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35630 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35631 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35632 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35634 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35635 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35636 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35638 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35639 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35640 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35641 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35642 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35647 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35650 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35652 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35653 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35654 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35658 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35659 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35660 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35661 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35664 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35666 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35667 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35668 * sysdeps/sparc/elf/configure: Regenerated.
35670 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35672 * configure.in (AS, LD): Require binutils 2.20 or later.
35673 * configure: Regenerated.
35674 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35675 as required minimum version.
35676 * INSTALL: Regenerated.
35680 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35681 before squaring exponent.
35682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35683 bottom long double and 27 bits of top long double before squaring
35685 * math/libm-test.inc (erfc_test): Add more tests.
35686 * sysdeps/i386/fpu/libm-test-ulps: Update.
35687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35690 2012-03-01 Kai Tietz <ktietz@redhat.com>
35692 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35693 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35694 containing bit-fields.
35695 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35696 * soft-fp/single.h (_FP_UNION_S): Likewise.
35697 * soft-fp/double.h (_FP_UNION_D): Likewise.
35699 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35702 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35703 not include ../strcmp.S.
35704 [USE_AS_STRNCASECMP_L]: Likewise.
35705 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35706 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35707 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35708 (__strncasecmp_l_ia32): Define as alias to
35709 __strncasecmp_l_nonascii.
35712 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35713 * sysdeps/i386/fpu/libm-test-ulps: Update.
35714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35716 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35719 2012-02-29 Jeff Law <law@redhat.com>
35721 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35722 out of bounds read.
35724 2012-02-29 Marek Polacek <polacek@redhat.com>
35727 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35728 * elf/Makefile: Add rules to run tst-unused-dep.out.
35730 2012-02-28 David S. Miller <davem@davemloft.net>
35732 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35733 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35735 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35739 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35741 * math/libm-test.inc (llround_test): Move one test from
35742 lround_test. Use TEST_f_L in moved test.
35743 (lround_test): Move misplaced test to llround_test. Add testcase
35746 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35748 * sysdeps/x86_64/fpu/e_expf.S: New file.
35749 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35751 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35754 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35755 of remain_len that may cause incomplete multi-byte character and
35757 * posix/bug-regex33.c: New file.
35758 * posix/Makefile (tests): Add bug-regex33.
35760 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35762 * manual/macros.texi: New file.
35763 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35764 * manual/libc.texinfo: Include macros.texi.
35765 * manual/creatute.texi: Likewise.
35766 * manual/install.texi: Likewise.
35767 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35768 @glibcadj{} in references to the GNU C Library.
35769 * manual/charset.texi: Likewise.
35770 * manual/conf.texi: Likewise.
35771 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35772 when not using those macros.
35773 * manual/creature.texi: Likewise.
35774 * manual/crypt.texi: Likewise.
35775 * manual/errno.texi: Likewise.
35776 * manual/filesys.texi: Likewise.
35777 * manual/header.texi: Likewise.
35778 * manual/install.texi: Likewise.
35779 * manual/intro.texi: Likewise.
35780 * manual/io.texi: Likewise.
35781 * manual/job.texi: Likewise.
35782 * manual/lang.texi: Likewise.
35783 * manual/libc.texiinfo: Likewise.
35784 * manual/llio.texi: Likewise.
35785 * manual/locale.texi: Likewise.
35786 * manual/maint.texi: Likewise.
35787 * manual/math.texi: Likewise.
35788 * manual/memory.texi: Likewise.
35789 * manual/message.texi: Likewise.
35790 * manual/nss.texi: Likewise.
35791 * manual/pattern.texi: Likewise.
35792 * manual/process.texi: Likewise.
35793 * manual/resource.texi: Likewise.
35794 * manual/search.texi: Likewise.
35795 * manual/setjmp.texi: Likewise.
35796 * manual/signal.texi: Likewise.
35797 * manual/socket.texi: Likewise.
35798 * manual/startup.texi: Likewise.
35799 * manual/stdio.texi: Likewise.
35800 * manual/string.texi: Likewise.
35801 * manual/sysinfo.texi: Likewise.
35802 * manual/syslog.texi: Likewise.
35803 * manual/terminal.texi: Likewise.
35804 * manual/time.texi: Likewise.
35805 * manual/users.texi: Likewise.
35806 * INSTALL: Regenerated.
35807 * NOTES: Regenerated.
35808 * sysdeps/gnu/errlist.c: Regenerated.
35810 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35812 * include/dirent.h: Include <dirstream.h> before
35815 2012-02-28 David S. Miller <davem@davemloft.net>
35817 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35818 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35819 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35820 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35822 2012-02-27 David S. Miller <davem@davemloft.net>
35824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35826 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35827 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35830 frame pointer instead of stack pointer relative arg slot.
35831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35832 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35833 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35835 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35838 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35840 2012-02-27 David S. Miller <davem@davemloft.net>
35842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35846 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35847 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35848 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35849 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35851 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35853 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35854 later. Allow versions 5-9.
35855 * configure: Regenerated.
35856 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35857 required minimum version and 4.6 as recommended version. Do not
35858 mention bugs in GCC 2.7 and 2.8.
35859 * INSTALL: Regenerated.
35861 2012-02-27 David S. Miller <davem@davemloft.net>
35863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35867 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35868 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35870 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35873 manipulate bits before adding and subtracting TWO112[sx].
35874 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35876 2012-02-27 Roland McGrath <roland@hack.frob.com>
35879 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35880 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35881 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35882 being in POSIX, because they are in 1003.1-2008.
35884 * rt/tst-aio.c: Include <fcntl.h>.
35885 * rt/tst-aio7.c: Likewise.
35886 * rt/tst-aio64.c: Likewise.
35888 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35890 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35892 * manual/install.texi (--with-headers): Describe headers as
35893 interface headers, not private headers.
35894 (Specific advice for GNU/Linux systems): Describe use of headers
35895 from "make headers_install", not private headers from older
35897 * INSTALL: Regenerated.
35898 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35900 * sysdeps/unix/sysv/linux/configure: Regenerated.
35902 * manual/llio.texi (fclean): Remove documentation.
35904 * manual/Makefile (libc-texi-generated): New variable. Include
35906 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35907 $(libc-texi-generated), not duplicated list of files.
35908 (version.texi, stamp-version): New rules.
35909 (realclean): Remove $(libc-texi-generated), not individual files
35910 from that list. Do not remove dir-add.texinfo.
35911 * manual/libc.texinfo: Comment out uses of edition numbers and
35912 references to printed manual. Remove last-updated dates.
35913 (EDITION): Comment out.
35915 (VERSION, UPDATED): Remove.
35916 (version.texi): Include.
35918 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35920 * sysdeps/posix/spawni.c: Include <signal.h>.
35921 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35922 * sysdeps/pthread/aio_fsync.c: Likewise.
35924 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35926 * conform/Makefile (tests): Run only when not cross-compiling and
35927 when fast-check is not defined.
35929 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35930 * conform/data/limits.h-data: Fixes for POSIX2008.
35931 * conform/run-conformtest.sh: Run all tests.
35932 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35934 * include/bits/dlfcn.h: Likewise.
35935 * include/langinfo.h: Likewise.
35936 * include/monetary.h: Likewise.
35937 * include/sys/poll.h: Likewise.
35939 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35941 * posix/spawn.h: Define __need_sigset_t.
35942 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35943 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35944 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35945 to get sigevent_t only.
35946 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35947 only for __USE_GNU.
35948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35949 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35950 process_vm_writev only for __USE_GNU.
35951 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35953 * conform/Makefile: For now ignore errors from run-conformtest.
35954 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35955 POSIX to avoid namespace pollution. Don't prepend headers.
35956 * conform/data/aio.h-data: Fixes for POSIX testing.
35957 * conform/data/fcntl.h-data: Likewise.
35958 * conform/data/glob.h-data: Likewise.
35959 * conform/data/grp.h-data: Likewise.
35960 * conform/data/pthread.h-data: Likewise.
35961 * conform/data/pwd.h-data: Likewise.
35962 * conform/data/signal.h-data: Likewise.
35963 * conform/data/spawn.h-data: Likewise.
35964 * conform/data/stdio.h-data: Likewise.
35965 * conform/data/stdlib.h-data: Likewise.
35966 * conform/data/stropts.h-data: Likewise.
35967 * conform/data/sys/mman.h-data: Likewise.
35968 * conform/data/sys/stat.h-data: Likewise.
35969 * conform/data/sys/types.h-data: Likewise.
35970 * conform/data/sys/wait.h-data: Likewise.
35971 * conform/data/time.h-data: Likewise.
35972 * conform/data/unistd.h-data: Likewise.
35973 * conform/data/utime.h-data: Likewise.
35975 * io/sys/stat.h: fchmod was always in POSIX.
35976 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35977 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35978 * rt/aio.h: Define __need_timespec before including <time.h>.
35979 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35980 struct. Add forward declaration of pthread_attr_t and use it in
35982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35984 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35985 always remove CLK_TCK definition.
35987 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35989 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35991 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35993 * conform/run-conformtest.sh: New file.
35994 * conform/Makefile: Run run-conformtest for tests.
35995 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35998 * conform/data/uchar.h-data: New file.
35999 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36000 * conform/data/arpa/inet.h-data: Likewise.
36001 * conform/data/assert.h-data: Likewise.
36002 * conform/data/complex.h-data: Likewise.
36003 * conform/data/cpio.h-data: Likewise.
36004 * conform/data/ctype.h-data: Likewise.
36005 * conform/data/dirent.h-data: Likewise.
36006 * conform/data/dlfcn.h-data: Likewise.
36007 * conform/data/errno.h-data: Likewise.
36008 * conform/data/fcntl.h-data: Likewise.
36009 * conform/data/float.h-data: Likewise.
36010 * conform/data/fmtmsg.h-data: Likewise.
36011 * conform/data/fnmatch.h-data: Likewise.
36012 * conform/data/ftw.h-data: Likewise.
36013 * conform/data/glob.h-data: Likewise.
36014 * conform/data/grp.h-data: Likewise.
36015 * conform/data/iconv.h-data: Likewise.
36016 * conform/data/inttypes.h-data: Likewise.
36017 * conform/data/langinfo.h-data: Likewise.
36018 * conform/data/libgen.h-data: Likewise.
36019 * conform/data/limits.h-data: Likewise.
36020 * conform/data/locale.h-data: Likewise.
36021 * conform/data/math.h-data: Likewise.
36022 * conform/data/monetary.h-data: Likewise.
36023 * conform/data/mqueue.h-data: Likewise.
36024 * conform/data/ndbm.h-data: Likewise.
36025 * conform/data/net/if.h-data: Likewise.
36026 * conform/data/netdb.h-data: Likewise.
36027 * conform/data/netinet/in.h-data: Likewise.
36028 * conform/data/nl_types.h-data: Likewise.
36029 * conform/data/poll.h-data: Likewise.
36030 * conform/data/pthread.h-data: Likewise.
36031 * conform/data/pwd.h-data: Likewise.
36032 * conform/data/regex.h-data: Likewise.
36033 * conform/data/sched.h-data: Likewise.
36034 * conform/data/search.h-data: Likewise.
36035 * conform/data/semaphore.h-data: Likewise.
36036 * conform/data/setjmp.h-data: Likewise.
36037 * conform/data/signal.h-data: Likewise.
36038 * conform/data/spawn.h-data: Likewise.
36039 * conform/data/stdarg.h-data: Likewise.
36040 * conform/data/stdio.h-data: Likewise.
36041 * conform/data/stdlib.h-data: Likewise.
36042 * conform/data/string.h-data: Likewise.
36043 * conform/data/strings.h-data: Likewise.
36044 * conform/data/stropts.h-data: Likewise.
36045 * conform/data/sys/ipc.h-data: Likewise.
36046 * conform/data/sys/mman.h-data: Likewise.
36047 * conform/data/sys/msg.h-data: Likewise.
36048 * conform/data/sys/resource.h-data: Likewise.
36049 * conform/data/sys/select.h-data: Likewise.
36050 * conform/data/sys/sem.h-data: Likewise.
36051 * conform/data/sys/shm.h-data: Likewise.
36052 * conform/data/sys/socket.h-data: Likewise.
36053 * conform/data/sys/stat.h-data: Likewise.
36054 * conform/data/sys/statvfs.h-data: Likewise.
36055 * conform/data/sys/time.h-data: Likewise.
36056 * conform/data/sys/timeb.h-data: Likewise.
36057 * conform/data/sys/times.h-data: Likewise.
36058 * conform/data/sys/types.h-data: Likewise.
36059 * conform/data/sys/uio.h-data: Likewise.
36060 * conform/data/sys/un.h-data: Likewise.
36061 * conform/data/sys/utsname.h-data: Likewise.
36062 * conform/data/sys/wait.h-data: Likewise.
36063 * conform/data/syslog.h-data: Likewise.
36064 * conform/data/tar.h-data: Likewise.
36065 * conform/data/termios.h-data: Likewise.
36066 * conform/data/utime.h-data: Likewise.
36067 * conform/data/utmpx.h-data: Likewise.
36068 * conform/data/varargs.h-data: Likewise.
36069 * conform/data/wchar.h-data: Likewise.
36070 * conform/data/wctype.h-data: Likewise.
36071 * conform/data/wordexp.h-data: Likewise.
36073 * include/stropts.h: New file.
36074 * include/uchar.h: New file.
36075 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36076 * include/assert.h: Likewise.
36077 * include/ctype.h: Likewise.
36078 * include/dirent.h: Likewise.
36079 * include/dlfcn.h: Likewise.
36080 * include/fcntl.h: Likewise.
36081 * include/fnmatch.h: Likewise.
36082 * include/glob.h: Likewise.
36083 * include/grp.h: Likewise.
36084 * include/libio.h: Likewise.
36085 * include/locale.h: Likewise.
36086 * include/math.h: Likewise.
36087 * include/net/if.h: Likewise.
36088 * include/netdb.h: Likewise.
36089 * include/netinet/in.h: Likewise.
36090 * include/pthread.h: Likewise.
36091 * include/pwd.h: Likewise.
36092 * include/regex.h: Likewise.
36093 * include/sched.h: Likewise.
36094 * include/search.h: Likewise.
36095 * include/setjmp.h: Likewise.
36096 * include/signal.h: Likewise.
36097 * include/stdio.h: Likewise.
36098 * include/stdlib.h: Likewise.
36099 * include/string.h: Likewise.
36100 * include/sys/cdefs.h: Likewise.
36101 * include/sys/mman.h: Likewise.
36102 * include/sys/msg.h: Likewise.
36103 * include/sys/resource.h: Likewise.
36104 * include/sys/select.h: Likewise.
36105 * include/sys/socket.h: Likewise.
36106 * include/sys/stat.h: Likewise.
36107 * include/sys/statvfs.h: Likewise.
36108 * include/sys/time.h: Likewise.
36109 * include/sys/times.h: Likewise.
36110 * include/sys/uio.h: Likewise.
36111 * include/sys/utsname.h: Likewise.
36112 * include/sys/wait.h: Likewise.
36113 * include/termios.h: Likewise.
36114 * include/time.h: Likewise.
36115 * include/ulimit.h: Likewise.
36116 * include/unistd.h: Likewise.
36117 * include/utime.h: Likewise.
36118 * include/wchar.h: Likewise.
36119 * include/wctype.h: Likewise.
36120 * include/wordexp.h: Likewise.
36122 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36124 * time/time.h: TIME_UTC must be a macro.
36125 Make timespec_get available for ISO C11 only as well.
36127 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36129 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36130 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36132 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36134 * configure.in: Use -o not -a in test for unsupported multi-arch.
36136 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36138 * manual/texinfo.tex: Update to version 2012-01-19.16.
36140 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36142 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36144 2012-02-24 Roland McGrath <roland@hack.frob.com>
36147 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36148 * manual/fdl-1.3.texi: New file.
36149 * manual/fdl-1.1.texi: File removed.
36152 * manual/libc.texinfo (FDL_VERSION): New @set.
36153 Use it for mention of FDL in cover text.
36154 (Documentation License): Use it in @include file name.
36156 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36157 Roland McGrath <roland@hack.frob.com>
36160 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36161 (not LONG_LONG_MAX and LONG_LONG_MIN.
36162 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36163 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36165 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36171 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36172 manipulate bits before adding and subtracting TWO23[sx].
36173 * math/libm-test.inc (nearbyint_test): Add more tests.
36175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36178 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36179 bits before adding and subtracting TWO23[sx].
36180 * math/libm-test.inc (rint_test): Add more tests.
36181 (rint_test_tonearest): Likewise.
36182 (rint_test_towardzero): Likewise.
36183 (rint_test_downward): Likewise.
36184 (rint_test_upward: Likewise.
36186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36189 * include/stdc-predef.h: New file. Extracted from features.h.
36190 * include/features.h: Include stdc-predef.h.
36191 * Makefile (headers): Add stdc-predef.h.
36192 * CONFORMANCE (Compiler limitations): Update.
36194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36196 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36198 2012-02-21 David S. Miller <davem@davemloft.net>
36200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36201 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36203 2012-02-20 David S. Miller <davem@davemloft.net>
36205 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36206 using a normal save/restore sequence, rather than allocating a
36207 dummy stack frame just to store a frame pointer and restore.
36208 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36210 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36212 * manual/install.texi: Fix stray word in line-wrapped comment.
36214 2012-02-20 David S. Miller <davem@davemloft.net>
36216 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36217 both binutils and gcc support GOTDATA.
36219 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36220 "rd %pc" in the PIC register setup sequences.
36222 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36223 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36224 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36225 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36226 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36229 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36231 (SYSCALL_ERROR_HANDLER): Likewise.
36232 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36233 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36235 (SYSCALL_ERROR_HANDLER): Likewise.
36237 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36238 (HAVE_GCC_GOTDATA): New.
36239 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36240 relocation support in both binutils and gcc.
36241 * sysdeps/sparc/elf/configure: Regenerate.
36243 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36244 * sysdeps/sparc/sparc32/elf/configure: Delete.
36245 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36246 * sysdeps/sparc/sparc64/elf/configure: Delete.
36247 * sysdeps/sparc/elf/configure.in: New file.
36248 * sysdeps/sparc/elf/configure: Generate.
36250 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36251 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36252 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36253 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36254 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36256 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36258 * manual/install.texi: Do not mention specific glibc version
36260 * manual/libc.texinfo (VERSION, UPDATED): Update.
36261 (@copying): Use @copyright{} and range of years.
36263 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36266 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36267 [crti.S not in sysdirs] (generated): Do not append.
36268 [crti.S not in sysdirs] (omit-deps): Likewise.
36269 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36270 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36271 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36272 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36273 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36275 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36276 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36277 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36278 * csu/defs.awk: Remove file.
36279 * sysdeps/generic/initfini.c: Likewise.
36280 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36282 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36285 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36287 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36288 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36289 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36292 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36294 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36295 (__EPOLL_PACKED): Define to empty if not defined by
36297 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36301 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36303 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36304 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36306 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36308 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36312 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36314 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36321 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36326 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36328 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36329 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36331 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36333 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36336 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36338 * math/w_acos.c: Use non-signaling floating-point comparisons.
36339 * math/w_acosf.c: Likewise.
36340 * math/w_acosh.c: Likewise.
36341 * math/w_acoshf.c: Likewise.
36342 * math/w_acoshl.c: Likewise.
36343 * math/w_acosl.c: Likewise.
36344 * math/w_asin.c: Likewise.
36345 * math/w_asinf.c: Likewise.
36346 * math/w_asinl.c: Likewise.
36347 * math/w_atanh.c: Likewise.
36348 * math/w_atanhf.c: Likewise.
36349 * math/w_atanhl.c: Likewise.
36350 * math/w_exp2.c: Likewise.
36351 * math/w_exp2f.c: Likewise.
36352 * math/w_exp2l.c: Likewise.
36353 * math/w_j0.c: Likewise.
36354 * math/w_j0f.c: Likewise.
36355 * math/w_j0l.c: Likewise.
36356 * math/w_j1.c: Likewise.
36357 * math/w_j1f.c: Likewise.
36358 * math/w_j1l.c: Likewise.
36359 * math/w_jn.c: Likewise.
36360 * math/w_jnf.c: Likewise.
36361 * math/w_log.c: Likewise.
36362 * math/w_log10.c: Likewise.
36363 * math/w_log10f.c: Likewise.
36364 * math/w_log10l.c: Likewise.
36365 * math/w_log2.c: Likewise.
36366 * math/w_log2f.c: Likewise.
36367 * math/w_log2l.c: Likewise.
36368 * math/w_logf.c: Likewise.
36369 * math/w_logl.c: Likewise.
36370 * math/w_sqrt.c: Likewise.
36371 * math/w_sqrtf.c: Likewise.
36372 * math/w_sqrtl.c: Likewise.
36373 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36374 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36376 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36377 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36379 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36382 * manual/string.texi (strnlen): Use correct parameter name in
36383 equivalent expression.
36385 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36388 * manual/users.texi (seteuid): Consistently use neweuid for
36391 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36394 * manual/nss.texi (Services in the NSS configuration): Correct
36395 list of services in example configuration file.
36397 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36400 * manual/arith.texi: Remove statements about negative zero
36401 behaving identically to zero.
36403 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36406 * manual/install.texi: Do not document upgrading from libc5.
36408 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36411 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36413 2012-02-18 David S. Miller <davem@davemloft.net>
36415 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36416 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36417 %o7 across the call.
36418 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36421 SETUP_PIC_REG_LEAF.
36422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36423 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36424 * sysdeps/sparc/crtn.S: Likewise.
36426 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36428 * aout/Makefile: Remove.
36430 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36433 * manual/examples/argp-ex1.c (main): Format definition in GNU
36435 * manual/examples/argp-ex2.c (main): Likewise.
36436 * manual/examples/argp-ex3.c (main): Likewise.
36437 * manual/examples/argp-ex4.c (main): Likewise.
36438 * manual/examples/longopt.c (main): Use new-style prototype
36440 * manual/examples/strncat.c (main): Specify return type and use
36441 (void) for arguments.
36442 * manual/examples/subopt.c (main): Use char **argv argument.
36444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36447 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36450 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36453 * manual/string.texi (strchr): Change when strchrnul is
36456 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36459 * manual/locale.texi (setlocale): Document LOCPATH.
36461 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36464 * manual/process.texi (execle): Move @dots{} before last argument.
36466 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36469 * manual/charset.texi (Generic Charset Conversion): Fix typo
36470 (LC_TYPE -> LC_CTYPE).
36472 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36475 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36476 (scalbnf): Likewise.
36477 (scalbnl): Likewise.
36478 (scalbln): Likewise.
36479 (scalblnf): Likewise.
36480 (scalblnl): Likewise.
36481 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36482 (vwarnx): Likewise.
36485 * manual/filesys.texi (telldir): Use braces around return type.
36486 * manual/llio.texi (mmap): Add space after comma.
36487 (mmap64): Likewise.
36488 * manual/math.texi (jn): Use @var{} on parameter names.
36494 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36496 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36498 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36499 (sched_get_priority_max): Likewise.
36500 * manual/signal.texi (sigvec): Add space after comma.
36501 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36503 (if_indextoname): Likewise.
36504 (if_freenameindex): Likewise.
36505 (sendto): Use ',' instead of '.' in prototype.
36506 * manual/startup.texi (syscall): Use @dots{} instead of literal
36508 * manual/stdio.texi (__fpending): Separate initial words of
36509 paragraph from @deftypefun line.
36510 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36512 (vsyslog): Use @var{} on parameter names.
36513 * manual/terminal.texi (stty): Use @var{} on parameter names.
36514 * manual/users.texi (getutmp): Use @var{} on parameter names.
36515 (getutmpx): Likewise.
36517 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36520 * manual/stdio.texi (fopen): Fix typos in description of
36523 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36526 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36527 get clock_id definition.
36529 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36532 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36533 (madvise): Cast every argument to void on its own.
36535 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36538 * manual/startup.texi (Exit Status): Fix typo.
36540 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36543 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36544 * manual/examples/argp-ex2.c: Likewise.
36545 * manual/examples/argp-ex3.c: Likewise.
36547 2012-02-16 Richard Henderson <rth@redhat.com>
36549 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36550 * sysdeps/s390/s390-32/initfini.c: Remove.
36551 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36552 * sysdeps/s390/s390-64/initfini.c: Remove.
36554 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36556 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36557 compiler output for sysdeps/generic/initfini.c.
36558 * sysdeps/sh/elf/initfini.c: Remove file.
36560 2012-02-16 David S. Miller <davem@davemloft.net>
36563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36565 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36566 * sysdeps/sparc/crti.S: New file.
36567 * sysdeps/sparc/crtn.S: New file.
36568 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36569 * sysdeps/sparc/sparc64/Makefile: Likewise.
36571 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36574 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36576 2012-02-15 Roland McGrath <roland@hack.frob.com>
36579 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36581 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36582 (write, read, close): Likewise.
36583 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36585 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36587 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36588 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36589 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36590 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36592 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36596 2012-02-14 Marek Polacek <polacek@redhat.com>
36598 * sysdeps/x86_64/crti.S: New file.
36599 * sysdeps/x86_64/crtn.S: New file.
36600 * sysdeps/x86_64/elf/initfini.c: Remove file.
36602 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36604 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36605 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36606 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36607 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36609 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36613 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36615 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36616 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36617 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36618 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36620 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36624 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36626 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36627 __feraiseexcept instead of feraiseexcept.
36629 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36630 nanosleep invocations.
36631 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36632 strings, and add error checking for a nanosleep invocations.
36634 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36636 Replace FSF snail mail address with URLs, as per GNU coding standards.
36637 Most of the snail mail addresses were wrong anyway, and omitting
36638 them makes the source code easier to maintain. Almost all of the
36639 changes are to license notices and to locale LC_IDENTIFICATION
36640 addresses, except for this one:
36641 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36642 not its snail mail address.
36644 2012-02-09 Richard Henderson <rth@twiddle.net>
36646 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36647 of kernel-features.h.
36649 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36651 2012-02-08 Marek Polacek <polacek@redhat.com>
36653 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36654 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36655 * sysdeps/gnu/_G_config.h: Likewise.
36656 * sysdeps/generic/_G_config.h: Likewise.
36658 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36660 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36664 * sysdeps/powerpc/powerpc32/crti.S: New file.
36665 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36666 * sysdeps/powerpc/powerpc64/crti.S: New file.
36667 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36669 * Makeconfig (have-initfini): Don't set.
36670 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36671 * configure.in (nopic_initfini): Don't substitute.
36672 * config.h.in (HAVE_INITFINI): Don't #undef.
36673 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36674 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36676 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36678 Support crti.S and crtn.S provided directly by architectures.
36679 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36680 [crti.S in sysdirs] (omit-deps): Likewise.
36681 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36682 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36683 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36684 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36685 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36686 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36687 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36688 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36689 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36690 compiler output for sysdeps/generic/initfini.c.
36691 * sysdeps/i386/elf/Makefile: Remove file.
36692 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36694 2012-02-07 Marek Polacek <polacek@redhat.com>
36696 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36697 * sysdeps/gnu/_G_config.h: Likewise.
36698 * sysdeps/mach/hurd/_G_config.h: Likewise.
36700 2012-02-07 Marek Polacek <polacek@redhat.com>
36702 * math/Makefile (tests): Add tst-CMPLX2.
36703 * math/tst-CMPLX2.c: New file.
36705 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36707 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36709 * math/libm-test.inc (jn_test): Add missing L suffix.
36711 2012-02-06 Marek Polacek <polacek@redhat.com>
36713 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36714 * sysdeps/i386/fpu/e_powf.S: Likewise.
36715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36716 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36718 * sysdeps/i386/fpu/e_pow.S: Likewise.
36719 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36721 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36722 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36723 * sysdeps/i386/fpu/e_log2.S: Likewise.
36724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36726 * sysdeps/i386/fpu/e_powl.S: Likewise.
36727 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36728 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36729 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36730 * sysdeps/i386/fpu/e_logl.S: Likewise.
36731 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36732 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36733 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36734 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36735 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36736 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36737 * sysdeps/i386/fpu/e_log.S: Likewise.
36738 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36739 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36740 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36741 * sysdeps/i386/fpu/e_logf.S: Likewise.
36742 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36743 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36744 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36745 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36746 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36747 * sysdeps/i386/fpu/e_log10.S: Likewise.
36748 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36749 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36750 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36751 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36752 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36753 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36754 * sysdeps/i386/asm-syntax.h: Likewise.
36755 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36757 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36758 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36759 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36760 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36761 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36762 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36764 * sysdeps/powerpc/sysdep.h: Likewise.
36765 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36766 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36768 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36771 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36773 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36775 * sysdeps/i386/sysdep.h: Include <features.h>.
36776 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36779 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36781 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36783 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36786 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36788 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36789 (SETUP_PIC_REG): Use GET_PC_THUNK.
36790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36793 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36795 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36796 for non-PIC compilation.
36797 (SETUP_PIC_REG): Add .p2align directive.
36798 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36799 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36800 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36801 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36802 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36803 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36804 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36806 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36807 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36808 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36809 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36810 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36811 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36812 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36813 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36814 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36815 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36816 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36817 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36819 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36820 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36821 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36826 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36827 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36828 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36830 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36831 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36832 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36833 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36834 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36835 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36836 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36837 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36838 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36840 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36842 * math/tst-CMPLX.c: Include <stdio.h>.
36844 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36846 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36848 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36849 * sysdeps/sparc/bits/mathdef.h: Likewise.
36851 2012-01-31 Marek Polacek <polacek@redhat.com>
36853 * libio/libio.h: Don't define _PARAMS.
36854 * locale/programs/config.h: Don't define PARAMS.
36855 * stdlib/strtol_l.c: Likewise.
36856 (__strtol_l): Remove PARAMS from the prototype.
36858 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36860 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36861 names. Just use the correct names. Remove unnecessary wrapper
36863 * malloc/arena.c: Likewise.
36864 * malloc/hooks.c: Likewise.
36866 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36867 ARENA_TEST says not to. Simplify test for creation of a new arena.
36868 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36870 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36872 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36874 (update_get_addr): New function.
36875 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36876 GET_ADDR_MODULE parameter.
36878 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36880 * crypt/cert.c: Remove __STDC__ conditionals.
36881 * crypt/crypt-entry.c: Likewise.
36882 * crypt/crypt_util.c: Likewise.
36883 * libio/filedoalloc.c: Likewise.
36884 * libio/fileops.c: Likewise.
36885 * libio/genops.c: Likewise.
36886 * libio/iofclose.c: Likewise.
36887 * libio/iofdopen.c: Likewise.
36888 * libio/iofopen.c: Likewise.
36889 * libio/iofopen64.c: Likewise.
36890 * libio/iogetdelim.c: Likewise.
36891 * libio/iopopen.c: Likewise.
36892 * libio/obprintf.c: Likewise.
36893 * libio/oldfileops.c: Likewise.
36894 * libio/oldiofclose.c: Likewise.
36895 * libio/oldiofdopen.c: Likewise.
36896 * libio/oldiofopen.c: Likewise.
36897 * libio/oldiopopen.c: Likewise.
36898 * libio/wfiledoalloc.c: Likewise.
36899 * libio/wgenops.c: Likewise.
36900 * locale/programs/xmalloc.c: Likewise.
36901 * misc/syslog.c: Likewise.
36902 * stdio-common/xbug.c: Likewise.
36903 * string/memchr.c: Likewise.
36904 * string/memcmp.c: Likewise.
36905 * string/memrchr.c: Likewise.
36906 * string/rawmemchr.c: Likewise.
36907 * sysdeps/posix/getcwd.c: Likewise.
36908 * time/strftime_l.c: Likewise.
36910 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36912 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36913 * config.make.in (config-cflags-sse2avx): Define.
36914 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36917 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36919 * scripts/config.guess: Update from upstream config git repository.
36920 * scripts/config.sub: Likewise.
36922 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36924 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36926 (R_TILEPRO_*, R_TILEGX_*): New macros.
36928 * scripts/firstversions.awk: Fix bug in version range handling.
36930 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36932 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36934 * include/sys/epoll.h: New file.
36935 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36938 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36940 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36941 Avoid unnecessary __WORDSIZE == 64 test.
36942 (fmaxf): Use VEX format if possible.
36947 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36948 * math/math_private.h: Remove libc_fegetround* and
36950 * sysdeps/i386/configure.in: Check for -msse2avx.
36951 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36952 also if SSE2AVX is defined.
36953 Remove libc_fegetround* and libc_fesetround*.
36954 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36955 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36959 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36961 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36962 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36964 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36966 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36968 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36972 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36975 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36977 * Makeconfig (libm): Define.
36978 * elf/Makefile: Add rules to build and run tst-relsort1.
36979 * elf/tst-relsort1.c: New file.
36980 * elf/tst-relsort1mod1.c: New file.
36981 * elf/tst-relsort1mod2.c: New file.
36983 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36985 * math/s_ldexp.c: Remove __STDC__ conditionals.
36986 * math/s_ldexpf.c: Likewise.
36987 * math/s_ldexpl.c: Likewise.
36988 * math/s_nextafter.c: Likewise.
36989 * math/s_nexttowardf.c: Likewise.
36990 * math/s_significand.c: Likewise.
36991 * math/s_significandf.c: Likewise.
36992 * math/s_significandl.c: Likewise.
36993 * math/w_jnl.c: Likewise.
36994 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36995 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36996 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36997 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36998 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37001 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37002 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37006 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37007 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37008 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37010 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37011 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37013 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37014 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37016 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37018 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37019 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37020 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37024 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37025 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37026 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37027 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37030 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37031 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37032 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37033 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37034 * sysdeps/ieee754/k_standard.c: Likewise.
37035 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37037 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37038 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37039 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37042 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37043 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37045 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37046 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37047 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37048 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37049 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37051 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37054 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37055 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37056 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37057 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37058 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37059 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37064 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37075 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37093 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37109 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37110 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37114 * sysdeps/ieee754/s_matherr.c: Likewise.
37115 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37116 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37120 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37122 * crypt/md5.h: Remove __STDC__ conditionals.
37123 * libio/libioP.h: Likewise.
37124 * locale/programs/config.h: Likewise.
37125 * sysdeps/generic/sysdep.h: Likewise.
37126 * sysdeps/i386/asm-syntax.h: Likewise.
37127 * sysdeps/s390/asm-syntax.h: Likewise.
37128 * sysdeps/unix/sysdep.h: Likewise.
37129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37132 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37134 * libio/libio.h: Remove __STDC__ conditionals.
37135 * malloc/obstack.h: Likewise.
37136 * math/complex.h: Likewise.
37137 * math/math.h: Likewise.
37138 * sysdeps/generic/_G_config.h: Likewise.
37139 * sysdeps/gnu/_G_config.h: Likewise.
37140 * sysdeps/mach/hurd/_G_config.h: Likewise.
37141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37142 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37143 * sysdeps/sparc/bits/mathdef.h: Likewise.
37145 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37148 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37149 Clean up HAS_* macros.
37150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37151 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37161 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37163 * elf/tst-unique3.cc (gets): Remove declaration.
37164 * elf/tst-unique3lib.cc (gets): Likewise.
37165 * elf/tst-unique3lib2.cc (gets): Likewise.
37166 * elf/tst-unique4.cc (gets): Likewise.
37168 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37170 * include/stdio.h: Add C++ protection. Add gets declarations and
37172 * debug/tst-chk1.c: Don't declare gets here.
37173 * stdio-common/tst-gets.c: Likewise.
37175 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37177 * posix/glob: Remove directory.
37179 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37181 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37183 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37185 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37186 of the non-standard EPFNOSUPPORT.
37188 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37190 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37191 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37192 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37194 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37196 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37198 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37200 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37202 * nscd/grpcache.c (cache_addgr): Likewise.
37203 * nscd/hstcache.c (cache_addhst): Likewise.
37204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37205 * nscd/pwdcache.c (cache_addpw): Likewise.
37206 * nscd/servicescache.c (cache_addserv): Likewise.
37208 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37210 * malloc/malloc.c: Various cleanups.
37211 * malloc/hooks.c: Likewise.
37213 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37214 * stdlib/bug-fmtmsg1.c: New file.
37216 * stdlib/fmtmsg.c (init): Add missing unlock.
37217 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37219 2012-01-12 Marek Polacek <polacek@redhat.com>
37221 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37224 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37226 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37227 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37228 macro to ensure uniqueness of label name.
37229 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37230 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37232 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37234 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37238 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37241 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37243 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37245 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37246 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37247 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37249 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37252 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37256 * math/bits/math-finite.h: Add ldexp support.
37258 2012-01-10 Marek Polacek <polacek@redhat.com>
37260 * locale/programs/localedef.h (show_archive_content): Add noreturn
37263 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37265 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37267 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37269 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37271 * io/Makefile (headers): Add bits/poll2.h.
37273 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37276 typo #include statement.
37278 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37280 * include/sys/cdefs.h: Define __attribute_alloc_size.
37281 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37282 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37283 * elf/pldd.c: Likewise.
37284 * iconv/iconv_charmap.c: Likewise.
37285 * iconv/iconvconfig.c: Likewise.
37286 * iconv/strtab.c: Likewise.
37287 * locale/programs/locale.c: Likewise.
37288 * locale/programs/localedef.h: Likewise.
37289 * locale/programs/simple-hash.c: Likewise.
37290 * nscd/nscd.h: Likewise.
37291 * nss/makedb.c: Likewise.
37292 * sysdeps/generic/ldconfig.h: Likewise.
37293 * locale/programs/localedef.c: Remove xmalloc prototype.
37294 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37296 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37301 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37303 * math/Makefile (tests): Add tst-CMPLX.
37304 * math/tst-CMPLX.c: New file.
37306 * math/complex.h (CMPLXL): Fix typo.
37308 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37309 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37311 * debug/tst-chk1.c: Add poll and ppoll tests.
37312 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37313 * include/sys/poll.h: Add hidden proto for ppoll.
37314 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37315 * sysdeps/mach/hurd/ppoll.c: Likewise.
37316 * io/ppoll.c: Likewise.
37317 * debug/poll_chk.c: New file.
37318 * debug/ppoll_chk.c: New file.
37319 * include/bits/poll2.h: New file.
37320 * io/bits/poll2.h: New file.
37323 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37325 * configure.in: static is always set to yes. Remove.
37326 * config.make.in: Don't set build-static.
37327 * Makeconfig: Remove use of build-static.
37328 * dlfcn/Makefile: Likewise.
37329 * elf/Makefile: Likewise.
37330 * math/Makefile: Likewise.
37331 * misc/Makefile: Likewise.
37332 * nptl/Makefile: Likewise.
37333 * sysdeps/mach/hurd/Makefile: Likewise.
37335 * configure.in: PWD_P is not used anymore.
37336 * config.make.in: Remove PWD_P entry.
37338 * configure.in: Remove last remnants of RANLIB.
37339 No need to check for signed size_t anymore.
37340 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37342 Remove __builtin_expect test because we require at least gcc 3.4.
37343 * aclocal.m4: Likewise.
37345 * wcsmbs/mbrtoc16.c: Implement using towc function.
37346 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37347 * wcsmbs/wcsmbsload.c: Likewise.
37348 * iconv/gconv_simple.c: Likewise.
37349 * iconv/gconv_int.h: Likewise.
37350 * iconv/gconv_builtin.h: Likewise.
37351 * iconv/iconv_prog.c: Remove CHAR16 handling.
37353 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37355 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37357 * configure.in: Remove --with-elf and --enable-bounded options.
37358 Dont set base_machine for ia64. More non-ELF conditions removed.
37359 Remove testing and setting of leading underscore information.
37360 * config.make.in (build-bounded): Set to no.
37361 * config.h.in: Remove NO_UNDERSCORES entry.
37362 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37364 * csu/start.c: Remove !NO_UNDERSCORE code.
37365 * locale/localeinfo.h: Likewise.
37366 * sysdeps/generic/machine-gmon.h: Likewise.
37367 * sysdeps/generic/sysdep.h: Likewise.
37368 * sysdeps/i386/sysdep.h: Likewise.
37369 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37370 * sysdeps/mach/sysdep.h: Likewise.
37371 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37372 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37373 * sysdeps/sh/sysdep.h: Likewise.
37374 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37375 * sysdeps/unix/i386/sysdep.S: Likewise.
37376 * sysdeps/unix/sparc/start.c: Likewise.
37377 * sysdeps/unix/sparc/sysdep.S: Likewise.
37378 * sysdeps/unix/sparc/sysdep.h: Likewise.
37379 * sysdeps/unix/start.c: Likewise.
37380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37381 * sysdeps/x86_64/sysdep.h: Likewise.
37383 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37386 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37388 * argp/argp-fmtstream.h: Use const instead __const.
37389 * argp/argp.h: Likewise.
37390 * assert/assert.h: Likewise.
37391 * bits/fenv.h: Likewise.
37392 * bits/sched.h: Likewise.
37393 * bits/sigset.h: Likewise.
37394 * bits/sigthread.h: Likewise.
37395 * catgets/nl_types.h: Likewise.
37396 * conform/data/pthread.h-data: Likewise.
37397 * crypt/crypt-private.h: Likewise.
37398 * crypt/crypt.h: Likewise.
37399 * crypt/crypt_util.c: Likewise.
37400 * ctype/ctype.h: Likewise.
37401 * debug/execinfo.h: Likewise.
37402 * debug/mbsnrtowcs_chk.c: Likewise.
37403 * debug/mbsrtowcs_chk.c: Likewise.
37404 * debug/wcsnrtombs_chk.c: Likewise.
37405 * debug/wcsrtombs_chk.c: Likewise.
37406 * debug/wcstombs_chk.c: Likewise.
37407 * dirent/dirent.h: Likewise.
37408 * dlfcn/dlfcn.h: Likewise.
37409 * elf/neededtest4.c: Likewise.
37410 * grp/grp.h: Likewise.
37411 * gshadow/gshadow.h: Likewise.
37412 * iconv/gconv.h: Likewise.
37413 * iconv/gconv_int.h: Likewise.
37414 * iconv/gconv_simple.c: Likewise.
37415 * iconv/iconv.h: Likewise.
37416 * iconv/loop.c: Likewise.
37417 * iconv/skeleton.c: Likewise.
37418 * include/aio.h: Likewise.
37419 * include/aliases.h: Likewise.
37420 * include/argz.h: Likewise.
37421 * include/arpa/inet.h: Likewise.
37422 * include/assert.h: Likewise.
37423 * include/dirent.h: Likewise.
37424 * include/dlfcn.h: Likewise.
37425 * include/execinfo.h: Likewise.
37426 * include/fcntl.h: Likewise.
37427 * include/fenv.h: Likewise.
37428 * include/glob.h: Likewise.
37429 * include/grp.h: Likewise.
37430 * include/libintl.h: Likewise.
37431 * include/mntent.h: Likewise.
37432 * include/netdb.h: Likewise.
37433 * include/pwd.h: Likewise.
37434 * include/rpc/netdb.h: Likewise.
37435 * include/sched.h: Likewise.
37436 * include/search.h: Likewise.
37437 * include/shadow.h: Likewise.
37438 * include/signal.h: Likewise.
37439 * include/stdio.h: Likewise.
37440 * include/stdlib.h: Likewise.
37441 * include/string.h: Likewise.
37442 * include/sys/socket.h: Likewise.
37443 * include/sys/stat.h: Likewise.
37444 * include/sys/statfs.h: Likewise.
37445 * include/sys/statvfs.h: Likewise.
37446 * include/sys/syslog.h: Likewise.
37447 * include/sys/time.h: Likewise.
37448 * include/sys/uio.h: Likewise.
37449 * include/time.h: Likewise.
37450 * include/unistd.h: Likewise.
37451 * include/utmp.h: Likewise.
37452 * include/wchar.h: Likewise.
37453 * include/wctype.h: Likewise.
37454 * inet/aliases.h: Likewise.
37455 * inet/arpa/inet.h: Likewise.
37456 * inet/netinet/ether.h: Likewise.
37457 * inet/netinet/in.h: Likewise.
37458 * intl/libintl.h: Likewise.
37459 * io/bits/fcntl2.h: Likewise.
37460 * io/fcntl.h: Likewise.
37461 * io/ftw.h: Likewise.
37462 * io/sys/poll.h: Likewise.
37463 * io/sys/stat.h: Likewise.
37464 * io/sys/statfs.h: Likewise.
37465 * io/sys/statvfs.h: Likewise.
37466 * io/utime.h: Likewise.
37467 * libio/bits/stdio.h: Likewise.
37468 * libio/bits/stdio2.h: Likewise.
37469 * libio/libio.h: Likewise.
37470 * libio/libioP.h: Likewise.
37471 * libio/stdio.h: Likewise.
37472 * locale/lc-ctype.c: Likewise.
37473 * locale/locale.h: Likewise.
37474 * login/utmp.h: Likewise.
37475 * malloc/arena.c: Likewise.
37476 * malloc/malloc.c: Likewise.
37477 * malloc/malloc.h: Likewise.
37478 * malloc/mcheck.c: Likewise.
37479 * malloc/mtrace.c: Likewise.
37480 * math/bits/mathcalls.h: Likewise.
37481 * math/fenv.h: Likewise.
37482 * math/math_private.h: Likewise.
37483 * misc/bits/error.h: Likewise.
37484 * misc/bits/syslog.h: Likewise.
37485 * misc/err.h: Likewise.
37486 * misc/error.h: Likewise.
37487 * misc/fstab.h: Likewise.
37488 * misc/mntent.h: Likewise.
37489 * misc/regexp.h: Likewise.
37490 * misc/search.h: Likewise.
37491 * misc/sgtty.h: Likewise.
37492 * misc/sys/mman.h: Likewise.
37493 * misc/sys/syslog.h: Likewise.
37494 * misc/sys/uio.h: Likewise.
37495 * misc/sys/xattr.h: Likewise.
37496 * misc/ttyent.h: Likewise.
37497 * nis/rpcsvc/ypclnt.h: Likewise.
37498 * nss/nss.h: Likewise.
37499 * posix/bits/unistd.h: Likewise.
37500 * posix/fnmatch.h: Likewise.
37501 * posix/glob.h: Likewise.
37502 * posix/sched.h: Likewise.
37503 * posix/spawn.h: Likewise.
37504 * posix/sys/wait.h: Likewise.
37505 * posix/unistd.h: Likewise.
37506 * posix/wordexp.h: Likewise.
37507 * pwd/pwd.h: Likewise.
37508 * resolv/netdb.h: Likewise.
37509 * resource/sys/resource.h: Likewise.
37510 * rt/aio.h: Likewise.
37511 * rt/bits/mqueue2.h: Likewise.
37512 * rt/mqueue.h: Likewise.
37513 * shadow/shadow.h: Likewise.
37514 * signal/signal.h: Likewise.
37515 * socket/send.c: Likewise.
37516 * socket/sendto.c: Likewise.
37517 * socket/sys/socket.h: Likewise.
37518 * stdio-common/printf.h: Likewise.
37519 * stdlib/bits/stdlib.h: Likewise.
37520 * stdlib/fmtmsg.h: Likewise.
37521 * stdlib/monetary.h: Likewise.
37522 * stdlib/stdlib.h: Likewise.
37523 * stdlib/ucontext.h: Likewise.
37524 * streams/stropts.h: Likewise.
37525 * string/argz.h: Likewise.
37526 * string/bits/string2.h: Likewise.
37527 * string/string.h: Likewise.
37528 * string/strings.h: Likewise.
37529 * sunrpc/rpc/auth.h: Likewise.
37530 * sunrpc/rpc/auth_des.h: Likewise.
37531 * sunrpc/rpc/clnt.h: Likewise.
37532 * sunrpc/rpc/netdb.h: Likewise.
37533 * sunrpc/rpc/pmap_clnt.h: Likewise.
37534 * sunrpc/rpc/xdr.h: Likewise.
37535 * sysdeps/generic/inttypes.h: Likewise.
37536 * sysdeps/generic/net/if.h: Likewise.
37537 * sysdeps/generic/sys/swap.h: Likewise.
37538 * sysdeps/gnu/net/if.h: Likewise.
37539 * sysdeps/gnu/utmpx.h: Likewise.
37540 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37541 * sysdeps/i386/i486/bits/string.h: Likewise.
37542 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37543 * sysdeps/s390/bits/string.h: Likewise.
37544 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37545 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37546 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37547 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37548 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37549 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37550 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37551 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37552 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37553 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37554 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37555 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37556 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37557 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37558 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37559 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37560 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37563 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37565 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37566 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37567 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37568 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37569 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37570 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37572 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37573 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37574 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37575 * sysvipc/sys/ipc.h: Likewise.
37576 * sysvipc/sys/msg.h: Likewise.
37577 * sysvipc/sys/sem.h: Likewise.
37578 * sysvipc/sys/shm.h: Likewise.
37579 * termios/termios.h: Likewise.
37580 * time/sys/time.h: Likewise.
37581 * time/time.h: Likewise.
37582 * wcsmbs/bits/wchar2.h: Likewise.
37583 * wcsmbs/uchar.h: Likewise.
37584 * wcsmbs/wchar.h: Likewise.
37585 * wctype/wctype.h: Likewise.
37588 * Makeconfig: Remove all but ELF support including AIX support.
37589 * Makerules: Likewise.
37590 * config.h.in: Likewise.
37591 * config.make.in: Likewise.
37592 * configure: Likewise.
37593 * configure.in: Likewise.
37594 * csu/Makefile: Likewise.
37595 * csu/version.c: Likewise.
37596 * debug/Makefile: Likewise.
37597 * dlfcn/Makefile: Likewise.
37598 * elf/Makefile: Likewise.
37599 * extra-lib.mk: Likewise.
37600 * iconv/Makefile: Likewise.
37601 * include/libc-symbols.h: Likewise.
37602 * include/shlib-compat.h: Likewise.
37603 * resolv/Makefile: Likewise.
37604 * resolv/res_libc.c: Likewise.
37605 * rt/Makefile: Likewise.
37606 * sysdeps/i386/asm-syntax.h: Likewise.
37607 * sysdeps/i386/sysdep.h: Likewise.
37608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37609 * sysdeps/mach/sysdep.h: Likewise.
37610 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37611 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37612 * sysdeps/s390/asm-syntax.h: Likewise.
37613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37615 * sysdeps/sh/sysdep.h: Likewise.
37616 * sysdeps/unix/sparc/sysdep.h: Likewise.
37617 * sysdeps/wordsize-32/divdi3.c: Likewise.
37618 * sysdeps/x86_64/sysdep.h: Likewise.
37620 * argp/Versions: Remove _argp_unlock_xxx.
37623 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37624 * abilist/libBrokenLocale.abilist: Likewise.
37625 * abilist/libanl.abilist: Likewise.
37626 * abilist/libc.abilist: Likewise.
37627 * abilist/libcrypt.abilist: Likewise.
37628 * abilist/libdl.abilist: Likewise.
37629 * abilist/libm.abilist: Likewise.
37630 * abilist/libnsl.abilist: Likewise.
37631 * abilist/libpthread.abilist: Likewise.
37632 * abilist/libresolv.abilist: Likewise.
37633 * abilist/librt.abilist: Likewise.
37634 * abilist/libthread_db.abilist: Likewise.
37635 * abilist/libutil.abilist: Likewise.
37636 * abilist/libnss_db.abilist: New file.
37638 * scripts/abilist.awk: Add support for indirect functions.
37640 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37642 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37644 * shlib-versions: Remove entries for ports architectures.
37646 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37648 * elf/stackguard-macros.h: Remove support for IA-64.
37649 * elf/tst-auditmod1.c: Likewise.
37650 * sysdeps/generic/ldsodefs.h: Likewise.
37652 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37653 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37657 * configure.in: Remove --enable-omitfp support.
37659 * config.make.in: Likewise.
37660 * Makeconfig: Likewise.
37661 * manual/install.texi: Likewise.
37663 In case anyone cares, the IA-64 architecture could move to ports.
37664 * sysdeps/ia64/*: Removed.
37665 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37666 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37669 * configure.in: Remove entries for unsupported architectures.
37672 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37673 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37675 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37676 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37677 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37678 fall back to using wcrtomb.
37679 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37680 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37682 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37683 * wcsmbs/tst-c16c32-1.c: New file.
37685 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37688 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37690 * elf/tst-unique3.cc: Add explicit declaration of gets.
37691 * elf/tst-unique3lib.cc: Likewise.
37692 * elf/tst-unique3lib2.cc: Likewise.
37693 * elf/tst-unique4.cc: Likewise.
37695 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37697 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37700 * assert/assert.h (static_assert): Don't define for C++.
37701 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37702 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37704 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37706 * iconv/loop.c (single loop): Fix assertion in storing of
37709 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37711 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37713 * posix/getconf.c: Update copyright year.
37714 * nss/getent.c: Likewise.
37715 * nss/makedb.c: Likewise.
37716 * iconv/iconvconfig.c: Likewise.
37717 * iconv/iconv_prog.c: Likewise.
37718 * elf/ldconfig.c: Likewise.
37719 * elf/pldd.c: Likewise.
37720 * elf/sotruss.ksh: Likewise.
37721 * catgets/gencat.c: Likewise.
37722 * csu/version.c: Likewise.
37723 * elf/ldd.bash.in: Likewise.
37724 * elf/sprof.c (print_version): Likewise.
37725 * locale/programs/locale.c: Likewise.
37726 * locale/programs/localedef.c: Likewise.
37727 * login/programs/pt_chown.c: Likewise.
37728 * nscd/nscd.c (print_version): Likewise.
37729 * debug/xtrace.sh: Likewise.
37730 * malloc/memusage.sh: Likewise.
37731 * malloc/mtrace.pl: Likewise.
37732 * debug/catchsegv.sh: Likewise.
37734 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37736 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37739 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37742 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37743 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37745 * iconv/gconv_int.h: Likewise.
37746 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37747 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37748 from libc for GLIBC_2.16.
37749 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37750 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37751 * wcsmbs/uchar.h: Really define mbstate_t.
37752 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37753 * wcsmbs/c16rtomb.c: New file.
37754 * wcsmbs/mbrtoc16.c: New file.
37755 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37756 for C/POSIX locale.
37757 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37758 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37760 * wcsmbs/wchar.h: Add missing __restrict.
37762 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37765 * time/Makefile (routines): Add timespec_get.
37766 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37767 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37768 timespec for ISO C11.
37769 * time/timespec_get.c: New file.
37770 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37771 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37774 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37775 * stdlib/stdlib.h: Declare aligned_alloc.
37776 * Versions.def: Add GLIBC_2.16 for libc.
37777 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37780 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37783 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37787 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37790 * assert/assert.h (static_assert): Define.
37792 * version.h: Update for 2.16 development version.
37795 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37798 * version.h (RELEASE): Bump for 2.15 release.
37799 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37801 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37802 Patch by Marek Polacek <mpolacek@redhat.com>.
37804 * bits/byteswap.h: Protect long long constants with __extension__.
37805 * sysdeps/i386/bits/byteswap.h: Likewise.
37806 * sysdeps/ia64/bits/byteswap.h: Likewise.
37807 * sysdeps/s390/bits/byteswap.h: Likewise.
37808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37810 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37814 destination buffer.
37815 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37817 2011-12-23 Marek Polacek <polacek@redhat.com>
37819 * elf/dl-addr.c (determine_info): Add inline keyword.
37820 * elf/tst-auditmod4b.c (check_avx): Likewise.
37821 * elf/tst-auditmod6b.c (check_avx): Likewise.
37822 * elf/tst-auditmod6c.c (check_avx): Likewise.
37823 * elf/tst-auditmod7b.c (check_avx): Likewise.
37825 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37827 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37830 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37833 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37834 processing for last bytes.
37836 2011-08-06 Bruno Haible <bruno@clisp.org>
37839 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37840 U+0385, not to U+1FEE.
37843 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37844 entry for U+00A5 U+0301.
37846 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37849 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37850 buffer for the output is too small.
37852 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37856 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37857 SSE flags if possible.
37859 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37863 processing for last bytes.
37865 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37867 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37868 (syscall-list-default-options, syscall-list-default-condition)
37869 (syscall-list-includes): Define.
37870 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37871 list of ABIs and options and #if conditions for each ABI. Do not
37872 handle common syscalls between ABIs specially.
37873 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37875 (syscall-list-variants, syscall-list-32bit-options)
37876 (syscall-list-32bit-condition, syscall-list-64bit-options)
37877 (syscall-list-64bit-condition): Define.
37878 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37879 (syscall-list-variants, syscall-list-32bit-options)
37880 (syscall-list-32bit-condition, syscall-list-64bit-options)
37881 (syscall-list-64bit-condition): Define.
37882 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37884 (syscall-list-variants, syscall-list-32bit-options)
37885 (syscall-list-32bit-condition, syscall-list-64bit-options)
37886 (syscall-list-64bit-condition): Define.
37887 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37889 (syscall-list-variants, syscall-list-32bit-options)
37890 (syscall-list-32bit-condition, syscall-list-64bit-options)
37891 (syscall-list-64bit-condition): Define.
37893 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37895 * locale/iso-639.def: Add brx entry.
37898 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37899 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37901 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37902 __feraiseexcept_renamed.
37904 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37907 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37908 EPOLLET with unsigned values.
37909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37912 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37913 to large cancellation.
37914 * math/s_cacoshf.c: Likewise.
37915 * math/s_cacoshl.c: Likewise.
37917 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37921 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37922 * math/s_cacoshf.c: Likewise.
37923 * math/s_cacoshl.c: Likewise.
37925 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37928 * iconv/gconv.h: Define __GCONV_SWAP.
37929 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37930 * iconvdata/utf-16.c: Likewise.
37931 * iconvdata/utf-32.c: Likewise.
37933 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37936 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37937 numerator after shifting it by one limb.
37939 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37941 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37942 under [__USE_EXTERN_INLINES].
37944 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37947 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37949 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37951 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37952 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37954 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37955 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37956 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37957 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37958 for strncasecmp/strncasecmp_l compilation.
37959 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37960 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37962 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37965 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37968 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37971 * time/tzfile.c (__tzfile_read): Check values from file header.
37973 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37975 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37976 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37977 * powerpc/powerpc32/dl-start.S: Likewise.
37978 * powerpc/powerpc32/elf/start.S: Likewise.
37979 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37980 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37981 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37982 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37983 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37984 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37985 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37986 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37987 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37988 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37989 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37990 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37991 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37992 * powerpc/powerpc32/memset.S: Likewise.
37993 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37994 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37995 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37996 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37997 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37998 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37999 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38000 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38001 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38002 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38003 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38004 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38005 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38007 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38009 * math/libm-test.inc: Added more nearbyint tests.
38010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38015 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38017 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38020 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38022 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38023 Add wcscpy-ssse3 wcscpy-c.
38024 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38025 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38026 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38027 * sysdeps/x86_64/wcschr.S: New file.
38028 * sysdeps/x86_64/wcsrchr.S: New file.
38029 * string/test-strcmp.c: Remove checking of wcscmp function for
38031 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38032 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38033 wcsrchr-sse2 wcsrchr-c.
38034 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38035 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38036 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38037 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38038 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38039 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38040 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38041 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38043 * wcsmbc/wcschr.c (WCSCHR): New macro.
38045 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38047 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38048 * wcsmbs/test-wcsrchr.c: New file.
38049 * string/test-strrchr.c: Add wcsrchr support.
38051 * wcsmbs/test-wcscpy.c: New file.
38052 * string/test-strcpy.c: Add wcscpy support.
38055 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38057 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38060 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38063 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38065 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38067 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38068 Minor optimizations.
38070 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38071 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38072 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38074 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38076 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38077 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38078 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38079 for gcc to avoid warnings.
38080 * inet/Makefile (tests): Add tst-checks.
38081 * inet/tst-checks.c: New file.
38083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38086 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38089 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38090 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38092 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38094 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38096 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38099 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38101 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38104 conditional on GCC version.
38105 (__arch_compare_and_exchange_val_8_acq)
38106 (__arch_compare_and_exchange_val_16_acq)
38107 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38108 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38109 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38111 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38113 * sysdeps/sh/backtrace.c: New file.
38115 2011-12-02 Andreas Schwab <schwab@redhat.com>
38117 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38120 2011-12-01 Andreas Schwab <schwab@redhat.com>
38122 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38123 falling back to utime.
38125 2011-11-30 Andreas Schwab <schwab@redhat.com>
38127 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38128 expectations for float.
38130 2011-11-29 Andreas Schwab <schwab@redhat.com>
38132 * locale/weight.h (findidx): Add parameter len.
38133 * locale/weightwc.h (findidx): Likewise.
38134 * posix/fnmatch_loop.c (FCT): Adjust caller.
38135 * posix/regcomp.c (build_equiv_class): Likewise.
38136 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38137 * posix/regexec.c (check_node_accept_bytes): Likewise.
38138 * string/strcoll_l.c (STRCOLL): Likewise.
38139 * string/strxfrm_l.c (STRXFRM): Likewise.
38141 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38143 * Makefile.in: Remove CVSOPT handling.
38144 * configure.in: Remove use of AC_REVISION.
38145 * iconvdata/Makefile (distribute): No need to filter out CVS.
38146 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38149 2011-11-16 Andreas Schwab <schwab@redhat.com>
38151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38152 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38153 [USE_AS_STRNCASECMP_L]: Likewise.
38154 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38155 NO_TLS_DIRECT_SEG_REFS.
38156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38157 Fix argument offsets for non-PIC.
38158 [USE_AS_STRNCASECMP_L]: Likewise.
38159 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38160 NO_TLS_DIRECT_SEG_REFS.
38162 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38164 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38166 * locale/loadlocale.c (_nl_load_locale): Likewise.
38168 2011-11-15 Andreas Schwab <schwab@redhat.com>
38170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38171 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38173 (SYSCALL_GETTIME): Set errno on error.
38175 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38176 count references to noai6ai_cached.
38178 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38180 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38182 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38183 FD_CLOEXEC for /proc/self/maps.
38185 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38186 FD_CLOEXEC for /proc/meminfo.
38188 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38191 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38192 FD_CLOEXEC for given file.
38194 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38196 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38197 FD_CLOEXEC for /etc/hosts.
38198 (_gethtent): Likewise.
38200 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38202 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38203 cancellation and set FD_CLOEXEC for /etc/netgroup.
38205 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38206 reading /etc/publickey.
38208 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38209 allow cancellation when reading /etc/group.
38211 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38213 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38215 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38216 when using data file.
38218 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38220 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38221 (write_nis_obj): Use "c" and "e" in fopen.
38223 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38225 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38227 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38229 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38231 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38234 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38236 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38238 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38240 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38241 file parsing and set FD_CLOEXEC.
38243 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38245 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38247 2011-11-14 Andreas Schwab <schwab@redhat.com>
38249 * malloc/arena.c (arena_get2): Don't call reused_arena when
38250 _int_new_arena failed.
38252 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38254 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38255 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38257 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38258 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38260 to compile strcasecmp and strncasecmp.
38261 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38262 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38266 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38268 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38269 locale-defines.sym to gen-as-const-headers.
38270 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38271 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38273 to compile strcasecmp and strncasecmp.
38274 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38275 strcasecmp_l and strncasecmp_l.
38276 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38277 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38278 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38279 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38280 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38281 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38282 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38283 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38284 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38285 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38286 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38288 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38290 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38291 result of SYSDEP_GETTIME_CPU to retval.
38292 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38293 parameter list to macro. Remove trailing semicolon. Adjust users.
38295 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38298 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38300 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38302 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38303 from unused variable.
38305 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38307 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38310 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38313 * sunrpc/rpc_prot.c (rejected): Fix case value.
38315 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38316 unsigned long long int to avoid warnings in shift.
38318 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38320 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38323 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38324 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38325 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38327 * nis/nis_table.c (nis_list): Use variable of correct type for
38328 result of __follow_path call.
38330 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38332 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38333 of math functions ceil, trunc, floor, round, and sqrt, when
38334 avaliable on the platform.
38335 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38341 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38343 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38346 2011-11-11 Roland McGrath <roland@hack.frob.com>
38348 * include/unistd.h: Fix __readlink return type.
38349 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38351 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38353 * stdlib/ucontext.h: Undo last change for makecontext.
38355 2011-11-11 Andreas Schwab <schwab@redhat.com>
38357 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38359 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38360 * setjmp/setjmp.h: Mark functions as non-leaf.
38361 * setjmp/bits/setjmp2.h: Likewise.
38362 * stdlib/ucontext.h: Likewise.
38364 2011-11-10 Andreas Schwab <schwab@redhat.com>
38366 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38367 (reused_arena): Don't check arena limit.
38368 (arena_get2): Atomically check arena limit.
38370 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38372 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38373 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38378 2011-11-07 Andreas Schwab <schwab@redhat.com>
38380 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38381 handler when locking.
38383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38384 Fix size of allocated buffer.
38386 2011-11-04 Andreas Schwab <schwab@redhat.com>
38389 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38390 declarations for long double functions.
38391 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38393 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38395 2011-11-03 Andreas Schwab <schwab@redhat.com>
38397 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38400 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38403 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38405 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38407 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38409 * include/alloca.h (stackinfo_alloca_round): Define.
38410 (extend_alloca): Use it.
38411 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38412 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38415 * scripts/check-local-headers.sh: Ignore libaudit.h.
38417 * nscd/Makefile (extra-objs): Make recursively expanded.
38419 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38421 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38422 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38424 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38425 * posix/tst-rfc3484-2.c: Likewise.
38426 * posix/tst-rfc3484-3.c: Likewise.
38428 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38430 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38432 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38433 process_vm_writev from libc using GLIBC_2.15 version.
38435 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38437 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38439 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38442 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38445 * nss/getent.c (initgroups_keys): Show error message in case no group
38448 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38449 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38450 __bump_nl_timestamp.
38451 * nscd/connections (nscd_init): When host database is served open
38452 netlink socket and request notification about configuration changes.
38453 (main_loop_poll): Track netlink file descriptor and bump timestamp
38454 in case data becomes available.
38455 (main_loop_epoll): Likewise.
38456 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38457 (database_pers_head): Add extra_data fileds.
38458 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38459 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38460 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38463 in6ai data, call __free_in6ai.
38464 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38465 Add -DHAVE_NETLINK.
38466 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38467 interface information. Reuse previous data if netlink timestamp
38469 (__bump_nl_timestamp): New function.
38470 (__free_in6ai): New function.
38472 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38474 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38475 close_not_cancel_no_status here.
38476 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38478 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38481 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38484 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38485 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38486 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38488 2011-07-03 Andreas Jaeger <aj@suse.de>
38491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38492 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38493 * math/libm-test.inc (sin_test): Add test case.
38495 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38498 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38499 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38501 * elf/chroot_canon.c (chroot_canon): Cleanups.
38503 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38506 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38507 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38509 * string/test-strchr.c: Make usable for strchrnul testing.
38510 * string/test-strchrnul.c: New file.
38511 * string/Makefile (strop-tests): Add strchrnul.
38513 * po/it.po: Update from translation team.
38514 * po/es.po: Likewise.
38516 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38519 the three constants needed as parameters. Drop the others.
38520 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38521 __m128i_strloadu_tolower.
38522 Create and initialize variable zero and use it in all the places
38523 where _mm_setzero_si128 was used.
38525 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38526 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38527 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38528 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38530 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38531 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38532 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38533 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38534 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38535 __mpranred, __mptan.
38536 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38537 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38538 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38539 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38540 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38541 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38542 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38543 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38544 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38546 2011-10-28 Andreas Schwab <schwab@redhat.com>
38548 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38549 redefine if SHARED.
38550 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38553 wide char related routines to wcsmbs subdir.
38555 2011-10-27 Andreas Schwab <schwab@redhat.com>
38558 * misc/sys/cdefs.h (__THROWNL): Define.
38559 * posix/unistd.h: Use __THREADNL instead of __THREAD
38560 for memory synchronization functions.
38562 2011-10-26 Roland McGrath <roland@hack.frob.com>
38565 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38567 * manual/stdio.texi (Obstack Streams): Node removed.
38569 2011-10-26 Andreas Schwab <schwab@redhat.com>
38571 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38572 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38573 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38575 * math/math_private.h (math_force_eval): Allow non-addressable
38577 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38579 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38581 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38582 file is not needed.
38584 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38587 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38588 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38591 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38593 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38594 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38595 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38596 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38597 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38598 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38599 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38600 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38601 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38602 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38603 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38604 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38606 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38607 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38608 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38609 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38610 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38611 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38613 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38614 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38616 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38617 place. Use VEX encoding when compiling for AVX.
38619 2011-10-25 Andreas Schwab <schwab@redhat.com>
38621 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38622 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38624 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38626 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38628 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38629 useless if() expression.
38630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38640 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38641 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38642 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38643 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38644 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38648 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38650 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38652 2011-10-25 Andreas Schwab <schwab@redhat.com>
38654 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38658 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38660 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38661 .text section. Avoid duplicate constants.
38662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38672 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38674 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38685 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38686 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38687 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38688 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38689 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38691 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38693 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38694 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38695 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38696 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38697 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38698 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38700 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38701 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38703 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38704 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38705 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38706 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38708 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38710 * sysdeps/x86_64/dla.h: Move to ...
38711 * sysdeps/x86_64/fpu/dla.h: ...here.
38712 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38713 situations. Use __builtin_fma only for gcc 4.6 and up.
38715 * config.make.in: Add have-mfma4 entry.
38716 * configure.in: Substitute libc_cv_cc_fma4.
38717 * math/Makefile (dbl-only-routines): Add sincostab.
38718 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38719 Use __sincostab not sincos.
38720 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38727 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38728 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38729 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38730 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38732 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38733 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38735 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38736 define aliases when function name is a macro.
38737 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38738 sysdeps/ieee754/dbl-64/sincos.tbl.
38739 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38740 fma4-enabled routines.
38741 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38742 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38743 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38744 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38745 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38746 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38748 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38750 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38751 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38752 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38753 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38754 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38756 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38757 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38758 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38759 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38761 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38762 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38768 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38770 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38772 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38783 2011-10-24 Andreas Schwab <schwab@redhat.com>
38785 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38787 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38789 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38791 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38793 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38795 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38796 Remove unused variable magic_bits.
38797 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38799 * string/strnlen.c: Define and use STRNLEN macro.
38800 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38801 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38802 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38803 * wcsmbs/wcslen.c: Define and use WCSLEN.
38804 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38805 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38806 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38807 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38808 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38809 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38810 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38812 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38815 strnlen-sse2-no-bsf.
38816 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38817 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38818 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38819 Add strnlen support.
38820 (USE_AS_STRNLEN): New macro.
38821 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38823 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38824 * sysdeps/x86_64/wcslen.S: New file.
38826 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38829 XMM-moves are used for copying on small sizes.
38831 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38833 * wcsmbs/Makefile (strop-tests): Add wcschr.
38834 * wcsmbs/test-wcschr.c: New file.
38835 * string/test-strchr.c: Update.
38836 Add wcschr support.
38839 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38841 * wcsmbs/Makefile (strop-tests): Add wcslen.
38842 * wcsmbs/test-wcslen.c: New file.
38843 * string/test-strlen.c: Update.
38844 Add wcslen support.
38847 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38849 * po/it.po: Update from translation team.
38851 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38853 * sysdeps/x86_64/wcscmp.S: Update.
38854 Fix wrong comparison semantics.
38855 wcscmp shall use signed comparison not unsigned.
38856 Don't use substraction to avoid overflow bug.
38857 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38858 * wcsmbc/wcscmp.c: Likewise.
38859 * string/test-strcmp.c: Likewise.
38860 Add new tests to check cases with negative values.
38862 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38864 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38865 * sysdeps/x86_64/dla.h: ...here. New file.
38866 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38876 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38879 __ynl_finite aliases.
38881 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38885 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38887 [DLA_FMA] (EMULV): Use DLA_FMA.
38888 [DLA_FMA] (MUL12): Use EMULV.
38889 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38890 that are not needed.
38891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38899 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38901 * math/s_nan.c: Undef __nan.
38902 * math/s_nanf.c: Undef __nanf.
38903 * math/s_nanl.c: Undef __nanl.
38904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38907 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38909 * math/s_catan.c: Add branch predictions.
38910 * math/s_catanf.c: Likewise.
38911 * math/s_catanh.c: Likewise.
38912 * math/s_catanhf.c: Likewise.
38913 * math/s_catanhl.c: Likewise.
38914 * math/s_catanl.c: Likewise.
38915 * math/s_cexp.c: Likewise.
38916 * math/s_cexpf.c: Likewise.
38917 * math/s_cexpl.c: Likewise.
38918 * math/s_clog.c: Likewise.
38919 * math/s_clog10.c: Likewise.
38920 * math/s_clog10f.c: Likewise.
38921 * math/s_clog10l.c: Likewise.
38922 * math/s_clogf.c: Likewise.
38923 * math/s_clogl.c: Likewise.
38924 * math/s_csqrt.c: Likewise.
38925 * math/s_csqrtf.c: Likewise.
38926 * math/s_csqrtl.c: Likewise.
38927 * math/s_ctanf.c: Likewise.
38928 * math/s_ctanh.c: Likewise.
38929 * math/s_ctanhf.c: Likewise.
38930 * math/s_ctanhl.c: Likewise.
38931 * math/s_ctanl.c: Likewise.
38933 * math/math_private.h: Define __nan, __nanf, __nanl.
38934 * math/s_cacosh.c: Include <math_private.h>.
38935 * math/s_cacoshl.c: Likewise.
38936 * math/s_casinh.c: Likewise.
38937 * math/s_casinhf.c: Likewise.
38938 * math/s_casinhl.c: Likewise.
38939 * math/s_ccos.c: Rely entire on ccosh.
38940 * math/s_ccosf.c: Rely entire on ccoshf.
38941 * math/s_ccosl.c: Rely entirely on ccoshl.
38942 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38943 Remove tests for FE_INVALID.
38944 * math/s_ccoshf.c: Likewise.
38945 * math/s_ccoshl.c: Likewise.
38946 * math/s_csin.c: Likewise.
38947 * math/s_csinf.c: Likewise.
38948 * math/s_csinh.c Likewise.
38949 * math/s_csinhf.c: Likewise.
38950 * math/s_csinhl.c: Likewise.
38951 * math/s_csinl.c: Likewise.
38952 * math/s_ctan.c: Likewise.
38953 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38954 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38955 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38957 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38960 compilation problems.
38962 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38965 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38967 * sysdeps/i386/configure.in: Test for -mfma4 option.
38968 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38969 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38970 COMMON_CPUID_INDEX_80000001.
38971 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38972 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38973 use it if FMA3 is not supported.
38974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38976 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38977 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38979 2011-10-20 Andreas Schwab <schwab@redhat.com>
38982 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38983 it would create a cycle with a link time dependency.
38985 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38987 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38989 * string/Makefile (strop-tests): Add rawmemchr.
38990 * string/test-rawmemchr.c: New file.
38992 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38994 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38995 when compiling str{,n}casecmp and when AVX is available. Hook up
38996 new optimized code in initializers.
38998 2011-10-19 Andreas Schwab <schwab@redhat.com>
39000 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39001 __feraiseexcept instead of feraiseexcept.
39003 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39005 * math/math_private.h: Define defaults for libc_fetestexcept and
39007 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39008 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39009 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39010 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39011 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39012 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39013 libc_fetestexcept and libc_feupdateenv.
39015 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39016 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39017 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39018 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39019 libc_feholdexcept_setround.
39021 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39022 Add s_nearbyint-c and s_nearbyintf-c.
39023 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39024 nearbyintf inlines.
39025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39026 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39028 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39030 * math/math_private.h: Define defaults for libc_fegetround,
39031 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39032 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39033 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39035 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39036 standard functions.
39037 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39038 Remove comments and hacks for old compiler versions.
39039 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39040 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39041 libc_feholdexceptl.
39043 2011-10-18 Andreas Schwab <schwab@redhat.com>
39045 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39046 (__feraiseexcept_renamed): Add __NTH.
39047 (feraiseexcept): Add __NTH. Rename local variables to fix
39048 namespace violations.
39050 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39056 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39057 recently added interfaces.
39058 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39060 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39061 about macro parameter expansion.
39063 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39064 __NO_MATH_INLINES is defined. Cleanups.
39066 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39067 and __floorf is target has SSE4.1.
39068 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39069 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39070 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39071 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39073 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39075 (floorf): Likewise.
39077 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39079 2011-10-17 Andreas Schwab <schwab@redhat.com>
39081 * misc/sys/cdefs.h: Fix last change.
39083 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39086 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39088 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39090 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39093 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39096 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39099 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39100 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39101 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39102 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39103 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39104 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39105 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39106 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39107 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39108 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39109 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39110 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39111 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39113 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39114 ceil, ceilf, floor, floorf.
39116 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39117 Perform IRELATIVE relocations last.
39119 * elf/do-rel.h: Add another parameter nrelative, replacing the
39120 local variable with the same name. Change name of the function
39121 to end in Rel or Rela (uppercase).
39122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39123 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39124 elf_dynamic_do_##reloc function.
39126 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39128 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39129 is sufficient, at least on modern CPUs.
39131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39133 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39134 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39136 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39138 * math/bits/math-finite.h: Add entries for exp.
39139 * math/e_expl.c: Add __*_finite alias.
39140 * sysdeps/i386/fpu/e_exp.S: Likewise.
39141 * sysdeps/i386/fpu/e_expf.S: Likewise.
39142 * sysdeps/i386/fpu/e_expl.c: Likewise.
39143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39144 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39147 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39148 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39149 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39151 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39152 is sufficient, at least on modern CPUs.
39154 * ctype/ctype-info.c (__ctype_init): Define.
39155 * include/ctype.h (__ctype_init): Declare.
39156 (__ctype_b_loc): The variable is always initialized.
39157 (__ctype_toupper_loc): Likewise.
39158 (__ctype_tolower_loc): Likewise.
39159 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39160 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39162 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39164 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39166 * configure.in: Also look in $cxxmachine/include for C++ system
39169 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39171 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39172 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39173 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39174 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39175 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39176 (USE_AS_WMEMCMP): New macro.
39178 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39179 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39180 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39181 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39183 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39184 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39185 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39186 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39187 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39188 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39189 (USE_AS_WMEMCMP): New macro.
39190 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39191 * sysdeps/string/test-memcmp.c: Update.
39192 Fix simple_wmemcmp.
39194 * wcsmbs/wmemcmp.c: Update.
39195 (WMEMCMP): New macro.
39198 2011-10-12 Andreas Jaeger <aj@suse.de>
39201 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39203 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39205 * libio/iofwide.c (do_length): Avoid warning.
39207 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39209 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39211 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39213 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39214 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39215 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39216 * sysdeps/i386/i686/fpu/e_log.S: New file.
39217 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39218 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39220 * ctype/ctype.h: Add support for inlined isXXX functions when
39221 compiling C++ code.
39223 2011-10-14 Andreas Schwab <schwab@redhat.com>
39225 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39229 2011-10-13 Roland McGrath <roland@hack.frob.com>
39232 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39234 2011-10-13 Andreas Schwab <schwab@redhat.com>
39236 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39237 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39240 * sysdeps/x86_64/memrchr.S: Check for zero size.
39242 * string/stratcliff.c: Add memrchr tests.
39244 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39247 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39248 rawmemchr-sse2 rawmemchr-sse2-bsf.
39249 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39250 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39251 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39252 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39253 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39254 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39255 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39256 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39258 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39259 * string/memrchr.c (MEMRCHR): New macro.
39261 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39263 Add integration with gcc's -ffinite-math-only and optimize wrapper
39265 * Versions.def: Define GLIBC_2.15 version for libm.
39266 * math/Makefile (headers): Add bits/math-finite.h.
39267 * math/bits/math-finite.h: New file.
39268 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39269 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39270 * math/e_acoshl.c: Add __*_finite alias.
39271 * math/e_acosl.c: Likewise.
39272 * math/e_asinl.c: Likewise.
39273 * math/e_atan2l.c: Likewise.
39274 * math/e_atanhl.c: Likewise.
39275 * math/e_coshl.c: Likewise.
39276 * math/e_exp10.c: Likewise.
39277 * math/e_exp10f.c: Likewise.
39278 * math/e_exp10l.c: Likewise.
39279 * math/e_exp2l.c: Likewise.
39280 * math/e_fmodl.c: Likewise.
39281 * math/e_gammal_r.c: Likewise.
39282 * math/e_hypotl.c: Likewise.
39283 * math/e_j0l.c: Likewise.
39284 * math/e_j1l.c: Likewise.
39285 * math/e_jnl.c: Likewise.
39286 * math/e_lgammal_r.c: Likewise.
39287 * math/e_log10l.c: Likewise.
39288 * math/e_log2l.c: Likewise.
39289 * math/e_logl.c: Likewise.
39290 * math/e_powl.c: Likewise.
39291 * math/e_sinhl.c: Likewise.
39292 * math/e_sqrtl.c: Likewise.
39293 * math/e_scalb.c: Completely rewritten and optimized.
39294 * math/e_scalbf.c: Likewise.
39295 * math/e_scalbl.c: Likewise.
39296 * math/w_acos.c: Likewise.
39297 * math/w_acosf.c: Likewise.
39298 * math/w_acosl.c: Likewise.
39299 * math/w_acosh.c: Likewise.
39300 * math/w_acoshf.c: Likewise.
39301 * math/w_acoshl.c: Likewise.
39302 * math/w_asin.c: Likewise.
39303 * math/w_asinf.c: Likewise.
39304 * math/w_asinl.c: Likewise.
39305 * math/w_atan2.c: Likewise.
39306 * math/w_atan2f.c: Likewise.
39307 * math/w_atan2l.c: Likewise.
39308 * math/w_atanh.c: Likewise.
39309 * math/w_atanhf.c: Likewise.
39310 * math/w_atanhl.c: Likewise.
39311 * math/w_exp10.c: Likewise.
39312 * math/w_exp10f.c: Likewise.
39313 * math/w_exp10l.c: Likewise.
39314 * math/w_fmod.c: Likewise.
39315 * math/w_fmodf.c: Likewise.
39316 * math/w_fmodl.c: Likewise.
39317 * math/w_j0.c: Likewise.
39318 * math/w_j0f.c: Likewise.
39319 * math/w_j0l.c: Likewise.
39320 * math/w_j1.c: Likewise.
39321 * math/w_j1f.c: Likewise.
39322 * math/w_j1l.c: Likewise.
39323 * math/w_jn.c: Likewise.
39324 * math/w_jnf.c: Likewise.
39325 * math/w_log.c: Likewise.
39326 * math/w_logf.c: Likewise.
39327 * math/w_logl.c: Likewise.
39328 * math/w_log10.c: Likewise.
39329 * math/w_log10f.c: Likewise.
39330 * math/w_log10l.c: Likewise.
39331 * math/w_log2.c: Likewise.
39332 * math/w_log2f.c: Likewise.
39333 * math/w_log2l.c: Likewise.
39334 * math/w_pow.c: Likewise.
39335 * math/w_powf.c: Likewise.
39336 * math/w_powl.c: Likewise.
39337 * math/w_remainder.c: Likewise.
39338 * math/w_remainderf.c: Likewise.
39339 * math/w_remainderl.c: Likewise.
39340 * math/w_scalb.c: Likewise.
39341 * math/w_scalbf.c: Likewise.
39342 * math/w_scalbl.c: Likewise.
39343 * math/w_sqrt.c: Likewise.
39344 * math/w_sqrtf.c: Likewise.
39345 * math/w_sqrtl.c: Likewise.
39346 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39347 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39349 * math/math_private.h: Declare __kernel_standard_f.
39350 * math/w_cosh.c: Remove cruft and optimize a bit.
39351 * math/w_coshf.c: Likewise.
39352 * math/w_coshl.c: Likewise.
39353 * math/w_exp2.c: Likewise.
39354 * math/w_exp2f.c: Likewise.
39355 * math/w_exp2l.c: Likewise.
39356 * math/w_hypot.c: Likewise.
39357 * math/w_hypotf.c: Likewise.
39358 * math/w_hypotl.c: Likewise.
39359 * math/w_lgamma.c: Likewise.
39360 * math/w_lgamma_r.c: Likewise.
39361 * math/w_lgammaf.c: Likewise.
39362 * math/w_lgammaf_r.c: Likewise.
39363 * math/w_lgammal.c: Likewise.
39364 * math/w_lgammal_r.c: Likewise.
39365 * math/w_sinh.c: Likewise.
39366 * math/w_sinhf.c: Likewise.
39367 * math/w_sinhl.c: Likewise.
39368 * math/w_tgamma.c: Likewise.
39369 * math/w_tgammaf.c: Likewise.
39370 * math/w_tgammal.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39373 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39374 Minor optimizations. Pretty printing. Remove cruft.
39375 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39376 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39377 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39379 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39380 * sysdeps/i386/fpu/e_asin.S: Likewise.
39381 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39382 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39383 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39384 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39387 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39388 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39389 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39390 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39391 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39392 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39393 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39394 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39395 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39396 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39397 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39398 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39399 * sysdeps/i386/fpu/e_log.S: Likewise.
39400 * sysdeps/i386/fpu/e_log10.S: Likewise.
39401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39403 * sysdeps/i386/fpu/e_log2.S: Likewise.
39404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39405 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39406 * sysdeps/i386/fpu/e_logf.S: Likewise.
39407 * sysdeps/i386/fpu/e_logl.S: Likewise.
39408 * sysdeps/i386/fpu/e_pow.S: Likewise.
39409 * sysdeps/i386/fpu/e_powf.S: Likewise.
39410 * sysdeps/i386/fpu/e_powl.S: Likewise.
39411 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39412 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39413 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39416 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39417 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39418 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39419 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39442 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39443 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39444 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39445 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39446 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39447 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39448 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39449 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39450 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39451 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39454 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39455 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39456 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39457 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39458 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39459 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39460 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39461 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39508 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39509 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39510 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39513 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39515 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39516 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39517 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39518 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39519 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39520 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39521 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39522 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39523 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39524 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39525 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39526 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39528 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39529 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39530 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39531 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39532 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39533 (__isnanf): Likewise.
39534 (__isinf_ns): Likewise.
39535 (__isinf_nsf): Likewise.
39536 (__finite): Likewise.
39537 (__finitef): Likewise.
39538 (__ieee754_sqrt): Define as macro.
39539 (__ieee754_sqrtf): Define as macro.
39540 (__ieee754_sqrtl): Define as macro.
39541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39543 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39544 __FINITE_MATH_ONLY__ consistent.
39545 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39547 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39549 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39552 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39554 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39556 * po/ja.po: Update from translation team.
39558 2011-10-08 Roland McGrath <roland@hack.frob.com>
39560 * locale/programs/locarchive.c (prepare_address_space): New function.
39561 (create_archive, enlarge_archive, open_archive): Use it.
39563 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39564 inside [SHARED], where it is used.
39566 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39568 * nss/getent.c (netgroup_keys): Remove unused variable.
39569 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39571 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39573 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39574 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39576 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39577 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39578 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39579 * math/Makefile (libm-calls): Add s_isinf_ns.
39580 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39581 * math/multc3.c: Likewise.
39582 * math/s_casin.c: Likewise.
39583 * math/s_casinf.c: Likewise.
39584 * math/s_casinl.c: Likewise.
39585 * math/s_ccos.c: Likewise.
39586 * math/s_ccosf.c: Likewise.
39587 * math/s_ccosl.c: Likewise.
39588 * math/s_ctan.c: Likewise.
39589 * math/s_ctanf.c: Likewise.
39590 * math/s_ctanh.c: Likewise.
39591 * math/s_ctanhf.c: Likewise.
39592 * math/s_ctanhl.c: Likewise.
39593 * math/s_ctanl.c: Likewise.
39594 * math/w_fmod.c: Likewise.
39595 * math/w_fmodf.c: Likewise.
39596 * math/w_fmodl.c: Likewise.
39597 * math/w_remainder.c: Likewise.
39598 * math/w_remainderf.c: Likewise.
39599 * math/w_remainderl.c: Likewise.
39600 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39601 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39602 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39604 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39605 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39606 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39607 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39609 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39611 * stdio-common/printf_fphex.c: Likewise.
39612 * stdio-common/printf_size.c: Likewise.
39614 * math/e_exp10.c: Include math_private.h using <...> not "...".
39615 * math/e_exp10f.c: Likewise.
39616 * math/e_exp10l.c: Likewise.
39617 * math/e_exp2l.c: Likewise.
39618 * math/e_j0l.c: Likewise.
39619 * math/e_j1l.c: Likewise.
39620 * math/e_jnl.c: Likewise.
39621 * math/e_lgammal_r.c: Likewise.
39622 * math/e_rem_pio2l.c: Likewise.
39623 * math/e_scalb.c: Likewise.
39624 * math/e_scalbf.c: Likewise.
39625 * math/e_scalbl.c: Likewise.
39626 * math/k_cosl.c: Likewise.
39627 * math/k_sinl.c: Likewise.
39628 * math/k_tanl.c: Likewise.
39629 * math/s_cacoshf.c: Likewise.
39630 * math/s_catan.c: Likewise.
39631 * math/s_catanf.c: Likewise.
39632 * math/s_catanh.c: Likewise.
39633 * math/s_catanhf.c: Likewise.
39634 * math/s_catanhl.c: Likewise.
39635 * math/s_catanl.c: Likewise.
39636 * math/s_ccosh.c: Likewise.
39637 * math/s_ccoshf.c: Likewise.
39638 * math/s_ccoshl.c: Likewise.
39639 * math/s_cexp.c: Likewise.
39640 * math/s_cexpf.c: Likewise.
39641 * math/s_cexpl.c: Likewise.
39642 * math/s_clog.c: Likewise.
39643 * math/s_clog10.c: Likewise.
39644 * math/s_clog10f.c: Likewise.
39645 * math/s_clog10l.c: Likewise.
39646 * math/s_clogf.c: Likewise.
39647 * math/s_clogl.c: Likewise.
39648 * math/s_csin.c: Likewise.
39649 * math/s_csinf.c: Likewise.
39650 * math/s_csinh.c: Likewise.
39651 * math/s_csinhf.c: Likewise.
39652 * math/s_csinhl.c: Likewise.
39653 * math/s_csinl.c: Likewise.
39654 * math/s_csqrt.c: Likewise.
39655 * math/s_csqrtf.c: Likewise.
39656 * math/s_csqrtl.c: Likewise.
39657 * math/s_ctan.c: Likewise.
39658 * math/s_ctanf.c: Likewise.
39659 * math/s_ctanh.c: Likewise.
39660 * math/s_ctanhf.c: Likewise.
39661 * math/s_ctanhl.c: Likewise.
39662 * math/s_ctanl.c: Likewise.
39663 * math/s_ldexp.c: Likewise.
39664 * math/s_ldexpf.c: Likewise.
39665 * math/s_ldexpl.c: Likewise.
39666 * math/s_significand.c: Likewise.
39667 * math/s_significandf.c: Likewise.
39668 * math/s_significandl.c: Likewise.
39669 * math/w_acos.c: Likewise.
39670 * math/w_acosf.c: Likewise.
39671 * math/w_acosh.c: Likewise.
39672 * math/w_acoshf.c: Likewise.
39673 * math/w_acoshl.c: Likewise.
39674 * math/w_acosl.c: Likewise.
39675 * math/w_asin.c: Likewise.
39676 * math/w_asinf.c: Likewise.
39677 * math/w_asinl.c: Likewise.
39678 * math/w_atan2.c: Likewise.
39679 * math/w_atan2f.c: Likewise.
39680 * math/w_atan2l.c: Likewise.
39681 * math/w_atanh.c: Likewise.
39682 * math/w_atanhf.c: Likewise.
39683 * math/w_atanhl.c: Likewise.
39684 * math/w_cosh.c: Likewise.
39685 * math/w_coshf.c: Likewise.
39686 * math/w_coshl.c: Likewise.
39687 * math/w_dremf.c: Likewise.
39688 * math/w_exp10.c: Likewise.
39689 * math/w_exp10f.c: Likewise.
39690 * math/w_exp10l.c: Likewise.
39691 * math/w_exp2.c: Likewise.
39692 * math/w_exp2f.c: Likewise.
39693 * math/w_fmod.c: Likewise.
39694 * math/w_fmodf.c: Likewise.
39695 * math/w_fmodl.c: Likewise.
39696 * math/w_hypot.c: Likewise.
39697 * math/w_hypotf.c: Likewise.
39698 * math/w_hypotl.c: Likewise.
39699 * math/w_j0.c: Likewise.
39700 * math/w_j0f.c: Likewise.
39701 * math/w_j0l.c: Likewise.
39702 * math/w_j1.c: Likewise.
39703 * math/w_j1f.c: Likewise.
39704 * math/w_j1l.c: Likewise.
39705 * math/w_jn.c: Likewise.
39706 * math/w_jnf.c: Likewise.
39707 * math/w_jnl.c: Likewise.
39708 * math/w_lgamma.c: Likewise.
39709 * math/w_lgamma_r.c: Likewise.
39710 * math/w_lgammaf.c: Likewise.
39711 * math/w_lgammaf_r.c: Likewise.
39712 * math/w_lgammal.c: Likewise.
39713 * math/w_lgammal_r.c: Likewise.
39714 * math/w_log.c: Likewise.
39715 * math/w_log10.c: Likewise.
39716 * math/w_log10f.c: Likewise.
39717 * math/w_log10l.c: Likewise.
39718 * math/w_log2.c: Likewise.
39719 * math/w_log2f.c: Likewise.
39720 * math/w_log2l.c: Likewise.
39721 * math/w_logf.c: Likewise.
39722 * math/w_logl.c: Likewise.
39723 * math/w_pow.c: Likewise.
39724 * math/w_powf.c: Likewise.
39725 * math/w_powl.c: Likewise.
39726 * math/w_remainder.c: Likewise.
39727 * math/w_remainderf.c: Likewise.
39728 * math/w_remainderl.c: Likewise.
39729 * math/w_scalb.c: Likewise.
39730 * math/w_scalbf.c: Likewise.
39731 * math/w_scalbl.c: Likewise.
39732 * math/w_sinh.c: Likewise.
39733 * math/w_sinhf.c: Likewise.
39734 * math/w_sinhl.c: Likewise.
39735 * math/w_sqrt.c: Likewise.
39736 * math/w_sqrtf.c: Likewise.
39737 * math/w_sqrtl.c: Likewise.
39738 * math/w_tgamma.c: Likewise.
39739 * math/w_tgammaf.c: Likewise.
39740 * math/w_tgammal.c: Likewise.
39742 * po/ja.po: Update from translation team.
39744 2011-09-29 Andreas Jaeger <aj@suse.de>
39747 * sunrpc/netname.c (netname2host): Fix logic.
39751 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39753 * math/w_remainder.c (__remainder): Likewise.
39754 * math/w_remainderf.c (__remainderf): Likewise.
39755 * math/libm-test.inc (remainder_test): Add test cases.
39757 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39759 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39762 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39764 * string/test-memcmp.c: Avoid unncessary #defines.
39765 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39767 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39769 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39770 Use new sse2 version for core i3 - i7 as it's faster
39771 than sse42 version.
39772 (bit_Prefer_PMINUB_for_stringop): New.
39773 * sysdeps/x86_64/rawmemchr.S: Update.
39774 Replace with faster SSE2 version.
39775 * sysdeps/x86_64/memrchr.S: New file.
39776 * sysdeps/x86_64/memchr.S: Update.
39777 Replace with faster SSE2 version.
39779 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39781 * elf/dl-load.c (lose): Add cast to avoid warning.
39783 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39785 * po/ca.po: Update from translation team.
39787 * inet/getnetgrent_r.c: Hook up nscd.
39788 * nscd/Makefile (routines): Add nscd_netgroup.
39789 (nscd-modules): Add netgroupcache.
39790 (CFLAGS-netgroupcache.c): Define.
39791 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39792 (cache_search): Add const to second parameter.
39793 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39795 (dbs): Add netgrdb entry.
39796 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39797 (verify_persistent_db): Handle netgrdb.
39798 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39799 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39801 (netgroup_response_header): Define.
39802 (innetgroup_response_header): Define.
39803 (datahead): Add netgroup_response_header and innetgroup_response_header
39805 * nscd/nscd.conf: Add entries for netgroup cache.
39806 * nscd/nscd.h (dbtype): Add netgrdb.
39807 (_PATH_NSCD_NETGROUP_DB): Define.
39808 (netgroup_iov_disabled): Declare.
39809 (xmalloc, xcalloc, xrealloc): Move declarations here.
39810 (cache_search): Adjust prototype.
39811 Add netgroup-related prototypes.
39812 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39813 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39814 (__nscd_innetgr): Declare.
39815 * nscd/selinux.c (perms): Use access_vector_t as element type and
39816 add netgroup-related initializers.
39817 * nscd/netgroupcache.c: New file.
39818 * nscd/nscd_netgroup.c: New file.
39819 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39820 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39821 For four parameters use innetgr.
39822 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39823 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39824 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39825 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39827 * nscd/connections.c (register_traced_file): Don't register file
39828 for disabled databases.
39830 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39832 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39834 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39835 from tree and freeing node.
39837 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39839 * nss/nsswitch.c (__nss_database_lookup): Handle
39840 nss_parse_service_list out of memory case.
39842 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39844 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39845 out of memory case.
39847 2011-10-04 Andreas Schwab <schwab@redhat.com>
39849 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39850 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39852 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39853 elf_machine_rela, elf_machine_lazy_rel.
39854 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39855 (ELF_DYNAMIC_DO_REL): Likewise.
39856 (ELF_DYNAMIC_DO_RELA): Likewise.
39857 (ELF_DYNAMIC_RELOCATE): Likewise.
39858 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39859 to ELF_DYNAMIC_DO_REL.
39860 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39861 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39862 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39865 skip_ifunc, don't call ifunc function if non-zero.
39866 (elf_machine_rela): Likewise.
39867 (elf_machine_lazy_rel): Likewise.
39868 (elf_machine_lazy_rela): Likewise.
39869 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39870 (elf_machine_lazy_rel): Likewise.
39871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39873 (elf_machine_lazy_rel): Likewise.
39874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39876 (elf_machine_lazy_rel): Likewise.
39877 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39878 (elf_machine_lazy_rel): Likewise.
39879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39880 (elf_machine_lazy_rel): Likewise.
39881 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39882 (elf_machine_lazy_rel): Likewise.
39883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39884 (elf_machine_lazy_rel): Likewise.
39885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39886 (elf_machine_lazy_rel): Likewise.
39887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39888 (elf_machine_lazy_rel): Likewise.
39890 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39892 * nss/nss_files/files-init.c (_nss_files_init): Use static
39893 initialization for all the *_traced_file variables.
39895 2011-09-28 Andreas Schwab <schwab@redhat.com>
39897 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39899 2011-09-27 Roland McGrath <roland@hack.frob.com>
39902 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39904 2011-09-27 Andreas Schwab <schwab@redhat.com>
39906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39907 Reread the line before reparsing it.
39909 2011-09-26 Andreas Schwab <schwab@redhat.com>
39911 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39913 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39914 Maxim Kuvyrkov <maxim@codesourcery.com>
39915 Joseph Myers <joseph@codesourcery.com>
39917 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39918 if needed for __stack_chk_guard.
39920 2011-09-19 Roland McGrath <roland@hack.frob.com>
39922 * sysdeps/posix/spawni.c (script_execute): Always define it.
39923 It will be optimized away if unused.
39924 (maybe_script_execute): New function.
39925 (__spawni): Call it.
39927 * Makerules: Don't include tls.make.
39928 (config-tls): Always set to thread.
39929 * tls.make.c: File removed.
39931 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39933 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39934 * config.make.in (CPPFLAGS-config): New substituted variable.
39936 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39938 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39941 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39942 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39944 2011-09-15 Roland McGrath <roland@hack.frob.com>
39946 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39947 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39949 (CALL_FAIL): Likewise.
39950 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39951 (CALL_FAIL): Macro removed.
39952 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39954 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39956 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39957 for __FINITE_MATH_ONLY__ == 1.
39959 2011-09-15 Andreas Schwab <schwab@redhat.com>
39961 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39962 __ieee754_sqrt instead of sqrt.
39963 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39964 __ieee754_sqrtf instead of sqrtf.
39965 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39966 __floorf instead of floorf.
39967 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39968 __floorf, __truncf instead of floorf, truncf.
39970 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39972 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39974 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39975 __extern_always_inline.
39976 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39979 2011-09-14 Andreas Schwab <schwab@redhat.com>
39981 * elf/rtld.c (dl_main): Also relocate in dependency order when
39982 doing symbol dependency testing.
39984 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39987 Always define `refsym'.
39989 2011-09-13 Andreas Schwab <schwab@redhat.com>
39991 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39992 (__FD_ELT): Renamed from __FDELT.
39993 * misc/bits/select2.h (__FD_ELT): Likewise.
39994 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39995 __FD_MASK instead of __FDELT, __FDMASK.
39996 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39998 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40001 * elf/Makefile (gen-ldd): Fix pattern.
40003 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40004 (init_tls): Likewise.
40006 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40010 2011-09-12 Andreas Schwab <schwab@redhat.com>
40012 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40013 `struct cmsghdr *' instead of `void *'.
40014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40017 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40019 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40021 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40022 ldd_rewrite_script.
40024 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40026 * configure.in: Remove --with-tls option.
40027 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40028 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40029 out in case it is missing.
40030 * sysdeps/ia64/elf/configure.in: Likewise.
40031 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40032 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40033 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40034 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40035 * sysdeps/sh/elf/configure.in: Likewise.
40036 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40038 * sysdeps/x86_64/elf/configure.in: Likewise.
40039 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40040 * sysdeps/mach/hurd/tls.h: Likewise.
40043 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40046 * configure.in: Fix use of AC_INIT.
40048 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40050 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40052 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40054 * malloc/hooks.c: Likewise.
40057 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40058 variables statically.
40059 (narenas): Initialize.
40060 (list_lock): Initialize.
40061 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40062 initializtion of main_arena and list_lock. Small cleanups.
40063 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40064 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40065 Add initializers to main_arena and mp_.
40066 (malloc_state): Remove pagesize member. Change all users to use
40069 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40070 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40071 is always initialized.
40073 * malloc/malloc.c: Removed unused configurations and dead code.
40074 * malloc/arena.c: Likewise.
40075 * malloc/hooks.c: Likewise.
40076 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40078 * include/tls.h: Removed. USE___THREAD must always be defined.
40079 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40080 * elf/dl-libc.c: Likewise.
40081 * elf/dl-tsd.c: Likewise.
40082 * include/errno.h: Likewise.
40083 * include/netdb.h: Likewise.
40084 * include/resolv.h: Likewise.
40085 * inet/herrno-loc.c: Likewise.
40086 * inet/herrno.c: Likewise.
40087 * malloc/arena.c: Likewise.
40088 * malloc/hooks.c: Likewise.
40089 * malloc/malloc.c: Likewise.
40090 * resolv/res-state.c: Likewise.
40091 * resolv/res_libc.c: Likewise.
40092 * sysdeps/i386/dl-machine.h: Likewise.
40093 * sysdeps/ia64/dl-machine.h: Likewise.
40094 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40095 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40096 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40097 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40098 * sysdeps/sh/dl-machine.h: Likewise.
40099 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40100 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40101 * sysdeps/unix/i386/sysdep.S: Likewise.
40102 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40103 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40107 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40108 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40112 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40113 * sysdeps/x86_64/dl-machine.h: Likewise.
40114 * tls.make.c: Likewise.
40116 * configure.in: Remove --with-__thread option. Make tests for
40117 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40118 tls_model attribute fail if no support is available. Remove
40120 * Makeconfig: Adjust for dropped configure option. All features are
40122 * Makerules: Likewise.
40123 * Versions.def: Likewise.
40124 * argp/argp-fmtstream.c: Likewise.
40125 * argp/argp-fmtstream.h: Likewise.
40126 * argp/argp-help.c: Likewise.
40127 * assert/assert.c: Likewise.
40128 * config.h.in: Likewise.
40129 * config.make.in: Likewise.
40130 * configure: Likewise.
40131 * configure.in: Likewise.
40132 * csu/Versions: Likewise.
40133 * csu/init.c: Likewise.
40134 * elf/tst-audit2.c: Likewise.
40135 * elf/tst-tls10.c: Likewise.
40136 * elf/tst-tls10.h: Likewise.
40137 * elf/tst-tls11.c: Likewise.
40138 * elf/tst-tls12.c: Likewise.
40139 * elf/tst-tls14.c: Likewise.
40140 * elf/tst-tlsmod11.c: Likewise.
40141 * elf/tst-tlsmod12.c: Likewise.
40142 * elf/tst-tlsmod13.c: Likewise.
40143 * elf/tst-tlsmod13a.c: Likewise.
40144 * elf/tst-tlsmod14a.c: Likewise.
40145 * elf/tst-tlsmod15b.c: Likewise.
40146 * elf/tst-tlsmod16a.c: Likewise.
40147 * elf/tst-tlsmod16b.c: Likewise.
40148 * elf/tst-tlsmod7.c: Likewise.
40149 * elf/tst-tlsmod8.c: Likewise.
40150 * elf/tst-tlsmod9.c: Likewise.
40151 * gmon/gmon.c: Likewise.
40152 * grp/fgetgrent_r.c: Likewise.
40153 * grp/putgrent.c: Likewise.
40154 * hurd/fopenport.c: Likewise.
40155 * include/libc-symbols.h: Likewise.
40156 * include/tls.h: Likewise.
40157 * intl/gettextP.h: Likewise.
40158 * intl/loadinfo.h: Likewise.
40159 * locale/global-locale.c: Likewise.
40160 * locale/localeinfo.h: Likewise.
40161 * mach/devstream.c: Likewise.
40162 * malloc/arena.c: Likewise.
40163 * malloc/set-freeres.c: Likewise.
40164 * misc/err.c: Likewise.
40165 * misc/getttyent.c: Likewise.
40166 * misc/mntent_r.c: Likewise.
40167 * posix/getopt.c: Likewise.
40168 * posix/wordexp.c: Likewise.
40169 * pwd/fgetpwent_r.c: Likewise.
40170 * resolv/Versions: Likewise.
40171 * resolv/res_hconf.c: Likewise.
40172 * shadow/fgetspent_r.c: Likewise.
40173 * shadow/putspent.c: Likewise.
40174 * stdio-common/printf_fphex.c: Likewise.
40175 * stdio-common/tmpfile.c: Likewise.
40176 * stdlib/abort.c: Likewise.
40177 * stdlib/fmtmsg.c: Likewise.
40178 * sunrpc/auth_unix.c: Likewise.
40179 * sunrpc/clnt_perr.c: Likewise.
40180 * sunrpc/clnt_tcp.c: Likewise.
40181 * sunrpc/clnt_udp.c: Likewise.
40182 * sunrpc/clnt_unix.c: Likewise.
40183 * sunrpc/openchild.c: Likewise.
40184 * sunrpc/svc_simple.c: Likewise.
40185 * sunrpc/svc_tcp.c: Likewise.
40186 * sunrpc/svc_udp.c: Likewise.
40187 * sunrpc/svc_unix.c: Likewise.
40188 * sunrpc/xdr.c: Likewise.
40189 * sunrpc/xdr_array.c: Likewise.
40190 * sunrpc/xdr_rec.c: Likewise.
40191 * sunrpc/xdr_ref.c: Likewise.
40192 * sunrpc/xdr_stdio.c: Likewise.
40194 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40196 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40198 2011-07-03 Andreas Jaeger <aj@suse.de>
40200 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40201 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40202 regenerate with gen-libm-tests.pl.
40204 2010-05-12 Petr Baudis <pasky@suse.cz>
40207 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40208 around j0() zero points by switching to j1().
40209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40214 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40216 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40218 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40221 Patch in part by Pavel Roskin <proski@gnu.org>.
40224 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40226 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40227 Free memory block if necessary.
40230 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40231 be NULL. Don't lock in this case.
40233 2011-09-09 Roland McGrath <roland@hack.frob.com>
40235 * elf/elf.h (ELFOSABI_GNU): New macro.
40236 (ELFOSABI_LINUX): Define to that.
40238 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40240 * string/strncat.c (strncat): Undef the symbol in case it has been
40241 defined in bits/string.h.
40243 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40245 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40247 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40250 2011-08-17 Andreas Jaeger <aj@suse.de>
40252 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40254 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40255 Ian Lance Taylor <iant@google.com>
40257 * math/libm-test.inc (lround_test): New testcase.
40258 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40260 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40262 * Makefile: Remove support for automatic cvs check-ins.
40263 * Makerules: Likewise.
40264 * config.make.in: Likewise.
40265 * configure.in: Likewise.
40266 * intl/Makefile: Likewise.
40267 * locale/Makefile: Likewise.
40268 * po/Makefile: Likewise.
40269 * posix/Makefile: Likewise.
40270 * sysdeps/gnu/Makefile: Likewise.
40271 * sysdeps/mach/hurd/Makefile: Likewise.
40272 * sysdeps/sparc/sparc32/Makefile: Likewise.
40275 * posix/Makefile (bug-regex32-ENV): Define.
40276 Patch by John Stanley <jpsinthemix@verizon.net>.
40278 * misc/Makefile (headers): Add bits/select2.h.
40279 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40280 * misc/bits/select2.h: New file.
40281 * include/bits/select2.h: New file.
40282 * debug/Makefile (routines): Add fdelt_chk.
40283 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40284 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40286 * debug/fdelt_chk.c: New file.
40288 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40289 * wcsmbs/test-wmemcmp.c: Likewise.
40290 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40291 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40293 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40295 * string/Makefile (strop-tests): Add memcmp.
40296 * string/test-wmemcmp.c: New file.
40297 * string/test-memcmp.c: Add wmemcmp support.
40299 2011-09-08 Roland McGrath <roland@hack.frob.com>
40302 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40305 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40306 garbage value in a __mach_port_mod_refs call in the cases of the
40307 task-self and thread-self ports.
40309 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40311 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40313 2011-09-08 Andreas Schwab <schwab@redhat.com>
40315 * elf/dl-load.c (lose): Check for non-null L.
40317 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40319 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40321 * elf/dl-libc.c (dlerror_run): Pass back error code from
40325 * elf/dl-load.c (lose): Free l_origin if it is valid.
40327 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40329 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40330 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40332 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40333 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40334 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40336 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40338 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40339 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40340 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40341 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40342 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40343 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40344 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40345 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40346 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40347 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40349 2011-08-15 Alan Modra <amodra@gmail.com>
40352 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40353 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40354 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40355 ppc_mcount to static-only-routines.
40356 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40358 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40359 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40361 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40363 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40364 for finite and infinity parameters.
40366 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40369 and add nop instructions for throughput optimization.
40370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40372 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40375 aligned copy for power7 with vector-scalar instructions.
40376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40378 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40383 2011-09-07 Andreas Schwab <schwab@redhat.com>
40386 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40389 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40391 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40392 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40393 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40394 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40397 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40400 Forgot to demangle the pointer.
40402 * sysdeps/i386/sysdep.h: Define atom_text_section.
40403 * sysdeps/x86_64/sysdep.h: Likewise.
40404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40405 section with atom_text_section.
40406 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40408 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40410 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40412 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40414 already be defined. Change to take two parameters and don't assign
40415 result to variable. Adjust all users.
40416 Define INTERNAL_GETTIME if not already defined.
40417 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40420 HAVE_CLOCK_GETTIME_VSYSCALL.
40421 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40424 gettimeofday vsyscall, just use time.
40426 2011-09-06 Andreas Schwab <schwab@redhat.com>
40428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40431 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40433 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40437 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40439 syscall if possible.
40441 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40443 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40444 e_ident. Don't pass to find_mapsXX.
40445 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40447 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40450 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40451 * sysdeps/x86_64/multiarch/strchr.S: Update.
40452 Check bit_slow_BSF bit.
40453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40455 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40457 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40460 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40462 (tryshell): Define.
40463 (__spawni): Change last parameter to be flag. Test
40464 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40465 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40466 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40467 * posix/spawni.c: Likewise.
40468 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40469 * posix/spawnp.c: Likewise. Change normal version to use
40470 SPAWN_XFLAGS_USE_PATH.
40471 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40472 SPAWN_XFLAGS_TRY_SHELL.
40475 * posix/glob.h: Remove gcc 1.x support.
40478 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40480 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40483 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40485 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40486 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40487 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40488 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40489 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40492 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40494 * sysdeps/x86_64/wcscmp.S: New file.
40496 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40497 wcscmp-c wcscmp-sse2
40498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40499 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40500 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40501 * wcsmbs/wcscmp.c: Allow renaming.
40503 2011-09-05 David S. Miller <davem@davemloft.net>
40505 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40506 stack slot, rather than the struct return pointer slot.
40507 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40508 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40510 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40512 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40514 * po/ja.po: Update from translation team.
40517 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40518 kernel in 64-bit binaries.
40520 2011-09-01 David S. Miller <davem@davemloft.net>
40522 * elf/elf.h (HWCAP_SPARC_*): Move to..
40523 * sysdeps/sparc/sysdep.h: this new file and add new values.
40524 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40525 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40526 _DL_HWCAP_COUNT to 24.
40527 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40529 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40530 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40531 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40533 instead of magic constants.
40534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40536 2011-08-31 David S. Miller <davem@davemloft.net>
40538 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40540 Reimplement to do errno handling inline.
40541 (SYSCALL_ERROR_HANDLER): New macro.
40542 (__SYSCALL_STRING): Do not do errno handling in asm.
40543 (__CLONE_SYSCALL_STRING): Delete.
40544 (__INTERNAL_SYSCALL_STRING): Delete.
40545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40546 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40547 (PSEUDO): Reimplement to do errno handling inline.
40548 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40549 (SYSCALL_ERROR_HANDLER): New macro.
40550 (__SYSCALL_STRING): Do not do errno handling in asm.
40551 (__CLONE_SYSCALL_STRING): Delete.
40552 (__INTERNAL_SYSCALL_STRING): Delete.
40553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40554 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40556 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40557 (inline_syscall*): Add 'err' argument.
40558 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40559 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40560 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40561 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40563 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40564 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40566 2011-08-30 Andreas Schwab <schwab@redhat.com>
40568 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40570 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40572 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40575 2011-08-24 David S. Miller <davem@davemloft.net>
40577 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40579 2011-08-24 Andreas Schwab <schwab@redhat.com>
40581 * elf/Makefile: Add rules to build and run unload8 test.
40582 * elf/unload8.c: New file.
40583 * elf/unload8mod1.c: New file.
40584 * elf/unload8mod1x.c: New file.
40585 * elf/unload8mod2.c: New file.
40586 * elf/unload8mod3.c: New file.
40588 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40591 2011-08-23 David S. Miller <davem@davemloft.net>
40593 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40594 subtract stack bias.
40595 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40596 %sp not %fp in calculations.
40597 (_JMPBUF_UNWINDS_ADJ): Likewise.
40599 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40600 (aio_suspend): Call it to force an exception region around the
40601 AIO_MISC_WAIT() invocation.
40603 2011-08-23 Andreas Schwab <schwab@redhat.com>
40605 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40608 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40610 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40612 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40613 and <dl-machine.h>.
40614 (Elf64_FuncDesc): Remove.
40616 2011-08-22 David S. Miller <davem@davemloft.net>
40618 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40619 sigaltstack check, add missing cfi directives.
40620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40621 missing cfi directives, and sigaltstack handling.
40623 2011-08-16 Andreas Schwab <schwab@redhat.com>
40626 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40627 object is seen twice.
40628 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40630 * elf/Makefile (distribute): Add tst-initorder2.c.
40631 (tests): Add tst-initorder2.
40632 (modules-names): Add tst-initorder2a tst-initorder2b
40633 tst-initorder2c tst-initorder2d. Add rules to build them.
40634 ($(objpfx)tst-initorder2.out): New rule.
40635 * elf/tst-initorder2.c: New file.
40636 * elf/tst-initorder2.exp: New file.
40638 2011-08-22 Andreas Schwab <schwab@redhat.com>
40640 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40642 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40643 dependencies back to end of function.
40645 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40646 $(elfobjdir)/ld.so.
40648 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40651 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40653 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40654 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40655 of __vdso_gettimeofday.
40656 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40657 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40659 (_libc_vdso_platform_setup): Remove initialization of
40660 __vdso_gettimeofday and __vdso_time.
40662 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40664 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40665 and fgetc_unlocked.
40666 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40669 * elf/dl-open.c (add_to_global): Report additions to the global scope
40670 for LD_DEBUG=scopes.
40671 (dl_open_worker): Also print scope of newly loaded dependencies.
40672 (_dl_show_scope): Indicate if there is no scope.
40675 * stdio-common/Makefile (tests): Add bug24.
40676 * stdio-common/bug24.c: New file.
40678 2011-08-19 Andreas Jaeger <aj@suse.de>
40681 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40682 non-existant file when using close-on-exec mode.
40684 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40687 the very first instruction.
40689 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40690 the CFI state in the end.
40691 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40692 inclusion of dl-trampoline.h.
40693 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40695 2011-08-19 Andreas Schwab <schwab@redhat.com>
40697 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40698 expectations for long double.
40700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40701 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40703 2011-08-14 David S. Miller <davem@davemloft.net>
40705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40706 artificual limit depends upon the system page size.
40708 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40710 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40711 * resolv/Makefile: Define CFLAGS-libresolv.
40713 2011-08-17 Andreas Schwab <schwab@redhat.com>
40715 * nss/makedb.c (compute_tables): Make variables used in nested
40718 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40720 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40721 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40722 if buffer was too small.
40724 * elf/pldd.c (main): Attach to all threads in the process.
40725 Rewrite /proc handling to use *at functions.
40727 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40729 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40730 specifies first scope to show.
40731 (dl_open_worker): Update callers. Move printing scope of new
40732 object to before the relocation.
40733 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40734 * sysdeps/generic/ldsodefs.h: Update declaration.
40736 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40737 string for the scope number.
40739 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40741 * nscd/servicescache.c (cache_addserv): Make sure written is always
40744 2011-08-14 Roland McGrath <roland@hack.frob.com>
40746 * sysdeps/i386/i486/bits/atomic.h
40747 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40748 statement expression, so as to suppress "set but not used" warning.
40749 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40751 * string/strncat.c (STRNCAT): Use prototype definition.
40753 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40754 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40756 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40757 (localedef-modules): Add localedef.
40758 (locale-modules): Add locale.
40760 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40761 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40762 to avoid a warning.
40764 2011-08-14 David S. Miller <davem@davemloft.net>
40766 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40767 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40769 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40771 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40772 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40773 * elf/rtld.c (dl_main): Set l_name of vDSO.
40774 Call _dl_show_scope when DL_DEBUG_SCOPES.
40775 (process_dl_debug): Recognize scopes flag and also set it for all.
40776 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40777 Declare _dl_show_scope.
40779 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40780 (do_dlopen): Pass caller_dlopen to dl_open.
40781 (__libc_dlopen_mode): Initialize caller_dlopen.
40783 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40784 of libc. Make tolower call locale-independent. Optimize a bit by
40785 using isdigit instead of isalnum.
40786 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40788 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40790 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40791 was a dependency or dynamically loaded.
40793 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40795 * intl/l10nflist.c: Allow architecture-specific pop function.
40796 * sysdeps/x86_64/l10nflist.c: New file.
40798 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40801 2011-08-10 Andreas Schwab <schwab@redhat.com>
40803 * include/dirent.h: Add libc_hidden_proto for scandirat and
40804 scandirat64. Don't declare __scandirat64.
40805 * dirent/scandirat.c: Add libc_hidden_def.
40806 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40807 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40809 2011-08-10 David S. Miller <davem@davemloft.net>
40811 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40817 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40819 * Versions.def [libc]: Add GLIBC_2.15.
40820 * dirent/Makefile (routines): Add scandirat and scandirat64.
40821 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40823 * dirent/dirent.h: Declare scandirat and scandirat64.
40824 * dirent/scandirat.c: New file.
40825 * dirent/scandirat64.c: New file.
40826 * sysdeps/wordsize-64/scandirat.c: New file.
40827 * sysdeps/wordsize-64/scandirat64.c: New file.
40828 * dirent/opendir.c: Define opendirat.
40829 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40831 * dirent/scandir64.c: Adjust for scandir.c change.
40832 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40833 __scandirat64, and __scandir_cancel_handler.
40834 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40835 additional parameter and use openat instead of open (outside of ld.so).
40836 Add new __opendir as wrapper around __opendirat.
40837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40838 here without requiring old scandirat implementation.
40840 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40842 * dirent/scandir.c (cancel_handler): Renamed to
40843 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40844 defined. Adjust users.
40845 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40846 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40848 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40850 * string/test-string.h (IMPL): Use __STRING to expand name and then
40853 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40856 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40858 * string/Makefile: Update.
40859 (strop-tests): Append strncat.
40860 * string/test-wcscmp.c: New file.
40861 New comprehensive test for wcscmp.
40862 * string/test-strcmp.c: Update.
40863 (WIDE): New define.
40865 2011-07-22 Andreas Schwab <schwab@redhat.com>
40867 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40870 2011-07-26 Andreas Schwab <schwab@redhat.com>
40872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40873 encoding to ACE if AI_IDN.
40875 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40878 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40880 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40883 Fix overflow bug in strncat.
40884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40886 * string/test-strncat.c: Update.
40887 Add new tests for checking overflow bugs.
40889 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40892 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40893 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40894 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40895 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40896 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40897 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40898 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40899 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40902 (USE_AS_STRCAT): Define.
40903 Add strcat and strncat support.
40904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40906 2011-07-25 Andreas Schwab <schwab@redhat.com>
40908 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40909 __n bigger than INT_MAX+1.
40910 (__strncmp_g): Likewise.
40912 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40914 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40915 * libio/stido.h: Likewise.
40917 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40922 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40925 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40929 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40934 (_dl_x86_64_save_sse): Likewise.
40936 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40940 (_dl_x86_64_save_sse): Likewise.
40942 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40944 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40946 2011-07-21 Andreas Schwab <schwab@redhat.com>
40948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40950 (_dl_x86_64_save_sse): Use correct AVX check.
40952 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40955 bug in strncpy/strncat.
40956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40958 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40960 * string/tester.c (test_strcat): Add tests for different alignments
40961 of source and destination.
40962 (test_strncat): Likewise.
40964 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40967 * posix/glob.c (glob): Check passed in values before using them in
40968 expressions to avoid some overflows.
40969 (glob_in_dir): Likewise.
40972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40973 check for AVX enablement so that we don't crash with old kernels and
40975 * elf/tst-audit4.c: Add same checks here.
40976 * elf/tst-audit6.c: Likewise.
40978 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40980 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40982 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40984 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40986 * po/cs.po: Update from translation team.
40987 * po/bg.po: Likewise.
40989 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40991 * misc/sys/cdefs.h: Add support for const attribute.
40992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40993 to gnu_dev_{major,minor,makedev} functions.
40995 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40997 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40999 2011-07-20 Andreas Schwab <schwab@redhat.com>
41001 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41004 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41007 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41008 register in order to avoid conflicts with the soft frame pointer
41009 being held in r11 when necessary.
41010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41011 (INTERNAL_VSYSCALL_NCS): Likewise.
41013 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41015 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41016 * elf/dl-fini.c (_dl_fini): Adjust caller.
41017 * elf/dl-close.c (_dl_close_worker): Likewise.
41018 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41020 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41022 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41023 "aux_cache->nlibs < 0".
41025 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41026 in the reload-count case.
41028 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41031 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41032 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41033 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41034 * sysdeps/x86_64/multiarch/strcat.S: New file.
41035 * sysdeps/x86_64/multiarch/strncat.S: New file.
41036 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41037 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41038 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41039 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41041 (USE_AS_STRCAT): Define.
41042 Add strcat and strncat support.
41043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41044 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41045 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41046 * string/strncat.c: Update.
41047 (USE_AS_STRNCAT): Define.
41048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41049 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41051 * sysdeps/x86_64/multiarch/init-arch.h
41052 (bit_Prefer_PMINUB_for_stringop): New.
41053 (index_Prefer_PMINUB_for_stringop): Likewise.
41054 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41055 bit_Prefer_PMINUB_for_stringop.
41057 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41059 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41061 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41062 of casting of buffer.
41063 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41064 buffer32 and buffer64.
41065 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41066 writes instead of casting of buffer.
41067 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41069 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41072 2011-07-19 Andreas Schwab <schwab@redhat.com>
41074 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41076 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41078 * nscd/nscd.c (termination_handler): Don't do anything for a database
41079 if it has not yet been initialized.
41081 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41083 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41085 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41087 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41089 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41091 * po/nl.po: Update from translation team.
41092 * po/sv.po: Likewise.
41094 2011-07-16 Roland McGrath <roland@hack.frob.com>
41096 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41097 now disallowed by GCC.
41099 * configure.in (use-default-link): Default to yes if a test -shared
41100 link meets our qualifications.
41101 * configure: Regenerated.
41103 * config.make.in (output-format): New variable.
41104 * configure.in: Check for ld --print-output-format support.
41105 * configure: Regenerated.
41106 * Makerules ($(common-objpfx)format.lds)
41107 [$(output-format) != unknown]: Just use $(output-format),
41108 instead of the linker-script munging.
41110 2011-07-14 Roland McGrath <roland@hack.frob.com>
41112 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41113 of $(common-objpfx)shlib.lds.
41114 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41116 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41117 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41119 * configure.in (-z relro check): Adjust test code to add a large
41120 writable data section after it.
41121 * configure: Regenerated.
41123 2011-07-11 Roland McGrath <roland@hack.frob.com>
41125 * configure.in (-z relro check): Fix test code to make the variable
41127 * configure: Regenerated.
41129 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41131 * nscd/nscd.h (struct traced_file): Define.
41132 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41133 elements. Add traced_files.
41134 (inotify_fd): Declare.
41135 (register_traced_file): Declare.
41136 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41137 (inotify_fd): Export.
41138 (resolv_conf_descr): Remove.
41139 (nscd_init): Move inotify descriptor creation to main.
41140 Don't register files for notification here.
41141 (register_traced_file): New function.
41142 (invalidate_cache): Don't use reset_res to determine whether to call
41143 res_init, go through the list of registered files.
41144 (main_loop_poll): The inotify descriptors are now stored in the
41145 structures for the traced files.
41146 (main_loop_epoll): Likewise
41147 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41148 to __nss_disable_nscd.
41149 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41150 for a database anymore. Check the records for all the registered
41152 * nss/Makefile (libnss_files-routines): Add files-init.
41153 (libnss_db-routines): Add db-init.
41154 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41155 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41156 * nss/nss_db/db-init.c: New file.
41157 * nss/nss_files/files-init.c: New file.
41158 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41159 __nss_lookup_function.
41160 (__nss_lookup_function): Call nss_load_library.
41161 (nss_load_all_libraries): New function.
41162 (__nss_disable_nscd): Take parameter with callback function for files
41163 to register. Set is_nscd. Load all the DSOs for the NSS modules
41164 used for the cached services.
41165 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41166 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41167 options for features to all the files in nscd.
41169 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41171 2011-07-10 Roland McGrath <roland@hack.frob.com>
41173 * csu/elf-init.c (__libc_csu_init): Comment typo.
41175 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41177 * po/pl.po: Update from translation team.
41178 * po/ja.po: Likewise.
41179 * po/ru.po: Likewise.
41180 * po/ko.po: Likewise.
41181 * po/fr.po: Likewise.
41183 2011-07-09 Roland McGrath <roland@hack.frob.com>
41185 * configure.in (.ctors/.dtors header and trailer check):
41186 Use an empirical test on a built program.
41187 * configure: Regenerated.
41189 * configure.in (-z relro check): Use an empirical test on a built DSO.
41190 Detect, but do not require, on ia64.
41191 * configure: Regenerated.
41193 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41194 Update tests that use readelf to use $READELF instead.
41195 * configure: Regenerated.
41197 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41199 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41200 if the result is not used.
41202 2011-07-05 Andreas Jaeger <aj@suse.de>
41205 * stdlib/tst-strtod.c: Add testcase.
41207 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41209 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41210 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41211 The latter has a higher limit. Take additional parameter to pass to
41213 (__pathconf): Pass file to __statfs_link_max.
41214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41216 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41220 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41224 (__statfs_filesize_max): Likewise.
41225 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41227 2011-07-05 Andreas Jaeger <aj@suse.de>
41229 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41231 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41233 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41235 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41238 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41240 * Makefile (strop-tests): Add strncat.
41241 * string/test-strncat.c: New file.
41243 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41245 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41247 2011-06-21 Andreas Jaeger <aj@suse.de>
41249 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41250 Copy rule from iconvdata/Makefile.
41252 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41255 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41256 but no long options are defined, just return 'W'.
41258 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41261 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41263 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41265 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41267 (innetgr): Likewise.
41269 2011-07-05 Roland McGrath <roland@hack.frob.com>
41271 * config.make.in (install_root): Default to $(DESTDIR).
41273 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41275 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41277 2011-07-02 Roland McGrath <roland@hack.frob.com>
41279 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41281 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41282 containing directory rather than embedding absolute directory names.
41284 * scripts/check-local-headers.sh: Rewritten using awk.
41285 Match by word, not by line. Print error messages for matches.
41286 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41288 * Makerules [shlib-lds-flags empty]:
41289 ($(common-objpfx)libc_pic.opts): New target.
41290 ($(common-objpfx)libc_pic.os.clean): New target.
41291 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41293 * config.make.in (OBJCOPY): New variable.
41294 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41295 * configure: Regenerated.
41297 * config.make.in (use-default-link): New variable.
41298 * configure.in (use_default_link): Grok --with-default-link to set it.
41299 * configure: Regenerated.
41300 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41301 (shlib-lds, shlib-lds-flags): Define to empty.
41303 * Makerules (shlib-lds): New variable.
41304 (shlib-lds-flags): New variable.
41305 (build-shlib, build-moduile, build-module-asneeded): Use it.
41306 ($(common-objpfx)libc.so): Use $(shlib-lds).
41307 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41308 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41310 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41311 DT_FLAGS/DT_FLAGS_1 with zero flags.
41313 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41314 linker script munging.
41316 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41318 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41320 * crypt/sha512.c (sha512_process_block): Perform total addition using
41321 128-bit if possible.
41322 (__sha512_finish_ctx): Likewise.
41323 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41325 * crypt/sha256.c (SWAP64): Define.
41326 (sha256_process_block): Perform total addition using 64-bit if
41328 (__sha256_finish_ctx): Likewise.
41330 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41332 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41334 * nscd/hstcache.c (cache_addhst): Likewise.
41335 * nscd/grpcache.c (cache_addgr): Likewise.
41336 * nscd/aicache.c (addhstaiX): Likewise
41337 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41339 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41341 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41343 * nscd/hstcache.c (cache_addhst): Likewise.
41344 * nscd/grpcache.c (cache_addgr): Likewise.
41345 * nscd/aicache.c (addhstaiX): Likewise
41347 2011-07-01 Andreas Schwab <schwab@redhat.com>
41349 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41350 domain only when needed.
41352 2011-06-30 Andreas Schwab <schwab@redhat.com>
41354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41355 is always restored.
41357 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41359 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41360 are re-adding the entry.
41361 * nscd/servicescache.c (cache_addserv): Likewise.
41363 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41365 * sysdeps/generic/dl-irel.h: fix protection against multiple
41367 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41369 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41372 * malloc/memusage.sh: Fix quoting in message.
41373 * debug/xtrace.sh: Likewise.
41375 * configure.in: Remove support for --experimental-malloc option, make
41377 * config.make.in: Likewise.
41378 * malloc/Makefile: Likewise.
41380 2011-06-27 Andreas Schwab <schwab@redhat.com>
41382 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41383 two-byte characters.
41385 2011-06-27 Roland McGrath <roland@hack.frob.com>
41387 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41388 AC_CACHE_CHECK invocation.
41389 * configure: Regenerated.
41391 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41393 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41396 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41397 bit from old_res_options.
41399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41401 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41402 value type for setfct.
41404 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41407 __gettimeofday instead of gettimeofday.
41409 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41411 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41413 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41417 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41420 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41423 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41424 strcpy-sse2-unaligned strncpy-sse2-unaligned
41425 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41426 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41427 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41428 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41429 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41432 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41433 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41434 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41435 (STRCPY): Support SSE2 and SSSE3 versions.
41437 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41440 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41441 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41442 kernels which artificially limit size of requests.
41444 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41447 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41448 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41449 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41450 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41451 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41452 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41453 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41456 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41457 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41458 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41459 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41460 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41462 Enable unaligned load optimization for Intel Core i3, i5 and i7
41464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41466 (index_Fast_Unaligned_Load): Define.
41467 (HAS_FAST_UNALIGNED_LOAD): Define.
41469 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41471 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41473 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41477 until it is clear that the information is realy needed.
41478 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41480 2011-06-22 Andreas Schwab <schwab@redhat.com>
41482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41484 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41487 /sys/devices/system/cpu/online if it is usable.
41489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41490 reading the information from the /proc filesystem to once a second.
41492 2011-06-21 Andreas Jaeger <aj@suse.de>
41494 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41495 NULL after inclusion of kernel headers.
41497 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41499 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41500 calls to internal_setent.
41503 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41504 addresses using gethostbyname4_r ignore IPv4 addresses.
41506 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41507 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41509 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41511 2011-06-20 David S. Miller <davem@davemloft.net>
41513 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41515 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41517 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41518 (elf_irel): Use it.
41519 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41520 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41521 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41522 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41523 * sysdeps/x86_64/dl-irel.h: Likewise.
41525 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41526 * elf/dl-sym.c: Likewise.
41528 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41530 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41531 need to dereference resplen2.
41533 2011-06-14 Andreas Schwab <schwab@redhat.com>
41535 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41537 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41539 * Makeconfig: Define vardbdir and inst_vardbdir.
41540 * nss/Makefile: Add rules to install db-Makefile.
41542 * nss/nss_db/db-XXX.c: Cleanup.
41544 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41545 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41547 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41548 * nss/makedb.c: Implement -g option to specify that value strings
41549 are generated and should not be added to table iterated over for
41551 * nss/nss_db/db-initgroups.c: New file.
41553 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41556 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41557 (internal_getgrouplist): Adjust to name change.
41558 Update use_initgroups_entry if this is not the first call.
41559 * nss/databases.def: Add initgroups entry.
41561 * nss/makedb.c (compute_tables): Check result of multiple hash table
41562 sizes to minimize maximum chain length.
41564 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41566 * Versions.def: Add entry for libnss_db.
41567 * shlib-versions: Likewise.
41568 * nss/Makefile: Add rules to build libnss_db.
41569 * nss/Versions: Add libnss_db information. Organize libnss_files
41571 * nss/db-Makefile: Add gshadow support. Change rules for the new
41572 makedb progra. Some minor improvements to generate smaller files.
41573 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41575 * nss/makedb.c: ...here.
41576 Improve database format to be smaller and require less memory at
41578 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41580 * nss/nss_db/db-netgrp.c: Likewise.
41581 * nss/nss_db/db-open.c: Likewise.
41582 * nss/nss_files/flies-XXX.x: Adjust comments.
41583 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41584 * nss/nss_files/files-grp.c: Likewise.
41585 * nss/nss_files/files-hosts.c: Likewise.
41586 * nss/nss_files/files-network.c: Likewise.
41587 * nss/nss_files/files-proto.c: Likewise.
41588 * nss/nss_files/files-pwd.c: Likewise.
41589 * nss/nss_files/files-rpc.c: Likewise.
41590 * nss/nss_files/files-service.c: Likewise.
41591 * nss/nss_files/files-sgrp.c: Likewise.
41592 * nss/nss_files/files-spwd.c: Likewise.
41593 * nss/nss_db/db-alias.c: Removed.
41594 * nss/nss_db/dummy-db.h: Removed.
41596 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41598 * nss/makedb.c: Rewritten to not use database library.
41599 * nss/Makefile: Update to build new makedb program.
41601 2011-06-14 Andreas Jaeger <aj@suse.de>
41603 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41604 memset declaration.
41606 2011-06-10 Andreas Schwab <schwab@redhat.com>
41608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41611 2011-06-10 Roland McGrath <roland@hack.frob.com>
41613 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41614 * elf/Makefile ($(objpfx)ld.so): Likewise.
41616 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41617 Don't list ld.so twice in dependencies.
41619 * posix/bug-regex31.c: Include <stdlib.h>.
41621 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41623 * nis/nss_compat/compat-spwd.c
41624 (getspent_next_nss_netgr): Remove unused variable.
41625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41627 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41628 nonmembers" output to use the right array.
41630 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41632 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41634 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41635 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41636 * catgets/gencat.c (read_input_file): Likewise.
41637 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41639 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41640 variable definition inside #if's controlling its use.
41642 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41644 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41646 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41648 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41651 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41653 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41654 * configure: Regenerated.
41656 * Makerules: Revert last change.
41657 * elf/Makefile: Likewise.
41659 2011-06-09 Roland McGrath <roland@hack.frob.com>
41661 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41662 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41663 (reloc-link): Likewise.
41665 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41667 * elf/Makefile: Add rules to build pldd.
41668 * elf/pldd.c: New file.
41669 * elf/pldd-xx.c: New file.
41671 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41673 * version.h: Update for 2.15 development version.
41675 2011-06-07 David S. Miller <davem@davemloft.net>
41677 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41680 elf_machine_lazy_rel): Likewise.
41681 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41683 elf_machine_lazy_rel): Likewise.
41684 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41685 dl_hwcap via passed in argument.
41686 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41689 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41691 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41693 2011-06-06 Roland McGrath <roland@hack.frob.com>
41696 * manual/fdl-1.1.texi: New file, verbatim from:
41697 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41698 * manual/lgpl-2.1.texi: New file, verbatim from:
41699 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41700 * manual/Makefile (licenses): New variable, list those new file names.
41702 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41704 * manual/fdl.texi: File removed.
41705 * manual/lesser.texi: File removed.
41706 * manual/libc.texinfo (Copying, Documentation License):
41707 Use new @include file names, put @appendix directive before @include.
41709 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41712 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41713 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41714 (mq_open): Add __NTH.
41716 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41719 Assume Intel Core i3/i5/i7 processor if AVX is available.
41721 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41726 2011-05-31 Andreas Schwab <schwab@redhat.com>
41728 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41729 memory. Use alloca_account. Fix memory leak when retrying.
41731 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41733 * version.h (RELEASE): Bump for 2.14 release.
41734 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41736 * config.make.in (RANLIB): Remove entry.
41738 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41740 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41741 (libc.pot): Work around missing support for .ksh extension in xgettext.
41744 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41745 if both request failed.
41746 (send_dg): In case of server errors clear resplen or *resplen2.
41749 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41750 when there are multiple maps.
41751 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41752 (_dl_fini): Remove test here.
41754 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41756 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41759 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41760 bit from old_res_options.
41761 (gaih_inet): Likewise.
41764 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41767 * resolv/res_init.c (res_setoptions): Make the code more compact.
41770 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41774 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41776 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41779 * malloc/malloc.h: Declare malloc hook variables as volatile.
41781 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41785 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41786 raise in the comment.
41787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41789 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41791 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41794 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41795 grow the buffers more if it already has to be sufficient.
41796 (build_wcs_upper_buffer): Likewise.
41797 * posix/regexec.c (check_matching): Likewise.
41798 (clean_state_log_if_needed): Likewise.
41799 (extend_buffers): Don't enlarge buffers beyond size of the input
41801 Patches mostly by Emil Wojak <emil@wojak.eu>.
41802 * posix/bug-regex32.c: New file.
41803 * posix/Makefile (tests): Add bug-regex32.
41805 * locale/findlocale.c (_nl_find_locale): Return right away if
41806 _nl_explode_name failed.
41807 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41809 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41811 * debug/xtrace.sh: Unify messages.
41812 * malloc/memusage.sh: Likewise.
41815 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41816 time symbol from vDSO. Substitute with vsyscall if not available.
41817 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41820 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41821 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41822 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41823 Add sendmmsg and internal_sendmmsg.
41824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41825 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41828 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41829 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41832 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41836 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41842 * iconvdata/Makefile (tests): Add bug-iconv9.
41843 * iconvdata/bug-iconv9.c: New file.
41845 2011-05-27 Andreas Schwab <schwab@redhat.com>
41848 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41850 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41853 (struct user_regs_struct): Change intcs field back to cs.
41855 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41857 * po/ja.po: Update from translation team.
41859 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41862 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41863 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41865 2011-05-20 Andreas Schwab <schwab@redhat.com>
41867 * stdlib/longlong.h: Update from GCC.
41869 2011-05-23 Andreas Schwab <schwab@redhat.com>
41871 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41873 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41874 Add parameter name.
41875 (__sysconf): Pass it down.
41877 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41880 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41883 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41884 add in in __libc_use_alloca calls. Adjust callers.
41885 (glob): Use malloc in some situations.
41887 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41888 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41891 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41893 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41894 and CLOCK_BOOTTIME_ALARM.
41897 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41900 * string/_strerror.c (__strerror_r): Print negative errors as signed
41904 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41905 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41906 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41908 * configure.in: Fix typo in redirection and correct removal of test
41909 files in two cases.
41912 * locale/setlocale.c (new_composite_name): Fix test to check for
41913 identical name of all categories.
41916 * libio/filedoalloc.c (local_isatty): New function.
41917 (_IO_file_doallocate): Use local_isatty.
41918 * stdio-common/perror.c (perror): In case a new stream is used
41919 forward the stream error.
41920 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41923 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41928 * include/alloca.h (extend_alloca_account): Define.
41931 * posix/regex.h: Fix comments with documentation of user-accessible
41932 fields after compilation and describe correct free'ing of pattern
41933 after re_compile_pattern.
41934 Patch by Reuben Thomas <rrt@sc3d.org>.
41936 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41938 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41939 and -mno-altivec to prevent the compiler from using Altivec and/or
41940 VSX instructions when the corresponding registers are not available.
41942 2011-05-19 Andreas Schwab <schwab@redhat.com>
41944 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41946 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41948 * libio/freopen.c (freopen): Use __dup2, not dup2.
41949 * libio/freopen64.c (freopen64): Likewise.
41951 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41954 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41955 * math/Makefile (tests): Add test-powl.
41956 (CFLAGS-test-powl.c): Define.
41957 * math/test-powl.c: New file.
41959 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41961 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41963 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41966 * iconvdata/gb18030.c: Update to GB18020-2005.
41968 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41970 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41971 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41972 Patch by Aharon Robbins <arnold@skeeve.com>.
41975 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41979 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41980 through underflows.
41983 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41984 point to strings before performing equality test for error_one_per_line
41988 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41992 (struct user_fpregs_struct): Avoid __uint*_t types.
41995 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41996 symbol info. Use it instead of calling _dl_addr locally.
41997 (lock_and_info): New function.
41998 (tr_freehook): Call lock_and_info and pass symbol info as additional
41999 parameter to tr_where.
42000 (tr_mallochook): Likewise.
42001 (tr_reallochook): Likewise.
42002 (tr_memalignhook): Likewise.
42004 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42005 used and couldn't be at all thread-safe.
42007 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42009 * libio/freopen.c (freopen): Don't close old file descriptor
42010 before the new one is opened. Instead dup the new file descriptor
42011 to the old one after the new stream is created.
42012 * libio/freopen64.c (freopen64): Likewise.
42013 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42014 * libio/fileops.c (_IO_new_file_close_it): Handle new
42015 _IO_FLAGS2_NOCLOSE flag.
42016 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42017 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42018 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42019 _IO_FLAGS2_NOCLOSE flag.
42020 * include/unistd.h: Add hidden_proto for dup3.
42021 Define __have_dup3.
42022 * io/dup3.c: Define hidden symbol.
42023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42026 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42027 when an incomplete long option is used.
42028 * posix/tst-getopt_long1.c: New file.
42029 * posix/Makefile (tests): Add tst-getopt_long1.
42032 * scripts/config.guess: Update from autoconf-2.68.
42033 * scripts/config.sub: Likewise.
42036 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42038 (has_cpuclock): ...this. New function.
42039 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42040 macro here based on has_cpuclock code.
42043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42044 First byte (not low byte) is now always NUL.
42045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42048 Use non-cancelable interfaces.
42051 * locale/iso-639.def: Add entry for Sorani.
42054 * include/stdlib.h: Move include protection to the right place.
42055 Define abort_msg_s. Declare __abort_msg with it.
42056 * stdlib/abort.c (__abort_msg): Adjust type.
42057 * assert/assert.c (__assert_fail_base): New function. Majority
42058 of code from __assert_fail. Allocate memory for __abort_msg with
42060 (__assert_fail): Now call __assert_fail_base.
42061 * assert/assert-perr.c: Remove bulk of implementation. Use
42062 __assert_fail_base.
42063 * include/assert.hL Declare __assert_fail_base.
42064 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42066 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42068 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42072 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42073 until all modules are registered in the DTV.
42074 * elf/Makefile: Add rules to build and run tst-tls19.
42075 * elf/tst-tls19.c: New file.
42076 * elf/tst-tls19mod1.c: New file.
42077 * elf/tst-tls19mod2.c: New file.
42078 * elf/tst-tls19mod3.c: New file.
42079 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42082 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42086 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42087 two-byte sequence errors.
42088 * iconvdata/Makefile (tests): Add bug-iconv8.
42089 * iconvdata/bug-iconv8.c: New file.
42092 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42095 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42098 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42099 (dummy_getcfa): New function.
42100 (init): Get _Unwind_GetCFA address, use dummy if not found.
42101 (backtrace_helper): In recursion check, also check whether CFA changes.
42102 (__backtrace): Completely initialize arg.
42104 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42105 storing incomplete byte sequence in state object. Avoid testing for
42106 guaranteed too small input if we know there is enough data available.
42108 2011-05-11 Andreas Schwab <schwab@redhat.com>
42110 * Makeconfig (+link-pie): Indent.
42111 * Rules (binaries-pie): Define if $(have-fpie) and
42113 (binaries-shared): Also filter out $(binaries-pie).
42114 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42115 * nscd/Makefile (others-pie): Add nscd.
42116 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42117 ($(objpfx)nscd): Remove command override.
42118 * login/Makefile (others-pie): Add pt_chown.
42119 ($(objpfx)pt_chown): Remove command override.
42120 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42121 remove command overrides.
42123 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42125 * libio/tst_putwc.c: Fix error messages.
42128 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42129 currently writing and seek to current position when not.
42130 * libio/Makefile (tests): Add bug-fclose1.
42131 * libio/bug-fclose1.c: New file.
42133 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42136 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42137 don't set DF_1_NODELETE here.
42138 (do_lookup_x): When entering new entry test for copy relocation
42139 and if necessary set DF_1_NODELETE flag.
42140 * elf/tst-unique4.cc: New file.
42141 * elf/tst-unique4.h: New file.
42142 * elf/tst-unique4lib.cc: New file.
42143 * elf/Makefile: Add rules to build and run tst-unique4.
42144 Patch by Piotr Bury <pbury@goahead.com>.
42146 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42149 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42152 * misc/mntent_r.c (addmntent): Flush the stream after the output
42155 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42156 (is_trusted_path_normalize): Skip initial colon. Append slash
42157 to empty buffer. Duplicate is_trusted_path code but allow
42158 constructed patch to be prefix.
42159 (is_dst): Allow $ORIGIN followed by /.
42160 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42161 Correct testing of result of is_trusted_path_normalize
42162 (decompose_rpath): Fix warning.
42164 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42167 * grp/initgroups.c (internal_getgrouplist): When we found the service
42168 list through the initgroups entry in nsswitch.conf do not always
42169 continue on a successful lookup. Don't always use the
42170 __nss_group_database value if it is set.
42171 * nss/nsswitch.conf (initgroups): Change action for successful db
42172 lookup to continue for compatibility.
42174 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42177 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42179 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42181 * iconvdata/tst-tables.sh: Likewise.
42182 * iconvdata/cp770.c: New file.
42183 * iconvdata/cp771.c: New file.
42184 * iconvdata/cp772.c: New file.
42185 * iconvdata/cp773.c: New file.
42186 * iconvdata/cp774.c: New file.
42187 * iconvdata/testdata/CP770: New file.
42188 * iconvdata/testdata/CP770..UTF8: New file.
42189 * iconvdata/testdata/CP771: New file.
42190 * iconvdata/testdata/CP771..UTF8: New file.
42191 * iconvdata/testdata/CP772: New file.
42192 * iconvdata/testdata/CP772..UTF8: New file.
42193 * iconvdata/testdata/CP773: New file.
42194 * iconvdata/testdata/CP773..UTF8: New file.
42195 * iconvdata/testdata/CP774: New file.
42196 * iconvdata/testdata/CP774..UTF8: New file.
42198 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42200 * iconvdata/gen-8bit-gap.sh: Likewise.
42201 * iconvdata/gen-8bit.sh: Likewise.
42203 * locale/iso-639.def: Add ary entry.
42206 * locale/C-translit.h.in: Add U20A1 transliteration.
42209 * locale/iso-639.def: Add wae entry.
42210 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42213 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42217 * locale/C-translit.h.in: Add entry for U20B9.
42218 Patch by pravin.d.s@gmail.com.
42220 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42223 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42224 ENAMETOOLONG use generic getcwd.
42225 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42226 in rtld. Use *stat64.
42227 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42228 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42229 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42230 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42231 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42232 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42233 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42234 __fstatat64 macros.
42235 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42236 * dirent/rewinddir.c: Add libc_hidden_def.
42237 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42238 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42240 * include/dirent.h (__alloc_dir): Add flags parameter.
42241 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42242 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42244 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42245 from fdopendir if O_CLOEXEC is already set.
42247 2011-03-15 Alan Modra <amodra@gmail.com>
42249 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42250 l_tls_firstbyte_offset non-zero. Save padding offset in
42251 l_tls_firstbyte_offset for later use.
42252 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42253 freeing static tls block.
42255 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42257 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42258 where #ifdef was intended. The intent is to prevent ARG_MAX from
42259 being defined by the kernel headers.
42261 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42264 * resolv/resolv.h: Define RES_NOTLDQUERY.
42265 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42266 no-tld-query and set RES_NOTLDQUERY.
42267 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42268 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42269 modern BIND to search name as TLD unless forbidden.
42271 2011-05-07 Petr Baudis <pasky@suse.cz>
42272 Ulrich Drepper <drepper@gmail.com>
42275 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42276 (is_trusted_path): ...to here.
42277 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42278 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42279 using is_trusted_path_normalize() in setuid scripts.
42281 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42283 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42284 __BEGIN/__END_DECLS.
42286 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42289 NSS_STATUS_NOTFOUND if no record was found.
42291 2011-05-05 Andreas Schwab <schwab@redhat.com>
42293 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42294 (headers-not-in-tirpc): Remove rpc/netdb.h
42295 * resolv/netdb.h: Revert last change.
42297 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42299 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42300 circular dependency between libgcc.a and libc.a.
42302 2011-05-05 Andreas Schwab <schwab@redhat.com>
42304 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42305 * nis/Makefile: Don't install rpcsvc/*.
42306 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42307 instead of <rpc/types.h>.
42308 (MAXHOSTNAMELEN): Define.
42310 2011-05-03 Andreas Schwab <schwab@redhat.com>
42312 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42314 2011-04-28 Maciej Babinski <mbabinski@google.com>
42317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42318 gethostbyname4_r when IPv6 results are possible.
42320 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42323 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42324 _PC_PIPE_BUF handling.
42326 2011-04-30 Bruno Haible <bruno@clisp.org>
42329 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42330 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42332 * inet/getnameinfo.c (getnameinfo): Likewise.
42334 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42336 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42337 to groups setting in database lookup.
42338 * nss/nsswitch.conf: Add initgroups entry.
42340 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42343 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42345 Patch by Eric Blake <eblake@redhat.com>.
42347 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42349 * sunrpc/Makefile (need-export-routines): Add svc_run.
42350 (routines): Remove svc_run.
42351 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42352 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42353 * sunrpc/svc_run.c (svc_run): Likewise.
42354 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42356 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42359 problem in reallocation in last patch.
42361 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42363 * sunrpc/Makefile: Move inclusion of Rules.
42365 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42367 * nss/nss_files/files-initgroups.c: New file.
42368 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42369 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42370 _nss_files_initgroups_dyn.
42372 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42374 * elf/elf.h (R_ARM_IRELATIVE): Define.
42376 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42378 * po/ru.po: Update from translation team.
42380 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42382 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42385 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42388 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42389 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42394 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42396 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42398 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42402 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42405 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42407 * stdlib/bug-getcontext.c: New file.
42408 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42410 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42412 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42413 instructions into .machine "z9-109".
42414 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42415 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42417 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42419 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42420 between environment variables and auxiliary vector.
42422 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42424 * Makefile: Add rules to build linkobj/libc.so.
42425 * include/libc-symbols.h: Define libc_hidden_nolink.
42426 * include/rpc/auth.h: Mark functions which are to be hidden.
42427 * include/rpc/auth_des.h: Likewise.
42428 * include/rpc/auth_unix.h: Likewise.
42429 * include/rpc/clnt.h: Likewise.
42430 * include/rpc/des_crypt.h: Likewise.
42431 * include/rpc/key_prot.h: Likewise.
42432 * include/rpc/pmap_clnt.h: Likewise.
42433 * include/rpc/pmap_prot.h: Likewise.
42434 * include/rpc/pmap_rmt.h: Likewise.
42435 * include/rpc/rpc_msg.h: Likewise.
42436 * include/rpc/svc.h: Likewise.
42437 * include/rpc/svc_auth.h: Likewise.
42438 * include/rpc/xdr.h: Likewise.
42439 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42440 * nss/Makefile: Likewise.
42441 * sunrpc/Makefile: Don't install headers. Build library with normal
42442 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42443 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42444 for the compat linking library. Remove use of INTDEF/INTUSE.
42445 * sunrpc/auth_none.c: Likewise.
42446 * sunrpc/auth_unix.c: Likewise.
42447 * sunrpc/authdes_prot.c: Likewise.
42448 * sunrpc/authuxprot.c: Likewise.
42449 * sunrpc/clnt_gen.c: Likewise.
42450 * sunrpc/clnt_perr.c: Likewise.
42451 * sunrpc/clnt_raw.c: Likewise.
42452 * sunrpc/clnt_simp.c: Likewise.
42453 * sunrpc/clnt_tcp.c: Likewise.
42454 * sunrpc/clnt_udp.c: Likewise.
42455 * sunrpc/clnt_unix.c: Likewise.
42456 * sunrpc/des_crypt.c: Likewise.
42457 * sunrpc/des_soft.c: Likewise.
42458 * sunrpc/get_myaddr.c: Likewise.
42459 * sunrpc/key_call.c: Likewise.
42460 * sunrpc/key_prot.c: Likewise.
42461 * sunrpc/netname.c: Likewise.
42462 * sunrpc/pm_getmaps.c: Likewise.
42463 * sunrpc/pm_getport.c: Likewise.
42464 * sunrpc/pmap_clnt.c: Likewise.
42465 * sunrpc/pmap_prot.c: Likewise.
42466 * sunrpc/pmap_prot2.c: Likewise.
42467 * sunrpc/pmap_rmt.c: Likewise.
42468 * sunrpc/publickey.c: Likewise.
42469 * sunrpc/rpc_cmsg.c: Likewise.
42470 * sunrpc/rpc_common.c: Likewise.
42471 * sunrpc/rpc_dtable.c: Likewise.
42472 * sunrpc/rpc_prot.c: Likewise.
42473 * sunrpc/rpc_thread.c: Likewise.
42474 * sunrpc/rtime.c: Likewise.
42475 * sunrpc/svc.c: Likewise.
42476 * sunrpc/svc_auth.c: Likewise.
42477 * sunrpc/svc_authux.c: Likewise.
42478 * sunrpc/svc_raw.c: Likewise.
42479 * sunrpc/svc_run.c: Likewise.
42480 * sunrpc/svc_simple.c: Likewise.
42481 * sunrpc/svc_tcp.c: Likewise.
42482 * sunrpc/svc_udp.c: Likewise.
42483 * sunrpc/svc_unix.c: Likewise.
42484 * sunrpc/svcauth_des.c: Likewise.
42485 * sunrpc/xcrypt.c: Likewise.
42486 * sunrpc/xdr.c: Likewise.
42487 * sunrpc/xdr_array.c: Likewise.
42488 * sunrpc/xdr_float.c: Likewise.
42489 * sunrpc/xdr_intXX_t.c: Likewise.
42490 * sunrpc/xdr_mem.c: Likewise.
42491 * sunrpc/xdr_rec.c: Likewise.
42492 * sunrpc/xdr_ref.c: Likewise.
42493 * sunrpc/xdr_sizeof.c: Likewise.
42494 * sunrpc/xdr_stdio.c: Likewise.
42496 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42499 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42500 * sysdeps/ia64/dl-tls.h: Likewise.
42501 * sysdeps/powerpc/dl-tls.h: Likewise.
42502 * sysdeps/s390/dl-tls.h: Likewise.
42503 * sysdeps/sh/dl-tls.h: Likewise.
42504 * sysdeps/sparc/dl-tls.h: Likewise.
42505 * sysdeps/x86_64/dl-tls.h: Likewise.
42506 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42508 2011-03-14 Andreas Schwab <schwab@redhat.com>
42510 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42511 rpath element also skip the following colon.
42512 (expand_dynamic_string_token): Add is_path parameter and pass
42513 down to DL_DST_REQUIRED and _dl_dst_substitute.
42514 (decompose_rpath): Call expand_dynamic_string_token with
42515 non-zero is_path. Ignore empty rpaths.
42516 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42519 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42524 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42527 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42528 Patch by Filipe David Manana <fdmanana@apache.org>.
42530 2011-04-07 Andreas Schwab <schwab@redhat.com>
42532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42533 Maintain aligned stack.
42534 (CHECK_RSP): Remove unused macro.
42536 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42538 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42539 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42541 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42543 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42545 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42547 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42550 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42551 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42552 * sysdeps/x86_64/memmove.c: New file.
42553 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42554 (memcpy): Renamed to ...
42555 (__new_memcpy): This.
42556 (memcpy): Provide GLIBC_2_14 memcpy.
42557 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42558 (memcpy): Provide GLIBC_2_2_5 memcpy.
42560 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42563 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42565 2011-03-30 Andreas Schwab <schwab@redhat.com>
42567 * misc/syncfs.c: New file.
42568 * misc/Makefile (routines): Add syncfs.
42569 * posix/unistd.h: Declare syncfs.
42570 * sysdeps/unix/syscalls.list: Add syncfs.
42572 2011-04-01 Andreas Schwab <schwab@redhat.com>
42574 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42579 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42581 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42584 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42594 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42595 sync_file_range.c with -fexceptions.
42596 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42597 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42598 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42599 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42600 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42601 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42603 sync_file_range as cancellation point
42604 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42605 now a wrapper around __call_sync_file_range with cancellation handling.
42606 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42607 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42608 function name to __call_sync_file_range.
42609 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42610 Add call_sync_file_range.
42612 2011-04-01 Andreas Schwab <schwab@redhat.com>
42614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42617 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42619 * iconv/iconv.h: Fix typo in comment.
42620 * io/fcntl.h: Likewise.
42621 * libio/stdio.h: Likewise.
42622 * posix/spawn.h: Likewise.
42623 * posix/unistd.h: Likewise.
42624 * stdlib/stdlib.h: Likewise.
42625 * time/time.h: Likewise.
42626 * wcsmbs/wchar.h: Likewise.
42628 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42629 open_by_handle): Add.
42630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42631 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42632 Augment a few comments.
42633 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42638 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42641 * io/fcntl.h (AT_EMPTY_PATH): Define.
42643 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42645 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42646 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42647 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42649 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42650 * Versions.def: Add GLIBC_2.14.
42651 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42654 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42656 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42658 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42660 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42663 * string/test-strncmp.c (do_page_test): New function.
42664 (check2): Likewise.
42665 (test_main): Call check2.
42666 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42668 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42671 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42672 Handle cache information in CPU leaf 4.
42673 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42675 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42678 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42679 character representation.
42680 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42682 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42684 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42685 END(__isnan) to END(__isnanf) to match function entry point/label
42686 EALIGN(__isnanf,...).
42688 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42690 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42692 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42695 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42696 copy from the symbol referenced in the relocation to initialize the
42698 Patch by Piotr Bury <pbury@goahead.com>.
42699 * elf/Makefile: Add rules to build and tst-unique3.
42700 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42701 * elf/tst-unique3.cc: New file.
42702 * elf/tst-unique3.h: New file.
42703 * elf/tst-unique3lib.cc: New file.
42704 * elf/tst-unique3lib2.cc: New file.
42706 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42708 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42710 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42711 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42714 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42716 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42717 to-be-loaded object along a path to loader is ld.so.
42719 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42720 Ulrich Drepper <drepper@gmail.com>
42722 * sysdeps/x86_64/memset.S: After aligning destination, code
42723 branches to different locations depending on the value of
42724 misalignment, when multiarch is enabled. Fix this.
42726 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42728 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42729 Set _x86_64_preferred_memory_instruction for AMD processsors.
42730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42731 Set bit_Prefer_SSE_for_memop for AMD processors.
42733 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42735 * libio/fmemopen.c (fmemopen): Optimize a bit.
42737 2011-03-03 Andreas Schwab <schwab@redhat.com>
42739 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42741 2011-03-03 Roland McGrath <roland@redhat.com>
42743 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42745 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42747 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42748 __bzero_ultra1 instead of __memset_ultra1.
42750 2011-02-23 Andreas Schwab <schwab@redhat.com>
42751 Ulrich Drepper <drepper@gmail.com>
42754 * include/link.h (struct link_map): Add l_orig_initfini.
42755 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42756 returning unsuccessfully.
42757 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42758 close of a file loaded at startup, restore the original l_initfini
42760 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42761 list, store the pointer.
42762 * elf/Makefile ($(objpfx)noload-mem): New rule.
42763 (noload-ENV): Define.
42764 (tests): Add $(objpfx)noload-mem.
42765 * elf/noload.c: Include <memcheck.h>.
42766 (main): Call mtrace. Close all opened handles.
42768 2011-02-17 Andreas Schwab <schwab@redhat.com>
42771 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42772 dependencies are missing.
42774 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42776 Fix __if_freereq crash: Unlike the generic version which uses free,
42778 * sysdeps/mach/hurd/ifreq.h: New file.
42780 2011-01-27 Petr Baudis <pasky@suse.cz>
42781 Ulrich Drepper <drepper@gmail.com>
42784 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42785 to extend_alloca().
42786 * stdio-common/bug23.c: New file.
42787 * stdio-common/Makefile (tests): Add bug23.
42789 2010-09-28 Andreas Schwab <schwab@redhat.com>
42790 Ulrich Drepper <drepper@gmail.com>
42793 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42794 before performing relro protection. At old place add assertion
42795 to make sure nothing changed.
42797 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42798 Glauber de Oliveira Costa <glommer@gmail.com>
42800 * elf/elf.h: Add new ARM TLS relocs.
42802 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42805 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42807 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42809 * sysdeps/wordsize-64/tst-writev.c: New file.
42811 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42813 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42814 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42815 insns in _dl_start to prevent a TOC reference before relocs are
42818 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42821 * Makeconfig: Remove RANLIB definition.
42822 * Makerules: Don't use RANLIB.
42823 * aclocal.m4: Remove ranlib test.
42824 * configure.in: No need to check for ranlib.
42825 * elf/rtld-Rules: Don't use RANLIB.
42827 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42829 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42831 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42832 inclusion protection macro.
42834 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42835 SIGRTMIN and SIGRTMAX and print information in that case only when
42836 SIGRTMIN is defined.
42838 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42840 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42841 arginfo fn returning -1.
42843 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42844 and thousands string is zero terminated.
42846 2011-02-03 Andreas Schwab <schwab@redhat.com>
42848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42849 sysdeps/unix/sysv/linux/bits/socket.h.
42851 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42853 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42854 (__CPU_COUNT): Remove old macros.
42855 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42856 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42857 (__CPU_ALLOC, __CPU_FREE): Add macros.
42858 (__sched_cpualloc, __sched_cpufree): Add declarations.
42860 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42862 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42863 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42864 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42865 (readdhstai): Return value of addhstaiX call.
42866 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42867 (addgrbyX): Return value returned by cache_addgr.
42868 (readdgrbyname): Return value returned by addgrbyX.
42869 (readdgrbygid): Likewise.
42870 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42871 (addpwbyX): Return value returned by cache_addpw.
42872 (readdpwbyname): Return value returned by addhstbyX.
42873 (readdpwbyuid): Likewise.
42874 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42875 (addservbyX): Return value returned by cache_addserv.
42876 (readdservbyname): Return value returned by addservbyX:
42877 (readdservbyport): Likewise.
42878 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42879 (addhstbyX): Return value returned by cache_addhst.
42880 (readdhstbyname): Return value returned by addhstbyX.
42881 (readdhstbyaddr): Likewise.
42882 (readdhstbynamev6): Likewise.
42883 (readdhstbyaddrv6): Likewise.
42884 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42885 (readdinitgroups): Return value returned by addinitgroupsX.
42886 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42887 (prune_cache): Keep track of timeout value of re-added entries.
42888 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42889 * nscd/nscd.h: Adjust prototypes of readd* functions.
42891 2011-02-04 Roland McGrath <roland@redhat.com>
42893 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42894 (nis_stats): Likewise.
42895 * nis/nis_modify.c (nis_modify): Likewise.
42896 * nis/nis_remove.c (nis_remove): Likewise.
42897 * nis/nis_add.c (nis_add): Likewise.
42899 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42901 * posix/fnmatch_loop.c: Add some consts.
42903 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42905 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42908 * config.make.in (config-cflags-novzeroupper): Define.
42909 * configure.in: Substitute libc_cv_cc_novzeroupper.
42910 * elf/Makefile (AVX-CFLAGS): Define.
42911 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42912 (CFLAGS-tst-auditmod4a.c): Likewise.
42913 (CFLAGS-tst-auditmod4b.c): Likewise.
42914 (CFLAGS-tst-auditmod6b.c): Likewise.
42915 (CFLAGS-tst-auditmod6c.c): Likewise.
42916 (CFLAGS-tst-auditmod7b.c): Likewise.
42917 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42919 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42921 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42922 function to the callback.
42923 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42925 2011-02-02 Andreas Schwab <schwab@redhat.com>
42927 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42930 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42933 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42935 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42937 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42940 * elf/Makefile: Add rules to build and run new test.
42941 * elf/tst-initorder.c: New file.
42942 * elf/tst-initorder.exp: New file.
42943 * elf/tst-initordera1.c: New file.
42944 * elf/tst-initordera2.c: New file.
42945 * elf/tst-initordera3.c: New file.
42946 * elf/tst-initordera4.c: New file.
42947 * elf/tst-initorderb1.c: New file.
42948 * elf/tst-initorderb2.c: New file.
42949 * elf/tst-order-a1.c: New file.
42950 * elf/tst-order-a2.c: New file.
42951 * elf/tst-order-a3.c: New file.
42952 * elf/tst-order-a4.c: New file.
42953 * elf/tst-order-b1.c: New file.
42954 * elf/tst-order-b2.c: New file.
42955 * elf/tst-order-main.c: New file.
42956 New test case by George Gensure <werkt0@gmail.com>.
42958 2010-10-01 Andreas Schwab <schwab@redhat.com>
42960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42961 decoding ACE if AI_CANONIDN.
42963 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42965 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42967 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42969 * version.h (RELEASE): Bump for 2.13 release.
42970 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42972 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42974 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42976 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42977 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42978 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42983 * posix/getconf.c: Update copyright year.
42984 * catgets/gencat.c: Likewise.
42985 * csu/version.c: Likewise.
42986 * debug/catchsegv.sh: Likewise.
42987 * debug/xtrace.sh: Likewise.
42988 * elf/ldconfig.c: Likewise.
42989 * elf/ldd.bash.in: Likewise.
42990 * elf/sprof.c (print_version): Likewise.
42991 * iconv/iconv_prog.c: Likewise.
42992 * iconv/iconvconfig.c: Likewise.
42993 * locale/programs/locale.c: Likewise.
42994 * locale/programs/localedef.c: Likewise.
42995 * malloc/memusage.sh: Likewise.
42996 * malloc/mtrace.pl: Likewise.
42997 * nscd/nscd.c (print_version): Likewise.
42998 * nss/getent.c: Likewise.
43000 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43001 PF_CAIF, and PF_ALG.
43002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43004 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43006 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43007 (modules-names): Use them.
43008 (ifunc-test-modules, ifunc-pie-tests): Define.
43009 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43010 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43011 (test-extras): Likewise.
43012 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43013 $(compile-command.c).
43014 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43015 (all-built-dso): Define.
43016 (check-textrel.out, check-execstack.out): Depend on it.
43018 * configure.in: Don't override --enable-multi-arch.
43020 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43023 * nscd/hstcache.c (tryagain): Define.
43024 (cache_addhst): Return tryagain not notfound for temporary errors.
43025 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43028 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43031 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43032 to make the syscall.
43033 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43036 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43037 and fall back to matching as normal character if the string ends before
43038 the matching ']' is found. This is what POSIX requires.
43039 * posix/testfnm.c: Adjust test result.
43040 * posix/globtest.sh: Adjust test result. Add new test.
43041 * posix/tst-fnmatch.input: Likewise.
43042 * posix/tst-fnmatch2.c: Add new test.
43044 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43046 * elf/Makefile (check-execstack): Revert last change. Depend on
43048 (check-execstack.h): New target.
43049 (generated): Add check-execstack.h.
43050 * elf/check-execstack.c: Include "check-execstack.h".
43051 (main): Revert last change.
43052 (handle_file): Return zero if GNU_STACK is absent and
43053 DEFAULT_STACK_PERMS doesn't include PF_X.
43055 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43057 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43058 in child fails because the descriptor is already closed.
43059 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43060 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43061 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43064 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43068 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43069 temporary buffer used to handle multi lookups locally.
43070 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43072 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43074 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43077 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43079 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43080 alignment for SSE2.
43082 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43085 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43086 characters. When rounding increased number of integer digits recompute
43088 * stdio-common/tst-grouping.c: New file.
43089 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43091 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43093 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43094 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43096 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43098 * bits/select.h: Likewise.
43100 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43102 * po/ja.po: Update from translation team.
43104 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43107 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43108 implementation just like for lxstat, fxstatat, et al.
43110 2010-12-27 Jim Meyering <meyering@redhat.com>
43113 * posix/regexec.c (build_trtable): Return failure indication upon
43114 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43116 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43119 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43120 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43121 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43122 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43125 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43128 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43129 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43131 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43133 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43134 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43135 script has SORT_BY_INIT_PRIORITY.
43136 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43137 NO_CTORS_DTORS_SECTIONS is defined.
43138 * elf/soinit.c: Likewise.
43139 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43140 NO_CTORS_DTORS_SECTIONS is defined.
43141 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43142 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43143 * sysdeps/sh/init-first.c: Likewise.
43144 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43146 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43148 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43149 always use the slow path.
43151 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43153 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43154 similar rule which adds the sysdep directories to the header search in
43155 order to pick up the correct platform stackinfo.h.
43156 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43157 perform test if it is, otherwise return successfully without testing.
43158 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43159 DEFAULT_STACK_PERMS define in stackinfo.h.
43160 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43161 defined in stackinfo.h.
43162 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43163 DEFAULT_STACK_PERMS defined in stackinfo.h.
43164 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43165 * sysdeps/ia64/stackinfo.h: Likewise.
43166 * sysdeps/s390/stackinfo.h: Likewise.
43167 * sysdeps/sh/stackinfo.h: Likewise.
43168 * sysdeps/sparc/stackinfo.h: Likewise.
43169 * sysdeps/x86_64/stackinfo.h: Likewise.
43170 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43171 PF_X for powerpc64. Retain PF_X for powerpc32.
43173 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43175 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43177 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43178 GETDENTS_64BIT_ALIGNED.
43180 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43182 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43184 2010-12-10 Andreas Schwab <schwab@redhat.com>
43186 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43189 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43190 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43192 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43193 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43195 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43198 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43201 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43203 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43205 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43207 * po/it.po: Update from translation team.
43209 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43214 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43216 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43218 2010-11-24 Andreas Schwab <schwab@redhat.com>
43220 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43222 (gaih_getanswer_slice): Likewise.
43224 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43228 2010-05-31 Petr Baudis <pasky@suse.cz>
43231 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43232 silently even in the chroot mode.
43234 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43237 last patch a bit. Pretty printing
43239 2010-05-31 Petr Baudis <pasky@suse.cz>
43242 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43243 initialization of skip_initgroups_dyn.
43245 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43248 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43250 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43252 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43254 2010-11-11 Andreas Schwab <schwab@redhat.com>
43256 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43257 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43258 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43259 ($(objpfx)tst-fnmatch-mem): New rule.
43260 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43261 * posix/tst-fnmatch.c (main): Call mtrace.
43263 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43266 Support Intel processor model 6 and model 0x2c.
43268 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43270 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43273 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43276 * string/test-strncasecmp.c (check_result): New function.
43277 (do_one_test): Use it.
43278 (check1): New function.
43279 (test_main): Use it.
43280 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43281 Support strcasecmp and strncasecmp.
43283 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43286 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43289 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43291 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43295 * sysdeps/x86_64/multiarch/bzero.S: New file.
43296 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43297 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43298 * sysdeps/x86_64/multiarch/memset.S: New file.
43299 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43301 Set bit_Prefer_SSE_for_memop for Intel processors.
43302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43304 (index_Prefer_SSE_for_memop): Define.
43305 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43307 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43309 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43310 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43312 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43315 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43316 (__x86_64_raw_data_cache_size_half): Likewise.
43317 (__x86_64_raw_shared_cache_size): Likewise.
43318 (__x86_64_raw_shared_cache_size_half): Likewise.
43320 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43321 (__x86_64_raw_data_cache_size_half): Likewise.
43322 (__x86_64_raw_shared_cache_size): Likewise.
43323 (__x86_64_raw_shared_cache_size_half): Likewise.
43324 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43325 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43326 and __x86_64_raw_shared_cache_size_half. Round
43327 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43328 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43329 to multiple of 256 bytes.
43331 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43334 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43335 of inacessible symlinks. Verify result of symlink before returning it.
43336 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43337 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43339 2010-10-28 Erich Ritz <erichritz@gmail.com>
43341 * math/math.h (isinf): Fix typo in comment.
43343 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43345 * po/da.po: Update from translation team.
43347 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43349 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43350 is added to the list.
43352 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43353 Ulrich Drepper <drepper@gmail.com>
43355 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43356 the global list here. Move code to...
43357 (_dl_add_to_namespace_list): ...here. New function.
43358 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43359 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43360 * elf/dl-load.c (lose): Don't remove the element from the list.
43361 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43362 (_dl_map_object): Likewise.
43364 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43367 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43368 into all bytes of SSE register.
43369 Patch by Richard Li <richardpku@gmail.com>.
43371 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43374 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43377 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43379 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43380 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43381 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43382 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43387 2010-10-22 Andreas Schwab <schwab@redhat.com>
43389 * include/dlfcn.h (__RTLD_SECURE): Define.
43390 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43391 mode & __RTLD_SECURE instead.
43392 (open_path): Rename preloaded parameter to secure.
43393 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43394 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43395 * elf/dl-deps.c (openaux): Likewise.
43396 * elf/rtld.c (struct map_args): Remove is_preloaded.
43397 (map_doit): Don't use it.
43398 (dl_main): Likewise.
43399 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43400 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43402 2010-09-09 Andreas Schwab <schwab@redhat.com>
43404 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43405 (sysd-rules-targets): Remove duplicates.
43406 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43407 rtld-%.$o dependency.
43409 2010-10-18 Andreas Schwab <schwab@redhat.com>
43411 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43412 _dl_map_object do it.
43414 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43416 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43417 fast fma builtins, define the macros in the C99 standard.
43418 (FP_FAST_FMAF): Likewise.
43419 (FP_FAST_FMAL): Likewise.
43420 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43422 * bits/mathdef.h: Update copyright year.
43423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43425 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43427 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43428 builtins, define the macros in the C99 standard.
43429 (FP_FAST_FMAF): Likewise.
43430 (FP_FAST_FMAL): Likewise.
43431 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43433 (FP_FAST_FMAF): Likewise.
43435 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43438 * math/libm-test.inc (fma_test): Some new testcases.
43439 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43440 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43441 y and infinite z. Do multiplication by C already in long double.
43442 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43444 y and infinite z. Do bitwise or of inexact bit into u.d.
43445 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43446 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43447 * sysdeps/i386/fpu/s_fma.S: Removed.
43448 * sysdeps/i386/fpu/s_fmal.S: Removed.
43450 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43453 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43455 computation is not scheduled after fetestexcept. Fix value
43456 of minimum denormal long double.
43458 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43461 * math/libm-test.inc (fma_test): Add some more tests.
43462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43465 2010-10-15 Andreas Schwab <schwab@redhat.com>
43467 * scripts/data/localplt-s390-linux-gnu.data: New file.
43468 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43470 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43473 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43474 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43476 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43478 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43480 if one of x and y is very large and the other is subnormal.
43481 * sysdeps/s390/fpu/s_fmaf.c: New file.
43482 * sysdeps/s390/fpu/s_fma.c: New file.
43483 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43484 * sysdeps/powerpc/fpu/s_fma.S: New file.
43485 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43486 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43487 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43489 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43492 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43494 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43495 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43496 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43497 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43498 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43499 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43500 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43502 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43505 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43506 * posix/bug-regex31.input: Add test case.
43508 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43510 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43511 * posix/bug-regex31.input: New file.
43514 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43515 (parse_sub_exp): Fix last change, use postorder.
43517 * posix/bug-regex31.c: New file.
43518 * posix/Makefile: Add rules to build and run bug-regex31.
43520 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43523 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43526 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43527 to have entries in sys_siglist.
43530 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43533 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43536 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43537 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43538 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43539 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43540 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43541 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43542 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43543 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43544 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43545 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43546 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43547 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43548 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43549 * math/ftestexcept.c (fetestexcept): Likewise.
43550 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43551 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43552 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43553 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43554 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43555 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43556 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43558 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43561 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43564 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43566 * string/bug-strstr1.c: New file.
43567 * string/Makefile: Add rules to build and run bug-strstr1.
43569 2010-10-05 Eric Blake <eblake@redhat.com>
43572 * string/str-two-way.h (two_way_long_needle): Always clear memory
43573 when skipping input due to the shift table.
43575 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43578 * malloc/mcheck.c: Handle large requests.
43581 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43582 for strncmp and strncasecmp.
43583 * string/stratcliff.c: Add tests for strcmp and strncmp.
43584 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43586 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43588 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43591 2010-09-30 Andreas Jaeger <aj@suse.de>
43593 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43594 (CGROUP_SUPER_MAGIC): Define.
43595 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43596 Handle btrfs and cgroup file systems.
43597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43600 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43602 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43603 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43605 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43608 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43609 trying to locate the ELF header.
43611 2010-09-27 Andreas Schwab <schwab@redhat.com>
43614 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43615 Mask out sign-bit copies when constructing f_fsid.
43617 2010-09-24 Petr Baudis <pasky@suse.cz>
43619 * debug/stack_chk_fail_local.c: Add missing licence exception.
43620 * debug/warning-nop.c: Likewise.
43622 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43624 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43625 implementing getdents64 using getdents syscall, set d_type if
43626 __ASSUME_GETDENTS32_D_TYPE.
43628 2010-09-16 Andreas Schwab <schwab@redhat.com>
43630 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43631 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43633 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43636 * posix/unistd.h: Undo change of feature selection for ftruncate from
43639 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43641 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43644 2010-09-20 Andreas Schwab <schwab@redhat.com>
43646 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43648 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43650 2010-09-14 Andreas Schwab <schwab@redhat.com>
43652 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43653 variables after CHECK_SP call.
43654 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43656 2010-09-13 Andreas Schwab <schwab@redhat.com>
43657 Ulrich Drepper <drepper@redhat.com>
43659 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43660 re-relocationg ld.so.
43661 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43662 _dl_init_paths call.
43663 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43666 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43668 * resolv/res_init.c (__res_vinit): Count the default server we added.
43670 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43671 Ulrich Drepper <drepper@redhat.com>
43674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43675 (____longjmp_chk): Use %ebx for saving value across system call.
43678 2010-09-06 Andreas Schwab <schwab@redhat.com>
43680 * manual/Makefile: Don't mix pattern rules with normal rules.
43682 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43684 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43686 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43687 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43688 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43689 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43693 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43696 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43697 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43699 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43701 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43702 * sysdeps/x86_64/addmul_1.S: Likewise.
43703 * sysdeps/x86_64/lshift.S: Likewise.
43704 * sysdeps/x86_64/mul_1.S: Likewise.
43705 * sysdeps/x86_64/rshift.S: Likewise.
43706 * sysdeps/x86_64/sub_n.S: Likewise.
43707 * sysdeps/x86_64/submul_1.S: Likewise.
43709 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43711 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43712 Define __sched_param instead of SCHED_* and sched_param when
43713 <bits/sched.h> is included with __need_schedparam defined.
43714 * bits/sched.h [__need_schedparam]
43715 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43716 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43717 (__defined_schedparam): Define to 1.
43718 (__sched_param): New structure, identical to sched_param.
43719 (__need_schedparam): Undefine.
43721 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43724 (epoll_create1): Declare.
43726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43728 2010-08-31 Andreas Schwab <schwab@redhat.com>
43731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43732 shifting retval into place.
43734 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43736 * nis/rpcsvc/nis.h: Update copyright notice.
43737 * nis/rpcsvc/nis.x: Likewise.
43738 * nis/rpcsvc/nis_callback.h: Likewise.
43739 * nis/rpcsvc/nis_callback.x: Likewise.
43740 * nis/rpcsvc/nis_object.x: Likewise.
43741 * nis/rpcsvc/nis_tags.h: Likewise.
43742 * nis/rpcsvc/yp.h: Likewise.
43743 * nis/rpcsvc/yp.x: Likewise.
43744 * nis/rpcsvc/ypupd.h: Likewise.
43745 * nis/yp_xdr.c: Likewise.
43746 * nis/ypupdate_xdr.c: Likewise.
43748 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43749 mainly the body of pmap_getport. Add parameters to specify timeouts.
43750 (pmap_getport): Use __libc_rpc_getport.
43751 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43752 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43753 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43755 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43760 2010-08-27 Roland McGrath <roland@redhat.com>
43762 * sysdeps/i386/i686/multiarch/Makefile
43763 (CFLAGS-varshift.c): New variable.
43765 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43767 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43768 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43770 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43772 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43774 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43776 * sysdeps/x86_64/strlen.S: Unroll the loop.
43777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43778 strlen-sse2 strlen-sse2-bsf.
43779 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43780 __strlen_no_bsf if bit_Slow_BSF is set.
43781 (__strlen_sse42): Removed.
43782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43783 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43785 2010-08-25 Roland McGrath <roland@redhat.com>
43787 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43788 * sysdeps/x86_64/multiarch/varshift.c: New file.
43789 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43790 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43791 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43792 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43794 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43797 strlen-sse2 strlen-sse2-bsf.
43798 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43799 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43800 (__strlen_sse2): Removed.
43801 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43802 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43804 bit_Slow_BSF for Atom.
43805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43806 (index_Slow_BSF): Define.
43807 (HAS_SLOW_BSF): Define.
43809 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43812 * resolv/res_init.c (__res_vinit): When no server address at all
43813 is given default to loopback.
43815 2010-08-24 Roland McGrath <roland@redhat.com>
43817 * configure.in: Remove config-name.h generation.
43818 * configure: Regenerated.
43819 * config-name.in: File removed.
43820 * scripts/config-uname.sh: New file.
43821 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43822 ($(objdir)config-name.h): New target.
43824 * sunrpc/rpc_parse.h: Avoid nested comment.
43826 2010-08-24 Richard Henderson <rth@redhat.com>
43827 Ulrich Drepper <drepper@redhat.com>
43828 H.J. Lu <hongjiu.lu@intel.com>
43830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43832 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43833 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43834 _mm_alignr_epi8 with _mm_loadu_si128.
43835 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43836 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43837 (__m128i_shift_right): Removed.
43838 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43839 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43840 * sysdeps/x86_64/multiarch/varshift.h: New file.
43841 * sysdeps/x86_64/multiarch/varshift.S: New file.
43843 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43845 * configure.in: Move assembler checks to before sysdep dir checking.
43847 2010-08-20 Petr Baudis <pasky@suse.cz>
43849 * LICENSES: Sync the sunrpc license.
43851 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43853 * sunrpc/auth_des.c: Update copyright notice once again.
43854 * sunrpc/auth_none.c: Likewise.
43855 * sunrpc/auth_unix.c: Likewise.
43856 * sunrpc/authdes_prot.c: Likewise.
43857 * sunrpc/authuxprot.c: Likewise.
43858 * sunrpc/bindrsvprt.c: Likewise.
43859 * sunrpc/clnt_gen.c: Likewise.
43860 * sunrpc/clnt_perr.c: Likewise.
43861 * sunrpc/clnt_raw.c: Likewise.
43862 * sunrpc/clnt_simp.c: Likewise.
43863 * sunrpc/clnt_tcp.c: Likewise.
43864 * sunrpc/clnt_udp.c: Likewise.
43865 * sunrpc/clnt_unix.c: Likewise.
43866 * sunrpc/des_crypt.c: Likewise.
43867 * sunrpc/des_soft.c: Likewise.
43868 * sunrpc/get_myaddr.c: Likewise.
43869 * sunrpc/getrpcport.c: Likewise.
43870 * sunrpc/key_call.c: Likewise.
43871 * sunrpc/key_prot.c: Likewise.
43872 * sunrpc/openchild.c: Likewise.
43873 * sunrpc/pm_getmaps.c: Likewise.
43874 * sunrpc/pm_getport.c: Likewise.
43875 * sunrpc/pmap_clnt.c: Likewise.
43876 * sunrpc/pmap_prot.c: Likewise.
43877 * sunrpc/pmap_prot2.c: Likewise.
43878 * sunrpc/pmap_rmt.c: Likewise.
43879 * sunrpc/rpc/auth.h: Likewise.
43880 * sunrpc/rpc/auth_unix.h: Likewise.
43881 * sunrpc/rpc/clnt.h: Likewise.
43882 * sunrpc/rpc/des_crypt.h: Likewise.
43883 * sunrpc/rpc/key_prot.h: Likewise.
43884 * sunrpc/rpc/netdb.h: Likewise.
43885 * sunrpc/rpc/pmap_clnt.h: Likewise.
43886 * sunrpc/rpc/pmap_prot.h: Likewise.
43887 * sunrpc/rpc/pmap_rmt.h: Likewise.
43888 * sunrpc/rpc/rpc.h: Likewise.
43889 * sunrpc/rpc/rpc_des.h: Likewise.
43890 * sunrpc/rpc/rpc_msg.h: Likewise.
43891 * sunrpc/rpc/svc.h: Likewise.
43892 * sunrpc/rpc/svc_auth.h: Likewise.
43893 * sunrpc/rpc/types.h: Likewise.
43894 * sunrpc/rpc/xdr.h: Likewise.
43895 * sunrpc/rpc_clntout.c: Likewise.
43896 * sunrpc/rpc_cmsg.c: Likewise.
43897 * sunrpc/rpc_common.c: Likewise.
43898 * sunrpc/rpc_cout.c: Likewise.
43899 * sunrpc/rpc_dtable.c: Likewise.
43900 * sunrpc/rpc_hout.c: Likewise.
43901 * sunrpc/rpc_main.c: Likewise.
43902 * sunrpc/rpc_parse.c: Likewise.
43903 * sunrpc/rpc_parse.h: Likewise.
43904 * sunrpc/rpc_prot.c: Likewise.
43905 * sunrpc/rpc_sample.c: Likewise.
43906 * sunrpc/rpc_scan.c: Likewise.
43907 * sunrpc/rpc_scan.h: Likewise.
43908 * sunrpc/rpc_svcout.c: Likewise.
43909 * sunrpc/rpc_tblout.c: Likewise.
43910 * sunrpc/rpc_util.c: Likewise.
43911 * sunrpc/rpc_util.h: Likewise.
43912 * sunrpc/rpcinfo.c: Likewise.
43913 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43914 * sunrpc/rpcsvc/key_prot.x: Likewise.
43915 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43916 * sunrpc/rpcsvc/mount.x: Likewise.
43917 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43918 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43919 * sunrpc/rpcsvc/rex.x: Likewise.
43920 * sunrpc/rpcsvc/rstat.x: Likewise.
43921 * sunrpc/rpcsvc/rusers.x: Likewise.
43922 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43923 * sunrpc/rpcsvc/spray.x: Likewise.
43924 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43925 * sunrpc/rtime.c: Likewise.
43926 * sunrpc/svc.c: Likewise.
43927 * sunrpc/svc_auth.c: Likewise.
43928 * sunrpc/svc_authux.c: Likewise.
43929 * sunrpc/svc_raw.c: Likewise.
43930 * sunrpc/svc_run.c: Likewise.
43931 * sunrpc/svc_simple.c: Likewise.
43932 * sunrpc/svc_tcp.c: Likewise.
43933 * sunrpc/svc_udp.c: Likewise.
43934 * sunrpc/svc_unix.c: Likewise.
43935 * sunrpc/svcauth_des.c: Likewise.
43936 * sunrpc/xcrypt.c: Likewise.
43937 * sunrpc/xdr.c: Likewise.
43938 * sunrpc/xdr_array.c: Likewise.
43939 * sunrpc/xdr_float.c: Likewise.
43940 * sunrpc/xdr_mem.c: Likewise.
43941 * sunrpc/xdr_rec.c: Likewise.
43942 * sunrpc/xdr_ref.c: Likewise.
43943 * sunrpc/xdr_sizeof.c: Likewise.
43944 * sunrpc/xdr_stdio.c: Likewise.
43946 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43949 2010-08-19 Andreas Schwab <schwab@redhat.com>
43951 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43953 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43955 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43956 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43958 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43959 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43960 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43961 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43962 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43963 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43964 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43965 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43966 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43967 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43968 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43970 2010-07-26 Anton Blanchard <anton@samba.org>
43972 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43973 * malloc/arena.c (heap_trim): Likewise.
43975 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43977 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43980 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43982 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43984 * sysdeps/i386/elf/Makefile: New file.
43986 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43988 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43989 from fanotify_init.
43990 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43991 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43993 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43995 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43997 * sysdeps/multiarch/strcmp.S: Likewise.
43999 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44001 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44002 strncase_l-nonascii.
44003 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44004 Add strncase_l-ssse3.
44005 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44006 * sysdeps/x86_64/strcmp.S: Likewise.
44007 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44008 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44009 * sysdeps/x86_64/strncase.S: New file.
44010 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44011 * sysdeps/x86_64/strncase_l.S: New file.
44012 * string/Makefile (strop-tests): Add strncasecmp.
44013 * string/test-strncasecmp.c: New file.
44015 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44018 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44019 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44021 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44023 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44025 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44027 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44028 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44029 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44031 2010-05-01 Alan Modra <amodra@gmail.com>
44033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44034 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44035 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44036 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44037 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44038 tidying. Don't tail-call __sigjmp_save for static lib.
44039 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44041 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44042 (CALL_MCOUNT): Add eh info, and nop after bl.
44043 (TAIL_CALL_SYSCALL_ERROR): New macro.
44044 (PSEUDO_RET): Use it.
44045 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44046 Correct save location of integer regs and cr.
44047 (_dl_profile_resolve): Correct cr save location. Delete nops
44048 after bl when SHARED. Reduce cfi size a little by better
44049 placement of cfi directives.
44050 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44051 make a stack frame. Instead use parm save area as a temp.
44052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44053 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44055 Don't make a stack frame for parent, use parm save area.
44056 Increase child stack frame to 112 bytes. Don't save unused reg,
44057 and adjust reg usage. Set up cfi on error recovery and
44058 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44060 (__makecontext): Add dummy nop after jump to exit.
44061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44062 Use correct parm save area and cr save, reduce stack frame.
44063 Correct cfi for possible PSEUDO_RET frame setup.
44064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44065 Branch to local label emitted by PSEUDO_RET rather than
44068 2010-08-12 Andreas Schwab <schwab@redhat.com>
44071 * locale/programs/locale.c (print_assignment): New function.
44072 (show_locale_vars): Use it.
44074 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44076 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44078 (struct statfs64): Likewise.
44079 (_STATFS_F_FLAGS): Define.
44080 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44082 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44083 (ST_VALID): Define locally.
44084 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44085 __statvfs_getflags, use the provided value.
44086 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44087 __ASSUME_STATFS_F_FLAGS.
44089 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44092 Add sys/fanotify.h.
44093 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44094 fanotify_mask for GLIBC_2.13.
44095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44096 fanotify_init and fanotify_mark.
44097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44098 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44100 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44102 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44103 prlimit64 for GLIBC_2.13.
44104 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44110 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44111 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44114 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44117 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44118 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44120 * nss/Makefile: Add rules to build and run tst-nss-test1.
44121 * shlib-versions: Add entry for libnss_test1.
44122 * nss/nss_test1.c: New file.
44123 * nss/tst-nss-test1.c: New file.
44125 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44126 (__nss_configure_lookup): Set appropriate entry in
44127 __nss_configure_lookup to true.
44128 * nss/nsswitch.h: Define enum with indeces of databases in
44129 databases and __nss_database_custom arrays. Declare
44130 __nss_database_custom.
44131 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44132 to avoid using nscd when custom rules are installed.
44133 * nss/getXXbyYY_r.c: Likewise.
44134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44136 * nss/nss_files/files-parse.c: Whitespace fixes.
44138 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44141 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44142 * posix/fnmatch_loop.c: Likewise.
44144 2010-07-17 Andi Kleen <ak@linux.intel.com>
44146 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44147 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44148 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44149 * Versions.def [GLIBC_2.13]: Add.
44151 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44154 Also fail if tpwd after pwuid call is NULL.
44156 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44158 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44159 when converting to ms.
44161 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44163 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44164 EOPNOTSUPP errors with ENOTTY.
44165 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44166 EOPNOTSUPP errors with ENOTTY.
44168 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44170 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44171 Add strcasecmp_l-ssse3.
44172 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44174 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44175 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44176 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44178 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44180 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44182 * string/Makefile (strop-tests): Add strcasecmp.
44183 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44184 strcasecmp_l-nonascii.
44185 (gen-as-const-headers): Add locale-defines.sym.
44186 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44187 * sysdeps/x86_64/strcasecmp.S: New file.
44188 * sysdeps/x86_64/strcasecmp_l.S: New file.
44189 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44190 * sysdeps/x86_64/locale-defines.sym: New file.
44191 * string/test-strcasecmp.c: New file.
44193 * string/test-strcasestr.c: Test both ends of the range of characters.
44194 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44196 2010-07-29 Roland McGrath <roland@redhat.com>
44199 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44201 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44203 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44206 2010-07-27 Andreas Schwab <schwab@redhat.com>
44208 * manual/memory.texi (Malloc Tunable Parameters): Document
44211 2010-07-26 Roland McGrath <roland@redhat.com>
44214 * configure.in (-fgnu89-inline check): Set and substitute
44215 gnu89_inline, not libc_cv_gnu89_inline.
44216 * configure: Regenerated.
44217 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44219 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44221 * string/test-strnlen.c: New file.
44222 * string/Makefile (strop-tests): Add strnlen.
44223 * string/tester.c (test_strnlen): Add a few more test cases.
44224 * string/tst-strlen.c: Better error reporting.
44226 * sysdeps/x86_64/strnlen.S: New file.
44228 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44230 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44231 lower-latency instructions.
44233 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44235 * string/test-strcasestr.c: New file.
44236 * string/test-strstr.c: New file.
44237 * string/Makefile (strop-tests): Add strstr and strcasestr.
44238 * string/str-two-way.h: Don't undefine MAX.
44239 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44241 2010-07-21 Andreas Schwab <schwab@redhat.com>
44243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44244 strcasestr-nonascii.
44245 (CFLAGS-strcasestr-nonascii.c): Define.
44246 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44248 Remove unused attribute.
44250 2010-07-20 Roland McGrath <roland@redhat.com>
44252 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44253 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44254 ld.so.cache was broken. With it, there is no way to disable dsocaps
44255 like LD_HWCAP_MASK can disable hwcaps.
44257 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44259 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44261 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44263 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44264 call in strcasestr.
44265 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44266 __strcasestr_sse42_nonascii.
44267 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44268 strcasestr-nonascii.c.
44269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44271 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44274 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44276 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44278 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44280 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44283 2010-07-06 Andreas Schwab <schwab@redhat.com>
44286 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44289 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44292 _PC_PIPE_BUF using F_GETPIPE_SZ.
44294 2010-07-05 Roland McGrath <roland@redhat.com>
44296 * manual/arith.texi (Rounding Functions): Fix rint description
44297 implicit in round description.
44299 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44301 * elf/Makefile: Fix linking for a few tests to make recent linker
44304 2010-06-30 Andreas Schwab <schwab@redhat.com>
44306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44307 $(common-objpfx)libc_nonshared.a.
44309 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44311 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44312 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44313 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44314 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44315 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44316 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44317 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44318 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44333 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44334 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44335 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44336 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44337 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44338 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44339 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44340 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44341 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44342 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44343 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44344 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44360 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44362 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44363 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44364 * string/memmove.c (memmove): Renamed to ...
44365 (MEMMOVE): ...this. Default to memmove.
44366 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44367 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44370 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44371 mempcpy-ssse3-back memmove-ssse3-back.
44372 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44374 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44375 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44376 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44377 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44378 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44379 * sysdeps/x86_64/multiarch/memmove.c: New file.
44380 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44381 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44382 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44383 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44384 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44387 (index_Fast_Copy_Backward): Define.
44388 (HAS_ARCH_FEATURE): Define.
44389 (HAS_FAST_REP_STRING): Define.
44390 (HAS_FAST_COPY_BACKWARD): Define.
44392 2010-06-21 Andreas Schwab <schwab@redhat.com>
44394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44395 Restore proper fallback handling.
44397 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44400 * posix/group_member.c (__group_member): Correct checking loop.
44402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44403 OOM in getpwuid_r correctly. Return error number when the caller
44404 should return, otherwise -1.
44405 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44406 call returning > 0 value.
44407 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44409 2010-06-07 Andreas Schwab <schwab@redhat.com>
44411 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44412 libc_nonshared.a from targets in modules-names.
44414 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44416 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44419 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44421 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44422 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44426 2010-06-02 Andreas Schwab <schwab@redhat.com>
44428 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44430 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44434 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44441 2010-06-14 Roland McGrath <roland@redhat.com>
44443 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44445 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44447 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44448 __REDIRECT followed by __THROW.
44449 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44450 * posix/getopt.h (getopt): Likewise.
44452 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44454 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44455 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44456 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44458 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44459 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44461 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44463 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44465 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44469 Properly check family and model.
44471 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44473 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44475 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44477 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44479 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44481 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44484 2010-05-19 Andreas Schwab <schwab@redhat.com>
44486 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44489 2010-05-21 Andreas Schwab <schwab@redhat.com>
44491 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44492 and internal_recvmmsg.
44493 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44494 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44495 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44496 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44498 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44499 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44500 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44502 2010-05-20 Andreas Schwab <schwab@redhat.com>
44504 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44506 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44508 POWER7 optimizations.
44509 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44510 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44512 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44514 * version.h: Update for 2.13 development version.
44516 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44518 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44519 exceptions. Return 0.
44521 2010-05-07 Roland McGrath <roland@redhat.com>
44523 * elf/ldconfig.c (main): Add a const.
44525 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44527 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44528 (args_options): Add no-idn option.
44529 (ahosts_keys_int): Add idn_flags to ai_flags.
44530 (parse_option): Handle 'i' option to clear idn_flags.
44532 * malloc/malloc.c (_int_free): Possible race in the most recently
44533 added check. Only act on the data if no current modification
44536 See ChangeLog.17 for earlier changes.