1 2014-05-17 Richard Henderson <rth@redhat.com>
3 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4 Create the __##syscall_name##_nocancel entry point.
5 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6 Remove; let the sysdep-cancel.h code create it.
8 2014-05-17 David S. Miller <davem@davemloft.net>
10 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11 Protect with __USE_GNU.
12 (TIOCSET_TEMPT): Likewise.
13 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15 these are already provided in bits/ioctl-types.h
17 2014-05-16 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
23 Use wait4 regardless of [__NR_waitpid].
25 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29 (_FP_NANSIGN_Q): Set the quiet bit.
31 2014-05-16 Joseph Myers <joseph@codesourcery.com>
34 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35 not $(common-objpfx)math/libm.so.
36 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39 $(common-objpfx)dlfcn/libdl.so.
40 ($(objpfx)tst-audit8): Depend on $(libm), not
41 $(common-objpfx)math/libm.so.
42 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43 not $(common-objpfx)dlfcn/libdl.so.
45 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
47 [$(build-shared) = yes].
48 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49 $(common-objpfx)nptl/libpthread.so.
50 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51 $(common-objpfx)math/libm.so$(libm.so-version) or
52 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
53 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
54 $(common-objpfx)dlfcn/libdl.so.
55 * setjmp/Makefile (link-libm): Remove variable.
56 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
57 * stdio-common/Makefile (link-libm): Remove variable.
58 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
59 * stdlib/Makefile (link-libm): Remove variable.
60 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
61 ($(objpfx)tst-strtod-round): Likewise.
62 ($(objpfx)tst-tininess): Likewise.
63 ($(objpfx)tst-strtod-underflow): Likewise.
64 ($(objpfx)tst-strtod6): Likewise.
65 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
66 $(libdl), not $(common-objpfx)nptl/libpthread.so and
67 $(common-objpfx)dlfcn/libdl.so.
69 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
72 BSD terminal modes definitions.
74 2014-05-16 Roland McGrath <roland@hack.frob.com>
76 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
77 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
79 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
80 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
81 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
82 Don't do #include_next.
83 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
84 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
85 Don't do #include_next.
86 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
87 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
88 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
89 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
91 2014-05-16 Allan McRae <allan@archlinux.org>
93 * po/sv.po: Update Swedish translation from translation project.
95 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
98 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
101 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
102 errno if the TIOCGPTN ioctl fails with an error different than
104 * login/tst-ptsname.c: New file.
105 * login/Makefile (tests): Add tst-ptsname.
108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
111 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
115 herrno to return EAI_AGAIN.
117 2014-05-14 Roland McGrath <roland@hack.frob.com>
119 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
120 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
121 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
123 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
131 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
133 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
135 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
137 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
139 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
141 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
144 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
145 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
147 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
148 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
150 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
152 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
155 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
161 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
179 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
184 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
194 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
196 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
198 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
200 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
202 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
205 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
209 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
210 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
211 (libpthread-sysdep_routines): Add elision-related stuff here instead.
212 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
213 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
214 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
215 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
216 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
217 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
218 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
219 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
220 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
221 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
222 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
223 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
224 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
225 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
226 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
227 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
228 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
229 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
230 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
231 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
232 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
233 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
234 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
235 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
236 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
237 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
238 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
239 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
241 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
242 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
244 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
245 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
246 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
247 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
248 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
251 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
254 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
255 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
257 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
261 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
262 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
265 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
266 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
267 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
269 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
270 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
271 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
272 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
274 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
275 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
277 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
279 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
280 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
281 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
282 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
289 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
290 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
291 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
292 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
293 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
299 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
300 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
302 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
306 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
307 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
311 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
312 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
314 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
315 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
316 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
319 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
320 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
322 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
324 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
325 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
326 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
327 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
334 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
335 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
336 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
338 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
339 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
341 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
342 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
345 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
348 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
349 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
351 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
356 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
358 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
361 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
363 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
365 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
367 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
370 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
371 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
373 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
375 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
376 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
378 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
387 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
388 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
389 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
390 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
391 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
392 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
393 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
394 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
395 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
397 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
398 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
400 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
401 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
403 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
405 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
406 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
407 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
408 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
409 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
410 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
411 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
412 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
413 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
414 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
415 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
416 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
417 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
422 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
424 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
427 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
429 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
431 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
432 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
436 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
439 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
440 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
441 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
443 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
445 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
446 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
447 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
448 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
449 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
450 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
451 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
452 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
453 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
454 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
455 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
457 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
458 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
459 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
460 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
461 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
463 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
464 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
465 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
466 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
467 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
468 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
469 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
470 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
471 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
472 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
477 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
479 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
480 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
481 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
482 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
483 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
484 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
485 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
486 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
487 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
488 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
489 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
490 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
514 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
518 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
520 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
521 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
522 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
523 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
524 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
525 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
528 that was previously under [RESET_PID].
529 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
530 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
531 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
533 * sysdeps/i386/nptl/Implies: New file.
534 * sysdeps/x86_64/nptl/Implies: New file.
535 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
536 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
537 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
538 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
540 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
541 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
542 (__libc_vfork): New strong alias.
543 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
544 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
546 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
547 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
548 (__libc_vfork): New strong alias.
549 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
550 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
552 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
553 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
554 (__libc_vfork): New strong alias.
555 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
556 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
557 * nptl/pt-vfork.c: New file.
558 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
559 (libpthread: GLIBC_2.20): New version set (empty).
561 2014-05-14 Will Newton <will.newton@linaro.org>
563 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
566 2014-05-14 Joseph Myers <joseph@codesourcery.com>
569 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
570 arguments with exponent 65 or above.
571 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
572 arguments 0x1p113L or above.
573 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
574 to arguments 0x1p107L or above.
575 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
576 positive arguments with exponent 65 or above.
577 * math/auto-libm-test-in: Add more tests of log1p.
578 * math/auto-libm-test-out: Regenerated.
581 * math/s_cacos.c (__cacos): Ensure zero real part of result from
582 non-finite arguments is +0.
583 * math/s_cacosf.c (__cacosf): Likewise.
584 * math/s_cacosl.c (__cacosl): Likewise.
585 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
586 * sysdeps/i386/fpu/libm-test-ulps: Update.
587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
590 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
592 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
593 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
594 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
595 for explicit high bit of mantissa when testing for argument equal
597 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
602 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
603 (__erf): Scale by 16 instead of 8 in potentially underflowing
604 case. Ensure exception if result actually underflows.
605 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
606 (__erff): Scale by 16 instead of 8 in potentially underflowing
607 case. Ensure exception if result actually underflows.
608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
609 (efx8): Remove variable.
610 (__erfl): Scale by 16 instead of 8 in potentially underflowing
611 case. Ensure exception if result actually underflows.
612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
613 (efx8): Remove variable.
614 (__erfl): Scale by 16 instead of 8 in potentially underflowing
615 case. Ensure exception if result actually underflows.
616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
617 (efx8): Remove variable.
618 (__erfl): Scale by 16 instead of 8 in potentially underflowing
619 case. Ensure exception if result actually underflows.
620 * math/auto-libm-test-in: Add more tests of erf.
621 * math/auto-libm-test-out: Regenerated.
623 2014-05-14 Andreas Schwab <schwab@suse.de>
625 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
626 Remove code conditionalized on USE___THREAD.
628 * config.h.in (HAVE_PT_CHOWN): Define as 0.
629 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
632 2014-05-14 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
635 Define unconditionally.
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 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
644 (__ASSUME_DUP3): Do not define.
645 (__ASSUME_EVENTFD2): Likewise.
646 (__ASSUME_IN_NONBLOCK): Likewise.
647 (__ASSUME_O_CLOEXEC): Likewise.
648 (__ASSUME_PIPE2): Likewise.
649 (__ASSUME_SIGNALFD4): Likewise.
650 (__ASSUME_SOCK_CLOEXEC): Likewise.
651 (__ASSUME_UTIMES): Undefine.
652 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
653 (__ASSUME_UTIMES): Do not define.
654 (__ASSUME_O_CLOEXEC): Likewise.
655 (__ASSUME_SOCK_CLOEXEC): Likewise.
656 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
657 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
659 (__ASSUME_PIPE2): Likewise.
660 (__ASSUME_EVENTFD2): Likewise.
661 (__ASSUME_SIGNALFD4): Likewise.
662 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
663 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
665 (__ASSUME_EVENTFD2): Likewise.
666 (__ASSUME_SIGNALFD4): Likewise.
667 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
668 (__ASSUME_32BITUIDS): Likewise.
669 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
670 (__ASSUME_IPC64): Likewise.
671 (__ASSUME_ST_INO_64_BIT): Likewise.
672 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
673 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
675 (__ASSUME_UTIMES): Do not define.
676 (__ASSUME_PSELECT): Likewise.
677 (__ASSUME_PPOLL): Likewise.
678 (__ASSUME_O_CLOEXEC): Likewise.
679 (__ASSUME_SOCK_CLOEXEC): Likewise.
680 (__ASSUME_IN_NONBLOCK): Likewise.
681 (__ASSUME_PIPE2): Likewise.
682 (__ASSUME_EVENTFD2): Likewise.
683 (__ASSUME_SIGNALFD4): Likewise.
684 (__ASSUME_DUP3): Likewise.
685 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
686 (__ASSUME_UTIMES): Likewise.
687 (__ASSUME_O_CLOEXEC): Likewise.
688 (__ASSUME_SOCK_CLOEXEC): Likewise.
689 (__ASSUME_IN_NONBLOCK): Likewise.
690 (__ASSUME_PIPE2): Likewise.
691 (__ASSUME_EVENTFD2): Likewise.
692 (__ASSUME_SIGNALFD4): Likewise.
693 (__ASSUME_DUP3): Likewise.
694 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
695 (__ASSUME_UTIMES): Likewise.
696 (__ASSUME_O_CLOEXEC): Likewise.
697 (__ASSUME_SOCK_CLOEXEC): Likewise.
698 (__ASSUME_IN_NONBLOCK): Likewise.
699 (__ASSUME_PIPE2): Likewise.
700 (__ASSUME_EVENTFD2): Likewise.
701 (__ASSUME_SIGNALFD4): Likewise.
702 (__ASSUME_DUP3): Likewise.
703 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
705 (__ASSUME_UTIMES): Likewise.
706 (__ASSUME_EVENTFD2): Likewise.
707 (__ASSUME_SIGNALFD4): Likewise.
708 * sysdeps/unix/sysv/linux/tile/kernel-features.h
709 (__ASSUME_O_CLOEXEC): Likewise.
710 (__ASSUME_SOCK_CLOEXEC): Likewise.
711 (__ASSUME_IN_NONBLOCK): Likewise.
712 (__ASSUME_PIPE2): Likewise.
713 (__ASSUME_EVENTFD2): Likewise.
714 (__ASSUME_SIGNALFD4): Likewise.
715 (__ASSUME_DUP3): Likewise.
716 (__ASSUME_UTIMES): Undefine.
718 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
719 feclearexcept. Remove symbol versioning code.
720 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
721 symbol versioning code.
722 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
723 symbol versioning code.
724 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
725 feupdateenv. Remove symbol versioning code.
726 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
727 fegetexceptflag. Remove symbol versioning code.
728 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
729 fesetexceptflag. Remove symbol versioning code.
730 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
731 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
732 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
733 (__posix_fadvise64_l32): Remove prototype.
734 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
737 2014-05-13 Roland McGrath <roland@hack.frob.com>
739 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
740 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
741 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
742 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
744 2014-05-13 Sami Kerola <kerolasa@iki.fi>
746 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
747 current working directory
749 2014-05-13 Roland McGrath <roland@hack.frob.com>
751 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
752 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
753 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
754 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
755 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
756 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
757 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
759 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
761 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
763 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
765 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
767 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
769 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
771 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
773 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
775 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
777 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
779 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
781 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
783 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
784 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
785 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
786 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
787 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
788 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
789 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
790 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
791 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
792 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
794 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
795 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
797 * sysdeps/unix/sysv/linux/arm/Makefile
798 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
799 Add rt-aeabi_unwind_cpp_pr1.
800 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
801 Add nptl-aeabi_unwind_cpp_pr1.
802 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
803 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
804 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
805 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
806 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
807 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
809 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
810 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
811 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
812 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
814 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
815 Deconditionalize the code that was previously under [RESET_PID].
816 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
818 * sysdeps/generic/exit-thread.h: New file.
819 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
820 * include/unistd.h (__exit_thread): Remove declaration.
821 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
822 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
823 * csu/libc-start.c: Include <exit-thread.h>.
824 (LIBC_START_MAIN): Pass no argument to __exit_thread.
825 * nptl/pthread_create.c: Include <exit-thread.h>.
826 (start_thread): Call __exit_thread in place of __exit_thread_inline.
827 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
828 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
829 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
830 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
831 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
832 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
833 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
834 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
835 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
836 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
837 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
838 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
839 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
840 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
841 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
842 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
844 2014-05-13 Andreas Schwab <schwab@suse.de>
846 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
848 2014-05-12 Joseph Myers <joseph@codesourcery.com>
850 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
851 (__ASSUME_UTIMES): Do not condition on kernel version.
852 (__ASSUME_PSELECT): Define unconditionally.
853 (__ASSUME_PPOLL): Likewise.
854 (__ASSUME_ATFCTS): Likewise.
855 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
856 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
857 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
858 (__ASSUME_UTIMENSAT): Define unconditionally.
859 (__ASSUME_PRIVATE_FUTEX): Likewise.
860 (__ASSUME_FALLOCATE): Likewise.
861 (__ASSUME_O_CLOEXEC): Likewise.
862 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
863 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
864 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
865 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
866 (__ASSUME_IN_NONBLOCK): Likewise.
867 (__ASSUME_PIPE2): Likewise.
868 (__ASSUME_EVENTFD2): Likewise.
869 (__ASSUME_SIGNALFD4): Likewise.
870 (__ASSUME_DUP3): Likewise.
871 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
872 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
873 (__ASSUME_AT_RANDOM): Likewise.
874 (__ASSUME_PREADV): Likewise.
875 (__ASSUME_PWRITEV): Likewise.
876 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
877 (__ASSUME_F_GETOWN_EX): Define unconditionally.
878 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
879 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
880 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
881 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
882 (__ASSUME_O_CLOEXEC): Define unconditionally.
883 (__ASSUME_PSELECT): Do not undefine conditionally.
884 (__ASSUME_PPOLL): Likewise.
885 (__ASSUME_ATFCTS): Likewise.
886 (__ASSUME_SET_ROBUST_LIST): Likewise.
887 (__ASSUME_UTIMENSAT): Likewise.
888 (__ASSUME_FDATASYNC): Define unconditionally.
889 * sysdeps/unix/sysv/linux/arm/kernel-features.h
890 (__ASSUME_SIGFRAME_V2): Likewise.
891 )__ASSUME_EVENTFD2): Likewise.
892 (__ASSUME_SIGNALFD4): Likewise.
893 (__ASSUME_PSELECT): Do not undefine conditionally.
894 (__ASSUME_PPOLL): Likewise.
895 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
896 (__ASSUME_PSELECT): Define unconditionally.
897 (__ASSUME_PPOLL): Likewise.
898 (__ASSUME_O_CLOEXEC): Likewise.
899 (__ASSUME_SOCK_CLOEXEC): Likewise.
900 (__ASSUME_IN_NONBLOCK): Likewise.
901 (__ASSUME_PIPE2): Likewise.
902 (__ASSUME_EVENTFD2): Likewise.
903 (__ASSUME_SIGNALFD4): Likewise.
904 (__ASSUME_DUP3): Likewise.
905 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
906 (__ASSUME_O_CLOEXEC): Likewise.
907 (__ASSUME_SOCK_CLOEXEC): Likewise.
908 (__ASSUME_IN_NONBLOCK): Likewise.
909 (__ASSUME_PIPE2): Likewise.
910 (__ASSUME_EVENTFD2): Likewise.
911 (__ASSUME_SIGNALFD4): Likewise.
912 (__ASSUME_DUP3): Likewise.
913 * sysdeps/unix/sysv/linux/mips/kernel-features.h
914 (__ASSUME_EVENTFD2): Likewise.
915 (__ASSUME_SIGNALFD4): Likewise.
916 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
918 2014-05-12 Andreas Schwab <schwab@suse.de>
921 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
922 (_nss_nis_gethostbyname4_r): Return error if item length is larger
923 than maximum RPC packet size.
924 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
925 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
926 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
927 (_nss_nis_getservbyport_r): Likewise.
929 2014-05-12 Will Newton <will.newton@linaro.org>
931 * malloc/Makefile (tests): Add tst-mallopt.
932 * malloc/tst-mallopt.c: New file.
934 2014-05-09 Roland McGrath <roland@hack.frob.com>
936 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
937 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
939 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
941 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
942 (tst-tlsmod6.so): Likewise.
944 2014-05-09 Roland McGrath <roland@hack.frob.com>
946 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
948 2014-05-09 Joseph Myers <joseph@codesourcery.com>
951 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
953 (__fegetenv): Save SSE state in envp->__eip if supported.
954 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
955 envp->__eip if supported.
956 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
958 (__fesetenv): Always set __eip, __cs_selector, __opcode,
959 __data_offset and __data_selector in environment to 0. Set SSE
961 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
963 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
965 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
967 2014-05-09 Will Newton <will.newton@linaro.org>
969 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
970 and libc_relro_required for ARM.
971 * sysdeps/arm/preconfigure: Regenerate.
973 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
974 Stefan Liebler <stli@linux.vnet.ibm.com>
976 * config.make.in (enable-lock-elision): New Makefile variable.
977 * configure.ac: Likewise.
978 * configure: Regenerate.
979 * sysdeps/s390/configure.ac:
980 Add check for gcc transactions support.
981 * sysdeps/s390/configure: Regenerate.
982 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
983 Build elision files if enabled.
984 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
985 Add lock elision support for s390.
986 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
987 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
988 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
989 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
990 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
991 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
994 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
996 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
998 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1000 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1001 (__lll_timedlock_elision, __lll_lock_elision)
1002 (__lll_unlock_elision, __lll_trylock_elision)
1003 (lll_timedlock_elision, lll_lock_elision)
1004 (lll_unlock_elision, lll_trylock_elision): Add.
1005 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1006 (pthread_mutex_t): Add lock elision support for s390.
1008 2014-05-14 Wilco <wdijkstr@arm.com>
1010 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
1011 * sysdeps/arm/fedisblxcpt.c: Likewise.
1012 * sysdeps/arm/feenablxcpt.c: Likewise.
1013 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
1014 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
1015 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1016 Call optimized (libc_fesetenv_vfp).
1017 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
1018 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1019 Call optimized (libc_feupdateenv_vfp).
1020 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
1021 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
1023 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
1024 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
1026 2014-05-14 Wilco <wdijkstr@arm.com>
1028 * sysdeps/arm/fclrexcpt.c: Cleanup.
1029 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1030 * sysdeps/arm/feenablxcpt.c: Cleanup.
1031 * sysdeps/arm/fegetenv.c: Cleanup.
1032 * sysdeps/arm/fegetexcept.c: Cleanup.
1033 * sysdeps/arm/fegetround.c: Cleanup.
1034 * sysdeps/arm/feholdexcpt.c: Cleanup.
1035 * sysdeps/arm/fesetenv.c: Cleanup.
1036 * sysdeps/arm/fesetround.c: Cleanup.
1037 * sysdeps/arm/feupdateenv.c: Cleanup.
1038 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1039 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1040 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1041 * sysdeps/arm/ftestexcept.c: Cleanup.
1042 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1043 * sysdeps/arm/setfpucw.c: Cleanup.
1045 2014-05-09 Will Newton <will.newton@linaro.org>
1047 * sysdeps/arm/armv7/strcmp.S: New file.
1048 * NEWS: Mention addition of ARMv7 optimized strcmp.
1050 2014-05-08 Roland McGrath <roland@hack.frob.com>
1052 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1053 look for %.ac rather than %.in.
1055 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1056 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1057 * sysdeps/mach/hurd/configure: Regenerated.
1058 * sysdeps/unix/sysv/linux/configure: Regenerated.
1060 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1062 2014-05-07 Steve Ellcey <sellcey@mips.com>
1065 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1069 2014-05-07 Andreas Schwab <schwab@suse.de>
1071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1072 when skipping over non-matching result from nscd.
1074 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1077 * nptl/sockperf.c (client): Check socket return value.
1080 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1081 nscd security class.
1083 2014-05-06 Roland McGrath <roland@hack.frob.com>
1085 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1086 * sysdeps/arm/unwind.h: ... here.
1088 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1091 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1094 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1096 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1097 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1098 multiarch strncpy for PPC64.
1099 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1100 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1102 multiarch optimizations.
1103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1104 (__libc_ifunc_impl_list): Likewise.
1105 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1106 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1107 multiarch stpncpy for PPC64.
1108 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1109 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1111 2014-05-06 Andreas Schwab <schwab@suse.de>
1114 * gmon/mcount.c (_MCOUNT_DECL): Use
1115 atomic_compare_and_exchange_bool_acq instead of
1116 catomic_compare_and_exchange_bool_acq.
1118 2014-05-05 Roland McGrath <roland@hack.frob.com>
1120 * elf/Makefile (others, install-bin): Remove pldd.
1121 (pldd-modules): Variable removed.
1122 ($(objpfx)pldd): Target removed.
1123 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1124 (others, install-bin): Append pldd here.
1125 ($(objpfx)pldd): New target.
1127 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1128 to 0, so the first #if test emitted later doesn't see it undefined.
1129 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1130 * sysdeps/gnu/errlist.c: Regenerated.
1132 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1135 [libc_hidden_builtin_def]: Define to empty value.
1136 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1137 [libc_hidden_builtin_def]: Likewise.
1138 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1139 [libc_hidden_builtin_def]: Likewise.
1140 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1141 [libc_hidden_builtin_def]: Likewise.
1142 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1143 __redirect_memcpy and define ifunc as default hidden symbol.
1144 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1145 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1147 2014-05-04 Adam Conrad <adconrad@0c3.net>
1149 * locale/iso-4217.def: Reintroduce XDR currency.
1151 2014-05-04 Allan McRae <allan@archlinux.org>
1153 * po/eo.po: Update Esperanto translation from translation project.
1155 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1157 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1158 and FEATURE_INDEX_MAX to 1.
1159 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1161 2014-05-01 Steve Ellcey <sellcey@mips.com>
1163 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1164 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1165 * iconvdata/big5.c (ONE_DIRECTION): Define.
1166 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1167 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1168 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1169 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1170 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1171 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1172 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1173 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1174 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1175 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1176 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1177 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1178 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1179 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1180 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1181 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1182 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1183 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1184 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1185 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1186 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1187 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1188 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1189 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1190 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1191 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1192 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1193 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1194 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1195 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1196 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1197 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1198 * iconvdata/johab.c (ONE_DIRECTION): Define.
1199 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1200 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1201 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1202 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1203 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1204 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1205 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1206 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1207 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1208 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1210 2014-05-01 Roland McGrath <roland@hack.frob.com>
1212 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1213 (_IO_JUMPS_OFFSET): Define to 0.
1215 * nptl/sysdeps/pthread/bits/libc-lock.h
1216 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1217 (__libc_lock_define_initialized_recursive): Always define using
1218 initializer. Modern compilers treat uninitialized (implicit zero) and
1219 explicit zero initializers the same (i.e. put the datum in bss).
1221 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1223 * nscd/nscd-client.h: Include <string.h>.
1225 2014-05-01 David S. Miller <davem@davemloft.net>
1228 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1229 multiple zero bytes exist at the end of a string.
1230 Reported by Aurelien Jarno <aurelien@aurel32.net>
1232 * string/test-strcmp.c (check): Add explicit test for situations where
1233 there are multiple zero bytes after the first.
1235 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1238 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1239 when compiling wprintf.
1240 * stdio-common/tstdiomisc.c (t3): New function.
1243 2014-05-01 Steve Ellcey <sellcey@mips.com>
1245 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1246 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1247 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1248 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1250 2014-05-01 Steve Ellcey <sellcey@mips.com>
1252 * stdlib/longlong.h: Updated from GCC.
1254 2014-05-01 Will Newton <will.newton@linaro.org>
1255 Bernard Ogden <bernie.ogden@linaro.org>
1257 * NEWS: Update fixed bug list.
1260 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1262 2014-04-30 David S. Miller <davem@davemloft.net>
1264 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1265 (libc_feholdexcept_setround_sparc_ctx): New function.
1266 (libc_fesetenv_sparc_ctx): Likewise.
1267 (libc_feupdateenv_sparc_ctx): Likewise.
1268 (libc_feholdsetround_sparc_ctx): Likewise.
1269 (libc_feholdexcept_setround_ctx): Define.
1270 (libc_feholdexcept_setroundf_ctx): Likewise.
1271 (libc_feholdexcept_setroundl_ctx): Likewise.
1272 (libc_fesetenv_ctx): Likewise.
1273 (libc_fesetenvf_ctx): Likewise.
1274 (libc_fesetenvl_ctx): Likewise.
1275 (libc_feupdateenv_ctx): Likewise.
1276 (libc_feupdateenvf_ctx): Likewise.
1277 (libc_feupdateenvl_ctx): Likewise.
1278 (libc_feresetround_ctx): Likewise.
1279 (libc_feresetroundf_ctx): Likewise.
1280 (libc_feresetroundl_ctx): Likewise.
1281 (libc_feholdsetround_ctx): Likewise.
1282 (libc_feholdsetroundf_ctx): Likewise.
1283 (libc_feholdsetroundl_ctx): Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1286 with __USE_GNU instead of XOPEN cpp guards.
1288 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1292 with XOPEN cpp guards.
1294 2014-04-30 Julian Brown <julian@codesourcery.com>
1297 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1300 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1303 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1305 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1306 * sysdeps/unix/sysv/linux/configure: Regenerated.
1307 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1308 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1309 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1310 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1311 * README: Update reference to required Linux kernel version.
1312 * manual/install.texi (Linux): Update reference to required Linux
1313 kernel headers version.
1314 * INSTALL: Regenerated.
1316 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1318 [POSIX] (limits.h): Likewise.
1319 [POSIX] (math.h): Likewise.
1320 [POSIX] (sys/wait.h): Likewise.
1321 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1323 [POSIX] (stddef.h): Do not allow header inclusion.
1325 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1329 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1331 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1332 Return immediately after lll_futex_wake.
1334 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1337 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1339 (datahead_init_pos): Call datahead_init_common early.
1340 (datahead_init_neg): Likewise.
1342 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1343 datahead_init_neg): New functions.
1344 * nscd/aicache.c (addhstaiX): Use them.
1345 * nscd/grpcache.c (cache_addgr): Likewise.
1346 * nscd/hstcache.c (cache_addhst): Likewise.
1347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1348 * nscd/netgroupcache.c (do_notfound): Likewise.
1349 (addgetnetgrentX): Likewise.
1350 (addinnetgrX): Likewise.
1351 * nscd/pwdcache.c (cache_addpw): Likewise.
1352 * nscd/servicescache.c (cache_addserv): Likewise.
1354 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1355 Atsushi Onoe <atsushi@onoe.org>
1360 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1361 one response is valid.
1362 * resolv/res_send.c (send_dg): Check for validity of other
1363 response if the current response is a referral.
1365 2014-04-29 Steve Ellcey <sellcey@mips.com>
1367 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1369 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1372 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1373 Always divide by positive zero when computing -Inf result.
1374 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1375 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1377 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1380 FPSCR if value do not change.
1381 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1382 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1383 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1384 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1385 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1386 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1389 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1391 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1392 * sysdeps/unix/sysv/linux/hppa: Move directory from
1393 ports/systeps/unix/sysv/linux/hppa.
1394 * README: Update listing for hppa-*-linux-gnu.
1396 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1399 * manual/stdio.texi (Hook functions): Fix types of stream hook
1402 * socket/sys/socket.h: Fix typo in comment.
1404 2014-04-28 Wilco <wdijkstr@arm.com>
1406 * sysdeps/arm/fenv_private.h: New file.
1407 * sysdeps/arm/math_private.h: New file.
1408 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1410 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1412 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1414 (La_x86_64_retval): Likewise.
1416 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1418 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1419 fpsr if value didn't change.
1420 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1421 to fpcr if value didn't change.
1422 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1423 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1424 fpsr or fpcr if value didn't change.
1425 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1426 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1427 fpcr if value didn't change.
1428 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1429 to fpsr if value didn't change.
1431 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1433 * nptl/tst-sem3.c: Use test-skeleton.c
1434 (main): Rename to do_test. Use return instead of
1436 * nptl/tst-sem4.c: Use test-skeleton.c
1437 (main): Rename to do_test.
1439 2014-04-22 David S. Miller <davem@davemloft.net>
1441 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1442 (struct sigaction): New struct member __glibc_reserved0, change
1443 type of sa_flags to int.
1445 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1447 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1448 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1450 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1452 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1453 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1455 2014-04-22 Will Newton <will.newton@linaro.org>
1456 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1458 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1459 (__longjmp): Add longjmp and longjmp_target SystemTap
1461 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1462 (__sigsetjmp): Add setjmp SystemTap probe.
1464 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1466 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1469 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1473 * sysdeps/powerpc/fpu/fenv_private.h
1474 (libc_feholdexcept_setroundl_ctx): Define to
1475 libc_feholdexcept_setround_ppc_ctx.
1476 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1477 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1478 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1479 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1481 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1483 * sysdeps/aarch64/math-tests.h: New file.
1485 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1487 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1490 Check and set bit_AVX2_Usable.
1491 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1493 (bit_AVX2): Likewise.
1494 (index_AVX2_Usable): Likewise.
1495 (CPUID_AVX2): Likewise.
1496 (HAS_AVX2): Likewise.
1498 2014-04-17 Will Newton <will.newton@linaro.org>
1500 * manual/setjmp.texi (System V contexts): Add note that
1501 calling setcontext on a context created by a call to a
1502 signal handler is undefined. Update text to note that
1503 setcontext from a signal handler is possible but not
1507 * stdlib/tst-setcontext.c: Include signal.h.
1508 (main): Check that the signal stack before and
1509 after swapcontext is the same.
1511 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1512 Re-implement to restore registers in user code and avoid
1513 rt_sigreturn system call.
1515 2014-04-17 Wilco <wdijkstr@arm.com>
1517 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1518 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1519 * math/test-fenv.c: Skip exception trap tests on targets which only
1520 support non-stop mode.
1522 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1523 Wilco Dijkstra <wilco.dijkstra@arm.com>
1525 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1526 (libc_feholdsetround_aarch64_ctx)
1527 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1528 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1529 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1530 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1531 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1532 (libc_feresetround_noexl_ctx): Define.
1534 2014-04-16 Richard Henderson <rth@redhat.com>
1536 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1538 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1541 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1542 const from the non-libc, non-ldso copy.
1544 * sysdeps/alpha/libm-test-ulps: Regenerate.
1546 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1547 Wilco Dijkstra <wilco.dijkstra@arm.com>
1549 * sysdeps/aarch64/fpu/math_private.h: New file.
1551 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1553 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1555 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1557 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1558 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1560 Intel MPX bound registers before _dl_profile_fixup.
1561 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1562 registers after _dl_profile_fixup. Save and restore bound
1563 registers bnd0/bnd1 when calling _dl_call_pltexit.
1564 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1565 (LR_BND_OFFSET): Likewise.
1566 (LRV_BND0_OFFSET): Likewise.
1567 (LRV_BND1_OFFSET): Likewise.
1569 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1571 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1573 * sysdeps/mach/hurd/i386/tls.h: ... here.
1574 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1575 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1578 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1580 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1582 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1584 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1586 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1589 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1590 * sysdeps/s390/configure: Regenerate.
1593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1594 Set round-to-nearest internally to reduce error accumulation.
1596 2014-04-16 Alan Modra <amodra@gmail.com>
1600 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1601 * math/libm-test.inc (frexp_test_data): Add tests.
1602 * NEWS: Update fixed bug list.
1604 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1606 * benchtests/Makefile: Depend on libraries in build directory.
1607 (bench-math): Separate out math tests.
1608 (bench-pthread): Separate out pthread tests.
1609 (bench): Include math and pthread tests.
1611 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1614 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1615 _dl_debug_initialize.
1617 * configure.ac: Remove SELinux header check.
1618 * configure: Regenerate.
1619 * nscd/selinux.c (perms): Array of const char* to permission names.
1620 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1621 default policy. Call string_to_security_class and string_to_av_perm to
1622 translate strings. Enforce default policy and call avs_has_perm with
1623 results of translated strings.
1625 2014-04-13 David S. Miller <davem@davemloft.net>
1627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1629 2014-04-12 Allan McRae <allan@archlinux.org>
1632 * manual/string.texi (Collation Functions): Fix qsort argument
1634 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1636 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1638 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1639 Make the test a no-op if there are no exceptions defined.
1641 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1643 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1644 enable-hardcoded-path-in-tests
1646 2014-04-11 Will Newton <will.newton@linaro.org>
1648 * benchtests/Makefile (extra-objs): Add json-lib.o.
1649 (bench-func): Tidy up JSON output.
1650 * benchtests/bench-skeleton.c: Include json-lib.h.
1651 (main): Use JSON library functions to do output of
1653 * benchtests/bench-timing-type.c (main): Output the
1654 timing type simply, leaving formatting to the user.
1655 * benchtests/json-lib.c: New file.
1656 * benchtests/json-lib.h: Likewise.
1658 2014-04-11 Torvald Riegel <triegel@redhat.com>
1661 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1662 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1663 memory barriers. Add comments.
1664 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1665 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1666 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1667 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1668 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1669 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1671 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1673 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1674 * sysdeps/s390/s390-64/configure.ac: ... this ...
1675 * sysdeps/s390/configure.ac: ... to here.
1676 * sysdeps/s390/s390-32/configure: Delete file.
1677 * sysdeps/s390/s390-64/configure: Delete file.
1678 * sysdeps/s390/configure: Regenerate.
1680 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1682 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1684 2014-04-11 Will Newton <will.newton@linaro.org>
1686 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1687 to zero if it is not defined elsewhere. (mtrim): Test
1688 the value of MALLOC_DEBUG with #if rather than #ifdef.
1690 2014-04-10 Torvald Riegel <triegel@redhat.com>
1692 * benchtests/pthread_once-inputs: New file.
1693 * benchtests/pthread_once-source.c: New file.
1694 * benchtests/README: Update documentation.
1696 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1697 H.J. Lu <hongjiu.lu@intel.com>
1699 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1700 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1701 * sysdeps/x86_64/configure: Regenerated.
1702 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1704 (REGISTER_SAVE_RAX): Likewise.
1705 (REGISTER_SAVE_RCX): Likewise.
1706 (REGISTER_SAVE_RDX): Likewise.
1707 (REGISTER_SAVE_RSI): Likewise.
1708 (REGISTER_SAVE_RDI): Likewise.
1709 (REGISTER_SAVE_R8): Likewise.
1710 (REGISTER_SAVE_R9): Likewise.
1711 (REGISTER_SAVE_BND0): Likewise.
1712 (REGISTER_SAVE_BND1): Likewise.
1713 (REGISTER_SAVE_BND2): Likewise.
1714 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1715 bound registers when calling _dl_fixup.
1717 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1720 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1722 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1723 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1724 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1725 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1726 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1727 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1728 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1730 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1733 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1734 pathconf(_PC_NAME_MAX).
1736 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1740 (__PTHREAD_SPINS): Move definition to ...
1741 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1742 (__PTHREAD_SPINS): ... here.
1743 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1744 (__PTHREAD_SPIN): Likewise.
1745 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1746 (__PTHREAD_SPIN): Likewise.
1747 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1748 (__PTHREAD_SPIN): Likewise.
1749 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1750 (__PTHREAD_SPIN): Likewise.
1751 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1752 (__PTHREAD_SPIN): Likewise.
1753 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1754 (__PTHREAD_SPIN): Likewise.
1755 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1756 (__PTHREAD_SPIN): Likewise.
1757 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1758 (__PTHREAD_SPIN): Likewise.
1759 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1760 (__PTHREAD_SPIN): Likewise.
1761 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1762 (__PTHREAD_SPIN): Likewise.
1763 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1764 (__PTHREAD_SPIN): Likewise.
1765 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1766 (__PTHREAD_SPIN): Likewise.
1768 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1769 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1770 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1771 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1773 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1774 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1775 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1776 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1778 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1779 strlen symbol for non multi-arch builds.
1780 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1781 missing hidden_def and weak_alias.
1783 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1785 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1787 2014-04-07 Will Newton <will.newton@linaro.org>
1789 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1790 and contents. [!_LIBC] Remove #ifndef and contents.
1791 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1792 * string/memccpy.c (__memccpy): Use ANSI prototype.
1793 * string/memfrob.c (memfrob): Likewise.
1794 * string/strcoll.c (STRCOLL): Likewise.
1795 * string/strlen.c (strlen): Likewise.
1796 * string/strtok.c (STRTOK): Likewise.
1797 * string/strcat.c: Remove unused #include of memcopy.h.
1798 (strcat): Use ANSI prototype.
1799 * string/strchr.c: Remove unused #include of memcopy.h.
1800 (strchr): Use ANSI prototype.
1801 * string/strcmp.c: Remove unused #include of memcopy.h.
1802 (strcmp): Use ANSI prototype.
1803 * string/strcpy.c: Remove unused #include of memcopy.h.
1804 (strcpy): Use ANSI prototype.
1806 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1809 * config.make.in (config-extra-cppflags): Set it from
1810 libc_extra_cppflags.
1811 * configure.ac (libc_extra_cflags): Make it accumulate over
1812 configure fragments.
1813 (libc_extra_cppflags): New flag.
1814 * configure. Regenerate.
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1816 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1817 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1822 result for FE_DOWNWARD rounding mode.
1823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1827 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1829 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1830 in function argument name.
1832 2014-04-03 David Svoboda <svoboda@cert.org>
1835 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1838 2014-04-03 Roland McGrath <roland@hack.frob.com>
1840 * elf/dl-unmap-segments.h: New file.
1841 * sysdeps/generic/ldsodefs.h
1842 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1843 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1844 * elf/dl-fptr.c: Likewise.
1845 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1846 * sysdeps/aarch64/tlsdesc.c: Likewise.
1847 * sysdeps/arm/tlsdesc.c: Likewise.
1848 * sysdeps/i386/tlsdesc.c: Likewise.
1849 * sysdeps/tile/dl-runtime.c: Likewise.
1850 * sysdeps/x86_64/tlsdesc.c: Likewise.
1851 * elf/dl-load.h: New file.
1852 * elf/dl-load.c: Include it.
1853 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1854 Macros moved to dl-load.h.
1855 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1856 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1857 Use _dl_unmap_segments in place of __munmap.
1858 Break out segment-mapping loop into ...
1859 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1861 2014-04-03 Will Newton <will.newton@linaro.org>
1863 * elf/dl-lookup.c (do_lookup_x): Remove comment
1864 referring to nested function and move variable
1865 declarations down to before first use.
1867 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1871 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1873 * math/s_catanf.c (__catanf): Likewise.
1874 * math/s_catanh.c (__catanh): Likewise.
1875 * math/s_catanhf.c (__catanhf): Likewise.
1876 * math/s_catanhl.c (__catanhl): Likewise.
1877 * math/s_catanl.c (__catanl): Likewise.
1878 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1879 by positive zero when computing -Inf result.
1880 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1881 (catanh_test): Likewise.
1882 * sysdeps/i386/fpu/libm-test-ulps: Update.
1883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1886 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1887 instead of using underflowing value in computing result.
1888 * math/s_clog10.c (__clog10): Likewise.
1889 * math/s_clog10f.c (__clog10f): Likewise.
1890 * math/s_clog10l.c (__clog10l): Likewise.
1891 * math/s_clogf.c (__clogf): Likewise.
1892 * math/s_clogl.c (__clogl): Likewise.
1893 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1894 (clog10_test): Likewise.
1895 * sysdeps/i386/fpu/libm-test-ulps: Update.
1896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1898 2014-04-02 Alan Modra <amodra@gmail.com>
1901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1902 output when value is near a power of two. Use int64_t for lx and
1903 remove casts. Use decimal rather than hex exponent constants.
1904 Don't use long double multiplication when double will suffice.
1905 * math/libm-test.inc (nextafter_test_data): Add tests.
1906 * NEWS: Add 16739 and 16786 to bug list.
1908 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1910 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1912 2014-04-01 Will Newton <will.newton@linaro.org>
1914 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1915 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1917 2014-04-01 Florian Weimer <fweimer@redhat.com>
1920 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1921 * nptl/tst-setuid2.c: New file.
1922 * nptl/Makefile (xtests): Add tst-setuid2.
1924 2014-04-01 Alan Modra <amodra@gmail.com>
1927 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1929 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1933 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1934 set errno as appropriate.
1935 * math/w_scalbf.c (__scalbf): Likewise.
1936 * math/w_scalbl.c (__scalbl): Likewise.
1937 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1938 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1939 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1943 * math/w_atan2.c: Include <errno.h>.
1944 (__atan2): Set errno for result underflowing to zero.
1945 * math/w_atan2f.c: Include <errno.h>.
1946 (__atan2f): Set errno for result underflowing to zero.
1947 * math/w_atan2l.c: Include <errno.h>.
1948 (__atan2l): Set errno for result underflowing to zero.
1949 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1951 * math/auto-libm-test-out: Regenerated.
1953 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1955 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1956 Encode instruction correctly in little endian.
1957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1961 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1963 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1966 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1969 * sysdeps/unix/sysv/linux/kernel-features.h
1970 [__sparc__ && !__arch64__ && !__sparc_v9__]
1971 (__ASSUME_SET_ROBUST_LIST): Do not define.
1972 [__sparc__ && !__arch64__ && !__sparc_v9__]
1973 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1974 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1977 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1978 (__ASSUME_REQUEUE_PI): Likewise.
1979 (__ASSUME_SET_ROBUST_LIST): Likewise.
1980 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1981 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1983 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1986 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1988 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1990 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1991 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1993 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1994 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1999 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2000 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2002 2014-03-31 Will Newton <will.newton@linaro.org>
2004 * benchtests/Makefile (bench): Add ffs and ffsll to list
2006 * benchtests/ffs-inputs: New file.
2007 * benchtests/ffsll-inputs: Likewise.
2009 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2012 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2013 too large before casting to int.
2014 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2015 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2016 * math/libm-test.inc (scalb_test_data): Add more tests.
2018 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2020 * benchtests/Makefile (DETAILED_OPT): New make option.
2021 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2023 * benchtests/bench-skeleton.c: Include stdbool.h.
2024 (main): Store and print timings per input.
2025 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2026 member to each argument value.
2027 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2028 (_print_arg_data): Initialize per-input timing to 0.
2030 * benchtests/Makefile (timing-type): New binary.
2031 (bench-clean): Also remove bench-timing-type.
2032 (bench): New target for timing-type.
2033 (bench-func): Print output in JSON format.
2034 * benchtests/bench-skeleton.c (main): Print output in JSON
2036 * benchtests/bench-timing-type.c: New file.
2037 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2038 (TIMING_PRINT_STATS): Remove.
2039 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2042 * benchtests/bench-modf.c: Remove.
2043 * benchtests/modf-inputs: New inputs file.
2045 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2048 * math/s_clog10.c (M_PI_LOG10E): New macro.
2049 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2050 imaginary parts are 0.
2051 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2052 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2053 imaginary parts are 0.
2054 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2055 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2056 imaginary parts are 0.
2057 * math/libm-test.inc (clog10_test_data): Update expected results
2058 for when real and imaginary parts are 0.
2060 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2062 * elf/dl-load.c: Finish conversion of __builtin_expect into
2065 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2069 1+x for argument with exponent below -67.
2070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2072 * math/auto-libm-test-in: Add more tests of exp.
2073 * math/auto-libm-test-out: Regenerated.
2075 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2078 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2079 (nscd_getnetgrent): Use it.
2082 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2085 2014-03-27 Andi Kleen <ak@linux.intel.com>
2087 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2088 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2089 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2090 (lll_robust_unlock): Remove out of line section. Use cfi
2092 (LLL_STUB_UNWIND_INFO*): Remove.
2093 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2094 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2095 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2096 (lll_robust_unlock): Remove out of line section. Use cfi
2098 (LLL_STUB_UNWIND_INFO*): Remove.
2100 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2103 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2106 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2108 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2110 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2113 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2115 * math/test-fenv-preserve.c: New file.
2116 * math/Makefile (tests): Add test-fenv-preserve.
2118 2014-03-26 Will Newton <will.newton@linaro.org>
2120 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2122 2014-03-25 Roland McGrath <roland@hack.frob.com>
2124 * scripts/versionlist.awk: Partition the version sets and emit all
2125 GLIBC_* (sorted) before all others (sorted).
2127 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2129 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2130 GLIBC_2.2.5 version.
2132 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2134 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2142 2014-03-25 Andreas Schwab <schwab@suse.de>
2144 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2145 label to be used after in6ailist is initialized.
2147 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2150 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2152 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2156 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2158 (fp_formats): Update initializers.
2159 (init_fp_formats): Initialize new field.
2160 (output_for_one_input_case): Allow underflow for results up to
2162 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2163 * math/auto-libm-test-in: Don't mark some underflows from asin and
2165 * math/auto-libm-test-out: Regenerated.
2166 * sysdeps/i386/fpu/libm-test-ulps: Update.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2169 2014-03-25 Andreas Schwab <schwab@suse.de>
2171 * libio/Makefile (tst-ftell-partial-wide-ENV)
2172 (tst-ftell-active-handler-ENV): Define.
2174 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2176 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2178 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2180 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2182 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2184 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2185 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2186 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2188 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2191 * elf/dl-load.c (open_verify): Add mode parameter.
2192 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2193 (open_path): Change from boolean 'secure' to complete flag 'mode'
2194 (_dl_map_object): Adjust.
2195 * elf/Makefile (tests): Add tst-dlopen-aout.
2196 * elf/tst-dlopen-aout.c: New test.
2198 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2201 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2202 (struct stat): Rename member pad0 to __glibc_reserved0.
2205 * sysdeps/s390/s390-32/bits/wordsize.h
2206 (__WORDSIZE32_SIZE_ULONG): New define.
2207 * sysdeps/s390/s390-64/bits/wordsize.h
2208 (__WORDSIZE32_SIZE_ULONG): Likewise.
2209 * sysdeps/generic/stdint.h (SIZE_MAX):
2210 Define as UL if __WORDSIZE32_SIZE_ULONG.
2213 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2214 (__glibc_reserved0): New variable.
2215 (sa_flags): Change type to int.
2217 * posix/Makefile (before-compile): Use += before-compile instead
2220 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2221 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2223 2014-03-20 Andreas Schwab <schwab@suse.de>
2226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2227 non-matching result from nscd.
2229 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * scripts/bench.py: Moved to ...
2232 * benchtests/scripts/bench.py: ... here.
2233 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2235 2014-03-24 Andreas Schwab <schwab@suse.de>
2238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2239 alloca_account and account alloca use for struct in6ailist.
2241 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2244 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2245 rounding mode to recompute results that overflow to infinity or
2247 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2249 * math/auto-libm-test-out: Regenerated.
2250 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2251 (ccosh_test): Likewise.
2252 (csin_test_data): Use plus_oflow.
2253 (csin_test): Use ALL_RM_TEST.
2254 (csinh_test_data): Use plus_oflow.
2255 (csinh_test): Use ALL_RM_TEST.
2256 * sysdeps/i386/fpu/libm-test-ulps: Update.
2257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2261 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2262 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2263 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2266 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2268 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2269 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2270 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2271 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2273 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2274 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2276 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2277 * sysdeps/i386/fpu/libm-test-ulps: Update.
2278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2280 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * scripts/bench.pl: Remove file.
2283 * scripts/bench.py: New benchmark script.
2284 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2285 * benchtests/README: Mention python dependency.
2286 * scripts/pylintrc: New file.
2287 * scripts/pylint: New file.
2289 * bits/mathdef.h: Use #ifdef instead of #if.
2290 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2291 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2292 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2293 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2294 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2295 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2297 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2300 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2302 and strpbrk-ppc64 objects.
2303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2304 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2305 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2306 multiarch strpbrk for POWER7.
2307 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2308 multiarch strpbrk for PPC64.
2309 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2311 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2314 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2316 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2317 (atan_test): Likewise.
2318 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2319 (atanh_test): Use ALL_RM_TEST.
2320 (atan2_test_data): Likewise.
2321 (cabs_test): Likewise.
2322 (cacosh_test): Likewise.
2323 (carg_test): Likewise.
2324 (casin_test): Likewise.
2325 (casinh_test): Likewise.
2326 (cbrt_test): Likewise.
2327 (csqrt_test): Likewise.
2328 (erf_test): Likewise.
2329 (erfc_test): Likewise.
2330 (pow10_test): Likewise.
2331 (exp2_test): Likewise.
2332 (hypot_test): Likewise.
2333 (j0_test): Likewise.
2334 (j1_test): Likewise.
2335 (lgamma_test): Likewise.
2336 (gamma_test): Likewise.
2337 (sincos_test): Likewise.
2338 (tanh_test): Likewise.
2339 (y0_test): Likewise.
2340 (y1_test): Likewise.
2341 * sysdeps/i386/fpu/libm-test-ulps: Update.
2342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2344 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2348 and strcspn-ppc64 objects.
2349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2350 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2351 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2352 multiarch strcspn for POWER7.
2353 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2354 multiarch strcspn for PPC64.
2355 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2357 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2360 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2362 * math/gen-libm-test.pl (generate_testfile): Expect only function
2363 name as argument to AUTO_TESTS_* and pass results for all rounding
2364 modes to parse_args.
2365 (parse_auto_input): Separate inputs of automatic tests from
2366 outputs before storing in %auto_tests.
2367 * math/libm-test.inc (acos_test_data): Update call to
2369 (acos_test): Use ALL_RM_TEST.
2370 (acos_tonearest_test_data): Remove.
2371 (acos_test_tonearest): Likewise.
2372 (acos_towardzero_test_data): Likewise.
2373 (acos_test_towardzero): Likewise.
2374 (acos_downward_test_data): Likewise.
2375 (acos_test_downward): Likewise.
2376 (acos_upward_test_data): Likewise.
2377 (acos_test_upward): Likewise.
2378 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2379 (asin_test_data): Likewise.
2380 (asin_test): Use ALL_RM_TEST.
2381 (asin_tonearest_test_data): Remove.
2382 (asin_test_tonearest): Likewise.
2383 (asin_towardzero_test_data): Likewise.
2384 (asin_test_towardzero): Likewise.
2385 (asin_downward_test_data): Likewise.
2386 (asin_test_downward): Likewise.
2387 (asin_upward_test_data): Likewise.
2388 (asin_test_upward): Likewise.
2389 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2390 (atan_test_data): Likewise.
2391 (atanh_test_data): Likewise.
2392 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2393 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2394 (carg_test_data): Likewise.
2395 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2396 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2397 (ccosh_test_data): Likewise.
2398 (cexp_test_data): Likewise.
2399 (clog_test_data): Likewise.
2400 (clog10_test_data): Likewise.
2401 (cos_test_data): Update call to AUTO_TESTS_f_f.
2402 (cos_test): Use ALL_RM_TEST.
2403 (cos_tonearest_test_data): Remove.
2404 (cos_test_tonearest): Likewise.
2405 (cos_towardzero_test_data): Likewise.
2406 (cos_test_towardzero): Likewise.
2407 (cos_downward_test_data): Likewise.
2408 (cos_test_downward): Likewise.
2409 (cos_upward_test_data): Likewise.
2410 (cos_test_upward): Likewise.
2411 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2412 (cosh_test): Use ALL_RM_TEST.
2413 (cosh_tonearest_test_data): Remove.
2414 (cosh_test_tonearest): Likewise.
2415 (cosh_towardzero_test_data): Likewise.
2416 (cosh_test_towardzero): Likewise.
2417 (cosh_downward_test_data): Likewise.
2418 (cosh_test_downward): Likewise.
2419 (cosh_upward_test_data): Likewise.
2420 (cosh_test_upward): Likewise.
2421 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2422 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2423 (ctan_test_data): Likewise.
2424 (ctan_test): Use ALL_RM_TEST.
2425 (ctan_tonearest_test_data): Remove.
2426 (ctan_test_tonearest): Likewise.
2427 (ctan_towardzero_test_data): Likewise.
2428 (ctan_test_towardzero): Likewise.
2429 (ctan_downward_test_data): Likewise.
2430 (ctan_test_downward): Likewise.
2431 (ctan_upward_test_data): Likewise.
2432 (ctan_test_upward): Likewise.
2433 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2434 (ctanh_test): Use ALL_RM_TEST.
2435 (ctanh_tonearest_test_data): Remove.
2436 (ctanh_test_tonearest): Likewise.
2437 (ctanh_towardzero_test_data): Likewise.
2438 (ctanh_test_towardzero): Likewise.
2439 (ctanh_downward_test_data): Likewise.
2440 (ctanh_test_downward): Likewise.
2441 (ctanh_upward_test_data): Likewise.
2442 (ctanh_test_upward): Likewise.
2443 (erf_test_data): Update call to AUTO_TESTS_f_f.
2444 (erfc_test_data): Likewise.
2445 (exp_test_data): Likewise.
2446 (exp_test): Use ALL_RM_TEST.
2447 (exp_tonearest_test_data): Remove.
2448 (exp_test_tonearest): Likewise.
2449 (exp_towardzero_test_data): Likewise.
2450 (exp_test_towardzero): Likewise.
2451 (exp_downward_test_data): Likewise.
2452 (exp_test_downward): Likewise.
2453 (exp_upward_test_data): Likewise.
2454 (exp_test_upward): Likewise.
2455 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2456 (exp10_test): Use ALL_RM_TEST.
2457 (exp10_tonearest_test_data): Remove.
2458 (exp10_test_tonearest): Likewise.
2459 (exp10_towardzero_test_data): Likewise.
2460 (exp10_test_towardzero): Likewise.
2461 (exp10_downward_test_data): Likewise.
2462 (exp10_test_downward): Likewise.
2463 (exp10_upward_test_data): Likewise.
2464 (exp10_test_upward): Likewise.
2465 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2466 (expm1_test_data): Likewise.
2467 (expm1_test): Use ALL_RM_TEST.
2468 (expm1_tonearest_test_data): Remove.
2469 (expm1_test_tonearest): Likewise.
2470 (expm1_towardzero_test_data): Likewise.
2471 (expm1_test_towardzero): Likewise.
2472 (expm1_downward_test_data): Likewise.
2473 (expm1_test_downward): Likewise.
2474 (expm1_upward_test_data): Likewise.
2475 (expm1_test_upward): Likewise.
2476 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2477 (fma_test): Use ALL_RM_TEST.
2478 (fma_towardzero_test_data): Remove.
2479 (fma_test_towardzero): Likewise.
2480 (fma_downward_test_data): Likewise.
2481 (fma_test_downward): Likewise.
2482 (fma_upward_test_data): Likewise.
2483 (fma_test_upward): Likewise.
2484 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2485 (j0_test_data): Update call to AUTO_TESTS_f_f.
2486 (j1_test_data): Likewise.
2487 (jn_test_data): Update call to AUTO_TESTS_if_f.
2488 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2489 (log_test_data): Update call to AUTO_TESTS_f_f.
2490 (log10_test_data): Likewise.
2491 (log1p_test_data): Likewise.
2492 (log2_test_data): Likewise.
2493 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2494 (pow_tonearest_test_data): Likewise.
2495 (sin_test_data): Update call to AUTO_TESTS_f_f.
2496 (sin_test): Use ALL_RM_TEST.
2497 (sin_tonearest_test_data): Remove.
2498 (sin_test_tonearest): Likewise.
2499 (sin_towardzero_test_data): Likewise.
2500 (sin_test_towardzero): Likewise.
2501 (sin_downward_test_data): Likewise.
2502 (sin_test_downward): Likewise.
2503 (sin_upward_test_data): Likewise.
2504 (sin_test_upward): Likewise.
2505 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2506 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2507 (sinh_test): Use ALL_RM_TEST.
2508 (sinh_tonearest_test_data): Remove.
2509 (sinh_test_tonearest): Likewise.
2510 (sinh_towardzero_test_data): Likewise.
2511 (sinh_test_towardzero): Likewise.
2512 (sinh_downward_test_data): Likewise.
2513 (sinh_test_downward): Likewise.
2514 (sinh_upward_test_data): Likewise.
2515 (sinh_test_upward): Likewise.
2516 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2517 (sqrt_test): Use ALL_RM_TEST.
2518 (sqrt_tonearest_test_data): Remove.
2519 (sqrt_test_tonearest): Likewise.
2520 (sqrt_towardzero_test_data): Likewise.
2521 (sqrt_test_towardzero): Likewise.
2522 (sqrt_downward_test_data): Likewise.
2523 (sqrt_test_downward): Likewise.
2524 (sqrt_upward_test_data): Likewise.
2525 (sqrt_test_upward): Likewise.
2526 (tan_test_data): Update call to AUTO_TESTS_f_f.
2527 (tan_test): Use ALL_RM_TEST.
2528 (tan_tonearest_test_data): Remove.
2529 (tan_test_tonearest): Likewise.
2530 (tan_towardzero_test_data): Likewise.
2531 (tan_test_towardzero): Likewise.
2532 (tan_downward_test_data): Likewise.
2533 (tan_test_downward): Likewise.
2534 (tan_upward_test_data): Likewise.
2535 (tan_test_upward): Likewise.
2536 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2537 (tgamma_test_data): Likewise.
2538 (y0_test_data): Likewise.
2539 (y1_test_data): Likewise.
2540 (yn_test_data): Update call to AUTO_TESTS_if_f.
2541 (main): Do not call removed functions.
2543 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2545 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2546 (ldexp_test_data): Remove.
2547 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2549 (scalb_test): Use ALL_RM_TEST.
2551 2014-03-19 Andreas Schwab <schwab@suse.de>
2553 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2555 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2558 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2559 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2560 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2562 (__ASSUME_PREADV): Undefine.
2563 (__ASSUME_PWRITEV): Likewise.
2565 2014-03-18 Roland McGrath <roland@hack.frob.com>
2567 * bits/mman-linux.h: Add comment about non-Linux use.
2568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2569 bits/mman-linux.h resting place.
2571 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2572 * bits/mman-linux.h: ... here.
2574 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576 * conform/conformtest.pl: Add standard definition when calling C
2577 preprocessor on data files.
2578 (checknamespace): Remove unused variable.
2580 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2582 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2583 minus_oflow, plus_uflow and minus_uflow in expected results.
2584 * math/libm-test.inc (scalbn_test_data): Add more tests of
2585 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2587 (scalbn_test): Use ALL_RM_TEST.
2588 (scalbln_test_data): Add more tests of negative arguments. Use
2589 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2590 (scalbln_test): Use ALL_RM_TEST.
2592 2014-03-18 Roland McGrath <roland@hack.frob.com>
2594 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2596 2014-03-18 Will Newton <will.newton@linaro.org>
2598 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2601 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2603 * Makerules [!subdir] (check-abi): Exit with error status if a
2606 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2608 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2609 for rint. Include results for all rounding modes.
2610 (nearbyint_test): Use ALL_RM_TEST.
2611 (rint_test_data): Include all tests used for nearbyint.
2613 2014-03-17 Will Newton <will.newton@linaro.org>
2615 * nptl/sysdeps/pthread/pthread.h: Revert previous
2618 * sysdeps/generic/ldsodefs.h: Revert previous
2621 * libio/genops.c: Revert previous change.
2622 * libio/libioP.h: Likewise.
2623 * stdio-common/vfprintf.c: Likewise.
2625 * sysdeps/generic/math_private.h: Revert previous
2628 * sysdeps/generic/math_private.h: Check whether
2629 HAVE_RM_CTX is defined with #ifdef rather
2632 * argp/argp-fmtstream.h: Check whether
2633 __STRICT_ANSI__ is defined with #ifdef rather
2635 * argp/argp.h: Likewise.
2637 * libio/genops.c: Check whether
2638 _IO_JUMPS_OFFSET is defined with #ifdef rather
2640 * libio/libioP.h: Likewise.
2641 * stdio-common/vfprintf.c: Likewise.
2643 * sysdeps/generic/ldsodefs.h: Check whether
2644 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2647 * nptl/sysdeps/pthread/pthread.h: Check
2648 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2651 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2653 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2655 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2659 * libio/fileops.c (_IO_file_open): Seek to end of file but
2660 don't cache the offset.
2661 (get_file_offset): Remove function.
2662 (do_ftell): Use cached offset when available.
2663 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2664 don't cache the offset.
2665 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2667 (do_one_test): Call it.
2668 (do_ftell_test): Fix up expected old offset for a+ mode.
2669 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2672 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2673 up test status with function return status.
2674 (do_write_test): Likewise.
2675 (do_append_test): Likewise.
2677 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2678 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2681 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2683 * math/gen-libm-test.pl (parse_args): Handle results specified for
2684 each rounding mode separately.
2685 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2686 tests and results from lrint_tonearest_test_data,
2687 lrint_towardzero_test_data, lrint_downward_test_data and
2688 lrint_upward_test_data.
2689 (lrint_test): Use ALL_RM_TEST.
2690 (lrint_tonearest_test_data): Remove.
2691 (lrint_test_tonearest): Likewise.
2692 (lrint_towardzero_test_data): Likewise.
2693 (lrint_test_towardzero): Likewise.
2694 (lrint_downward_test_data): Likewise.
2695 (lrint_test_downward): Likewise.
2696 (lrint_upward_test_data): Likewise.
2697 (lrint_test_upward): Likewise.
2698 (llrint_test_data): Merge in per-rounding-mode tests and results
2699 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2700 llrint_downward_test_data and llrint_upward_test_data.
2701 (llrint_test): Use ALL_RM_TEST.
2702 (llrint_tonearest_test_data): Remove.
2703 (llrint_test_tonearest): Likewise.
2704 (llrint_towardzero_test_data): Likewise.
2705 (llrint_test_towardzero): Likewise.
2706 (llrint_downward_test_data): Likewise.
2707 (llrint_test_downward): Likewise.
2708 (llrint_upward_test_data): Likewise.
2709 (llrint_test_upward): Likewise.
2710 (rint_test_data): Merge in per-rounding-mode tests and results
2711 from rint_tonearest_test_data, rint_towardzero_test_data,
2712 rint_downward_test_data and rint_upward_test_data. Add
2713 per-rounding-mode results for tests not in those arrays.
2714 (rint_test): Use ALL_RM_TEST.
2715 (rint_tonearest_test_data): Remove.
2716 (rint_test_tonearest): Likewise.
2717 (rint_towardzero_test_data): Likewise.
2718 (rint_test_towardzero): Likewise.
2719 (rint_downward_test_data): Likewise.
2720 (rint_test_downward): Likewise.
2721 (rint_upward_test_data): Likewise.
2722 (rint_test_upward): Likewise.
2723 (main): Don't call removed functions.
2725 2014-03-14 Roland McGrath <roland@hack.frob.com>
2727 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2728 "Compiled on ..." crapola. It is anti-useful.
2730 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2732 * scripts/evaluate-test.sh: Handle fourth argument to determine
2733 whether test run should stop on failure.
2734 * Makeconfig (stop-on-test-failure): New variable.
2735 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2736 $(stop-on-test-failure).
2737 * Makefile (tests): Give a summary of results from testing and
2738 exit with failure status if they include an ERROR or FAIL.
2740 * manual/install.texi (Configuring and compiling): Mention
2741 stop-on-test-failure=y.
2742 * INSTALL: Regenerated.
2744 2014-03-14 Roland McGrath <roland@hack.frob.com>
2746 * scripts/versionlist.awk: New file.
2747 * Makerules [$(build-shared) = yes]
2748 (postclean-generated): Add Versions.def, not Versions.def.v and
2750 ($(common-objpfx)Versions.def.v.i): Target removed.
2751 ($(common-objpfx)Versions.def): New target.
2752 ($(common-objpfx)Versions.all): Depend on that rather that
2753 $(common-objpfx)Versions.def.v.
2754 * Versions.def: File removed.
2756 * Makeconfig (+gccwarn): Add -Wundef.
2757 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2758 a dl-sysdep.h breaking its contract.
2759 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2760 * include/stackinfo.h: New file.
2761 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2762 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2763 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2764 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2765 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2766 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2767 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2768 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2769 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2770 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2771 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2772 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2773 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2774 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2775 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2777 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2782 * math/libm-test.inc (round_test_data): Add more tests.
2785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2787 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2790 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2792 * math/libm-test.inc (ceil_test_data): Add more tests.
2794 * math/libm-test.inc (trunc_test_data): Add more tests related to
2797 2014-03-14 Roland McGrath <roland@hack.frob.com>
2799 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2800 with #if rather than #ifdef.
2801 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2803 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2805 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2806 first. Disable AVX-512 GCC support if assembler doesn't support
2808 * sysdeps/x86_64/configure: Regenerated.
2810 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2812 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2813 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2814 (__old_pthread_attr_setstack): Likewise.
2815 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2816 [!_STACK_GROWS_DOWN]: Likewise.
2818 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2820 * config.make.in (have-bash2): Delete.
2821 * configure.ac (libc_cv_have_bash2): Delete.
2822 * configure: Regenerate.
2823 * elf/Makefile (common-ldd-rewrite): Rename to ...
2824 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2825 (sh-ldd-rewrite): Delete.
2826 (bash-ldd-rewrite): Delete.
2827 (have-bash2): Delete checks.
2828 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2831 * config.make.in (have-ksh): Delete.
2833 * configure.ac (libc_cv_have_ksh): Delete.
2834 * configure: Regenerate.
2836 * elf/Makefile: Delete $(have-ksh) check.
2837 ($(objpfx)sotruss): Change KSH to BASH.
2838 * elf/sotruss.ksh: Rename to ...
2839 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2840 function style to match POSIX. Drop ksh vim mode setting.
2842 * manual/time.texi (Specifying the Time Zone with TZ): Change
2843 Tuesday to Thursday.
2845 * debug/tst-longjmp_chk2.c: Update header comment.
2846 (stackoverflow_handler): Add comment. Call assert on pass value.
2848 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2850 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2851 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2852 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2853 (La_x86_64_vector): Add zmm.
2854 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2855 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2856 ($(objpfx)tst-audit10): New target.
2857 ($(objpfx)tst-audit10.out): Likewise.
2858 (tst-audit10-ENV): New.
2859 (AVX512-CFLAGS): Likewise.
2860 (CFLAGS-tst-audit10.c): Likewise.
2861 (CFLAGS-tst-auditmod10a.c): Likewise.
2862 (CFLAGS-tst-auditmod10b.c): Likewise.
2863 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2864 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2865 * sysdeps/x86_64/configure: Regenerated.
2866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2867 AVX-512 zmm register support.
2868 (_dl_x86_64_save_sse): Likewise.
2869 (_dl_x86_64_restore_sse): Likewise.
2870 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2871 size vector registers.
2872 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2873 (ZMM_SIZE): Likewise.
2874 * sysdeps/x86_64/tst-audit10.c: New file.
2875 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2876 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2878 2014-03-13 Roland McGrath <roland@hack.frob.com>
2880 * configure.ac (HAVE_EHDR_START): New check.
2881 * configure: Regenerated.
2882 * config.h.in (HAVE_EHDR_START): New #undef.
2883 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2884 assuming the lowest-addressed segment maps the start of the file.
2886 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2888 * INSTALL: Regenerated.
2890 2014-03-13 Will Newton <will.newton@linaro.org>
2892 * manual/setjmp.texi (System V contexts): Improve
2893 clarity and grammar of documentation.
2895 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2898 * elf/Makefile (tests): Add tst-pie2.
2899 (tests-pie): Add tst-pie2.
2900 * elf/tst-pie2.c: New file.
2901 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2903 * elf/rtld.c (map_doit): Load executable as lt_executable.
2904 (dl_main): Likewise.
2906 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2910 (__ASSUME_PSELECT): Undefine.
2912 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2916 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2919 selector for static builds.
2921 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2924 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2927 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2930 IFUNC selector for static builds.
2932 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2934 * sysdeps/mips/math_private.h [__mips_hard_float]
2935 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2936 libc_feresetround_mips_ctx.
2937 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2938 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2939 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2942 * math/s_nextafter.c (__nextafter): Do not return value from
2943 overflowing computation.
2944 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2945 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2946 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2948 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2950 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2951 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2953 2014-03-11 Roland McGrath <roland@hack.frob.com>
2955 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2956 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2957 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2958 the new mov targetting sp.
2960 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2964 Define it for static builds as well.
2965 (NO_BZERO_IMPL): Likewise.
2967 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2969 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2970 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2971 multiarch strspn for PPC64.
2972 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2973 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2975 (__libc_ifunc_impl_list): Likewise.
2976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2977 multiarch optimizations
2978 * string/strspn.c (strspn): Using macro to redefine symbol name.
2980 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2981 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2984 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2985 multiarch strncat for PPC64.
2986 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2987 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2989 (__libc_ifunc_impl_list): Likewise.
2990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2991 multiarch optimizations
2993 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2996 * nscd/nscd.service: Make service type forking.
2998 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3001 sign in non default rounding modes.
3002 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3004 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3006 * math/libm-test.inc (ALL_RM_TEST): New macro.
3007 (ceil_test): Use ALL_RM_TEST.
3008 (cimag_test): Likewise.
3009 (conj_test): Likewise.
3010 (copysign_test): Likewise.
3011 (cproj_test): Likewise.
3012 (creal_test): Likewise.
3013 (fabs_test): Likewise.
3014 (floor_test): Likewise.
3015 (fmax_test): Likewise.
3016 (fmin_test): Likewise.
3017 (fmod_test): Likewise.
3018 (fpclassify_test): Likewise.
3019 (frexp_test): Likewise.
3020 (ilogb_test): Likewise.
3021 (isfinite_test): Likewise.
3022 (finite_test): Likewise.
3023 (isgreater_test): Likewise.
3024 (isgreaterequal_test): Likewise.
3025 (isinf_test): Likewise.
3026 (isless_test): Likewise.
3027 (islessequal_test): Likewise.
3028 (islessgreater_test): Likewise.
3029 (isnan_test): Likewise.
3030 (isnormal_test): Likewise.
3031 (issignaling_test): Likewise.
3032 (isunordered_test): Likewise.
3033 (logb_test): Likewise.
3034 (logb_downward_test_data): Remove.
3035 (logb_test_downward): Likewise.
3036 (lround_test): Use ALL_RM_TEST.
3037 (llround_test): Likewise.
3038 (modf_test): Likewise.
3039 (nexttoward_test): Likewise.
3040 (remainder_test): Likewise.
3041 (drem_test): Likewise.
3042 (remainder_tonearest_test_data): Likewise.
3043 (remainder_test_tonearest): Likewise.
3044 (drem_test_tonearest): Likewise.
3045 (remainder_towardzero_test_data): Likewise.
3046 (remainder_test_towardzero): Likewise.
3047 (drem_test_towardzero): Likewise.
3048 (remainder_downward_test_data): Likewise.
3049 (remainder_test_downward): Likewise.
3050 (drem_test_downward): Likewise.
3051 (remainder_upward_test_data): Likewise.
3052 (remainder_test_upward): Likewise.
3053 (drem_test_upward): Likewise.
3054 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3055 (round_test): Use ALL_RM_TEST.
3056 (signbit_test): Likewise.
3057 (trunc_test): Likewise.
3058 (significand_test): Likewise.
3059 (main): Don't call removed functions.
3061 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3064 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3066 (ILL_ILLOPN): Likewise.
3067 (ILL_ILLADR): Likewise.
3068 (ILL_ILLTRP): Likewise.
3069 (ILL_PRVOPC): Likewise.
3070 (ILL_PRVREG): Likewise.
3071 (ILL_COPROC): Likewise.
3072 (ILL_BADSTK): Likewise.
3073 (FPE_INTDIV): Likewise.
3074 (FPE_INTOVF): Likewise.
3075 (FPE_FLTDIV): Likewise.
3076 (FPE_FLTOVF): Likewise.
3077 (FPE_FLTUND): Likewise.
3078 (FPE_FLTRES): Likewise.
3079 (FPE_FLTINV): Likewise.
3080 (FPE_FLTSUB): Likewise.
3081 (SEGV_MAPERR): Likewise.
3082 (SEGV_ACCERR): Likewise.
3083 (BUS_ADRALN): Likewise.
3084 (BUS_ADRERR): Likewise.
3085 (BUS_OBJERR): Likewise.
3086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3087 (TRAP_TRACE): Likewise.
3088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3090 (CLD_KILLED): Likewise.
3091 (CLD_DUMPED): Likewise.
3092 (CLD_TRAPPED): Likewise.
3093 (CLD_STOPPED): Likewise.
3094 (CLD_CONTINUED): Likewise.
3095 (POLL_IN): Likewise.
3096 (POLL_OUT): Likewise.
3097 (POLL_MSG): Likewise.
3098 (POLL_ERR): Likewise.
3099 (POLL_PRI): Likewise.
3100 (POLL_HUP): Likewise.
3101 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3103 (ILL_ILLOPN): Likewise.
3104 (ILL_ILLADR): Likewise.
3105 (ILL_ILLTRP): Likewise.
3106 (ILL_PRVOPC): Likewise.
3107 (ILL_PRVREG): Likewise.
3108 (ILL_COPROC): Likewise.
3109 (ILL_BADSTK): Likewise.
3110 (FPE_INTDIV): Likewise.
3111 (FPE_INTOVF): Likewise.
3112 (FPE_FLTDIV): Likewise.
3113 (FPE_FLTOVF): Likewise.
3114 (FPE_FLTUND): Likewise.
3115 (FPE_FLTRES): Likewise.
3116 (FPE_FLTINV): Likewise.
3117 (FPE_FLTSUB): Likewise.
3118 (SEGV_MAPERR): Likewise.
3119 (SEGV_ACCERR): Likewise.
3120 (BUS_ADRALN): Likewise.
3121 (BUS_ADRERR): Likewise.
3122 (BUS_OBJERR): Likewise.
3123 (BUS_MCEERR_AR): Likewise.
3124 (BUS_MCEERR_AO): Likewise.
3125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3126 (TRAP_TRACE): Likewise.
3127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3129 (CLD_KILLED): Likewise.
3130 (CLD_DUMPED): Likewise.
3131 (CLD_TRAPPED): Likewise.
3132 (CLD_STOPPED): Likewise.
3133 (CLD_CONTINUED): Likewise.
3134 (POLL_IN): Likewise.
3135 (POLL_OUT): Likewise.
3136 (POLL_MSG): Likewise.
3137 (POLL_ERR): Likewise.
3138 (POLL_PRI): Likewise.
3139 (POLL_HUP): Likewise.
3140 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3141 (ILL_ILLOPN): Likewise.
3142 (ILL_ILLADR): Likewise.
3143 (ILL_ILLTRP): Likewise.
3144 (ILL_PRVOPC): Likewise.
3145 (ILL_PRVREG): Likewise.
3146 (ILL_COPROC): Likewise.
3147 (ILL_BADSTK): Likewise.
3148 (FPE_INTDIV): Likewise.
3149 (FPE_INTOVF): Likewise.
3150 (FPE_FLTDIV): Likewise.
3151 (FPE_FLTOVF): Likewise.
3152 (FPE_FLTUND): Likewise.
3153 (FPE_FLTRES): Likewise.
3154 (FPE_FLTINV): Likewise.
3155 (FPE_FLTSUB): Likewise.
3156 (SEGV_MAPERR): Likewise.
3157 (SEGV_ACCERR): Likewise.
3158 (BUS_ADRALN): Likewise.
3159 (BUS_ADRERR): Likewise.
3160 (BUS_OBJERR): Likewise.
3161 (BUS_MCEERR_AR): Likewise.
3162 (BUS_MCEERR_AO): Likewise.
3163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3164 (TRAP_TRACE): Likewise.
3165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3167 (CLD_KILLED): Likewise.
3168 (CLD_DUMPED): Likewise.
3169 (CLD_TRAPPED): Likewise.
3170 (CLD_STOPPED): Likewise.
3171 (CLD_CONTINUED): Likewise.
3172 (POLL_IN): Likewise.
3173 (POLL_OUT): Likewise.
3174 (POLL_MSG): Likewise.
3175 (POLL_ERR): Likewise.
3176 (POLL_PRI): Likewise.
3177 (POLL_HUP): Likewise.
3178 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3180 (ILL_ILLOPN): Likewise.
3181 (ILL_ILLADR): Likewise.
3182 (ILL_ILLTRP): Likewise.
3183 (ILL_PRVOPC): Likewise.
3184 (ILL_PRVREG): Likewise.
3185 (ILL_COPROC): Likewise.
3186 (ILL_BADSTK): Likewise.
3187 (ILL_BADIADDR): Likewise.
3188 (ILL_BREAK): Likewise.
3189 (FPE_INTDIV): Likewise.
3190 (FPE_INTOVF): Likewise.
3191 (FPE_FLTDIV): Likewise.
3192 (FPE_FLTOVF): Likewise.
3193 (FPE_FLTUND): Likewise.
3194 (FPE_FLTRES): Likewise.
3195 (FPE_FLTINV): Likewise.
3196 (FPE_FLTSUB): Likewise.
3197 (FPE_DECOVF): Likewise.
3198 (FPE_DECDIV): Likewise.
3199 (FPE_DECERR): Likewise.
3200 (FPE_INVASC): Likewise.
3201 (FPE_INVDEC): Likewise.
3202 (SEGV_MAPERR): Likewise.
3203 (SEGV_ACCERR): Likewise.
3204 (SEGV_PSTKOVF): Likewise.
3205 (BUS_ADRALN): Likewise.
3206 (BUS_ADRERR): Likewise.
3207 (BUS_OBJERR): Likewise.
3208 (BUS_MCEERR_AR): Likewise.
3209 (BUS_MCEERR_AO): Likewise.
3210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3211 (TRAP_TRACE): Likewise.
3212 (TRAP_BRANCH): Likewise.
3213 (TRAP_HWBKPT): Likewise.
3214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3216 (CLD_KILLED): Likewise.
3217 (CLD_DUMPED): Likewise.
3218 (CLD_TRAPPED): Likewise.
3219 (CLD_STOPPED): Likewise.
3220 (CLD_CONTINUED): Likewise.
3221 (POLL_IN): Likewise.
3222 (POLL_OUT): Likewise.
3223 (POLL_MSG): Likewise.
3224 (POLL_ERR): Likewise.
3225 (POLL_PRI): Likewise.
3226 (POLL_HUP): Likewise.
3227 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3228 (ILL_ILLOPN): Likewise.
3229 (ILL_ILLADR): Likewise.
3230 (ILL_ILLTRP): Likewise.
3231 (ILL_PRVOPC): Likewise.
3232 (ILL_PRVREG): Likewise.
3233 (ILL_COPROC): Likewise.
3234 (ILL_BADSTK): Likewise.
3235 (FPE_INTDIV): Likewise.
3236 (FPE_INTOVF): Likewise.
3237 (FPE_FLTDIV): Likewise.
3238 (FPE_FLTOVF): Likewise.
3239 (FPE_FLTUND): Likewise.
3240 (FPE_FLTRES): Likewise.
3241 (FPE_FLTINV): Likewise.
3242 (FPE_FLTSUB): Likewise.
3243 (SEGV_MAPERR): Likewise.
3244 (SEGV_ACCERR): Likewise.
3245 (BUS_ADRALN): Likewise.
3246 (BUS_ADRERR): Likewise.
3247 (BUS_OBJERR): Likewise.
3248 (BUS_MCEERR_AR): Likewise.
3249 (BUS_MCEERR_AO): Likewise.
3250 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3251 (TRAP_TRACE): Likewise.
3252 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3254 (CLD_KILLED): Likewise.
3255 (CLD_DUMPED): Likewise.
3256 (CLD_TRAPPED): Likewise.
3257 (CLD_STOPPED): Likewise.
3258 (CLD_CONTINUED): Likewise.
3259 (POLL_IN): Likewise.
3260 (POLL_OUT): Likewise.
3261 (POLL_MSG): Likewise.
3262 (POLL_ERR): Likewise.
3263 (POLL_PRI): Likewise.
3264 (POLL_HUP): Likewise.
3265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3266 (ILL_ILLOPN): Likewise.
3267 (ILL_ILLADR): Likewise.
3268 (ILL_ILLTRP): Likewise.
3269 (ILL_PRVOPC): Likewise.
3270 (ILL_PRVREG): Likewise.
3271 (ILL_COPROC): Likewise.
3272 (ILL_BADSTK): Likewise.
3273 (FPE_INTDIV): Likewise.
3274 (FPE_INTOVF): Likewise.
3275 (FPE_FLTDIV): Likewise.
3276 (FPE_FLTOVF): Likewise.
3277 (FPE_FLTUND): Likewise.
3278 (FPE_FLTRES): Likewise.
3279 (FPE_FLTINV): Likewise.
3280 (FPE_FLTSUB): Likewise.
3281 (SEGV_MAPERR): Likewise.
3282 (SEGV_ACCERR): Likewise.
3283 (BUS_ADRALN): Likewise.
3284 (BUS_ADRERR): Likewise.
3285 (BUS_OBJERR): Likewise.
3286 (BUS_MCEERR_AR): Likewise.
3287 (BUS_MCEERR_AO): Likewise.
3288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3289 (TRAP_TRACE): Likewise.
3290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3292 (CLD_KILLED): Likewise.
3293 (CLD_DUMPED): Likewise.
3294 (CLD_TRAPPED): Likewise.
3295 (CLD_STOPPED): Likewise.
3296 (CLD_CONTINUED): Likewise.
3297 (POLL_IN): Likewise.
3298 (POLL_OUT): Likewise.
3299 (POLL_MSG): Likewise.
3300 (POLL_ERR): Likewise.
3301 (POLL_PRI): Likewise.
3302 (POLL_HUP): Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3304 (ILL_ILLOPN): Likewise.
3305 (ILL_ILLADR): Likewise.
3306 (ILL_ILLTRP): Likewise.
3307 (ILL_PRVOPC): Likewise.
3308 (ILL_PRVREG): Likewise.
3309 (ILL_COPROC): Likewise.
3310 (ILL_BADSTK): Likewise.
3311 (FPE_INTDIV): Likewise.
3312 (FPE_INTOVF): Likewise.
3313 (FPE_FLTDIV): Likewise.
3314 (FPE_FLTOVF): Likewise.
3315 (FPE_FLTUND): Likewise.
3316 (FPE_FLTRES): Likewise.
3317 (FPE_FLTINV): Likewise.
3318 (FPE_FLTSUB): Likewise.
3319 (SEGV_MAPERR): Likewise.
3320 (SEGV_ACCERR): Likewise.
3321 (BUS_ADRALN): Likewise.
3322 (BUS_ADRERR): Likewise.
3323 (BUS_OBJERR): Likewise.
3324 (BUS_MCEERR_AR): Likewise.
3325 (BUS_MCEERR_AO): Likewise.
3326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3327 (TRAP_TRACE): Likewise.
3328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3330 (CLD_KILLED): Likewise.
3331 (CLD_DUMPED): Likewise.
3332 (CLD_TRAPPED): Likewise.
3333 (CLD_STOPPED): Likewise.
3334 (CLD_CONTINUED): Likewise.
3335 (POLL_IN): Likewise.
3336 (POLL_OUT): Likewise.
3337 (POLL_MSG): Likewise.
3338 (POLL_ERR): Likewise.
3339 (POLL_PRI): Likewise.
3340 (POLL_HUP): Likewise.
3341 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3342 (ILL_ILLOPN): Likewise.
3343 (ILL_ILLADR): Likewise.
3344 (ILL_ILLTRP): Likewise.
3345 (ILL_PRVOPC): Likewise.
3346 (ILL_PRVREG): Likewise.
3347 (ILL_COPROC): Likewise.
3348 (ILL_BADSTK): Likewise.
3349 (ILL_DBLFLT): Likewise.
3350 (ILL_HARDWALL): Likewise.
3351 (FPE_INTDIV): Likewise.
3352 (FPE_INTOVF): Likewise.
3353 (FPE_FLTDIV): Likewise.
3354 (FPE_FLTOVF): Likewise.
3355 (FPE_FLTUND): Likewise.
3356 (FPE_FLTRES): Likewise.
3357 (FPE_FLTINV): Likewise.
3358 (FPE_FLTSUB): Likewise.
3359 (SEGV_MAPERR): Likewise.
3360 (SEGV_ACCERR): Likewise.
3361 (BUS_ADRALN): Likewise.
3362 (BUS_ADRERR): Likewise.
3363 (BUS_OBJERR): Likewise.
3364 (BUS_MCEERR_AR): Likewise.
3365 (BUS_MCEERR_AO): Likewise.
3366 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3367 (TRAP_TRACE): Likewise.
3368 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3370 (CLD_KILLED): Likewise.
3371 (CLD_DUMPED): Likewise.
3372 (CLD_TRAPPED): Likewise.
3373 (CLD_STOPPED): Likewise.
3374 (CLD_CONTINUED): Likewise.
3375 (POLL_IN): Likewise.
3376 (POLL_OUT): Likewise.
3377 (POLL_MSG): Likewise.
3378 (POLL_ERR): Likewise.
3379 (POLL_PRI): Likewise.
3380 (POLL_HUP): Likewise.
3381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3382 (ILL_ILLOPN): Likewise.
3383 (ILL_ILLADR): Likewise.
3384 (ILL_ILLTRP): Likewise.
3385 (ILL_PRVOPC): Likewise.
3386 (ILL_PRVREG): Likewise.
3387 (ILL_COPROC): Likewise.
3388 (ILL_BADSTK): Likewise.
3389 (FPE_INTDIV): Likewise.
3390 (FPE_INTOVF): Likewise.
3391 (FPE_FLTDIV): Likewise.
3392 (FPE_FLTOVF): Likewise.
3393 (FPE_FLTUND): Likewise.
3394 (FPE_FLTRES): Likewise.
3395 (FPE_FLTINV): Likewise.
3396 (FPE_FLTSUB): Likewise.
3397 (SEGV_MAPERR): Likewise.
3398 (SEGV_ACCERR): Likewise.
3399 (BUS_ADRALN): Likewise.
3400 (BUS_ADRERR): Likewise.
3401 (BUS_OBJERR): Likewise.
3402 (BUS_MCEERR_AR): Likewise.
3403 (BUS_MCEERR_AO): Likewise.
3404 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3405 (TRAP_TRACE): Likewise.
3406 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3408 (CLD_KILLED): Likewise.
3409 (CLD_DUMPED): Likewise.
3410 (CLD_TRAPPED): Likewise.
3411 (CLD_STOPPED): Likewise.
3412 (CLD_CONTINUED): Likewise.
3413 (POLL_IN): Likewise.
3414 (POLL_OUT): Likewise.
3415 (POLL_MSG): Likewise.
3416 (POLL_ERR): Likewise.
3417 (POLL_PRI): Likewise.
3418 (POLL_HUP): Likewise.
3419 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3420 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3423 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3424 before #include of <time.h>.
3425 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3426 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3427 (test-xfail-UNIX98/sched.h/conform): Likewise.
3429 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3431 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3432 error absence of trapping exception support.
3433 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3435 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3437 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3438 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3439 * timezone/Makefile (testdata): Move definition above include of
3441 (test-zones): New variable.
3442 (tests-special): Add zone files.
3443 (build-testdata): Use $(evaluate-test).
3445 * elf/Makefile (tests-special): Rename tests to end with .out.
3446 ($(objpfx)noload-mem): Likewise.
3447 ($(objpfx)tst-leaks1-mem): Likewise.
3448 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3449 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3450 $(objpfx)test-iconvconfig.out.
3451 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3452 set -e inside subshell and redirect output to file.
3453 * iconvdata/Makefile (generated): Rename tests to end with .out.
3455 (tests-special): Rename tests to end with .out.
3456 ($(objpfx)mtrace-tst-loading): Likewise.
3457 * intl/Makefile (generated): Likewise.
3458 (tests-special): Likewise.
3459 ($(objpfx)mtrace-tst-gettext): Likewise.
3460 * misc/Makefile (generated): Likewise.
3461 (tests-special): Likewise.
3462 ($(objpfx)tst-error1-mem): Likewise.
3463 * nptl/Makefile (tests-special): Likewise.
3464 ($(objpfx)tst-stack3-mem): Likewise.
3465 (generated): Likewise.
3466 * posix/Makefile (generated): Likewise.
3467 (tests-special): Likewise.
3468 (xtests-special): Likewise.
3469 ($(objpfx)tst-fnmatch-mem): Likewise.
3470 ($(objpfx)bug-regex2-mem): Likewise.
3471 ($(objpfx)bug-regex14-mem): Likewise.
3472 ($(objpfx)bug-regex21-mem): Likewise.
3473 ($(objpfx)bug-regex31-mem): Likewise.
3474 ($(objpfx)tst-vfork3-mem): Likewise.
3475 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3476 ($(objpfx)tst-pcre-mem): Likewise.
3477 ($(objpfx)tst-boost-mem): Likewise.
3478 ($(objpfx)bug-ga2-mem): Likewise.
3479 ($(objpfx)bug-glob2-mem): Likewise.
3480 * resolv/Makefile (generate): Likewise.
3481 (tests-special): Likewise.
3482 (xtests-special): Likewise.
3483 (generated): Likewise.
3484 ($(objpfx)mtrace-tst-leaks): Likewise.
3485 ($(objpfx)mtrace-tst-leaks2): Likewise.
3487 * scripts/merge-test-results.sh: New file.
3488 * Makefile (tests-special-notdir): New variable.
3489 (tests): Run merge-test-results.sh.
3491 * Rules (tests-special-notdir): New variable.
3492 (xtests-special-notdir): Likewise.
3493 (tests): Run merge-test-results.sh
3496 * Makeconfig (test-xfail-name): New variable.
3497 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3498 compute variable name for expected failures.
3499 * conform/Makefile (conformtest-headers-data): New variable.
3500 (conformtest-standards): Likewise.
3501 (conformtest-headers-ISO): Likewise.
3502 (conformtest-headers-ISO99): Likewise.
3503 (conformtest-headers-ISO11): Likewise.
3504 (conformtest-headers-POSIX): Likewise.
3505 (conformtest-headers-XPG3): Likewise.
3506 (conformtest-headers-XPG4): Likewise.
3507 (conformtest-headers-UNIX98): Likewise.
3508 (conformtest-headers-XOPEN2K): Likewise.
3509 (conformtest-headers-POSIX2008): Likewise.
3510 (conformtest-headers-XOPEN2K8): Likewise.
3511 (conformtest-header-list-base): Likewise.
3512 (conformtest-header-list-tests): Likewise.
3513 (conformtest-header-base): Likewise.
3514 (conformtest-header-tests): Likewise.
3515 (tests-special): Add $(conformtest-header-list-tests). If
3516 [$(fast-check) && !$(cross-compiling)], add
3517 $(conformtest-header-tests) instead of
3518 $(objpfx)run-conformtest.out.
3519 (generated): Add $(conformtest-header-list-base). If
3520 [$(fast-check) && !$(cross-compiling)], add
3521 $(conformtest-header-base). Remove previous setting.
3522 ($(conformtest-header-list-tests)): New target.
3523 (test-xfail-run-conformtest): Remove variable.
3524 ($(objpfx)run-conformtest.out): Remove target.
3525 (test-xfail-ISO11/complex.h/conform): New variable.
3526 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3527 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3528 (test-xfail-XPG3/varargs.h/conform): Likewise.
3529 (test-xfail-XPG4/varargs.h/conform): Likewise.
3530 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3531 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3532 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3533 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3534 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3535 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3536 (test-xfail-XPG3/ftw.h/conform): Likewise.
3537 (test-xfail-XPG3/grp.h/conform): Likewise.
3538 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3539 (test-xfail-XPG3/limits.h/conform): Likewise.
3540 (test-xfail-XPG3/pwd.h/conform): Likewise.
3541 (test-xfail-XPG3/search.h/conform): Likewise.
3542 (test-xfail-XPG3/signal.h/conform): Likewise.
3543 (test-xfail-XPG3/stdio.h/conform): Likewise.
3544 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3545 (test-xfail-XPG3/string.h/conform): Likewise.
3546 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3547 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3548 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3549 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3550 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3551 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3552 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3553 (test-xfail-XPG3/termios.h/conform): Likewise.
3554 (test-xfail-XPG3/time.h/conform): Likewise.
3555 (test-xfail-XPG3/unistd.h/conform): Likewise.
3556 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3557 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3558 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3559 (test-xfail-XPG4/netdb.h/conform): Likewise.
3560 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3561 (test-xfail-XPG4/signal.h/conform): Likewise.
3562 (test-xfail-XPG4/stdio.h/conform): Likewise.
3563 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3564 (test-xfail-XPG4/stropts.h/conform): Likewise.
3565 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3566 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3567 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3568 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3569 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3570 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3571 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3572 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3573 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3574 (test-xfail-XPG4/termios.h/conform): Likewise.
3575 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3576 (test-xfail-XPG4/unistd.h/conform): Likewise.
3577 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3578 (test-xfail-POSIX/sched.h/conform): Likewise.
3579 (test-xfail-POSIX/signal.h/conform): Likewise.
3580 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3581 (test-xfail-POSIX/tar.h/conform): Likewise.
3582 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3583 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3584 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3585 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3586 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3587 (test-xfail-UNIX98/sched.h/conform): Likewise.
3588 (test-xfail-UNIX98/signal.h/conform): Likewise.
3589 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3590 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3591 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3592 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3593 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3594 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3595 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3596 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3597 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3598 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3599 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3600 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3601 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3602 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3603 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3604 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3605 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3606 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3607 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3608 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3609 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3610 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3611 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3612 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3613 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3614 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3615 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3616 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3617 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3618 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3619 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3620 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3621 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3622 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3623 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3624 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3625 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3626 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3627 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3628 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3629 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3630 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3631 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3632 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3633 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3634 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3635 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3636 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3637 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3638 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3639 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3640 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3641 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3642 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3643 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3644 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3645 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3646 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3647 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3648 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3649 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3650 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3651 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3652 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3653 (conformtest-cc-flags): Likewise.
3654 ($(conformtest-header-tests): New target.
3655 * conform/check-header-lists.sh: New file.
3656 * conform/run-conformtest.sh: Remove.
3658 * conform/conformtest.pl: Allow ' and \ in values given for
3660 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3662 [POSIX] (sys/types.h): Likewise.
3663 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3665 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3667 * conform/data/signal.h-data (SIGIO): Remove expectation.
3668 [XPG3] (SIGBUS): Do not expect.
3669 [POSIX || XPG3] (SIGPOLL): Likewise.
3670 [POSIX || XPG3] (SIGPROF): Likewise.
3671 [POSIX || XPG3] (SIGSYS): Likewise.
3672 [XPG3] (SIGTRAP): Likewise.
3673 [POSIX || XPG3] (SIGURG): Likewise.
3674 [POSIX || XPG3] (SIGVTALRM): Likewise.
3675 [POSIX || XPG3] (SIGXCPU): Likewise.
3676 [POSIX || XPG3] (SIGXFSZ): Likewise.
3677 [POSIX] (SA_SIGINFO): Expect.
3678 [XPG3] (siginfo_t): Do not expect type or contents.
3679 [POSIX] (si_pid): Do not expect element.
3680 [POSIX] (si_uid): Likewise.
3681 [POSIX] (si_addr): Likewise.
3682 [POSIX] (si_status): Likewise.
3683 [POSIX] (si_band): Likewise.
3684 [XPG4] (si_value): Likewise.
3685 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3686 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3687 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3688 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3689 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3690 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3691 [POSIX || XPG3] (ILL_COPROC): Likewise.
3692 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3693 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3694 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3695 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3696 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3697 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3698 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3699 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3700 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3701 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3702 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3703 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3704 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3705 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3706 [POSIX || XPG3] (CLD_EXITED): Likewise.
3707 [POSIX || XPG3] (CLD_KILLED): Likewise.
3708 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3709 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3710 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3711 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3712 [POSIX || XPG3] (POLL_IN): Likewise.
3713 [POSIX || XPG3] (POLL_OUT): Likewise.
3714 [POSIX || XPG3] (POLL_MSG): Likewise.
3715 [POSIX || XPG3] (POLL_ERR): Likewise.
3716 [POSIX || XPG3] (POLL_PRI): Likewise.
3717 [POSIX || XPG3] (POLL_HUP): Likewise.
3718 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3719 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3720 (SIG*): Do not allow.
3721 [XPG3] (si_*): Likewise.
3722 [XPG3] (SI_*): Likewise.
3723 [XPG3 || XPG4] (sigev_*): Likewise.
3724 [XPG3 || XPG4] (SIGEV_*): Likewise.
3725 [XPG3 || XPG4] (sival_*): Likewise.
3726 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3727 [POSIX || XPG3] (BUS_*): Likewise.
3728 [POSIX || XPG3] (CLD_*): Likewise.
3729 [POSIX || XPG3] (FPE_*): Likewise.
3730 [POSIX || XPG3] (ILL_*): Likewise.
3731 [POSIX || XPG3] (POLL_*): Likewise.
3732 [POSIX || XPG3] (SEGV_*): Likewise.
3733 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3734 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3735 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3736 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3737 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3738 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3739 Specify type and value.
3740 (TVERSLEN): Likewise.
3741 (REGTYPE): Likewise.
3742 (AREGTYPE): Likewise.
3743 (LNKTYPE): Likewise.
3744 (SYMTYPE): Likewise.
3745 (CHRTYPE): Likewise.
3746 (BLKTYPE): Likewise.
3747 (DIRTYPE): Likewise.
3748 (FIFOTYPE): Likewise.
3749 (CONTTYPE): Likewise.
3754 (TUWRITE): Likewise.
3757 (TGWRITE): Likewise.
3760 (TOWRITE): Likewise.
3762 [POSIX] (TSVTX): Expect constant.
3764 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3766 * Makefile (tests): Change dependencies to ....
3767 (tests-special): ... additions to this variable.
3768 (tests): Depend on $(tests-special).
3769 * Makerules (check-abi-list): New variable.
3770 (check-abi): Depend on $(check-abi-list).
3771 [$(subdir) = elf] (tests-special): Add
3772 $(objpfx)check-abi-libc.out.
3773 [$(build-shared) = yes && subdir] (tests-special): Add
3775 [$(build-shared) = yes && subdir] (tests): Do not depend on
3777 * Rules (tests): Depend on $(tests-special).
3778 (xtests): Depend on $(xtests-special).
3779 * catgets/Makefile (tests): Change dependencies to ....
3780 (tests-special): ... additions to this variable.
3781 * conform/Makefile (tests): Change dependencies to ....
3782 (tests-special): ... additions to this variable.
3783 * elf/Makefile (tests): Change dependencies to ....
3784 (tests-special): ... additions to this variable.
3785 * grp/Makefile (tests): Change dependencies to ....
3786 (tests-special): ... additions to this variable.
3787 * iconv/Makefile (xtests): Change dependencies to ....
3788 (xtests-special): ... additions to this variable.
3789 * iconvdata/Makefile (tests): Change dependencies to ....
3790 (tests-special): ... additions to this variable.
3791 * intl/Makefile (tests): Change dependencies to ....
3792 (tests-special): ... additions to this variable. Also add
3793 $(objpfx)tst-gettext.out.
3794 * io/Makefile (tests): Change dependencies to ....
3795 (tests-special): ... additions to this variable.
3796 * libio/Makefile (tests): Change dependencies to ....
3797 (tests-special): ... additions to this variable.
3798 * malloc/Makefile (tests): Change dependencies to ....
3799 (tests-special): ... additions to this variable.
3800 * misc/Makefile (tests): Change dependencies to ....
3801 (tests-special): ... additions to this variable.
3802 * nptl/Makefile (tests): Change dependencies to ....
3803 (tests-special): ... additions to this variable.
3804 * nptl_db/Makefile (tests): Change dependencies to ....
3805 (tests-special): ... additions to this variable.
3806 * posix/Makefile (tests): Change dependencies to ....
3807 (tests-special): ... additions to this variable.
3808 (xtests): Change dependencies to ....
3809 (xtests-special): ... additions to this variable.
3810 * resolv/Makefile (tests): Change dependencies to ....
3811 (tests-special): ... additions to this variable.
3812 (xtests): Change dependencies to ....
3813 (xtests-special): ... additions to this variable.
3814 * stdio-common/Makefile (tests): Change dependencies to ....
3815 (tests-special): ... additions to this variable.
3816 (do-tst-unbputc): Remove target.
3817 (do-tst-printf): Likewise.
3818 * stdlib/Makefile (tests): Change dependencies to ....
3819 (tests-special): ... additions to this variable.
3820 * string/Makefile (tests): Change dependencies to ....
3821 (tests-special): ... additions to this variable.
3822 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3823 (tests-special): ... additions to this variable.
3825 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3827 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3829 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3830 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3832 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3833 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3834 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3835 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3836 * conform/data/libgen.h-data [XPG3]: Likewise.
3837 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3838 * conform/data/ndbm.h-data [XPG3]: Likewise.
3839 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3840 * conform/data/netdb.h-data [XPG3]: Likewise.
3841 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3842 * conform/data/poll.h-data [XPG3]: Likewise.
3843 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3844 * conform/data/strings.h-data [XPG3]: Likewise.
3845 * conform/data/stropts.h-data [XPG3]: Likewise.
3846 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3847 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3848 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3850 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3851 * conform/data/sys/time.h-data [XPG3]: Likewise.
3852 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3853 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3854 * conform/data/sys/un.h-data [XPG3]: Likewise.
3855 * conform/data/syslog.h-data [XPG3]: Likewise.
3856 * conform/data/ucontext.h-data [XPG3]: Likewise.
3857 * conform/data/utmpx.h-data [XPG3]: Likewise.
3858 * conform/data/varargs.h-data [UNIX98]: Enable file.
3860 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3862 * math/libm-test.inc (struct test_f_f_data): Move expected results
3863 into structure for each rounding mode.
3864 (struct test_ff_f_data): Likewise.
3865 (struct test_ff_f_data_nexttoward): Likewise.
3866 (struct test_fi_f_data): Likewise.
3867 (struct test_fl_f_data): Likewise.
3868 (struct test_if_f_data): Likewise.
3869 (struct test_fff_f_data): Likewise.
3870 (struct test_c_f_data): Likewise.
3871 (struct test_f_f1_data): Likewise.
3872 (struct test_fF_f1_data): Likewise.
3873 (struct test_ffI_f1_data): Likewise.
3874 (struct test_c_c_data): Likewise.
3875 (struct test_cc_c_data): Likewise.
3876 (struct test_f_i_data): Likewise.
3877 (struct test_ff_i_data): Likewise.
3878 (struct test_f_l_data): Likewise.
3879 (struct test_f_L_data): Likewise.
3880 (struct test_fFF_11_data): Likewise.
3882 (RM_FE_DOWNWARD): Likewise.
3883 (RM_FE_TONEAREST): Likewise.
3884 (RM_FE_TOWARDZERO): Likewise.
3885 (RM_FE_UPWARD): Likewise.
3886 (RUN_TEST_LOOP_f_f): Update references to expected results.
3887 (RUN_TEST_LOOP_2_f): Likewise.
3888 (RUN_TEST_LOOP_fff_f): Likewise.
3889 (RUN_TEST_LOOP_c_f): Likewise.
3890 (RUN_TEST_LOOP_f_f1): Likewise.
3891 (RUN_TEST_LOOP_fF_f1): Likewise.
3892 (RUN_TEST_LOOP_fI_f1): Likewise.
3893 (RUN_TEST_LOOP_ffI_f1): Likewise.
3894 (RUN_TEST_LOOP_c_c): Likewise.
3895 (RUN_TEST_LOOP_cc_c): Likewise.
3896 (RUN_TEST_LOOP_f_i): Likewise.
3897 (RUN_TEST_LOOP_f_i_tg): Likewise.
3898 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3899 (RUN_TEST_LOOP_f_b): Likewise.
3900 (RUN_TEST_LOOP_f_b_tg): Likewise.
3901 (RUN_TEST_LOOP_f_l): Likewise.
3902 (RUN_TEST_LOOP_f_L): Likewise.
3903 (RUN_TEST_LOOP_fFF_11): Likewise.
3904 * math/gen-libm-test.pl (parse_args): Output four copies of
3905 expected results for each test.
3907 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3908 (__ASSUME_UTIMES): Remove.
3909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3910 (__ASSUME_UTIMES): Likewise.
3912 * math/gen-auto-libm-tests.c: Update comment on output format.
3913 (output_for_one_input_case): Generate before-rounding and
3914 after-rounding information as conditions on output flags not
3915 floating-point format.
3916 * math/auto-libm-test-out: Regenerated.
3917 * math/gen-libm-test.pl (cond_value): New function.
3918 (or_cond_value): Use cond_value.
3919 (generate_testfile): Handle conditional exceptions.
3921 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3923 * math/libm-test.inc (max_valid_error): New variable.
3924 (init_max_error): Take new argument specifying whether function
3925 results are exactly determined. Set max_valid_error and bound
3926 other variables for errors based on this argument.
3927 (set_max_error): Do not record results above max_valid_error.
3928 (check_float_internal): Only accept errors of up to 0.5ulps if
3929 also at most max_valid_error.
3930 (START): Take new argument EXACT and pass it to init_max_error.
3931 (acos_test): Update call to START.
3932 (acos_test_tonearest): Likewise.
3933 (acos_test_towardzero): Likewise.
3934 (acos_test_downward): Likewise.
3935 (acos_test_upward): Likewise.
3936 (acosh_test): Likewise.
3937 (asin_test): Likewise.
3938 (asin_test_tonearest): Likewise.
3939 (asin_test_towardzero): Likewise.
3940 (asin_test_downward): Likewise.
3941 (asin_test_upward): Likewise.
3942 (asinh_test): Likewise.
3943 (atan_test): Likewise.
3944 (atanh_test): Likewise.
3945 (atan2_test): Likewise.
3946 (cabs_test): Likewise.
3947 (cacos_test): Likewise.
3948 (cacosh_test): Likewise.
3949 (carg_test): Likewise.
3950 (casin_test): Likewise.
3951 (casinh_test): Likewise.
3952 (catan_test): Likewise.
3953 (catanh_test): Likewise.
3954 (cbrt_test): Likewise.
3955 (ccos_test): Likewise.
3956 (ccosh_test): Likewise.
3957 (ceil_test): Likewise.
3958 (cexp_test): Likewise.
3959 (cimag_test): Likewise.
3960 (clog_test): Likewise.
3961 (clog10_test): Likewise.
3962 (conj_test): Likewise.
3963 (copysign_test): Likewise.
3964 (cos_test): Likewise.
3965 (cos_test_tonearest): Likewise.
3966 (cos_test_towardzero): Likewise.
3967 (cos_test_downward): Likewise.
3968 (cos_test_upward): Likewise.
3969 (cosh_test): Likewise.
3970 (cosh_test_tonearest): Likewise.
3971 (cosh_test_towardzero): Likewise.
3972 (cosh_test_downward): Likewise.
3973 (cosh_test_upward): Likewise.
3974 (cpow_test): Likewise.
3975 (cproj_test): Likewise.
3976 (creal_test): Likewise.
3977 (csin_test): Likewise.
3978 (csinh_test): Likewise.
3979 (csqrt_test): Likewise.
3980 (ctan_test): Likewise.
3981 (ctan_test_tonearest): Likewise.
3982 (ctan_test_towardzero): Likewise.
3983 (ctan_test_downward): Likewise.
3984 (ctan_test_upward): Likewise.
3985 (ctanh_test): Likewise.
3986 (ctanh_test_tonearest): Likewise.
3987 (ctanh_test_towardzero): Likewise.
3988 (ctanh_test_downward): Likewise.
3989 (ctanh_test_upward): Likewise.
3990 (erf_test): Likewise.
3991 (erfc_test): Likewise.
3992 (exp_test): Likewise.
3993 (exp_test_tonearest): Likewise.
3994 (exp_test_towardzero): Likewise.
3995 (exp_test_downward): Likewise.
3996 (exp_test_upward): Likewise.
3997 (exp10_test): Likewise.
3998 (exp10_test_tonearest): Likewise.
3999 (exp10_test_towardzero): Likewise.
4000 (exp10_test_downward): Likewise.
4001 (exp10_test_upward): Likewise.
4002 (pow10_test): Likewise.
4003 (exp2_test): Likewise.
4004 (expm1_test): Likewise.
4005 (expm1_test_tonearest): Likewise.
4006 (expm1_test_towardzero): Likewise.
4007 (expm1_test_downward): Likewise.
4008 (expm1_test_upward): Likewise.
4009 (fabs_test): Likewise.
4010 (fdim_test): Likewise.
4011 (floor_test): Likewise.
4012 (fma_test): Likewise.
4013 (fma_test_towardzero): Likewise.
4014 (fma_test_downward): Likewise.
4015 (fma_test_upward): Likewise.
4016 (fmax_test): Likewise.
4017 (fmin_test): Likewise.
4018 (fmod_test): Likewise.
4019 (fpclassify_test): Likewise.
4020 (frexp_test): Likewise.
4021 (hypot_test): Likewise.
4022 (ilogb_test): Likewise.
4023 (isfinite_test): Likewise.
4024 (finite_test): Likewise.
4025 (isgreater_test): Likewise.
4026 (isgreaterequal_test): Likewise.
4027 (isinf_test): Likewise.
4028 (isless_test): Likewise.
4029 (islessequal_test): Likewise.
4030 (islessgreater_test): Likewise.
4031 (isnan_test): Likewise.
4032 (isnormal_test): Likewise.
4033 (issignaling_test): Likewise.
4034 (isunordered_test): Likewise.
4035 (j0_test): Likewise.
4036 (j1_test): Likewise.
4037 (jn_test): Likewise.
4038 (ldexp_test): Likewise.
4039 (lgamma_test): Likewise.
4040 (gamma_test): Likewise.
4041 (lrint_test): Likewise.
4042 (lrint_test_tonearest): Likewise.
4043 (lrint_test_towardzero): Likewise.
4044 (lrint_test_downward): Likewise.
4045 (lrint_test_upward): Likewise.
4046 (llrint_test): Likewise.
4047 (llrint_test_tonearest): Likewise.
4048 (llrint_test_towardzero): Likewise.
4049 (llrint_test_downward): Likewise.
4050 (llrint_test_upward): Likewise.
4051 (log_test): Likewise.
4052 (log10_test): Likewise.
4053 (log1p_test): Likewise.
4054 (log2_test): Likewise.
4055 (logb_test): Likewise.
4056 (logb_test_downward): Likewise.
4057 (lround_test): Likewise.
4058 (llround_test): Likewise.
4059 (modf_test): Likewise.
4060 (nearbyint_test): Likewise.
4061 (nextafter_test): Likewise.
4062 (nexttoward_test): Likewise.
4063 (pow_test): Likewise.
4064 (pow_test_tonearest): Likewise.
4065 (pow_test_towardzero): Likewise.
4066 (pow_test_downward): Likewise.
4067 (pow_test_upward): Likewise.
4068 (remainder_test): Likewise.
4069 (drem_test): Likewise.
4070 (remainder_test_tonearest): Likewise.
4071 (drem_test_tonearest): Likewise.
4072 (remainder_test_towardzero): Likewise.
4073 (drem_test_towardzero): Likewise.
4074 (remainder_test_downward): Likewise.
4075 (drem_test_downward): Likewise.
4076 (remainder_test_upward): Likewise.
4077 (drem_test_upward): Likewise.
4078 (remquo_test): Likewise.
4079 (rint_test): Likewise.
4080 (rint_test_tonearest): Likewise.
4081 (rint_test_towardzero): Likewise.
4082 (rint_test_downward): Likewise.
4083 (rint_test_upward): Likewise.
4084 (round_test): Likewise.
4085 (scalb_test): Likewise.
4086 (scalbn_test): Likewise.
4087 (scalbln_test): Likewise.
4088 (signbit_test): Likewise.
4089 (sin_test): Likewise.
4090 (sin_test_tonearest): Likewise.
4091 (sin_test_towardzero): Likewise.
4092 (sin_test_downward): Likewise.
4093 (sin_test_upward): Likewise.
4094 (sincos_test): Likewise.
4095 (sinh_test): Likewise.
4096 (sinh_test_tonearest): Likewise.
4097 (sinh_test_towardzero): Likewise.
4098 (sinh_test_downward): Likewise.
4099 (sinh_test_upward): Likewise.
4100 (sqrt_test): Likewise.
4101 (sqrt_test_tonearest): Likewise.
4102 (sqrt_test_towardzero): Likewise.
4103 (sqrt_test_downward): Likewise.
4104 (sqrt_test_upward): Likewise.
4105 (tan_test): Likewise.
4106 (tan_test_tonearest): Likewise.
4107 (tan_test_towardzero): Likewise.
4108 (tan_test_downward): Likewise.
4109 (tan_test_upward): Likewise.
4110 (tanh_test): Likewise.
4111 (tgamma_test): Likewise.
4112 (trunc_test): Likewise.
4113 (y0_test): Likewise.
4114 (y1_test): Likewise.
4115 (yn_test): Likewise.
4116 (significand_test): Likewise.
4118 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4119 individual tests in comment.
4120 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4121 (prev_max_error): New variable.
4122 (prev_real_max_error): Likewise.
4123 (prev_imag_max_error): Likewise.
4124 (compare_ulp_data): Don't refer to test names in comment.
4125 (find_test_ulps): Remove function.
4126 (find_function_ulps): Likewise.
4127 (find_complex_function_ulps): Likewise.
4128 (init_max_error): Take function name as argument. Look up ulps
4130 (print_ulps): Remove function.
4131 (print_max_error): Use prev_max_error instead of calling
4133 (print_complex_max_error): Use prev_real_max_error and
4134 prev_imag_max_error instead of calling find_complex_function_ulps.
4135 (check_float_internal): Take max_ulp parameter instead of calling
4136 find_test_ulps. Don't call print_ulps.
4137 (check_float): Update call to check_float_internal.
4138 (check_complex): Update calls to check_float_internal.
4139 (START): Pass argument to init_max_error.
4140 * math/gen-libm-test.pl (%results): Don't include "kind"
4142 (parse_ulps): Don't handle ulps of individual tests.
4143 (print_ulps_file): Likewise.
4144 (output_ulps): Likewise.
4145 * math/README.libm-test: Update.
4146 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4148 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4149 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4150 * sysdeps/arm/libm-test-ulps: Likewise.
4151 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4152 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4153 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4154 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4155 * sysdeps/microblaze/libm-test-ulps: Likewise.
4156 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4157 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4159 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4160 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4161 * sysdeps/sh/libm-test-ulps: Likewise.
4162 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4163 * sysdeps/tile/libm-test-ulps: Likewise.
4164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4166 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4168 * math/libm-test.inc (print_complex_max_error): Check separately
4169 whether real and imaginary errors are within allowed range and
4170 pass 0 to print_complex_function_ulps instead of value within
4173 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4175 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4177 (get_handles_fopen): Likewise.
4178 (do_write_test): Likewise.
4180 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4182 * libio/fileops.c (do_ftell): Use cached offset when
4184 * libio/iofwide.c (do_ftell_wide): Likewise.
4185 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4187 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4190 * libio/libioP.h (get_file_offset): New function.
4191 * libio/fileops.c (get_file_offset): Likewise.
4192 (do_ftell): Likewise.
4193 (_IO_new_file_seekoff): Split out ftell logic.
4194 * libio/wfileops.c (do_ftell_wide): Likewise.
4195 (_IO_wfile_seekoff): Split out ftell logic.
4196 * libio/tst-ftell-active-handler.c: New test case.
4197 * libio/Makefile (tests): Add it.
4199 2014-03-03 Roland McGrath <roland@hack.frob.com>
4201 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4202 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4204 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4207 * nscd/connections.c (nscd_init): Call do_exit.
4208 (start_threads): Call do_exit and notify_parent.
4209 (begin_drop_privileges): Call do_exit.
4210 (finish_drop_privileges): Likewise.
4211 * nscd/selinux.c (preserve_capabilities): Likewise.
4212 (install_real_capabilities): Likewise.
4213 (nscd_selinux_enabled): Likewise.
4214 (avc_create_thread): Likewise.
4215 (avc_alloc_lock): Likewise.
4216 (nscd_avc_init): Likewise.
4217 * nscd/nscd.c (parent_fd): New static variable.
4218 (main): Create a pipe between parent and child processes.
4219 Skip closing parent_fd.
4220 (monitor_child): New function.
4221 (do_exit): Likewise.
4222 (notify_parent): Likewise.
4223 * nscd/nscd.h (notify_parent): Likewise.
4224 (do_exit): Likewise.
4226 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4228 * malloc/malloc.c (__libc_calloc): Revert last change.
4230 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4234 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4236 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4240 (__libc_ifunc_impl_list): Likewise.
4241 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4242 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4243 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4244 * string/strrchr.c: Define STRRCHR.
4246 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4248 * benchtest/bench-strtok.c (simple_strtok): Delete.
4249 (strtok_string): Use as benchmark.
4250 * string/strtok (STRTOK): New macro.
4252 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4254 * manual/threads.texi: Add header and standard comments to all
4257 * elf/dl-lookup.c (check_match): New function.
4258 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4259 (do_lookup_x): Remove nested function check_match. Use non-nested
4260 function check_match.
4262 2014-02-28 Roland McGrath <roland@hack.frob.com>
4264 * csu/Makefile (generated, before-compile): Use += rather than =.
4265 * catgets/Makefile (generated, generated-dirs): Likewise.
4266 * debug/Makefile (generated): Likewise.
4267 * dlfcn/Makefile (generated): Likewise.
4268 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4269 * iconvdata/Makefile (before-compile, generated): Likewise.
4270 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4271 * libio/Makefile (generated): Likewise.
4272 * malloc/Makefile (generated): Likewise.
4273 * manual/Makefile (generated, generated-dirs): Likewise.
4274 * misc/Makefile (generated): Likewise.
4275 * posix/Makefile (generated): Likewise.
4276 * resolv/Makefile (generated): Likewise.
4277 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4278 * timezone/Makefile (generated, generated-dirs): Likewise.
4280 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4282 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4285 power8 implementation.
4286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4287 file: POWER8 llround ifunc implementation.
4288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4289 (__lllround): Add POWER8 implementation.
4290 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4291 POWER8 llround implementation.
4293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4294 power8 implementation.
4295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4296 file: POWER8 llrint ifunc implementation.
4297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4298 Add POWER8 implementation.
4299 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4300 POWER8 llrint implementation.
4302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4303 power8 implementation.
4304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4305 file: POWER8 finite ifunc implementation.
4306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4307 Add POWER8 implementation.
4308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4310 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4311 POWER8 finite implementation.
4312 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4315 power8 implementation.
4316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4317 file: POWER8 isinf ifunc implementation.
4318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4319 POWER8 implementation.
4320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4323 isinf implementation.
4324 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4326 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4327 (INIT_ARCH): Add hwcap2 initialization.
4328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4329 power8 implementation.
4330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4331 file: POWER8 isnan ifunc implementation.
4332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4333 POWER8 implementation.
4334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4337 isnan implementation.
4338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4340 2014-02-27 Joey Ye <joey.ye@arm.com>
4342 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4343 (_FP_NANFRAC_Q): Set to zero.
4345 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4348 * math/auto-libm-test-in: New test inputs.
4349 * math/auto-libm-test-out: Regenerate.
4350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4355 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4357 * scripts/evaluate-test.sh: Take new argument indicating whether
4358 failure is expected.
4359 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4360 indicating whether failure is expected.
4361 * conform/Makefile (test-xfail-run-conformtest): New variable.
4362 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4364 * posix/Makefile (test-xfail-annexc): New variable.
4365 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4367 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4369 * argp/Makefile: Include Makeconfig immediately after defining
4371 * assert/Makefile: Likewise.
4372 * benchtests/Makefile: Likewise.
4373 * catgets/Makefile: Likewise.
4374 * conform/Makefile: Likewise.
4375 * crypt/Makefile: Likewise.
4376 * csu/Makefile: Likewise.
4377 (all): Remove target.
4378 * ctype/Makefile: Include Makeconfig immediately after defining
4380 * debug/Makefile: Likewise.
4381 * dirent/Makefile: Likewise.
4382 * dlfcn/Makefile: Likewise.
4383 * gmon/Makefile: Likewise.
4384 * gnulib/Makefile: Likewise.
4385 * grp/Makefile: Likewise.
4386 * gshadow/Makefile: Likewise.
4387 * hesiod/Makefile: Likewise.
4388 * hurd/Makefile: Likewise.
4389 (all): Remove target.
4390 * iconvdata/Makefile: Include Makeconfig immediately after
4392 * inet/Makefile: Likewise.
4393 * intl/Makefile: Likewise.
4394 * io/Makefile: Likewise.
4395 * libio/Makefile: Likewise.
4396 (all): Remove target.
4397 * locale/Makefile: Include Makeconfig immediately after defining
4399 * login/Makefile: Likewise.
4400 * mach/Makefile: Likewise.
4401 (all): Remove target.
4402 * malloc/Makefile: Include Makeconfig immediately after defining
4404 (all): Remove target.
4405 * manual/Makefile: Include Makeconfig immediately after defining
4407 * math/Makefile: Likewise.
4408 * misc/Makefile: Likewise.
4409 * nis/Makefile: Likewise.
4410 * nss/Makefile: Likewise.
4411 * po/Makefile: Likewise.
4412 (all): Remove target.
4413 * posix/Makefile: Include Makeconfig immediately after defining
4415 * pwd/Makefile: Likewise.
4416 * resolv/Makefile: Likewise.
4417 * resource/Makefile: Likewise.
4418 * rt/Makefile: Likewise.
4419 * setjmp/Makefile: Likewise.
4420 * shadow/Makefile: Likewise.
4421 * signal/Makefile: Likewise.
4422 * socket/Makefile: Likewise.
4423 * soft-fp/Makefile: Likewise.
4424 * stdio-common/Makefile: Likewise.
4425 * stdlib/Makefile: Likewise.
4426 * streams/Makefile: Likewise.
4427 * string/Makefile: Likewise.
4428 * sunrpc/Makefile: Likewise.
4429 (all): Remove target.
4430 * sysvipc/Makefile: Include Makeconfig immediately after defining
4432 * termios/Makefile: Likewise.
4433 * time/Makefile: Likewise.
4434 * timezone/Makefile: Likewise.
4435 (all): Remove target.
4436 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4438 * wctype/Makefile: Likewise.
4440 2014-02-26 Steve Ellcey <sellcey@mips.com>
4442 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4443 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4444 (libc_feholdexcept_setround_mips): Ditto.
4445 (libc_feholdsetround): New.
4446 (libc_feholdsetroundf): New.
4447 (libc_feholdsetroundl): New.
4448 (libc_feupdateenv_test_mips): New.
4449 (libc_feupdateenv_test): New.
4450 (libc_feupdateenv_testf): New.
4451 (libc_feupdateenv_testl): New.
4452 (libc_feresetround): New.
4453 (libc_feresetroundf): New.
4454 (libc_feresetroundl): New.
4455 (libc_fetestexcept_mips): New.
4456 (libc_fetestexcept): New.
4457 (libc_fetestexceptf): New.
4458 (libc_fetestexceptl): New.
4460 (libc_feholdexcept_setround_mips_ctx): New.
4461 (libc_feholdexcept_setround_ctx): New.
4462 (libc_feholdexcept_setroundf_ctx): New.
4463 (libc_feholdexcept_setroundl_ctx): New.
4464 (libc_fesetenv_mips_ctx): New.
4465 (libc_fesetenv_ctx): New.
4466 (libc_fesetenv_ctxf): New.
4467 (libc_fesetenv_ctxl): New.
4468 (libc_feupdateenv_mips_ctx): New.
4469 (libc_feupdateenv_ctx): New.
4470 (libc_feupdateenvf_ctx): New.
4471 (libc_feupdateenvl_ctx): New.
4472 (libc_feholdsetround_mips_ctx): New.
4473 (libc_feholdsetround_ctx): New.
4474 (libc_feholdsetroundf_ctx): New.
4475 (libc_feholdsetroundl_ctx): New.
4476 (libc_feresetround_mips_ctx): New.
4477 (libc_feresetround_ctx): New.
4478 (libc_feresetroundf_ctx): New.
4479 (libc_feresetroundl_ctx): New.
4481 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4483 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4485 * manual/ipc.texi: New file.
4486 * manual/Makefile (chapters): Add ipc.
4487 * manual/job.texi: Add "Inter-Process Communication" to next.
4488 * manual/process.texi: Add "Inter-Process Communication" to prev.
4490 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4494 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4496 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4498 * manual/arith.texi: Fix spaces after sentences.
4499 * manual/charset.texi: Likewise.
4500 * manual/errno.texi: Likewise.
4501 * manual/install.texi: Likewise.
4502 * manual/llio.texi: Likewise.
4503 * manual/locale.texi: Likewise.
4504 * manual/maint.texi: Likewise.
4505 * manual/math.texi: Likewise.
4506 * manual/memory.texi: Likewise.
4507 * manual/message.texi: Likewise.
4508 * manual/probes.texi: Likewise.
4509 * manual/resource.texi: Likewise.
4510 * manual/signal.texi: Likewise.
4511 * manual/socket.texi: Likewise.
4512 * manual/stdio.texi: Likewise.
4513 * manual/string.texi: Likewise.
4514 * manual/time.texi: Likewise.
4515 * manual/users.texi: Likewise.
4517 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4520 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4521 _DEFAULT_SOURCE is defined.
4523 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4524 Carlos O'Donell <carlos@redhat.com>
4527 * elf/dl-tls.c (_dl_count_modids): New function.
4528 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4529 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4530 audit library and increment generation counter.
4531 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4532 * elf/tst-audit9.c: New file.
4533 * elf/tst-auditmod9a.c: New file.
4534 * elf/tst-auditmod9b.c: New file.
4535 * elf/Makefile: Add rules to build and run tst-audit9.
4537 2014-02-25 Florian Weimer <fweimer@redhat.com>
4540 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4542 2014-02-25 Will Newton <will.newton@linaro.org>
4544 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4545 (__longjmp): Restore sp and lr before restoring callee
4546 saved registers. Add longjmp and longjmp_target
4547 SystemTap probe point.
4548 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4549 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4550 Define to zero to match jmpbuf layout.
4551 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4552 (__sigsetjmp): Save sp and lr before saving callee
4553 saved registers. Add setjmp SystemTap probe point.
4555 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4557 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4559 2014-02-24 Andreas Schwab <schwab@suse.de>
4562 * elf/pldd.c (wait_for_ptrace_stop): New function.
4563 (main): Call it after attaching.
4565 2014-02-22 Roland McGrath <roland@hack.frob.com>
4567 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4568 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4569 Versions files is now verboten.
4570 * hurd/Versions (libc: GLIBC_2.0):
4571 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4572 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4573 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4574 * mach/Versions: Likewise.
4576 * csu/Versions: Remove unused %include.
4577 * resolv/Versions: Likewise.
4579 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4581 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4582 ($(objpfx)check-local-headers.out): Likewise.
4583 ($(objpfx)begin-end-check.out): Likewise.
4584 * Makerules (check-abi-%.out): Likewise.
4585 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4586 ($(objpfx)test2.cat): Likewise.
4587 ($(objpfx)de/libc.cat): Likewise.
4588 ($(objpfx)test-gencat.out): Likewise.
4589 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4590 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4591 ($(objpfx)noload-mem): Likewise.
4592 ($(objpfx)tst-pathopt.out): Likewise.
4593 ($(objpfx)tst-rtld-load-self.out): Likewise.
4594 ($(objpfx)tst-array1-cmp.out): Likewise.
4595 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4596 ($(objpfx)tst-array2-cmp.out): Likewise.
4597 ($(objpfx)tst-array3-cmp.out): Likewise.
4598 ($(objpfx)tst-array4-cmp.out): Likewise.
4599 ($(objpfx)tst-array5-cmp.out): Likewise.
4600 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4601 ($(objpfx)check-textrel.out): Likewise.
4602 ($(objpfx)check-execstack.out): Likewise.
4603 ($(objpfx)check-localplt.out): Likewise.
4604 ($(objpfx)order2-cmp.out): Likewise.
4605 ($(objpfx)tst-leaks1-mem): Likewise.
4606 ($(objpfx)tst-leaks1-static-mem): Likewise.
4607 ($(objpfx)tst-initorder-cmp.out): Likewise.
4608 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4609 ($(objpfx)tst-unused-dep.out): Likewise.
4610 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4611 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4612 * iconv/Makefile (test-iconvconfig): Likewise.
4613 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4614 ($(objpfx)iconv-test.out): Likewise.
4615 ($(objpfx)tst-tables.out): Likewise.
4616 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4617 ($(objpfx)tst-gettext.out): Likewise.
4618 ($(objpfx)tst-translit.out): Likewise.
4619 ($(objpfx)tst-gettext2.out): Likewise.
4620 ($(objpfx)tst-gettext4.out): Likewise.
4621 ($(objpfx)tst-gettext6.out): Likewise.
4622 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4623 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4624 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4625 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4627 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4628 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4629 ($(objpfx)wordexp-tst.out): Likewise.
4630 ($(objpfx)annexc.out): Likewise.
4631 ($(objpfx)tst-fnmatch-mem): Likewise.
4632 ($(objpfx)bug-regex2-mem): Likewise.
4633 ($(objpfx)bug-regex14-mem): Likewise.
4634 ($(objpfx)bug-regex21-mem): Likewise.
4635 ($(objpfx)bug-regex31-mem): Likewise.
4636 ($(objpfx)tst-vfork3-mem): Likewise.
4637 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4638 ($(objpfx)tst-pcre-mem): Likewise.
4639 ($(objpfx)tst-boost-mem): Likewise.
4640 ($(objpfx)tst-getconf.out): Likewise.
4641 ($(objpfx)bug-ga2-mem): Likewise.
4642 ($(objpfx)bug-glob2-mem): Likewise.
4643 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4644 ($(objpfx)mtrace-tst-leaks2): Likewise.
4645 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4646 ($(objpfx)tst-printf.out): Likewise.
4647 ($(objpfx)tst-setvbuf1.out): Likewise.
4648 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4649 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4650 ($(objpfx)tst-fmtmsg.out): Likewise.
4651 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4652 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4654 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4655 * bits/sigaction.h [__USE_MISC]: Likewise.
4656 * bits/waitstatus.h: Update #endif comments.
4657 * ctype/ctype.h: Likewise.
4658 * dirent/dirent.h: Likewise.
4659 [__USE_MISC]: Remove redundant conditionals.
4660 * grp/grp.h: Update #endif comments.
4661 [__USE_GNU]: Remove redundant conditionals.
4662 [__USE_MISC]: Likewise.
4663 * inet/netinet/in.h [__USE_GNU]: Likewise.
4664 * io/sys/stat.h [__USE_MISC]: Likewise.
4665 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4666 * libio/bits/stdio.h: Update #endif comments.
4667 [__USE_MISC]: Remove redundant conditionals.
4668 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4669 * libio/stdio.h: Update #endif comments.
4670 [__USE_MISC]: Remove redundant conditionals.
4671 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4672 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4673 * math/math.h: Update #else and #endif comments.
4674 [__USE_MISC]: Remove redundant conditionals.
4675 * misc/sys/uio.h: Update #endif comments.
4676 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4677 * posix/glob.h [__USE_MISC]: Likewise.
4678 * posix/sys/types.h: Update #endif comments.
4679 [__USE_MISC]: Remove redundant conditionals.
4680 * posix/sys/wait.h: Update #endif comments.
4681 [__USE_MISC]: Remove redundant conditionals.
4682 * posix/unistd.h: Update #endif comments.
4683 [__USE_MISC]: Remove redundant conditionals.
4684 * pwd/pwd.h [__USE_GNU]: Likewise.
4685 [__USE_MISC]: Likewise.
4686 * resolv/netdb.h [__USE_GNU]: Likewise.
4687 * signal/signal.h: Update #endif comments.
4688 [__USE_MISC]: Remove redundant conditionals.
4689 * stdlib/stdlib.h: Update #else and #endif comments.
4690 [__USE_MISC]: Remove redundant conditionals.
4691 [__USE_GNU]: Likewise.
4692 * string/bits/string2.h [__USE_MISC]: Likewise.
4693 * string/string.h: Update #endif comments.
4694 [__USE_MISC]: Remove redundant conditionals.
4695 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4697 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4698 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4699 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4701 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4703 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4705 [__USE_MISC]: Remove redundant conditionals.
4706 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4707 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4708 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4709 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4710 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4712 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4713 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4715 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4718 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4720 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4723 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4725 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4726 * sysdeps/x86/bits/string.h: Update #endif comments.
4727 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4729 * time/sys/time.h: Update #endif comments.
4730 * time/time.h: Likewise.
4731 [__USE_MISC]: Remove redundant conditionals.
4733 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4736 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4738 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4740 * Versions.def (librt): Add GLIBC_2.17.
4742 2014-02-21 Adam Conrad <adconrad@0c3.net>
4744 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4745 synonym for _SYS_AUXV_H to allow direct inclusion.
4746 * sysdeps/sparc/bits/hwcap.h: Likewise.
4747 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4748 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4749 * sysdeps/sparc/sysdep.h: Likewise.
4751 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4753 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4755 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4757 * benchtests/bench-strrchr.c: Print length instead of position.
4759 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4762 * sysdeps/unix/sysv/linux/kernel-features.h
4763 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4764 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4765 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4766 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4768 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4769 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4770 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4771 (__ASSUME_SENDMMSG): Define instead of using previous
4772 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4773 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4774 (__ASSUME_SENDMMSG_SYSCALL): Define.
4775 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4776 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4778 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4779 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4782 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4784 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4785 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4786 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4787 [__ASSUME_SENDMMSG]: Change conditionals to
4788 [__ASSUME_SENDMMSG_SOCKETCALL].
4789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4790 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4792 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4793 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4795 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4796 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4797 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4798 [!__ASSUME_SENDMMSG]: Change conditional to
4799 [!__ASSUME_SENDMMSG_SOCKETCALL].
4800 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4801 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4805 * sysdeps/unix/sysv/linux/kernel-features.h
4806 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4807 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4808 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4809 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4810 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4811 [__i386__ || __sparc__]
4812 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4813 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4814 (__ASSUME_RECVMMSG): Define instead of using previous
4815 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4817 (__ASSUME_RECVMMSG_SYSCALL): Define.
4818 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4819 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4821 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4822 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4824 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4825 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4827 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4828 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4829 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4830 [__ASSUME_RECVMMSG]: Change condition to
4831 [__ASSUME_RECVMMSG_SOCKETCALL].
4832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4833 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4835 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4837 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4839 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4840 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4841 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4842 [!__ASSUME_RECVMMSG]: Change condition to
4843 [!__ASSUME_RECVMMSG_SOCKETCALL].
4844 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4845 (__ASSUME_RECVMMSG_SYSCALL): Define.
4848 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4849 __powerpc__ || __s390__ || __sh__ || __sparc__]
4850 (__ASSUME_SOCKETCALL): Define.
4851 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4852 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4853 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4854 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4855 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4856 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4857 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4858 (__ASSUME_ACCEPT4): Define instead of using previous
4859 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4860 __powerpc__ || __sparc__ || __s390__)] condition.
4861 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4862 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4863 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4864 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4865 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4866 [!__ASSUME_ACCEPT4]: Change condition to
4867 [!__ASSUME_ACCEPT4_SOCKETCALL].
4868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4869 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4870 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4872 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4873 __ASSUME_ACCEPT4_SYSCALL.
4874 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4875 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4876 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4877 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4878 __ASSUME_ACCEPT4_SYSCALL.
4879 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4880 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4881 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4882 [__ASSUME_ACCEPT4]: Change condition to
4883 [__ASSUME_ACCEPT4_SOCKETCALL].
4884 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4885 (__ASSUME_SOCKETCALL): Define.
4886 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4888 (__ASSUME_SOCKETCALL): Define.
4889 (__ASSUME_ACCEPT4): Remove.
4890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4892 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4893 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4895 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4896 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4898 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4900 (HWCAP_ARM_LPAE): Likewise.
4901 (HWCAP_ARM_EVTSTRM): Likewise.
4902 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4903 Add vpfd32, lpae and evtstrm.
4904 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4907 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4909 * math/auto-libm-test-in: Add tests of clog10.
4910 * math/auto-libm-test-out: Regenerated.
4911 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4912 * sysdeps/i386/fpu/libm-test-ulps: Update.
4913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915 2014-02-18 Andreas Schwab <schwab@suse.de>
4918 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4919 Store non-zero if the second buffer was newly allocated.
4920 (send_dg): Likewise.
4921 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4922 to send_vc and send_dg.
4923 (res_nsend): Pass NULL for ansp2_malloced.
4924 * resolv/res_query.c (__libc_res_nquery): Add parameter
4925 answerp2_malloced and pass it down to __libc_res_nsend.
4926 (res_nquery): Pass additional NULL to __libc_res_nquery.
4927 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4928 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4929 second answer buffer if answerp2_malloced was set.
4930 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4931 (__libc_res_nquerydomain): Add parameter
4932 answerp2_malloced and pass it down to __libc_res_nquery.
4933 (res_nquerydomain): Pass additional NULL to
4934 __libc_res_nquerydomain.
4935 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4936 additional NULL to __libc_res_nsend and __libc_res_nquery.
4937 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4938 additional NULL to __libc_res_nsearch.
4939 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4940 parameter of __libc_res_nsearch to check for separately allocated
4942 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4944 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4945 additional NULL to __libc_res_nquery.
4946 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4948 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4949 * include/resolv.h: Update prototypes of __libc_res_nquery,
4950 __libc_res_nsearch, __libc_res_nsend.
4952 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4954 * math/auto-libm-test-in: Add tests of fma.
4955 * math/auto-libm-test-out: Regenerated.
4956 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4957 (fma_towardzero_test_data): Likewise.
4958 (fma_downward_test_data): Likewise.
4959 (fma_upward_test_data): Likewise.
4960 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4962 (rounding_modes): Add values for new field.
4963 (func_calc_method): Add value mpfr_fff_f.
4964 (func_calc_desc): Add mpfr_fff_f union field.
4965 (test_function): Add field exact_args.
4966 (FUNC): Add macro argument EXACT_ARGS.
4967 (FUNC_mpfr_f_f): Update call to FUNC.
4968 (FUNC_mpfr_f_f): Likewise.
4969 (FUNC_mpfr_ff_f): Likewise.
4970 (FUNC_mpfr_if_f): Likewise.
4971 (FUNC_mpc_c_f): Likewise.
4972 (FUNC_mpc_c_c): Likewise.
4973 (test_functions): Add fma. Update calls to FUNC.
4974 (handle_input_arg): Add argument exact_args.
4975 (add_test): Update call to handle_input_arg.
4976 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4977 (output_for_one_input_case): Update call to calc_generic_results.
4978 Recalculate exact zero results in each rounding mode.
4980 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4981 non-negative before setting low bit.
4982 * math/auto-libm-test-in: Mark one asin test possibly having
4984 * math/auto-libm-test-out: Regenerated.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4990 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4991 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4992 ports/sysdeps/unix/sysv/linux/microblaze.
4993 * README: Add missing listing for microblaze*-*-linux-gnu.
4995 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4997 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4998 * sysdeps/unix/sysv/linux/ia64: Move directory from
4999 ports/sysdeps/unix/sysv/linux/ia64.
5000 * README: Update listing for ia64-*-linux-gnu.
5002 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5003 Joseph Myers <joseph@codesourcery.com>
5005 * Makeconfig (test-name): New variable.
5006 (evaluate-test): Likewise.
5007 * Makerules (do-test-clean): Remove .test-result files.
5008 (common-mostlyclean): Likewise.
5009 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5010 * scripts/evaluate-test.sh: New file.
5012 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5014 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5015 separate $(objpfx)tst-fopenloc-cmp.out and
5016 $(objpfx)tst-fopenloc-mem.out targets.
5017 (tests): Update dependencies.
5018 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5019 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5020 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5021 (tst-rxspencer-no-utf8-ARGS): New variable.
5022 (tst-rxspencer-no-utf8-ENV): Likewise.
5023 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5024 instead of $(objpfx)tst-rxspencer-mem.
5025 ($(objpfx)tst-rxspencer-mem): Change target to
5026 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5027 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5028 * posix/tst-rxspencer-no-utf8.c: New file.
5030 * elf/Makefile ($(objpfx)order.out): Remove rule.
5031 [$(run-built-tests) = yes] (tests): Depend on
5032 $(objpfx)order-cmp.out.
5033 ($(objpfx)order-cmp.out): New rule.
5034 [$(run-built-tests) = yes] (tests): Depend on
5035 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5036 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5037 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5038 $(objpfx)tst-array5-static-cmp.out.
5039 ($(objpfx)tst-array1.out): Remove rule.
5040 ($(objpfx)tst-array1-cmp.out): New rule.
5041 ($(objpfx)tst-array1-static.out): Remove rule.
5042 ($(objpfx)tst-array1-static-cmp.out): New rule.
5043 ($(objpfx)tst-array2.out): Remove rule.
5044 ($(objpfx)tst-array2-cmp.out): New rule.
5045 ($(objpfx)tst-array3.out): Remove rule.
5046 ($(objpfx)tst-array3-cmp.out): New rule.
5047 ($(objpfx)tst-array4.out): Remove rule.
5048 ($(objpfx)tst-array4-cmp.out): New rule.
5049 ($(objpfx)tst-array5.out): Remove rule.
5050 ($(objpfx)tst-array5-cmp.out): New rule.
5051 ($(objpfx)tst-array5-static.out): Remove rule.
5052 ($(objpfx)tst-array5-static-cmp.out): New rule.
5053 [$(run-built-tests) = yes] (tests): Depend on
5054 $(objpfx)order2-cmp.out.
5055 ($(objpfx)order2.out): Remove rule.
5056 ($(objpfx)order2-cmp.out): New rule.
5057 ($(objpfx)tst-initorder.out): Remove rule.
5058 [$(run-built-tests) = yes] (tests): Depend on
5059 $(objpfx)tst-initorder-cmp.out.
5060 ($(objpfx)tst-initorder-cmp.out): New rule.
5061 ($(objpfx)tst-initorder2.out): Remove rule.
5062 [$(run-built-tests) = yes] (tests): Depend on
5063 $(objpfx)tst-initorder2-cmp.out.
5064 ($(objpfx)tst-initorder2-cmp.out): New rule.
5065 [$(run-built-tests) = yes] (tests): Depend on
5066 $(objpfx)tst-unused-dep-cmp.out.
5067 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5068 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5069 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5070 on $(objpfx)tst-setvbuf1-cmp.out.
5071 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5072 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5073 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5074 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5075 ($(objpfx)tst-svc.out): Remove rule.
5076 ($(objpfx)tst-svc-cmp.out): New rule.
5078 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5080 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5081 * ctype/ctype.h [__USE_MISC]: Likewise.
5082 * dirent/dirent.h [__USE_MISC]: Likewise.
5083 * grp/grp.h [__USE_MISC]: Likewise.
5084 * io/fcntl.h [__USE_MISC]: Likewise.
5085 * io/sys/stat.h [__USE_MISC]: Likewise.
5086 * libio/stdio.h [__USE_MISC]: Likewise.
5087 * posix/unistd.h [__USE_MISC]: Likewise.
5088 * pwd/pwd.h [__USE_MISC]: Likewise.
5089 * stdlib.h [__USE_MISC]: Likewise.
5090 * string/bits/string2.h [__USE_MISC]: Likewise.
5091 * string/string.h [__USE_MISC]: Likewise.
5092 * time/time.h [__USE_MISC]: Likewise.
5094 2014-02-13 Andreas Schwab <schwab@suse.de>
5097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5098 second answer buffer if it was separately allocated.
5100 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/mips/math-tests.h: Include <features.h>.
5103 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5104 (ROUNDING_TESTS_long_double): Do not define.
5105 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5106 (EXCEPTION_TESTS_long_double): Likewise.
5107 * sysdeps/mips/mips64/libm-test-ulps: Update.
5109 * include/features.h (__USE_BSD): Remove macro definitions.
5110 (__USE_SVID): Likewise.
5111 (_BSD_SOURCE): Likewise.
5112 (_SVID_SOURCE): Likewise.
5113 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5114 from definition of _DEFAULT_SOURCE.
5115 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5117 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5118 * bits/mman.h [__USE_BSD]: Likewise.
5119 * bits/termios.h [__USE_BSD]: Likewise.
5120 * bits/waitstatus.h [__USE_BSD]: Likewise.
5121 * ctype/ctype.h [__USE_SVID]: Likewise.
5122 * dirent/dirent.h [__USE_BSD]: Likewise.
5123 * grp/grp.h [__USE_SVID]: Likewise.
5124 [__USE_BSD]: Likewise.
5125 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5126 * io/fcntl.h [__USE_BSD]: Likewise.
5127 * io/ftw.h [__USE_BSD]: Likewise.
5128 * io/sys/stat.h [__USE_BSD]: Likewise.
5129 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5130 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5131 * libio/stdio.h [__USE_SVID]: Likewise.
5132 [__USE_BSD]: Likewise.
5133 * math/math.h [__USE_SVID]: Likewise.
5134 [__USE_BSD]: Likewise.
5135 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5136 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5137 * misc/search.h [__USE_SVID]: Likewise.
5138 * misc/sys/mman.h [__USE_BSD]: Likewise.
5139 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5140 * misc/sys/uio.h [__USE_BSD]: Likewise.
5141 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5142 * posix/glob.h [__USE_BSD]: Likewise.
5143 * posix/regex.h [__USE_BSD]: Likewise.
5144 * posix/sys/types.h [__USE_BSD]: Likewise.
5145 [__USE_SVID]: Likewise.
5146 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5147 * posix/sys/wait.h [__USE_BSD]: Likewise.
5148 [__USE_SVID]: Likewise.
5149 * posix/unistd.h [__USE_BSD]: Likewise.
5150 [__USE_SVID]: Likewise.
5151 * pwd/pwd.h [__USE_SVID]: Likewise.
5152 * resolv/netdb.h [__USE_BSD]: Likewise.
5153 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5154 * signal/signal.h [__USE_BSD]: Likewise.
5155 [__USE_SVID]: Likewise.
5156 * socket/sys/socket.h [__USE_BSD]: Likewise.
5157 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5158 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5159 [__USE_SVID]: Likewise.
5160 * string/bits/string2.h [__USE_BSD]: Likewise.
5161 [__USE_SVID]: Likewise.
5162 * string/bits/string3.h [__USE_BSD]: Likewise.
5163 * string/endian.h [__USE_BSD]: Likewise.
5164 * string/string.h [__USE_SVID]: Likewise.
5165 [__USE_BSD]: Likewise.
5166 * string/strings.h [__USE_BSD]: Likewise.
5167 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5168 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5169 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5170 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5171 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5172 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5176 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5179 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5180 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5182 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5184 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5185 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5188 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5190 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5191 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5192 * termios/termios.h [__USE_BSD]: Likewise.
5193 * time/sys/time.h [__USE_BSD]: Likewise.
5194 * time/time.h [__USE_BSD]: Likewise.
5195 [__USE_SVID]: Likewise.
5197 * Makefile (subdir_targets): Remove subdir_lint.out.
5199 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5200 (do-tst-printf): Likewise.
5201 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5202 $(objpfx)tst-printf.out.
5204 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5206 * Makerules (check-abi-%): Change target to
5207 $(objpfx)check-abi-%.out.
5208 (check-abi target): Update dependencies.
5209 (check-abi-pattern variable): Redirect output of diff to $@.
5210 (check-abi variable): Likewise.
5211 * elf/Makefile (check-abi): Update dependencies.
5213 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5215 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5216 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5218 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5219 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5220 value has largest subnormal exponent.
5221 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5222 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5223 * sysdeps/aarch64/soft-fp/sfp-machine.h
5224 (_FP_TININESS_AFTER_ROUNDING): New macro.
5225 * sysdeps/alpha/soft-fp/sfp-machine.h
5226 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5227 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5229 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5231 * sysdeps/mips/soft-fp/sfp-machine.h
5232 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5233 * sysdeps/powerpc/soft-fp/sfp-machine.h
5234 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5235 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5237 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5238 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5240 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5241 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5244 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5247 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5250 2014-02-12 Richard Henderson <rth@redhat.com>
5252 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5253 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5254 * sysdeps/unix/sysv/linux/alpha: Move directory from
5255 ports/sysdeps/unix/sysv/linux/alpha.
5256 * README: Update listing for alpha-*-linux-gnu.
5258 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5260 * include/features.h: Update comment documenting feature test
5262 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5264 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5265 (_SVID_SOURCE): Likewise.
5266 (_DEFAULT_SOURCE): Update description of default features.
5267 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5269 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5270 (S_ISVTX): Likewise.
5271 * manual/math.texi (Mathematical Constants): Likewise.
5272 * manual/signal.texi (Interrupted Primitives): Likewise.
5273 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5274 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5275 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5276 Don't refer to _SVID_SOURCE in warning text.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5280 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5282 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5283 * sysdeps/mips/dl-lookup.c: Remove.
5284 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5286 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5289 * math/auto-libm-test-in: Add testcase for expl.
5290 * math/auto-libm-test-out: Regenerate.
5291 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5292 calculation of unsafe.
5293 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5295 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5297 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5298 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5299 ports/sysdeps/unix/sysv/linux/aarch64.
5300 * README: Update listing for aarch64*-*-linux-gnu.
5302 2014-02-11 Will Newton <will.newton@linaro.org>
5304 * manual/probes.texi (Mathematical Function Probes): Use
5305 "triggered" instead of "hit".
5307 * manual/probes.texi (Internal Probes): Add documentation
5308 of setjmp, longjmp and longjmp_target probes.
5310 * include/stap-probe.h: Add comment about probe argument
5313 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5314 definition. (tr_where, tr_freehook, tr_mallochook,
5315 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5317 2014-02-11 David S. Miller <davem@davemloft.net>
5319 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5320 processing int_tests.
5322 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5324 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5325 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5326 * sysdeps/unix/sysv/linux/mips: Move directory from
5327 ports/sysdeps/unix/sysv/linux/mips.
5328 * README: Update listing for mips-*-linux-gnu and
5331 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5333 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5334 * sysdeps/unix/sysv/linux/m68k: Move directory from
5335 ports/sysdeps/unix/sysv/linux/m68k.
5336 * README: Update listing for m68k-*-linux-gnu.
5338 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5340 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5341 * sysdeps/unix/sysv/linux/generic: Move directory from
5342 ports/sysdeps/unix/sysv/linux/generic.
5343 * sysdeps/unix/sysv/linux/tile: Move directory from
5344 ports/sysdeps/unix/sysv/linux/tile.
5345 * README: Update listing for tile*-*-linux-gnu.
5347 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5349 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5351 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5352 * catgets/open_catalog.c (__open_catalog): Likewise.
5353 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5354 * debug/confstr_chk.c: Likewise.
5355 * debug/fread_chk.c (__fread_chk): Likewise.
5356 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5357 * debug/getgroups_chk.c: Likewise.
5358 * debug/mbsnrtowcs_chk.c: Likewise.
5359 * debug/mbsrtowcs_chk.c: Likewise.
5360 * debug/mbstowcs_chk.c: Likewise.
5361 * debug/memcpy_chk.c: Likewise.
5362 * debug/memmove_chk.c: Likewise.
5363 * debug/mempcpy_chk.c: Likewise.
5364 * debug/memset_chk.c: Likewise.
5365 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5366 * debug/strcat_chk.c (__strcat_chk): Likewise.
5367 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5368 * debug/strncat_chk.c (__strncat_chk): Likewise.
5369 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5370 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5371 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5372 * debug/wcpncpy_chk.c: Likewise.
5373 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5374 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5375 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5376 * debug/wcsncpy_chk.c: Likewise.
5377 * debug/wcsnrtombs_chk.c: Likewise.
5378 * debug/wcsrtombs_chk.c: Likewise.
5379 * debug/wcstombs_chk.c: Likewise.
5380 * debug/wmemcpy_chk.c: Likewise.
5381 * debug/wmemmove_chk.c: Likewise.
5382 * debug/wmempcpy_chk.c: Likewise.
5383 * debug/wmemset_chk.c: Likewise.
5384 * dirent/scandirat.c (SCANDIRAT): Likewise.
5385 * dlfcn/dladdr1.c (dladdr1): Likewise.
5386 * dlfcn/dladdr.c (dladdr): Likewise.
5387 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5388 * dlfcn/dlerror.c (__dlerror): Likewise.
5389 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5390 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5391 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5392 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5393 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5394 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5395 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5396 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5398 * elf/dl-conflict.c: Likewise.
5399 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5400 * elf/dl-dst.h: Likewise.
5401 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5402 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5403 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5404 * elf/dl-init.c (call_init, _dl_init): Likewise.
5405 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5406 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5407 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5409 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5411 * elf/dl-minimal.c (__libc_memalign): Likewise.
5412 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5413 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5414 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5415 * elf/dl-sym.c (do_sym): Likewise.
5416 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5417 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5418 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5419 * elf/dl-writev.h (_dl_writev): Likewise.
5420 * elf/ldconfig.c (search_dir): Likewise.
5421 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5422 (dl_main): Likewise.
5423 * elf/setup-vdso.h (setup_vdso): Likewise.
5424 * grp/compat-initgroups.c (compat_call): Likewise.
5425 * grp/fgetgrent.c (fgetgrent): Likewise.
5426 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5427 * grp/putgrent.c (putgrent): Likewise.
5428 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5430 * hurd/hurdinit.c: Likewise.
5431 * iconvdata/8bit-gap.c (struct): Likewise.
5432 * iconvdata/ansi_x3.110.c : Likewise.
5433 * iconvdata/big5.c : Likewise.
5434 * iconvdata/big5hkscs.c : Likewise.
5435 * iconvdata/cp1255.c: Likewise.
5436 * iconvdata/cp1258.c : Likewise.
5437 * iconvdata/cp932.c : Likewise.
5438 * iconvdata/euc-cn.c: Likewise.
5439 * iconvdata/euc-jisx0213.c : Likewise.
5440 * iconvdata/euc-jp.c: Likewise.
5441 * iconvdata/euc-jp-ms.c : Likewise.
5442 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5443 * iconvdata/gb18030.c : Likewise.
5444 * iconvdata/gbbig5.c (const): Likewise.
5445 * iconvdata/gbgbk.c: Likewise.
5446 * iconvdata/gbk.c : Likewise.
5447 * iconvdata/ibm1364.c : Likewise.
5448 * iconvdata/ibm930.c : Likewise.
5449 * iconvdata/ibm932.c: Likewise.
5450 * iconvdata/ibm933.c : Likewise.
5451 * iconvdata/ibm935.c : Likewise.
5452 * iconvdata/ibm937.c : Likewise.
5453 * iconvdata/ibm939.c : Likewise.
5454 * iconvdata/ibm943.c: Likewise.
5455 * iconvdata/iso_11548-1.c: Likewise.
5456 * iconvdata/iso-2022-cn.c : Likewise.
5457 * iconvdata/iso-2022-cn-ext.c : Likewise.
5458 * iconvdata/iso-2022-jp-3.c: Likewise.
5459 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5460 * iconvdata/iso-2022-kr.c : Likewise.
5461 * iconvdata/iso646.c (gconv_end): Likewise.
5462 * iconvdata/iso_6937-2.c : Likewise.
5463 * iconvdata/iso_6937.c : Likewise.
5464 * iconvdata/iso8859-1.c: Likewise.
5465 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5466 * iconvdata/shift_jisx0213.c : Likewise.
5467 * iconvdata/sjis.c : Likewise.
5468 * iconvdata/t.61.c : Likewise.
5469 * iconvdata/tcvn5712-1.c : Likewise.
5470 * iconvdata/tscii.c: Likewise.
5471 * iconvdata/uhc.c : Likewise.
5472 * iconvdata/unicode.c (gconv_end): Likewise.
5473 * iconvdata/utf-16.c (gconv_end): Likewise.
5474 * iconvdata/utf-32.c (gconv_end): Likewise.
5475 * iconvdata/utf-7.c (base64): Likewise.
5476 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5477 * iconv/gconv_close.c (__gconv_close): Likewise.
5478 * iconv/gconv_open.c (__gconv_open): Likewise.
5479 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5480 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5481 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5482 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5483 (ucs4le_internal_loop_single): Likewise.
5484 * iconv/iconv.c (iconv): Likewise.
5485 * iconv/iconv_close.c: Likewise.
5486 * iconv/loop.c (SINGLE): Likewise.
5487 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5488 * include/atomic.h: Likewise.
5489 * inet/inet6_option.c (option_alloc): Likewise.
5490 * intl/bindtextdom.c (set_binding_values): Likewise.
5491 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5492 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5493 * intl/localealias.c (read_alias_file): Likewise.
5494 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5495 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5496 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5497 * libio/fmemopen.c (fmemopen): Likewise.
5498 * libio/iofgets.c (_IO_fgets): Likewise.
5499 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5500 * libio/iofgetws.c (fgetws): Likewise.
5501 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5502 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5503 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5504 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5505 * locale/findlocale.c (_nl_find_locale): Likewise.
5506 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5507 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5509 * locale/setlocale.c (setlocale): Likewise.
5510 * login/programs/pt_chown.c (main): Likewise.
5511 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5512 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5513 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5514 (mmap, mmap64, mremap, munmap): Likewise.
5515 * math/e_exp2l.c: Likewise.
5516 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5517 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5518 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5519 * math/s_catan.c (__catan): Likewise.
5520 * math/s_catanf.c (__catanf): Likewise.
5521 * math/s_catanh.c (__catanh): Likewise.
5522 * math/s_catanhf.c (__catanhf): Likewise.
5523 * math/s_catanhl.c (__catanhl): Likewise.
5524 * math/s_catanl.c (__catanl): Likewise.
5525 * math/s_ccosh.c (__ccosh): Likewise.
5526 * math/s_ccoshf.c (__ccoshf): Likewise.
5527 * math/s_ccoshl.c (__ccoshl): Likewise.
5528 * math/s_cexp.c (__cexp): Likewise.
5529 * math/s_cexpf.c (__cexpf): Likewise.
5530 * math/s_cexpl.c (__cexpl): Likewise.
5531 * math/s_clog10.c (__clog10): Likewise.
5532 * math/s_clog10f.c (__clog10f): Likewise.
5533 * math/s_clog10l.c (__clog10l): Likewise.
5534 * math/s_clog.c (__clog): Likewise.
5535 * math/s_clogf.c (__clogf): Likewise.
5536 * math/s_clogl.c (__clogl): Likewise.
5537 * math/s_csin.c (__csin): Likewise.
5538 * math/s_csinf.c (__csinf): Likewise.
5539 * math/s_csinh.c (__csinh): Likewise.
5540 * math/s_csinhf.c (__csinhf): Likewise.
5541 * math/s_csinhl.c (__csinhl): Likewise.
5542 * math/s_csinl.c (__csinl): Likewise.
5543 * math/s_csqrt.c (__csqrt): Likewise.
5544 * math/s_csqrtf.c (__csqrtf): Likewise.
5545 * math/s_csqrtl.c (__csqrtl): Likewise.
5546 * math/s_ctan.c (__ctan): Likewise.
5547 * math/s_ctanf.c (__ctanf): Likewise.
5548 * math/s_ctanh.c (__ctanh): Likewise.
5549 * math/s_ctanhf.c (__ctanhf): Likewise.
5550 * math/s_ctanhl.c (__ctanhl): Likewise.
5551 * math/s_ctanl.c (__ctanl): Likewise.
5552 * math/w_pow.c: Likewise.
5553 * math/w_powf.c: Likewise.
5554 * math/w_powl.c: Likewise.
5555 * math/w_scalb.c (sysv_scalb): Likewise.
5556 * math/w_scalbf.c (sysv_scalbf): Likewise.
5557 * math/w_scalbl.c (sysv_scalbl): Likewise.
5558 * misc/error.c (error_tail): Likewise.
5559 * misc/pselect.c (__pselect): Likewise.
5560 * nis/nis_callback.c (__nis_create_callback): Likewise.
5561 * nis/nis_call.c (__nisfind_server): Likewise.
5562 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5563 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5564 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5565 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5566 * nis/nis_lookup.c (nis_lookup): Likewise.
5567 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5568 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5569 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5570 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5571 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5572 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5573 * nis/nss_compat/compat-initgroups.c (add_group)
5574 (internal_getgrent_r): Likewise.
5575 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5576 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5577 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5578 (internal_getspnam_r): Likewise.
5579 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5580 (_nss_nis_getaliasbyname_r): Likewise.
5581 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5582 (_nss_nis_getntohost_r): Likewise.
5583 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5584 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5585 (_nss_nis_getgrgid_r): Likewise.
5586 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5587 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5588 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5589 (_nss_nis_gethostbyname4_r): Likewise.
5590 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5591 (initgroups_netid): Likewise.
5592 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5593 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5594 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5595 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5596 (_nss_nis_getprotobynumber_r): Likewise.
5597 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5598 (_nss_nis_getsecretkey): Likewise.
5599 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5600 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5601 (_nss_nis_getpwuid_r): Likewise.
5602 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5603 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5604 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5605 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5606 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5607 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5608 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5610 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5611 (_nss_nisplus_getntohost_r): Likewise.
5612 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5613 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5614 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5615 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5617 * nis/nss_nisplus/nisplus-initgroups.c
5618 (_nss_nisplus_initgroups_dyn): Likewise.
5619 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5620 (_nss_nisplus_getnetbyaddr_r): Likewise.
5621 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5622 (_nss_nisplus_getprotobynumber_r): Likewise.
5623 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5624 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5625 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5627 * nis/nss_nisplus/nisplus-service.c
5628 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5629 (_nss_nisplus_getservbyport_r): Likewise.
5630 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5631 (_nss_nisplus_getspnam_r): Likewise.
5632 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5634 * nscd/aicache.c (addhstaiX): Likewise.
5635 * nscd/cache.c (cache_search, prune_cache): Likewise.
5636 * nscd/connections.c (register_traced_file, send_ro_fd)
5637 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5638 (main_loop_epoll): Likewise.
5639 * nscd/grpcache.c (addgrbyX): Likewise.
5640 * nscd/hstcache.c (addhstbyX): Likewise.
5641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5642 * nscd/mem.c (gc, mempool_alloc): Likewise.
5643 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5644 (addinnetgrX): Likewise.
5645 * nscd/nscd-client.h (__nscd_acquire_maplock)
5646 (__nscd_drop_map_ref): Likewise.
5647 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5648 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5649 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5651 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5653 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5654 (__nscd_get_map_ref): Likewise.
5655 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5656 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5658 * nscd/pwdcache.c (addpwbyX): Likewise.
5659 * nscd/selinux.c (preserve_capabilities): Likewise.
5660 * nscd/servicescache.c (addservbyX): Likewise.
5661 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5662 * posix/fnmatch.c (fnmatch): Likewise.
5663 * posix/getopt.c (_getopt_internal_r): Likewise.
5664 * posix/glob.c (glob, glob_in_dir): Likewise.
5665 * posix/wordexp.c (exec_comm_child): Likewise.
5666 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5667 (getanswer_r, gaih_getanswer_slice): Likewise.
5668 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5669 * resolv/res_init.c: Likewise.
5670 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5671 * resolv/res_query.c (__libc_res_nquery): Likewise.
5672 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5674 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5675 * stdio-common/perror.c (perror): Likewise.
5676 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5677 * stdio-common/tmpnam.c (tmpnam): Likewise.
5678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5679 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5680 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5682 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5683 * stdlib/putenv.c (putenv): Likewise.
5684 * stdlib/setenv.c (__add_to_environ): Likewise.
5685 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5686 * stdlib/strtol_l.c (INTERNAL): Likewise.
5687 * string/memmem.c (memmem): Likewise.
5688 * string/strerror.c (strerror): Likewise.
5689 * string/strnlen.c (__strnlen): Likewise.
5690 * string/test-memmem.c (simple_memmem): Likewise.
5691 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5692 * sunrpc/pm_getport.c (__get_socket): Likewise.
5693 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5694 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5695 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5696 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5698 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5700 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5701 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5702 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5703 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5705 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5707 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5708 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5710 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5711 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5713 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5714 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5715 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5716 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5717 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5720 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5724 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5728 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5729 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5730 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5741 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5743 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5745 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5747 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5749 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5751 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5752 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5753 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5754 * sysdeps/posix/sleep.c: Likewise.
5755 * sysdeps/posix/tempname.c: Likewise.
5756 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5757 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5759 * sysdeps/powerpc/powerpc32/dl-machine.h
5760 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5761 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5763 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5764 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5766 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5768 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5770 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5771 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5772 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5773 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5774 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5775 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5777 (elf_machine_lazy_rel): Likewise.
5778 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5780 (elf_machine_lazy_rel): Likewise.
5781 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5782 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5783 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5784 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5785 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5786 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5787 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5790 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5791 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5792 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5793 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5794 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5796 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5797 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5798 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5799 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5802 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5803 (__posix_fallocate64_l64): Likewise.
5804 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5805 (posix_fallocate): Likewise.
5806 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5808 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5809 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5810 (getifaddrs_internal): Likewise.
5811 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5812 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5813 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5814 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5815 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5816 (__posix_fallocate64_l64): Likewise.
5817 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5819 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5821 (__get_clockfreq): Likewise.
5822 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5823 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5824 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5827 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5828 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5829 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5831 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5832 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5833 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5834 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5836 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5837 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5839 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5840 (posix_fallocate): Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5842 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5843 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5844 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5845 (elf_machine_rela, elf_machine_rela_relative)
5846 (elf_machine_lazy_rel): Likewise.
5847 * time/asctime.c (asctime_internal): Likewise.
5848 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5849 * time/tzset.c (__tzset_parse_tz): Likewise.
5850 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5851 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5852 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5853 * wcsmbs/wcsmbsload.h: Likewise.
5856 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5858 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5859 (arena_get2): Remove THREAD_STATS conditionals.
5860 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5861 (__malloc_stats, int): Likewise.
5863 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5865 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5866 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5868 * manual/setjmp.texi: Fix typos/grammar errors.
5870 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5871 Only return early when n is <= 0. Delete unused return statement.
5873 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5874 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5875 * debug/tst-longjmp_chk3.c: New file.
5877 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5878 (test_main): Replace code with set_fortify_handler call.
5879 * debug/test-strcpy_chk.c: Likewise.
5880 * debug/tst-chk1.c: Likewise.
5881 * debug/tst-longjmp_chk.c: Likewise.
5882 * test-skeleton.c: Include fcntl.h & paths.h
5883 (set_fortify_handler): Define.
5885 * debug/tst-longjmp_chk.c: Add header comment and include
5887 (do_test): Mark static.
5888 (TEST_FUNCTION): Define.
5890 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5891 (IP_PMTUDISC_INTERFACE): Likewise.
5892 (IP_MULTICAST_IF): Likewise.
5893 (IP_MULTICAST_TTL): Likewise.
5894 (IP_MULTICAST_LOOP): Likewise.
5895 (IP_ADD_MEMBERSHIP): Likewise.
5896 (IP_DROP_MEMBERSHIP): Likewise.
5897 (IP_UNBLOCK_SOURCE): Likewise.
5898 (IP_BLOCK_SOURCE): Likewise.
5899 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5900 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5901 (IP_MSFILTER): Likewise.
5902 (MCAST_JOIN_GROUP): Likewise.
5903 (MCAST_BLOCK_SOURCE): Likewise.
5904 (MCAST_UNBLOCK_SOURCE): Likewise.
5905 (MCAST_LEAVE_GROUP): Likewise.
5906 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5907 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5908 (MCAST_MSFILTER): Likewise.
5909 (IP_MULTICAST_ALL): Likewise.
5910 (IP_UNICAST_IF): Likewise.
5912 * timezone/Makefile: Delete $(have-ksh) check.
5913 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5914 * timezone/tzselect.ksh: Add +x mode bits.
5916 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5917 (ANON_INODE_FS_MAGIC): Likewise.
5918 (BDEVFS_MAGIC): Likewise.
5919 (BINFMTFS_MAGIC): Likewise.
5920 (BTRFS_TEST_MAGIC): Likewise.
5921 (CRAMFS_MAGIC_WEND): Likewise.
5922 (DEBUGFS_MAGIC): Likewise.
5923 (ECRYPTFS_SUPER_MAGIC): Likewise.
5924 (EXT3_SUPER_MAGIC): Likewise.
5925 (EXT4_SUPER_MAGIC): Likewise.
5926 (FUTEXFS_SUPER_MAGIC): Likewise.
5927 (HOSTFS_SUPER_MAGIC): Likewise.
5928 (HUGETLBFS_MAGIC): Likewise.
5929 (MINIX3_SUPER_MAGIC): Likewise.
5930 (MTD_INODE_FS_MAGIC): Likewise.
5931 (NILFS_SUPER_MAGIC): Likewise.
5932 (OPENPROM_SUPER_MAGIC): Likewise.
5933 (PIPEFS_MAGIC): Likewise.
5934 (PSTOREFS_MAGIC): Likewise.
5935 (QNX6_SUPER_MAGIC): Likewise.
5936 (RAMFS_MAGIC): Likewise.
5937 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5938 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5939 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5940 (SECURITYFS_MAGIC): Likewise.
5941 (SELINUX_MAGIC): Likewise.
5942 (SMACK_MAGIC): Likewise.
5943 (SOCKFS_MAGIC): Likewise.
5944 (SQUASHFS_MAGIC): Likewise.
5945 (STACK_END_MAGIC): Likewise.
5946 (TMPFS_MAGIC): Likewise.
5947 (USBDEVICE_SUPER_MAGIC): Likewise.
5948 (V9FS_MAGIC): Likewise.
5949 (XENFS_SUPER_MAGIC): Likewise.
5950 (CRAMFS_MAGIC): Fix typo in comment.
5951 (EXT2_SUPER_MAGIC): Update comment.
5952 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5954 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5956 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5957 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5958 * sysdeps/unix/sysv/linux/arm: Move directory from
5959 ports/sysdeps/unix/sysv/linux/arm.
5960 * README: Update listing for arm-*-linux-gnueabi.
5962 * README: Remove mention of am33.
5964 2014-02-07 Roland McGrath <roland@hack.frob.com>
5966 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5967 than the comma operator, to avoid "rhs of comma has no effect"
5969 (__sigfillset, __sigandset, __sigorset): Likewise.
5970 * include/signal.h (__sigemptyset): Likewise.
5971 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5973 2014-02-07 Allan McRae <allan@archlinux.org>
5975 * version.h (RELEASE): Set to "development".
5976 (VERSION): Set to "2.19.90"
5977 * NEWS: Add 2.20 section.
5979 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5982 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5984 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5986 * manual/contrib.texi: Update entry for Carlos O'Donell,
5987 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5989 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5991 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5993 * sysdeps/unix/sysv/linux/kernel-features.h
5994 [__LINUX_KERNEL_VERSION >= 0x020621]
5995 (__ASSUME_PROC_PID_TASK_COMM): Define.
5997 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6000 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6001 conversion when destination buffer does not have enough space.
6002 * libio/tst-ftell-partial-wide.c: New test case.
6003 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6005 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6006 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6007 Leonard and Allan McRae.
6009 2014-02-04 David S. Miller <davem@davemloft.net>
6011 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6014 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6043 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6045 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6046 * shlib-versions: Likewise.
6048 2014-02-04 Roland McGrath <roland@hack.frob.com>
6049 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6052 (abilist-pattern): New variable, set to %-le.abilist.
6054 * Makerules (abilist-pattern): New variable.
6055 (vpath): Use $(abilist-pattern) in place of %.abilist.
6056 (check-abi-% pattern rule): Likewise.
6057 (check-abi, update-abi): Likewise.
6059 2014-02-04 Eric Wong <normalperson@yhbt.net>
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6063 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6065 * manual/startup.texi: Add next, previous, and top entries for
6066 the `Program Arguments' and `Environment Variables' nodes.
6068 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6070 * manual/macros.texi: Add comments before MTASC-safety macros.
6072 * manual/users.texi: Document MTASC-safety properties.
6074 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6075 (pthread_getspecific, pthread_setspecific): Format with
6076 @deftypefun, and add @safety note.
6077 * manual/signal.texi: Move comments that analyze the above
6078 functions to their home place.
6080 2014-02-03 Allan McRae <allan@archlinux.org>
6082 * po/sl.po: Update Slovenian translation from translation project.
6084 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6086 * manual/time.texi (timegm): Add missing blank after @c.
6087 Reported by Joseph Myers <joseph@codesourcery.com>.
6089 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6091 * manual/check-safety.sh: New.
6092 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6094 * manual/terminal.texi: Document MTASC-safety properties.
6096 * manual/filesys.texi: Document MTASC-safety properties.
6098 * manual/errno.texi: Document MTASC-safety properties.
6100 * manual/intro.texi: Document safety identifiers and
6103 * manual/string.texi (wcstok): Fix prototype.
6104 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6106 * manual/time.texi: Document MTASC-safety properties.
6108 * manual/string.texi: Document MTASC-safety properties.
6110 * manual/threads.texi: Document MTASC-safety properties.
6112 * manual/stdio.texi: Document MTASC-safety properties.
6114 * manual/syslog.texi: Document MTASC-safety properties.
6116 * manual/sysinfo.texi: Document MTASC-safety properties.
6118 * manual/startup.texi: Document MTASC-safety properties.
6120 * manual/socket.texi: Document MTASC-safety properties.
6122 * manual/signal.texi: Document MTASC-safety properties.
6124 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6126 * manual/setjmp.texi: Document MTASC-safety properties.
6128 * manual/search.texi: Document MTASC-safety properties.
6130 * manual/resource.texi: Document MTASC-safety properties.
6132 * manual/process.texi: Document MTASC-safety properties.
6134 * manual/platform.texi: Document MTASC-safety properties.
6136 * manual/pipe.texi: Document MTASC-safety properties.
6138 * manual/pattern.texi: Document MTASC-safety properties.
6140 * manual/message.texi: Document MTASC-safety properties.
6143 * manual/memory.texi: Document MTASC-safety properties.
6145 * manual/math.texi: Document MTASC-safety properties.
6147 * manual/locale.texi: Document MTASC-safety properties.
6149 * manual/llio.texi: Document MTASC-safety properties.
6151 * manual/libdl.texi: New.
6153 * manual/lang.texi: Document MTASC-safety properties.
6155 * manual/job.texi: Document MTASC-safety properties.
6157 * manual/getopt.texi: Document MTASC-safety properties.
6159 * manual/ctype.texi: Document MTASC-safety properties.
6161 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6164 * csu/libc-tls.c (static_map): Remove variable.
6165 (__libc_setup_tls): Use main executable's link map for TLS data.
6166 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6167 casing for LM_ID_BASE and GL(dl_nns).
6168 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6169 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6170 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6171 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6172 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6174 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6177 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6179 * manual/debug.texi: Document MTASC-safety properties.
6181 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6184 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6185 of __x86_64__ when disabling x87 inline functions.
6187 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6189 * manual/charset.texi: Document MTASC-safety properties.
6191 * manual/crypt.texi: Document MTASC-safety properties.
6193 * manual/conf.texi: Document MTASC-safety properties.
6195 * manual/arith.texi: Document MTASC-safety properties.
6197 * manual/argp.texi: Document MTASC-safety properties.
6199 * manual/macros.texi: Introduce macros to document multi
6200 thread, asynchronous signal and asynchronous cancellation
6202 * manual/intro.texi: Introduce the properties themselves.
6204 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6206 * sysdeps/sh/sh4/Makefile: New file.
6208 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6210 * math/gen-libm-test.pl ($srcdir): New variable.
6211 ($auto_input): Use it.
6213 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6216 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6217 access beyond array bounds when parsing netgroups file.
6219 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6220 the old buffer before realloc.
6222 2014-01-27 Allan McRae <allan@archlinux.org>
6224 * po/fr.po: Update French translation from translation project.
6226 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6228 * sysdeps/sh/libm-test-ulps: Regenerate.
6230 2014-01-24 David S. Miller <davem@davemloft.net>
6232 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6234 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6236 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6237 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6239 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6242 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6243 string pointers after reallocation.
6245 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6247 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6248 __SH4A__ instead of __SH_FPU_ANY__.
6250 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6252 * sysdeps/sh/fpu_control.h: New file.
6253 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6254 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6255 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6256 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6257 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6258 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6259 * sysdeps/sh/sys/ucontext.h: Remove.
6260 * sysdeps/sh/sys: Remove directory.
6262 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6264 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6265 s390/sys/ucontext.h.
6266 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6267 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6269 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6272 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6274 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6278 Adjust the vDSO correctly for internal calls.
6279 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6281 2014-01-20 Allan McRae <allan@archlinux.org>
6283 * po/ca.po: Update Catalan translation from translation project.
6285 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6287 * sysdeps/s390/sotruss-lib.c: New file.
6289 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6293 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6294 local calls issues by not having a PLT stub required for IFUNC calls.
6295 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6297 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6299 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6300 * math/test-fpucw-static.c: Likewise.
6302 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6305 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6307 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6310 implementation for powerpc.
6312 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6315 * sysdeps/posix/system.c (__libc_system): Do not enable
6316 asynchronous cancellation.
6318 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6321 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6322 handling only for numbers special also in the IEEE case.
6324 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6326 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6328 2014-01-11 Allan McRae <allan@archlinux.org>
6330 * po/bg.po: Update Bulgarian translation from translation project.
6332 * po/de.po: Update German translation from translation project.
6334 2014-01-10 Roland McGrath <roland@hack.frob.com>
6336 * sysdeps/generic/gcc-compat.h: New file.
6338 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6340 * benchtests/asin-inputs: Correct slow inputs.
6341 * benchtests/acos-inputs: Likewise.
6343 2014-01-10 Allan McRae <allan@archlinux.org>
6345 * po:sv.po: Update Swedish translation from translation project.
6347 * po/vi.po: Update Vietnamese translation from translation project.
6349 * po/eo.po: Update Esperanto translation from translation project.
6351 * po/cs.po: Update Czech translation from translation project.
6353 * po/nl.po: Update Dutch translation from translation project.
6355 * po/pl.po: Update Polish translation from translation project.
6357 * po/ru.po: Update Russian translation from translation project.
6359 * po/uk.po: Update Ukrainian translation from translation project.
6361 2014-01-08 Brooks Moses <bmoses@google.com>
6363 * elf/dl-load.c: Fix comment typo.
6365 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6367 * po/header.pot: Rename to...
6368 * po/pot.header: ... this.
6369 * po/Makefile: Use pot.header.
6371 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6372 Maxim Kuvyrkov <maxim@kugelworks.com>
6375 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6376 SRC and DEST against LEN.
6378 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6383 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6385 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6389 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6393 for large positive arguments.
6395 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6397 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6399 * math/auto-libm-test-in: Mark various tests with
6400 xfail-rounding:ldbl-128ibm.
6401 * math/auto-libm-test-out: Regenerated.
6404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6405 Increase overflow threshold.
6407 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6410 * stdio-common/vfprintf.c: Check for integer overflow.
6412 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6414 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6415 the first argument and return value of __tls_get_addr_internal.
6417 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6419 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6420 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6422 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6424 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6425 * sysdeps/s390/rtld-global-offsets.sym: New file.
6426 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6428 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6429 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6432 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6433 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6439 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6440 halfs of GPRs for high_gprs contexts.
6441 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6442 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6448 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6449 for high GPRs (uc_high_gprs) and for future extensions
6451 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6452 for future extensions (__reserved).
6453 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6455 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6456 SC_HIGHGPRS offset definition.
6457 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6458 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6460 * Versions.def: Add GLIBC_2.19 for libpthread.
6461 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6462 siglongjmp for libpthread with GLIBC_2.19 symver.
6463 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6464 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6465 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6466 * sysdeps/s390/__longjmp.c: New file.
6467 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6468 * sysdeps/s390/longjmp.c: New file.
6469 * sysdeps/s390/setjmp.S: New file.
6470 * sysdeps/s390/sigjmp.S: New file.
6471 * sysdeps/s390/v1-longjmp.c: New file.
6472 * sysdeps/s390/v1-setjmp.h: New file.
6473 * sysdeps/s390/v1-sigjmp.c: New file.
6474 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6475 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6477 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6479 versioned symbols for ____longjmp_chk.
6480 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6490 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6491 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6492 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6493 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6494 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6495 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6496 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6497 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6498 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6499 * sysdeps/s390/rtld-__longjmp.c: New file.
6500 * sysdeps/s390/rtld-setjmp.S: New file.
6502 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6506 Return -__logl (x) for small positive arguments without evaluating
6509 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6511 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6513 (__ptrace_peeksiginfo_args): ... this.
6514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6518 2014-01-06 Allan McRae <allan@archlinux.org>
6520 * inet/netinet/in.h: Fix typo in comment.
6522 2014-01-05 Andreas Jaeger <aj@suse.de>
6524 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 2014-01-05 Allan McRae <allan@archlinux.org>
6528 * po/libc.pot: Regenerated.
6530 * malloc/memusagestat.c: Fix gettext call formatting.
6532 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6534 * nscd/nscd.c: Improve usage() output.
6536 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6538 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6539 * sysdeps/unix/sysv/linux/configure: Regenerated.
6540 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6541 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6543 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6546 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6547 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6549 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6552 extra tokens at end of #undef directive.
6553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6557 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6561 * math/auto-libm-test-in: Mark various tests with
6562 xfail-rounding:ldbl-128ibm.
6563 * math/auto-libm-test-out: Regenerated.
6565 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6569 numbers with subnormal high part when calculating exponent.
6572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6578 (__ieee754_acoshl): Use __log1pl not __log1p.
6580 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6582 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6583 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6584 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6585 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6586 (reused_arena, arena_get2): Convert to GNU style.
6587 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6588 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6589 (memalign_check, __malloc_set_state): Likewise.
6590 * malloc/mallocbug.c (main): Likewise.
6591 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6592 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6593 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6594 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6595 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6596 (__posix_memalign, malloc_info): Likewise.
6597 * malloc/malloc.h: Likewise.
6598 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6599 (mallochook, memalignhook, reallochook, mabort): Likewise.
6600 * malloc/mcheck.h: Likewise.
6601 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6602 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6603 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6604 * malloc/morecore.c (__default_morecore): Likewise.
6605 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6606 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6607 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6608 (print_and_abort): Likewise.
6609 * malloc/obstack.h: Likewise.
6610 * malloc/set-freeres.c (__libc_freeres): Likewise.
6611 * malloc/tst-mallocstate.c (main): Likewise.
6612 * malloc/tst-mtrace.c (main): Likewise.
6613 * malloc/tst-realloc.c (do_test): Likewise.
6615 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6618 * nscd/netgroupcache.c (do_notfound): New function.
6619 (addgetnetgrentX): Use it.
6622 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6623 NSS_STATUS_NOTFOUND.
6625 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6627 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630 2014-01-01 Allan McRae <allan@archlinux.org>
6632 * scripts/update-copyrights: Update configure input file suffix.
6634 * NEWS: Update copyright year.
6635 * catgets/gencat.c: Likewise.
6636 * csu/version.c: Likewise.
6637 * debug/catchsegv.sh: Likewise.
6638 * debug/pcprofiledump.c: Likewise.
6639 * debug/xtrace.sh: Likewise.
6640 * elf/ldconfig.c: Likewise.
6641 * elf/ldd.bash.in: Likewise.
6642 * elf/pldd.c: Likewise.
6643 * elf/sotruss.ksh: Likewise.
6644 * elf/sprof.c: Likewise.
6645 * iconv/iconv_prog.c: Likewise.
6646 * iconv/iconvconfig.c: Likewise.
6647 * locale/programs/locale.c: Likewise.
6648 * locale/programs/localedef.c: Likewise.
6649 * login/programs/pt_chown.c: Likewise.
6650 * malloc/memusage.sh: Likewise.
6651 * malloc/memusagestat.c: Likewise.
6652 * malloc/mtrace.pl: Likewise.
6653 * manual/libc.texinfo: Likewise.
6654 * nscd/nscd.c: Likewise.
6655 * nss/getent.c: Likewise.
6656 * nss/makedb.c: Likewise.
6657 * posix/getconf.c: Likewise.
6658 * scripts/test-installation.pl: Likewise.
6660 * All files with FSF copyright notices: Update copyright dates
6661 using scripts/update-copyrights.
6662 * intl/plural.c: Regenerated.
6663 * locale/programs/charmap-kw.h: Likewise.
6664 * locale/programs/locfile-kw.h: Likewise.
6666 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6668 * sysdeps/unix/sysv/linux/configure: Regenerated.
6669 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6670 the linux/fanotify.h header.
6671 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6672 HAVE_LINUX_FANOTIFY_H is defined.
6674 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6676 * benchtests/cos-inputs: New inputs.
6677 * benchtests/sin-inputs: Likewise.
6679 * benchtests/atan-inputs: New inputs. Fix name of multiple
6680 precision fallback inputs.
6682 * benchtests/atanh-inputs: New inputs.
6683 * benchtests/tanh-inputs: Likewise.
6685 * benchtests/acosh-inputs: New inputs.
6686 * benchtests/asinh-inputs: Likewise.
6688 * benchtests/cosh-inputs: New inputs.
6689 * benchtests/sinh-inputs: Likewise.
6691 * benchtests/acos-inputs: Add more inputs.
6692 * benchtests/asin-inputs: Likewise.
6694 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6697 * manual/arith.texi: Fix spelling.
6698 * manual/charset.texi: Likewise.
6699 * manual/errno.texi: Likewise.
6700 * manual/filesys.texi: Likewise.
6701 * manual/lang.texi: Likewise.
6702 * manual/llio.texi: Likewise.
6703 * manual/locale.texi: Likewise.
6704 * manual/message.texi: Likewise.
6705 * manual/resource.texi: Likewise.
6706 * manual/search.texi: Likewise.
6707 * manual/setjmp.texi: Likewise.
6708 * manual/stdio.texi: Likewise.
6709 * manual/string.texi: Likewise.
6710 * manual/sysinfo.texi: Likewise.
6711 * manual/time.texi: Likewise.
6713 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6715 * po/sl.po: New file.
6717 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6719 * .gitignore: Add core/.gdbinit/.gdb_history.
6721 2013-12-27 Allan McRae <allan@archlinux.org>
6724 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6725 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6727 2013-12-24 Brooks Moses <bmoses@google.com>
6729 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6730 all compilers that claim C++98 compliance, not just GCC.
6731 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6734 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6736 * NEWS: Restore accidentally deleted bug-fix entries.
6738 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6739 Ondřej Bílka <neleai@seznam.cz>
6742 * malloc/malloc.c (_int_free): Perform sanity check only if we
6745 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6748 * manual/stdio.texi (String Input Conversions): Clarify that character
6749 classes are not supported.
6751 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6755 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6758 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6759 Calculate results for small negative arguments directly rather
6760 than using reflection formula with special underflow handling.
6762 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6763 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6764 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6765 (fchflags): Likewise.
6767 (setlogin): Likewise.
6768 (sigaltstack): Likewise.
6771 (sigsetmask): Likewise.
6773 (waitpid): Likewise.
6774 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6775 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6777 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6778 * sysdeps/unix/bsd/Makefile: ... here.
6779 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6780 * sysdeps/unix/bsd/Versions: ... here.
6781 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6782 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6783 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6784 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6785 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6786 * sysdeps/unix/bsd/sigblock.c: ... here.
6787 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6788 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6789 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6790 * sysdeps/unix/bsd/sigvec.c: ... here.
6791 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6792 * sysdeps/unix/bsd/tcdrain.c: ... here.
6793 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6794 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6795 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6796 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6797 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6798 * sysdeps/unix/bsd/wait.c: ... here.
6799 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6800 * sysdeps/unix/bsd/wait3.c: ... here.
6801 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6802 * sysdeps/unix/bsd/waitpid.c: ... here.
6804 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6807 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6808 round-to-nearest for [!USE_AS_EXPM1L].
6809 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6810 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6811 more tests of exp and exp10. Expect some exp10 tests to miss
6812 exceptions or fail in directed rounding modes.
6813 * math/auto-libm-test-out: Regenerated.
6814 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6815 (exp10_test_tonearest): New function.
6816 (exp10_towardzero_test_data): New array.
6817 (exp10_test_towardzero): New function.
6818 (exp10_downward_test_data): New array.
6819 (exp10_test_downward): New function.
6820 (exp10_upward_test_data): New array.
6821 (exp10_test_upward): New function.
6822 (main): Call the new functions.
6823 * sysdeps/i386/fpu/libm-test-ulps: Update.
6824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6826 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6828 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6829 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6830 * math/auto-libm-test-out: Regenerated.
6831 * math/libm-test.inc (acosh_test_data): Add more tests.
6832 (atanh_test_data): Likewise.
6833 (ceil_test_data): Likewise.
6834 (copysign_test_data): Likewise.
6835 * sysdeps/i386/fpu/libm-test-ulps: Update.
6836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6838 * timezone/checktab.awk: Update from tzcode 2013i.
6839 * timezone/private.h: Likewise.
6840 * timezone/scheck.c: Likewise.
6841 * timezone/tzfile.h: Likewise.
6842 * timezone/tzselect.ksh: Likewise.
6843 * timezone/zdump.c: Likewise.
6844 * timezone/zic.c: Likewise.
6846 * math/auto-libm-test-in: Add tests of cpow.
6847 * math/auto-libm-test-out: Regenerated.
6848 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6851 (func_calc_desc): Add mpc_cc_c union field.
6852 (test_functions): Add cpow.
6853 (special_fill_2pi): New function.
6854 (special_real_inputs): Add 2pi.
6855 (calc_generic_results): Handle mpc_cc_c.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6859 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6860 csqrt, ctan and ctanh.
6861 * math/auto-libm-test-out: Regenerated.
6862 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6863 (TEST_COND_x86): Likewise.
6864 (ccos_test_data): Use AUTO_TESTS_c_c.
6865 (ccosh_test_data): Likewise.
6866 (cexp_test_data): Likewise.
6867 (clog_test_data): Likewise.
6868 (csqrt_test_data): Likewise.
6869 (ctan_test_data): Likewise.
6870 (ctan_tonearest_test_data): Likewise.
6871 (ctan_towardzero_test_data): Likewise.
6872 (ctan_downward_test_data): Likewise.
6873 (ctan_upward_test_data): Likewise.
6874 (ctanh_test_data): Likewise.
6875 (ctanh_tonearest_test_data): Likewise.
6876 (ctanh_towardzero_test_data): Likewise.
6877 (ctanh_downward_test_data): Likewise.
6878 (ctanh_upward_test_data): Likewise.
6879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6881 (func_calc_desc): Add mpc_c_c union field.
6882 (FUNC_mpc_c_c): New macro.
6883 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6884 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6886 (special_fill_min_subnorm_p120): New function.
6887 (special_real_inputs): Add min_subnorm_p120.
6888 (calc_generic_results): Handle mpc_c_c.
6889 * sysdeps/i386/fpu/libm-test-ulps: Update.
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6892 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6894 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6895 (do_sin_slow): New functions.
6896 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6897 (cslow2, csloww1, csloww2): Use the new functions.
6899 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6900 Use M to change sign of result instead of X. Assume X is
6902 (csloww1): Likewise.
6906 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6913 (sloww1): Don't adjust sign of DX.
6914 (csloww1): Likewise.
6915 (sloww2): Use X directly and don't adjust sign of DX.
6916 (csloww2): Likewise.
6918 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6920 * math/auto-libm-test-in: Add tests of cabs and carg.
6921 * math/auto-libm-test-out: Regenerated.
6922 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6923 (carg_test_data): Likewise.
6924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6926 (func_calc_desc): Add mpc_c_f union field.
6927 (test_functions): Add cabs and carg.
6928 (calc_generic_results): Handle mpc_c_f.
6930 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6931 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6932 as a macro and a compat symbol.
6933 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6934 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6935 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6936 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6937 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6938 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6940 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6942 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6944 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6946 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6948 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6950 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6951 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6954 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6958 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6960 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6961 trailing whitespace removed.
6962 * scripts/config.guess: Update to version 2013-11-29.
6963 * scripts/config.sub: Update to version 2013-10-01.
6965 * math/auto-libm-test-in: Add tests of sincos.
6966 * math/auto-libm-test-out: Regenerated.
6967 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6970 (func_calc_desc): Add mpfr_f_11 union field.
6971 (test_functions): Add sincos.
6972 (calc_generic_results): Handle mpfr_f_11.
6973 * sysdeps/i386/fpu/libm-test-ulps: Update.
6974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6976 2013-12-19 Andreas Schwab <schwab@suse.de>
6978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6980 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6981 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6982 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6984 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6986 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6992 round-to-nearest mode when using frndint.
6993 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6994 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6997 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6999 * math/auto-libm-test-out: Regenerated.
7000 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7001 (TEST_COND_x86): Likewise.
7002 (expm1_tonearest_test_data): New array.
7003 (expm1_test_tonearest): New function.
7004 (expm1_towardzero_test_data): New array.
7005 (expm1_test_towardzero): New function.
7006 (expm1_downward_test_data): New array.
7007 (expm1_test_downward): New function.
7008 (expm1_upward_test_data): New array.
7009 (expm1_test_upward): New function.
7010 (main): Run the new test functions.
7011 * sysdeps/i386/fpu/libm-test-ulps: Update.
7012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7014 * include/features.h: Update comment documenting feature test
7015 macros. Mention _DEFAULT_SOURCE in comment.
7016 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7017 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7018 _BSD_SOURCE and _SVID_SOURCE.
7019 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7020 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7021 !_SVID_SOURCE]: Likewise.
7022 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7023 (__USE_POSIX_IMPLICITLY): Define.
7024 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7025 (_POSIX_SOURCE): Undefine and redefine.
7026 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7027 (_POSIX_C_SOURCE): Likewise.
7028 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7029 (Feature Test Macros): Update documentation of default features.
7031 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7033 * benchtests/Makefile: Add bench-strtok.
7034 * benchtests/bench-strtok.c: New file: strtok benchtest.
7036 2013-12-19 Allan McRae <allan@archlinux.org>
7038 * manual/install.texi: Suppress menu for plain text output.
7039 * INSTALL: Regenerated.
7041 2013-12-18 Brooks Moses <bmoses@google.com>
7044 * misc/getauxval.c: Include errno.h.
7045 (__getauxval): Set errno to ENOENT if the requested type is not
7047 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7048 don't declare with __attribute_const__.
7049 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7050 * manual/startup.texi: Document that getauxval sets errno.
7052 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7054 * math/auto-libm-test-in: Add tests of jn and yn.
7055 * math/auto-libm-test-out: Regenerated.
7056 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7057 (yn_test_data): Likewise.
7058 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7060 (func_calc_desc): Add mpfr_if_f union field.
7061 (FUNC_mpfr_if_f): New macro.
7062 (test_functions): Add jn and yn.
7063 (calc_generic_results): Assert type of second input for
7064 mpfr_ff_f. Handle mpfr_if_f.
7065 (output_for_one_input_case): Disable all checking for arguments
7066 fitting floating-point types in case of an integer argument.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7071 Don't expect fegetround reference in libm.so.
7073 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7075 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7076 $(config-cflags-nofma).
7078 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7080 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7081 * math/auto-libm-test-out: Regenerated.
7084 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7085 to determine exponent and adjust argument to have exponent of -1.
7086 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7088 * math/auto-libm-test-out: Regenerated.
7089 * sysdeps/i386/fpu/libm-test-ulps: Update.
7090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7092 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7094 * manual/probes.texi: Remove cases when per-thread arenas are
7097 2013-12-18 Andreas Schwab <schwab@suse.de>
7099 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7100 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7101 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7102 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7103 * sysdeps/i386/i686/multiarch/Makefile: Update.
7104 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7106 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7108 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7109 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7111 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7114 Support TZ transition times < 00:00:00.
7115 This is needed for version-3 tz-format files; it supports time
7116 stamps past 2037 for America/Godthab (the only entry in the tz
7117 database for which this change is relevant).
7118 * manual/time.texi (TZ Variable): Document transition times
7119 from -167:59:59 through -00:00:01.
7120 * time/tzset.c (tz_rule): Time of day is now signed.
7121 (__tzset_parse_tz): Parse negative time of day.
7123 Document TZ transition times >= 25:00:00.
7124 * manual/time.texi (TZ Variable): Document transition times from
7125 25:00:00 through 167:59:59. These are already supported, and this
7126 support will help with version-3 tz-format files.
7128 * manual/time.texi (TZ Variable): Modernize North America example
7129 to reflect current (i.e., 2007-and-later) daylight saving rules.
7131 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7133 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7135 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7136 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7139 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7140 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7141 * sysdeps/unix/bsd/clock.c: Likewise.
7142 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7143 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7144 * sysdeps/unix/bsd/init-posix.c: Likewise.
7145 * sysdeps/unix/bsd/poll.c: Likewise.
7146 * sysdeps/unix/bsd/ptsname.c: Likewise.
7147 * sysdeps/unix/bsd/seekdir.c: Likewise.
7148 * sysdeps/unix/bsd/setegid.c: Likewise.
7149 * sysdeps/unix/bsd/seteuid.c: Likewise.
7150 * sysdeps/unix/bsd/setgid.c: Likewise.
7151 * sysdeps/unix/bsd/setrgid.c: Likewise.
7152 * sysdeps/unix/bsd/setruid.c: Likewise.
7153 * sysdeps/unix/bsd/setsid.c: Likewise.
7154 * sysdeps/unix/bsd/setuid.c: Likewise.
7155 * sysdeps/unix/bsd/sigaction.c: Likewise.
7156 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7157 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7158 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7159 * sysdeps/unix/bsd/telldir.c: Likewise.
7160 * sysdeps/unix/bsd/times.c: Likewise.
7161 * sysdeps/unix/bsd/usleep.c: Likewise.
7163 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7164 ($(objpfx)libbsd-compat.a): Remove rule.
7166 * include/features.h (__FAVOR_BSD): Do not define.
7167 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7168 features conflicting with POSIX.
7169 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7170 (_BSD_SOURCE): Remove description of not being a subset of other
7171 feature test macros.
7172 * manual/job.texi (getpgrp): Do not document BSD version.
7173 (getpgid): Do not document by reference to BSD getpgrp.
7174 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7175 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7176 * signal/signal.h [__FAVOR_BSD]: Likewise.
7177 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7178 instead of making contents conditional on [__FAVOR_BSD].
7179 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7181 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7185 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7188 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7189 values below 2**-450, not 2**-500.
7190 * math/auto-libm-test-in: Don't allow spurious underflow from
7192 * math/auto-libm-test-out: Regenerated.
7196 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7197 values of ha and hb and sort them after adjusting subnormal
7199 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7201 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7202 values of ea and eb and sort them after adjusting subnormal
7204 * math/auto-libm-test-in: Do not expect some hypot tests of
7205 subnormals to fail. Add more hypot tests.
7206 * math/auto-libm-test-out: Regenerated.
7208 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7211 * sysdeps/sh/s_fma.c: New file.
7212 * sysdeps/sh/s_fmaf.c: New file.
7213 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7215 * sysdeps/sh/Implies: Add sh/soft-fp.
7217 2013-12-16 Roland McGrath <roland@hack.frob.com>
7219 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7220 level of indirection to members `objname', `errstring', `malloced'.
7221 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7222 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7223 it as the __longjmp argument (just pass 1 instead).
7224 (_dl_catch_error): Initialize C with argument pointers and address of
7225 volatile local ERRCODE rather than copying values out of C at return.
7227 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7229 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7230 * math/auto-libm-test-out: Regenerated.
7231 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7232 (hypot_test_data): Likewise.
7233 (pow_test_data): Likewise.
7234 (pow_tonearest_test_data): Likewise.
7235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7237 (func_calc_desc): Add mpfr_ff_f union field.
7238 (FUNC_mpfr_ff_f): New macro.
7239 (test_functions): Add atan2, hypot and pow.
7240 (special_fill_min): New function.
7241 (special_fill_minus_min): Likewise.
7242 (special_fill_min_subnorm): Likewise.
7243 (special_fill_minus_min_subnorm): Likewise.
7244 (special_real_inputs): Add min, -min, min_subnorm and
7246 (calc_generic_results): Handle mpfr_ff_f.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7250 2013-12-16 Will Newton <will.newton@linaro.org>
7252 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7253 (Aligned Memory Blocks): Add documentation for aligned_alloc
7254 and suggest it as an alternative to posix_memalign.
7255 (Hooks for Malloc): Document __memalign_hook is also called
7256 for aligned_alloc. (Summary of Malloc): Add summary for
7257 aligned alloc. Document __memalign_hook is also called
7260 2013-12-16 Will Newton <will.newton@linaro.org>
7262 * manual/memory.texi (Malloc Examples): Clarify default
7263 alignment documentation. Suggest posix_memalign rather
7264 than memalign or valloc.
7265 (Aligned Memory Blocks): Remove suggestion to use memalign
7266 or valloc. Remove obsolete comment about BSD.
7267 Document memalign errno values and mark the function obsolete.
7268 Document posix_memalign returned error codes. Mark valloc
7269 as obsolete. (Hooks for Malloc): __memalign_hook is also
7270 called for posix_memalign and valloc.
7271 (Summary of Malloc): Add posix_memalign to function summary.
7272 __memalign_hook is also called for posix_memalign and valloc.
7274 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7280 (sloww): Use mynumber union. Expand ternary operator into
7282 (cslow): use mynumber union.
7284 2013-12-16 Allan McRae <allan@archlinux.org>
7286 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7287 * configure: Regenerated.
7289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7292 * configure.ac: Added --enable-maintainer-mode. Check for
7293 autoconf when enabled.
7294 * configure: Regenerated.
7296 * nscd/nscd.service: New file.
7297 * nscd/nscd.tmpfiles: New file.
7299 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7302 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7303 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7304 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7305 (strstr): Add __strstr_sse2_unaligned ifunc.
7306 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7307 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7308 (strcasestr): Remove __strcasestr_sse42 ifunc.
7309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7313 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7315 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7316 * sysdeps/sh/bits/fenv.h: ... here.
7317 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7321 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7324 hypotf multiarch implementations.
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7328 multiarch hypot for PPC64.
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7331 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7332 multiarch hypotf for PPC64.
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7335 modff multiarch implementations.
7336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7339 multiarch modf for PPC64.
7340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7343 multiarch modff for PPC64.
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7346 and logl multiarch implementations.
7347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7350 multiarch logb for PPC64.
7351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7354 multiarch logb for PPC64.
7355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7358 multiarch logb for PPC64.
7360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7361 isinff multiarch implementation.
7362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7366 multiarch isinf for PPC64.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7370 multiarch isinff for PPC64.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7373 finitef multiarch implementation.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7378 multiarch finite for PPC64.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7382 multiarch finitef for PPC64.
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7385 lrint multiarch implementation.
7386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7390 multiarch llrint for PPC64.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7392 multiarch lrint for PPC64.
7394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7395 copysignf multiarch implementation.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7401 multiarch copysign for PPC64.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7403 multiarch copysignf for PPC64.
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7406 multiarch implementation.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7415 multiarch llround for PPC64.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7417 multiarch trunc for PPC64.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7419 multiarch truncf for PPC64.
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7422 multiarch implementation.
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7431 multiarch llround for PPC64.
7432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7433 multiarch round for PPC64.
7434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7435 multiarch roundf for PPC64.
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7438 multiarch implementation.
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7447 multiarch llround for PPC64.
7448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7449 multiarch floor for PPC64.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7451 multiarch floorf for PPC64.
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7454 multiarch implementation.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7463 multiarch llround for PPC64.
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7465 multiarch ceil for PPC64.
7466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7467 multiarch ceilf for PPC64.
7469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7470 multiarch implementation.
7471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7478 multiarch llround for PPC64.
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7480 multiarch lround for PPC64.
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7483 multiarch implementation.
7484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7491 multiarch isnan for PPC64.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7493 multiarch isnanf for PPC64.
7495 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7496 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7497 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7498 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7499 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7502 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7508 multiarch implementations.
7509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7510 (__libc_ifunc_impl_list): Likewise.
7511 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7513 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7514 multiarch stpcpy for PPC64.
7516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7517 multiarch implementations.
7518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7519 (__libc_ifunc_impl_list): Likewise.
7520 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7521 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7522 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7523 multiarch strcpy for PPC64.
7525 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7526 redefine function name.
7527 (_wordcopy_fwd_dest_aligned): Likewise.
7528 (_wordcopy_bwd_aligned): Likewise.
7529 (_wordcopy_bwd_dest_aligned): Likewise.
7530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7531 multiarch implementations.
7532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7533 (__libc_ifunc_impl_list): Likewise.
7534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7535 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7536 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7537 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7538 multiarch wcscpy for PPC64.
7540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7541 multiarch implementations.
7542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7543 (__libc_ifunc_impl_list): Likewise.
7544 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7545 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7546 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7547 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7548 multiarch wcscpy for PPC64.
7550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7551 multiarch implementations.
7552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7553 (__libc_ifunc_impl_list): Likewise.
7554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7556 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7557 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7558 multiarch wcsrchr for PPC64.
7560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7561 multiarch implementations.
7562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7563 (__libc_ifunc_impl_list): Likewise.
7564 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7565 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7566 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7567 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7568 multiarch wcschr for PPC64.
7570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7571 multiarch implementations.
7572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7573 (__libc_ifunc_impl_list): Likewise.
7574 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7575 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7577 multiarch strchrnul for PPC64.
7579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7582 (__libc_ifunc_impl_list): Likewise.
7583 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7584 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7585 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7592 (__libc_ifunc_impl_list): Likewise.
7593 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7594 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7595 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7596 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7600 multiarch implementations.
7601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7602 (__libc_ifunc_impl_list): Likewise.
7603 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7604 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7605 strncasecmp for PPC64.
7606 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7607 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7608 multiarch strncasecmp_l for PPC64.
7610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7611 multiarch implementations.
7612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7613 (__libc_ifunc_impl_list): Likewise.
7614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7616 multiarch strcasecmp for PPC64.
7617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7619 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7620 multiarch strcasecmp_l for PPC64.
7622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7625 (__libc_ifunc_impl_list): Likewise.
7626 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7627 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7628 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7634 (__libc_ifunc_impl_list): Likewise.
7635 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7636 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7637 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7643 (__libc_ifunc_impl_list): Likewise.
7644 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7646 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7647 rawmemrchr for PPC64.
7649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7652 (__libc_ifunc_impl_list): Likewise.
7653 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7654 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7655 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7661 (__libc_ifunc_impl_list): Likewise.
7662 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7663 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7664 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7670 (__libc_ifunc_impl_list): Likewise.
7671 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7672 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7673 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7676 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7677 avoid cretion of __bzero symbol.
7678 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7680 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7682 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7685 multiarch implementations.
7686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7687 (__libc_ifunc_impl_list): Likewise.
7688 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7689 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7690 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7691 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7693 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7694 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7695 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7696 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7697 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7699 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7701 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7705 (__libc_ifunc_impl_list): Likewise.
7706 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7707 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7708 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7709 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7713 multiarch for POWER/PPC64.
7714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7715 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7722 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7725 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7726 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7727 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7729 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7730 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7732 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7733 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7734 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7735 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7736 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7737 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7738 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7739 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7748 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7752 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * benchtests/Makefile (bench): Add exp2 and log2.
7755 (LDLIBS-bench-exp2): Add -lm.
7756 (LDLIBS-bench-log2): Likewise.
7757 * benchtests/exp2-inputs: New inputs file.
7758 * benchtests/log2-inputs: New inputs file.
7759 * benchtests/log-inputs: Add new inputs.
7760 * benchtests/tan-inputs: Likewise.
7762 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7764 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7766 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7767 (csloww2): ... from here.
7769 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7770 instead of structures.
7771 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7772 (POLYNOMIAL): Likewise.
7773 (TAYLOR_SLOW): Likewise.
7781 (bsloww1): Likewise.
7782 (bsloww2): Likewise.
7785 (csloww1): Likewise.
7786 (csloww2): Likewise.
7788 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7790 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7791 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7792 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7793 * malloc/hooks.c (realloc_check): Likewise.
7795 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7796 * malloc/arena.c: Remove PER_THREAD conditional.
7797 [!PER_THREAD]: Remove code.
7798 (ptmalloc_unlock_all2): Likewise.
7799 (ptmalloc_init): Likewise.
7800 (_int_new_arena): Likewise.
7801 (arena_get2): Likewise.
7802 * malloc/hooks.c (__malloc_get_state): Likewise.
7803 (__malloc_set_state): Likewise.
7804 * malloc/malloc.c: Likewise.
7805 (struct malloc_state): Likewise.
7806 (struct malloc_par): Likewise.
7807 (__libc_realloc): Likewise.
7808 (__libc_mallopt): Likewise.
7810 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7814 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7816 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7817 macro to a function. Check for zero perturb_byte.
7818 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7820 * malloc/malloc.c: (force_reg): Remove.
7821 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7822 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7823 force_reg by atomic_forced_read.
7824 * malloc/arena.c (ptmalloc_init): Likewise.
7825 * malloc/hooks.c (top_check): Likewise.
7827 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7831 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7835 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7837 * math/auto-libm-test-in: Add tests of lgamma.
7838 * math/auto-libm-test-out: Regenerated.
7839 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7840 (M_LOG_2_SQRT_PIl): Likewise.
7841 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7844 (func_calc_desc): Add mpfr_f_f1 union field.
7853 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7854 (test_functions): Add lgamma.
7855 (calc_generic_results): Handle mpfr_f_f1.
7856 * sysdeps/i386/fpu/libm-test-ulps: Update.
7857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7861 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7862 __mpn_add_n for PowerPC64/POWER7.
7863 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7864 __mpn_sub_n for PowerPC64/POWER7.
7866 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7867 __mpn_addmul_1 for PowerPC64.
7868 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7869 __mpn_submul_1 for PowerPC64.
7870 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7872 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7875 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7878 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7882 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7884 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7885 add multiarch folders.
7886 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7887 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7888 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7889 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7890 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7891 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7892 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7893 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7894 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7895 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7896 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7905 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7911 multiarch __ieee754_hypot for PowerPC32.
7912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7917 multiarch __ieee754_hypotf for PowerPC32.
7919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7920 long_double_symbol only if __logbl is defined.
7921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7922 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7924 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7926 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7928 path for implementation.
7929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7932 logb, and logbl multiarch implementations for PowerPC32.
7933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7938 multiarch logb for PowerPC32.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7944 multiarch logbf for PowerPC32.
7945 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7949 multiarch logbl implementation for PowerPC32.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7952 and modff multiarch implementations.
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7958 multiarch modf for PowerPC32.
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7964 multiarch modff for PowerPC32.
7966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7967 and lrintf multiarch implementations.
7968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7973 multiarch lrint for PowerPC32.
7974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7975 file: multiarch lrintf for PowerPC32.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7978 and lroundf multiarch implementations.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7986 multiarch lround for PowerPC32.
7987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7988 file: multiarch lroundf for PowerPC32.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7991 copysign and copysignf multiarch implementations.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7997 file: multiarch copysign for PowerPC32.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7999 file: multiarch copysignf for PowerPC32.
8001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8002 and truncf multiarch implementations.
8003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8008 multiarch trunc for PowerPC32.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8014 multiarch truncf for PowerPC32.
8016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8017 and roundf multiarch implementations.
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8023 multiarch round for PowerPC32.
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8029 multiarch roundf for PowerPC32.
8031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8032 and floorf multiarch implementations.
8033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8038 multiarch floor for PowerPC32.
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8044 multiarch floorf for PowerPC32.
8046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8047 and ceilf multiarch implementations.
8048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8053 multiarch ceil for PowerPC32.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8059 multiarch ceilf for PowerPC32.
8061 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8063 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8066 and finitef multiarch implementations.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8072 multiarch finite for PowerPC32.
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8076 file: multiarch finitef for PowerPC32.
8078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8079 and isinff multiarch implementations.
8080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8085 multiarch isinf for PowerPC32.
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8089 multiarch isinff for PowerPC32.
8091 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8092 alias when __isnan is defined.
8093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8094 and isnanf multiarch implementations.
8095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8104 multiarch isnan for PowerPC32.
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8110 multiarch isnanf for PowerPC32.
8112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8113 and sqrtf multiarch implementations.
8114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8119 multiarch sqrt for PowerPC32.
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8125 multiarch sqrtf for PowerPC32.
8127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8128 and llroundf multiarch implementations.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8136 file: multiarch llround for PowerPC32.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8138 file: multiarch llroundf for PowerPC32.
8140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8141 multiarch PowerPC32 fpu implementations.
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8147 multiarch llrint for PowerPC32.
8148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8159 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8161 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8163 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8164 multiarch wordcopy for PPC32.
8165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8168 (__libc_ifunc_impl_list): Likewise.
8169 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8170 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8171 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8172 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8173 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8174 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8176 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8184 multiarch wcscpy for PPC32.
8185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8188 (__libc_ifunc_impl_list): Likewise.
8189 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8190 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8191 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8192 sysdeps/powerpc/power6/wcscpy.c.
8194 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8202 multiarch wcsrchr for PPC32.
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8206 (__libc_ifunc_impl_list): Likewise.
8207 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8208 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8209 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8210 sysdeps/powerpc/power6/wcsrchr.c.
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8218 multiarch wcschr for PPc32.
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8222 (__libc_ifunc_impl_list): Likewise.
8223 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8224 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8225 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8226 sysdeps/powerpc/power6/wcschr.c.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8231 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8232 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8233 file: multiarch strchr for PPC32.
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8237 (__libc_ifunc_impl_list): Likewise.
8239 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8241 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8246 multiarch strchrnul for PPC32.
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8250 (__libc_ifunc_impl_list): Likewise.
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8255 multiarch strncasecmp for PPC32.
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8259 multiarch strncasecmp_l for PPC32.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8261 strncasecmp multiarch objects.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8263 (__libc_ifunc_impl_list): Likewise.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8268 multiarch strncasecmp for PPC32.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8272 multiarch strcasecmp_l for PPC32.
8273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8276 (__libc_ifunc_impl_list): Likewise.
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8283 multiarch strncmp for PPC32.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8287 (__libc_ifunc_impl_list): Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8290 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8293 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8297 (__libc_ifunc_impl_list): Likewise.
8299 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8303 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8307 (__libc_ifunc_impl_list): Likewise.
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8314 multiarch rawmemchr for PPC32.
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8318 (__libc_ifunc_impl_list): Likewise.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8325 file: memrchr multiarch for PPC32.
8326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8329 (__libc_ifunc_impl_list): Likewise.
8331 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8334 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8336 multiarch memchr for PPC32.
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8340 (__libc_ifunc_impl_list): Likewise.
8342 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8343 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8348 file: multiarch mempcpy for PPC32.
8349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8352 (__libc_ifunc_impl_list): Likewise.
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8356 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8357 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8358 multiarch bzero for PPC32.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8361 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8363 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8364 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8365 file: multiarch memset for PPC32.
8366 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8368 memset multiarch objects.
8369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8370 (__libc_ifunc_impl_list): Likewise.
8372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8381 (__libc_ifunc_impl_list): Likewise.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8385 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8392 multiarch memcpy for PPC32.
8393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8396 (__libc_ifunc_impl_list): Likewise.
8398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8399 support multiarch for POWER/PPC32.
8400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8402 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8404 Implies file to make multiarch folder appers before the fpu and
8405 default folder for power4 configuration.
8407 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8409 * scripts/bench.pl: Append volatile keyword to type.
8411 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8413 * sysdeps/sh/sotruss-lib.c: New file.
8414 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8416 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8420 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8423 * math/w_tgamma.c: Include <errno.h>.
8424 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8425 * math/w_tgammaf.c: Include <errno.h>.
8426 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8427 * math/w_tgammal.c: Include <errno.h>.
8428 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8429 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8430 underflow. Add more tgamma tests.
8431 * math/auto-libm-test-out: Regenerated.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8436 sin, sinh, tan, tanh, tgamma, y0 and y1.
8437 * math/auto-libm-test-out: Regenerated.
8438 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8439 (TEST_COND_x86): Likewise.
8440 (M_E2l): Remove macro.
8442 (M_2_SQRT_PIl): Likewise.
8443 (M_SQRT_PIl): Likewise.
8444 (M_1_DIV_El): Likewise.
8445 (log_test_data): Use AUTO_TESTS_f_f.
8446 (log10_test_data): Likewise.
8447 (log1p_test_data): Likewise.
8448 (log2_test_data): Likewise.
8449 (sin_test_data): Likewise.
8450 (sin_tonearest_test_data): Likewise.
8451 (sin_towardzero_test_data): Likewise.
8452 (sin_downward_test_data): Likewise.
8453 (sin_upward_test_data): Likewise.
8454 (sinh_test_data): Likewise.
8455 (sinh_tonearest_test_data): Likewise.
8456 (sinh_towardzero_test_data): Likewise.
8457 (sinh_downward_test_data): Likewise.
8458 (sinh_upward_test_data): Likewise.
8459 (tan_test_data): Likewise.
8460 (tan_tonearest_test_data): Likewise.
8461 (tan_towardzero_test_data): Likewise.
8462 (tan_downward_test_data): Likewise.
8463 (tan_upward_test_data): Likewise.
8464 (tanh_test_data): Likewise.
8465 (tgamma_test_data): Likewise.
8466 (y0_test_data): Likewise.
8467 (y1_test_data): Likewise.
8468 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8469 (special_real_inputs): Add pi/4.
8470 * sysdeps/i386/fpu/libm-test-ulps: Update.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8473 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8475 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8476 "longjmp_target" static probes.
8477 (__longjmp): Rename to __longjmp_symbol.
8478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8479 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8480 on which longjmp to generate.
8481 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8484 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8485 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8486 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8487 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8488 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8489 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8491 __longjmp_symbol based on which __longjmp to generate.
8492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8494 (setjmp): Rename to setjmp_symbol.
8495 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8496 (_setjmp): Rename to _setjmp_symbol.
8497 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8498 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8499 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8500 which setjmp to generate.
8501 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8502 "longjmp_target" static probes.
8504 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8506 * benchtests/README: Add note about output arguments.
8507 * benchtests/bench-sincos.c: Remove file.
8508 * benchtests/sincos-inputs: New file.
8509 * scripts/bench.pl: Identify output arguments and define
8510 static variables for them.
8512 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8515 * Makefile (INSTALL): Add install-plain.texi as the primary
8517 * manual/install-plain.texi: New file.
8518 * manual/install.texi: Include node directive only for
8519 non-plaintext output.
8521 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8523 * stdlib/longlong.h: Update from GCC.
8527 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8528 * math/w_j0f.c (y0f): Likewise.
8529 * math/w_j0l.c (__y0l): Likewise.
8530 * math/w_j1.c (y1): Likewise.
8531 * math/w_j1f.c (y1f): Likewise.
8532 * math/w_j1l.c (__y1l): Likewise
8533 * math/w_jn.c (yn): Likewise.
8534 * math/w_jnf.c (ynf): Likewise.
8535 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8536 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8537 value for Bessel function domain errors outside _SVID_ mode.
8538 Adjust sign of return value for yn (negative integer, 0).
8539 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8540 by zero in return for negative x and set sign appropriately for
8542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8543 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8544 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8545 expectations in error cases.
8546 (y1_test_data): Likewise.
8547 (yn_test_data): Likewise.
8548 * sysdeps/i386/fpu/libm-test-ulps: Update.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8553 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8554 "64" to "64-v1". Add "64-v2".
8555 (abi-64-options): Rename to ...
8556 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8557 (abi-64-condition): Rename to ...
8558 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8559 (abi-64-ld-soname): Rename to ...
8560 (abi-64-v1-ld-soname): ... this.
8561 (abi-64-v2-options): Define.
8562 (abi-64-v2-condition): Likewise.
8563 (abi-64-v2-ld-soname): Likewise.
8564 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8565 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8570 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8571 Alan Modra <amodra@gmail.com>
8573 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8574 New versions for use with the ELFv2 ABI.
8575 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8576 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8578 (struct La_ppc64v2_retval): Likewise.
8579 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8580 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8581 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8582 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8583 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8585 Do not save or restore CR.
8586 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8587 (_dl_profile_resolve): Do no save or restore CR. Support extended
8588 return values for ELFv2 ABI. Fix location of FPR return registers.
8589 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8590 updated values for _CALL_ELF == 2.
8591 (La_regs, La_retval, int_retval): Likewise.
8593 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8595 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8596 (FRAME_MIN_SIZE_PARM): Likewise.
8597 (FRAME_BACKCHAIN): Likewise.
8598 (FRAME_CR_SAVE): Likewise.
8599 (FRAME_LR_SAVE): Likewise.
8600 (FRAME_TOC_SAVE): Likewise.
8601 (FRAME_PARM_SAVE): Likewise.
8602 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8603 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8604 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8605 (call_mcount_parm_offset): New macro.
8606 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8607 (PROF): Use symbolic stack frame offsets.
8608 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8610 Redefine in terms of FRAME_MIN_SIZE.
8611 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8612 (_dl_profile_resolve): Likewise. Update comment.
8613 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8614 symbols stack frame offsets.
8615 (__sigsetjmp): Likewise.
8616 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8617 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8618 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8619 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8622 (FRAME_BACKCHAIN): Remove.
8623 (FRAME_CR_SAVE): Likewise.
8624 (FRAME_LR_SAVE): Likewise.
8625 (FRAME_COMPILER_DW): Likewise.
8626 (FRAME_LINKER_DW): Likewise.
8627 (FRAME_TOC_SAVE): Likewise.
8628 (FRAME_PARM_SAVE): Likewise.
8629 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8630 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8631 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8633 (CHECK_SP): Use symbolic stack frame offsets.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8635 zone" instead of caller's parameter save area for temp storage.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8637 Likewise. Also, use symbolic stack frame offsets.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8639 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8640 our own stack frame instead of the caller's.
8641 (__socket): Use symbolic stack frame offsets.
8643 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8644 Alan Modra <amodra@gmail.com>
8646 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8648 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8649 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8650 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8652 (elf_machine_fixup_plt): Call it.
8653 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8655 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8657 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8658 r2 before calling target.
8660 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8661 Alan Modra <amodra@gmail.com>
8663 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8664 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8665 versions of macros to support ELFv2 ABI.
8666 (LOCALENTRY): New macro.
8667 (ENTRY, EALIGN): Use it.
8668 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8669 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8670 fall through into ENTRY entry point.
8671 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8672 Only define if _CALL_ELF != 2.
8674 (elf_machine_matches_host): Verify ABI version matches.
8675 (RTLD_START): Use LOCALENTRY.
8676 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8677 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8678 (PLT_ENTRY_WORDS): New macro.
8679 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8680 (elf_machine_runtime_setup): Support ELFv2 ABI.
8681 (elf_machine_fixup_plt): Likewise.
8682 (elf_machine_plt_conflict): Likewise.
8683 (resolve_ifunc): Likewise.
8684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8688 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8690 (makecontext): Support ELFv2 ABI.
8691 * elf/elf.h (EF_PPC64_ABI): Define.
8693 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8695 * sysdeps/powerpc/powerpc64/sysdep.h
8696 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8697 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8698 (ENTRY) [ASSEMBLER]: ... but instead here ...
8699 (EALIGN) [ASSEMBLER]: ... and here.
8700 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8701 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8702 (ENTRY_2) [!ASSEMBLER]: Use it.
8703 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8704 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8706 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8707 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8709 Use PPC64_LOAD_FUNCPTR.
8711 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8713 2013-12-04 Alan Modra <amodra@gmail.com>
8715 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8716 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8717 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8718 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8721 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8722 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8723 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8724 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8725 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8727 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8730 (__makecontext): Fix incorrect CFI when backtracing out of
8731 context created via makecontext.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8733 (__setcontext): Fix incorrect CFI during switch to new context.
8734 (__novec_setcontext): Likewise.
8736 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8739 * time/strptime_l.c (__strptime_internal): Allow modifiers
8741 * time/tst-strptime.c (day_tests): Add testcase.
8743 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8745 * scripts/bench.pl: Skip over blank lines.
8747 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8750 * manual/time.texi (Calendar Time): Clarify what timezone functions
8753 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8757 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8759 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8761 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8762 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8763 * debug/memset_chk.c (__memset_chk): Likewise.
8764 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8765 * debug/strncpy_chk.c: Likewise.
8767 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8772 (__ieee754_exp): For possibly underflowing results, check size of
8773 result and force underflow exception if required.
8774 * math/auto-libm-test-in: Add more tests of exp.
8775 * math/auto-libm-test-out: Regenerated.
8776 * sysdeps/i386/fpu/libm-test-ulps: Update.
8777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8780 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8781 * math/w_exp2f.c (__exp2f): Likewise.
8782 * math/w_exp2l.c (__exp2l): Likewise.
8783 * math/auto-libm-test-in: Do not allow missing errno on exp2
8785 * math/auto-libm-test-out: Regenerated.
8787 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8790 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8791 handle filename validation.
8792 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8795 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8798 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8799 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8800 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8802 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8804 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8806 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8808 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8809 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8810 Add more erfc tests.
8811 * math/auto-libm-test-out: Regenerated.
8812 * sysdeps/i386/fpu/libm-test-ulps: Update.
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8815 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8816 exp2, expm1, j0 and j1.
8817 * math/auto-libm-test-out: Regenerated.
8818 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8819 (erfc_test_data): Likewise.
8820 (exp_test_data): Likewise.
8821 (exp_tonearest_test_data): Likewise.
8822 (exp_towardzero_test_data): Likewise.
8823 (exp_downward_test_data): Likewise.
8824 (exp_upward_test_data): Likewise.
8825 (exp10_test_data): Likewise.
8826 (exp2_test_data): Likewise.
8827 (expm1_test_data): Likewise.
8828 (j0_test_data): Likewise.
8829 (j1_test_data): Likewise.
8830 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8831 (input_flag_type): Add flag_xfail_rounding.
8832 (input_flags): Add xfail-rounding.
8833 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8834 (output_for_one_input_case): Handle flag_xfail_rounding.
8835 * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8841 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8844 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8847 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8848 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8849 (STAP_PROBE0): New macro.
8850 (STAP_PROBE1): Likewise.
8851 (STAP_PROBE2): Likewise.
8852 (STAP_PROBE3): Likewise.
8853 (STAP_PROBE4): Likewise.
8855 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8857 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8859 2013-12-02 Steve Ellcey <sellcey@mips.com>
8861 * benchtests/Makefile (bench): Add sqrt.
8862 (LDLIBS-bench-sqrt): New.
8863 * benchtests/sqrt-input: New.
8865 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8867 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8868 (GAIH_EAI): Likewise.
8869 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8870 (gaih_inet): Likewise.
8871 (getaddrinfo): Don't use GAIH_EAI.
8873 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8874 (struct gaih): Remove definition.
8876 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8878 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8879 Use HERRNOP directly.
8881 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8885 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8887 * math/gen-auto-libm-tests.c (test_functions): Add more
8888 single-argument functions.
8889 (special_fill_pi_2): New function.
8890 (special_fill_minus_pi_2): Likewise.
8891 (special_fill_pi_6): Likewise.
8892 (special_fill_minus_pi_6): Likewise.
8893 (special_fill_pi_3): Likewise.
8894 (special_fill_2pi_3): Likewise.
8895 (special_fill_e): Likewise.
8896 (special_fill_1_e): Likewise.
8897 (special_fill_e_minus_1): Likewise.
8898 (special_real_inputs): Add more special inputs.
8899 (output_for_one_input_case): Do not require ERANGE on underflow to
8900 zero if round-to-nearest result does not underflow to zero, unless
8901 exact results required.
8902 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8903 atan, atanh, cbrt, cos and cosh.
8904 * math/auto-libm-test-out: Regenerated.
8905 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8906 (acos_tonearest_test_data): Likewise.
8907 (acos_towardzero_test_data): Likewise.
8908 (acos_downward_test_data): Likewise.
8909 (acos_upward_test_data): Likewise.
8910 (acosh_test_data): Likewise.
8911 (asin_test_data): Likewise.
8912 (asin_tonearest_test_data): Likewise.
8913 (asin_towardzero_test_data): Likewise.
8914 (asin_upward_test_data): Likewise.
8915 (asinh_test_data): Likewise.
8916 (atan_test_data): Likewise.
8917 (atanh_test_data): Likewise.
8918 (cbrt_test_data): Likewise.
8919 (cos_test_data): Likewise.
8920 (cos_tonearest_test_data): Likewise.
8921 (cos_towardzero_test_data): Likewise.
8922 (cos_downward_test_data): Likewise.
8923 (cos_upward_test_data): Likewise.
8924 (cosh_test_data): Likewise.
8925 (cosh_tonearest_test_data): Likewise.
8926 (cosh_towardzero_test_data): Likewise.
8927 (cosh_downward_test_data): Likewise.
8928 (cosh_upward_test_data): Likewise.
8929 * sysdeps/i386/fpu/libm-test-ulps: Update.
8930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8932 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8935 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8936 * math/w_exp10f.c (__exp10f): Likewise.
8937 * math/w_exp10l.c (__exp10l): Likewise.
8938 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8939 errno settings in existing tests.
8942 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8943 precision control set to double precision.
8944 * sysdeps/i386/fpu/w_sqrt.c: New file.
8945 * math/auto-libm-test-in: Add more tests.
8946 * math/auto-libm-test-out: Update.
8948 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8949 (sqrt_test_tonearest): New function.
8950 (sqrt_towardzero_test_data): New variable.
8951 (sqrt_test_towardzero): New function.
8952 (sqrt_downward_test_data): New variable.
8953 (sqrt_test_downward): New function.
8954 (sqrt_upward_test_data): New variable.
8955 (sqrt_test_upward): New function.
8956 (main): Call the new functions.
8958 * math/gen-auto-libm-tests.c: New file.
8959 * math/auto-libm-test-in: Likewise.
8960 * math/auto-libm-test-out: New generated file.
8961 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8963 (%beautify): Add generated representations of zero.
8964 (top level): Set $auto_input and call parse_auto_input.
8965 (beautify): Remove trailing "f" from hex float constants.
8966 (parse_args): Handle XFAIL_TEST.
8967 (convert_condition): New function.
8968 (or_value): Likewise.
8969 (or_cond_value): Likewise.
8970 (generate_testfile): Handle AUTO_TESTS_* lines.
8971 (parse_auto_input): New function.
8972 * math/libm-test.inc (XFAIL_TEST): New macro.
8973 (ERRNO_UNCHANGED): Update value.
8974 (ERRNO_EDOM): Likewise.
8975 (ERRNO_ERANGE): Likewise.
8976 (IGNORE_RESULT): Likewise.
8977 (TEST_COND_flt_32): New macro.
8978 (TEST_COND_dbl_64): Likewise.
8979 (TEST_COND_ldbl_96_intel): Likewise.
8980 (TEST_COND_ldbl_96_m68k): Likewise.
8981 (TEST_COND_ldbl_128): Likewise.
8982 (TEST_COND_ldbl_128ibm): Likewise.
8983 (TEST_COND_long32): Likewise.
8984 (TEST_COND_long64): Likewise.
8985 (TEST_COND_before_rounding): Likewise.
8986 (TEST_COND_after_rounding): Likewise.
8987 (enable_test): Handle XFAIL_TEST flag.
8988 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8989 with finite results.
8990 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8993 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8994 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8997 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8998 __tls_get_addr_internal instead of __tls_get_offset in order to
8999 avoid GOT pointer dependency. Make rtld export
9000 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9001 __tls_get_addr since we are a __tls_get_offset platform.
9002 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9003 GOT pointer being set up before.
9004 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9006 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9008 * manual/math.texi (Errors in Math Functions): Document accuracy
9012 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9013 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9029 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9030 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9031 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9032 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9033 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9035 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9037 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9039 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9040 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9041 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9042 atomic-feupdateenv and flt-rounds.
9043 * sysdeps/powerpc/nofpu/Versions (libc): Add
9044 __atomic_feholdexcept, __atomic_feclearexcept,
9045 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9047 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9048 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9049 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9054 * manual/arith.texi (FP Exceptions): Document that exceptions may
9055 not be raised when matherr is used.
9056 (Math Error Reporting): Document overflow in directed rounding
9057 modes. Document that errno may not be set when finite values are
9058 returned on overflow. Document intent to set errno on underflow
9059 only for underflow to zero.
9062 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9063 round-to-nearest then adjust result for other rounding modes.
9064 * include/fenv.h (fegetround): Use libm_hidden_proto.
9065 * math/fegetround.c (fegetround): Use libm_hidden_def.
9066 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9067 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9068 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9069 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9071 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9072 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9073 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9074 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9076 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9079 * nss/Versions (libnss_files): Add
9080 _nss_files_gethostbyname3_r.
9081 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9083 (HOST_DB_LOOKUP): Remove macro.
9084 (_nss_files_gethostbyname_r): Implement function without the
9085 HOST_DB_LOOKUP macro.
9086 (_nss_files_gethostbyname2_r): Likewise.
9088 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9090 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9092 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9094 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9095 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9098 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9101 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9102 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9103 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9104 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9105 __fe_nomask_env_priv and attribute_hidden.
9106 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9107 (libc_feupdateenv_test_ppc): Likewise.
9108 (libc_feresetround_ppc): Likewise.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9110 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9111 compat_symbol macro.
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9113 (__fe_nomask_env): Likewise.
9114 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9116 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9118 * string/Makefile: Remove ifunc tests.
9119 * string/test-string.h: Define TEST_IFUNC.
9120 * string/test-bcopy-ifunc.c: Remove.
9121 * string/test-bzero-ifunc.c: Likewise.
9122 * string/test-memccpy-ifunc.c: Likewise.
9123 * string/test-memchr-ifunc.c: Likewise.
9124 * string/test-memcmp-ifunc.c: Likewise.
9125 * string/test-memcpy-ifunc.c: Likewise.
9126 * string/test-memmem-ifunc.c: Likewise.
9127 * string/test-memmove-ifunc.c: Likewise.
9128 * string/test-mempcpy-ifunc.c: Likewise.
9129 * string/test-memrchr-ifunc.c: Likewise.
9130 * string/test-memset-ifunc.c: Likewise.
9131 * string/test-rawmemchr-ifunc.c: Likewise.
9132 * string/test-stpcpy-ifunc.c: Likewise.
9133 * string/test-stpncpy-ifunc.c: Likewise.
9134 * string/test-strcasecmp-ifunc.c: Likewise.
9135 * string/test-strcasestr-ifunc.c: Likewise.
9136 * string/test-strcat-ifunc.c: Likewise.
9137 * string/test-strchr-ifunc.c: Likewise.
9138 * string/test-strchrnul-ifunc.c: Likewise.
9139 * string/test-strcmp-ifunc.c: Likewise.
9140 * string/test-strcpy-ifunc.c: Likewise.
9141 * string/test-strcspn-ifunc.c: Likewise.
9142 * string/test-strlen-ifunc.c: Likewise.
9143 * string/test-strncasecmp-ifunc.c: Likewise.
9144 * string/test-strncat-ifunc.c: Likewise.
9145 * string/test-strncmp-ifunc.c: Likewise.
9146 * string/test-strncpy-ifunc.c: Likewise.
9147 * string/test-strnlen-ifunc.c: Likewise.
9148 * string/test-strpbrk-ifunc.c: Likewise.
9149 * string/test-strrchr-ifunc.c: Likewise.
9150 * string/test-strspn-ifunc.c: Likewise.
9151 * string/test-strstr-ifunc.c: Likewise.
9153 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9155 * benchtests/Makefile: Remove ifunc tests.
9156 * benchtests/bench-string.h: Define TEST_IFUNC.
9157 * benchtests/bench-bcopy-ifunc.c: Remove.
9158 * benchtests/bench-bzero-ifunc.c: Likewise.
9159 * benchtests/bench-memccpy-ifunc.c: Likewise.
9160 * benchtests/bench-memchr-ifunc.c: Likewise.
9161 * benchtests/bench-memcmp-ifunc.c: Likewise.
9162 * benchtests/bench-memcpy-ifunc.c: Likewise.
9163 * benchtests/bench-memmem-ifunc.c: Likewise.
9164 * benchtests/bench-memmove-ifunc.c: Likewise.
9165 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9166 * benchtests/bench-memrchr-ifunc.c: Likewise.
9167 * benchtests/bench-memset-ifunc.c: Likewise.
9168 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9169 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9170 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9171 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9172 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9173 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9174 * benchtests/bench-strcat-ifunc.c: Likewise.
9175 * benchtests/bench-strchr-ifunc.c: Likewise.
9176 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9177 * benchtests/bench-strcmp-ifunc.c: Likewise.
9178 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9179 * benchtests/bench-strcpy-ifunc.c: Likewise.
9180 * benchtests/bench-strcspn-ifunc.c: Likewise.
9181 * benchtests/bench-strlen-ifunc.c: Likewise.
9182 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9183 * benchtests/bench-strncat-ifunc.c: Likewise.
9184 * benchtests/bench-strncmp-ifunc.c: Likewise.
9185 * benchtests/bench-strncpy-ifunc.c: Likewise.
9186 * benchtests/bench-strnlen-ifunc.c: Likewise.
9187 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9188 * benchtests/bench-strrchr-ifunc.c: Likewise.
9189 * benchtests/bench-strsep-ifunc.c: Likewise.
9190 * benchtests/bench-strspn-ifunc.c: Likewise.
9191 * benchtests/bench-strstr-ifunc.c: Likewise.
9193 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9195 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9197 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9199 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9200 * rt/aio.h: Likewise.
9201 * sysdeps/gnu/bits/utmp.h: Likewise.
9202 * sysdeps/gnu/bits/utmpx.h: Likewise.
9203 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9204 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9205 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9206 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9207 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9208 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9209 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9210 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9211 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9213 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9214 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9215 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9217 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9218 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9219 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9220 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9221 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9222 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9223 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9224 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9227 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9229 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9230 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9232 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9234 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9235 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9236 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9239 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9240 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9241 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9242 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9243 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9244 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9246 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9249 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9250 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9252 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9254 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9258 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9261 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9262 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9263 (__fesetround): Remove define.
9264 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9265 rounding and exceptions handling.
9266 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9267 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9268 (__fe_nomask_env): Likewise.
9269 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9270 __fegetround instead of fegetround.
9271 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9274 2013-11-21 Roland McGrath <roland@hack.frob.com>
9276 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9279 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9281 2013-11-21 Meador Inge <meadori@codesourcery.com>
9284 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9285 (encrypt_r): Likewise.
9286 * malloc/obstack.h (obstack_free): Likewise.
9287 * posix/unistd.h (encrypt): Likewise.
9289 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9291 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9292 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9293 DL_CALL_DT_FINI() that call the functions directly.
9294 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9295 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9296 * elf/dl-fini.c: Likewise.
9298 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9300 * malloc/hooks.c (memalign_check): Add alignment rounding.
9301 * malloc/malloc.c (_mid_memalign): New function.
9302 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9303 Implement by calling _mid_memalign.
9304 * manual/probes.texi (Memory Allocation Probes): Remove
9305 memory_valloc_retry and memory_pvalloc_retry.
9307 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9309 * locale/programs/locarchive.c (open_archive): Add const
9310 qualifier to ARCHIVEFNAME and copy default fname to
9314 * libio/tst-widetext.input: Rename Oriya to Odia.
9315 * locale/iso-639.def: Likewise.
9317 * manual/probes.texi (Mathematical Function Probes): Add
9318 documentation for sin, cos, asin and acos probes.
9319 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9320 (__sin32): Add slowasin probe.
9321 (__cos32): Add slowacos probe.
9322 (__mpsin): Add slowsin probe.
9323 (__mpcos): Add slowcos probe.
9325 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9329 thread-local __sim_exceptions_thread and global
9330 __sim_exceptions_global.
9331 (__sim_disabled_exceptions): Change to thread-local
9332 __sim_disabled_exceptions_thread and global
9333 __sim_disabled_exceptions_global.
9334 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9335 and global __sim_round_mode_global.
9336 (__simulate_exceptions): Use thread-local floating-point state and
9337 set global state from it as needed.
9338 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9339 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9340 __sim_round_mode_thread.
9341 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9342 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9343 and global __sim_exceptions_global.
9344 (__sim_disabled_exceptions): Change to thread-local
9345 __sim_disabled_exceptions_thread and global
9346 __sim_disabled_exceptions_global.
9347 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9348 and global __sim_round_mode_global.
9349 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9350 (SIM_SET_GLOBAL): Likewise.
9351 * sysdeps/powerpc/soft-fp/sfp-machine.h
9352 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9353 __sim_round_mode_thread.
9354 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9355 __sim_disabled_exceptions_thread.
9356 (__sim_exceptions): Change to __sim_exceptions_thread.
9357 (__sim_disabled_exceptions): Change to
9358 __sim_disabled_exceptions_thread.
9359 (__sim_round_mode): Change to __sim_round_mode_thread.
9360 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9361 thread-local floating-point state and set global state from it as
9363 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9364 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9365 (__sim_disabled_exceptions): Remove extern declaration.
9366 (feenableexcept): Use thread-local floating-point state and set
9367 global state from it as needed.
9368 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9370 (__sim_disabled_exceptions): Likewise.
9371 (__sim_round_mode): Likewise.
9372 (__fegetenv): Use thread-local floating-point state.
9373 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9374 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9375 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9376 floating-point state and set global state from it as needed.
9377 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9378 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9379 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9381 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9382 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9384 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9385 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9386 Use __sim_round_mode_thread.
9387 * math/test-fenv-tls.c: New file.
9388 * math/Makefile (tests): Add test-fenv-tls.
9389 ($(objpfx)test-fenv-tls): Depend on
9390 $(common-objpfx)nptl/libpthread.so.
9392 2013-11-19 Andreas Schwab <schwab@suse.de>
9394 * locale/programs/locale.c (show_info): Decode wordarray elements.
9395 * locale/categories.def (LC_MONETARY): Add element for
9396 _NL_MONETARY_CRNCYSTR.
9397 * locale/C-monetary.c (conversion_rate): New variable.
9398 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9401 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9403 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9404 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9406 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9408 * elf/Makefile (tst-auxv): New test.
9409 * elf/tst-auxv.c: New
9410 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9412 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9414 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9415 (hidden_proto): Caller changed.
9416 (hidden_tls_proto): New macro.
9417 (libc_hidden_tls_proto): Likewise.
9418 (rtld_hidden_tls_proto): Likewise.
9419 (libm_hidden_tls_proto): Likewise.
9420 (libresolv_hidden_tls_proto): Likewise.
9421 (librt_hidden_tls_proto): Likewise.
9422 (libdl_hidden_tls_proto): Likewise.
9423 (libnss_files_hidden_tls_proto): Likewise.
9424 (libnsl_hidden_tls_proto): Likewise.
9425 (libnss_nisplus_hidden_tls_proto): Likewise.
9426 (libutil_hidden_tls_proto): Likewise.
9428 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9431 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9432 (decompose_rpath): Defer expansion to fillin_rpath.
9433 (_dl_init_paths): Pass linkmap to fillin_rpath.
9435 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9437 * benchtests/Makefile: Add strsep.
9438 * benchtests/bench-strsep.c: New file: strsep benchtest.
9439 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9441 2013-11-18 Andreas Schwab <schwab@suse.de>
9443 * locale/programs/locale.c (show_info) [case byte]: Check for
9444 '\377' instead of '\177'.
9445 * locale/C-monetary.c (not_available): Always use "\377".
9446 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9447 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9448 detect unavailable sign_posn locale elements.
9449 * locale/localeconv.c (__localeconv): For grouping and
9450 mon_grouping handle "\177" and "\377" like no grouping.
9451 (INT_ELEM): New macro. Use it to set all numeric members.
9452 * locale/programs/ld-monetary.c (monetary_read)
9453 <tok_mon_grouping>: Normalize single -1 to the empty string.
9454 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9457 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9461 when we match (nil).
9462 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9464 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9466 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9467 (NO_TEST_INLINE): Update value.
9468 (ERRNO_UNCHANGED): Likewise.
9469 (ERRNO_EDOM): Likewise.
9470 (ERRNO_ERANGE): Likewise.
9471 (IGNORE_RESULT): Likewise.
9472 (check_float_internal): Check signs of NaN results if
9474 (check_complex): Pass TEST_NAN_SIGN flag through to second
9475 check_float_internal call.
9476 (copysign_test_data): Add tests with quiet NaNs as second
9477 argument. Use TEST_NAN_SIGN.
9478 (fabs_test_data): Add test of negative quiet NaN argument. Use
9480 (signbit_test_data): Add tests of quiet NaN argument.
9481 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9483 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9485 (parse_args): Handle function results specified as IGNORE.
9486 * math/libm-test.inc (IGNORE_RESULT): New macro.
9487 (check_float_internal): Do not check numerical result if flag
9489 (check_complex): Pass through IGNORE_RESULT to second
9490 check_float_internal call.
9491 (check_int): Do not check numerical result if flag IGNORE_RESULT
9493 (check_long): Likewise.
9494 (check_bool): Likewise.
9495 (check_longlong): Likewise.
9496 (lrint_test_data): Add tests of infinite and NaN arguments.
9497 (lrint_tonearest_test_data): Likewise.
9498 (lrint_towardzero_test_data): Likewise.
9499 (lrint_downward_test_data): Likewise.
9500 (lrint_upward_test_data): Likewise.
9501 (llrint_test_data): Likewise.
9502 (llrint_tonearest_test_data): Likewise.
9503 (llrint_towardzero_test_data): Likewise.
9504 (llrint_downward_test_data): Likewise.
9505 (llrint_upward_test_data): Likewise.
9506 (lround_test_data): Likewise.
9507 (llround_test_data): Likewise.
9509 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9510 (ERRNO_UNCHANGED): Update value.
9511 (ERRNO_EDOM): Likewise.
9512 (ERRNO_ERANGE): Likewise.
9513 (NO_TEST_INLINE_FLOAT): New macro.
9514 (NO_TEST_INLINE_DOUBLE): Likewise.
9515 (enable_test): New function.
9516 (RUN_TEST_f_f): Check enable_test before running test.
9517 (RUN_TEST_2_f): Likewise.
9518 (RUN_TEST_fff_f): Likewise.
9519 (RUN_TEST_c_f): Likewise.
9520 (RUN_TEST_f_f1): Likewise.
9521 (RUN_TEST_fF_f1): Likewise.
9522 (RUN_TEST_fI_f1): Likewise.
9523 (RUN_TEST_ffI_f1): Likewise.
9524 (RUN_TEST_c_c): Likewise.
9525 (RUN_TEST_cc_c): Likewise.
9526 (RUN_TEST_f_i): Likewise.
9527 (RUN_TEST_f_i_tg): Likewise.
9528 (RUN_TEST_ff_i_tg): Likewise.
9529 (RUN_TEST_f_b): Likewise.
9530 (RUN_TEST_f_b_tg): Likewise.
9531 (RUN_TEST_f_l): Likewise.
9532 (RUN_TEST_f_L): Likewise.
9533 (RUN_TEST_fFF_11): Likewise.
9534 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9536 (cosh_test_data): Likewise.
9537 (exp_test_data): Likewise.
9538 (expm1_test_data): Likewise.
9539 (hypot_test_data): Likewise.
9540 (pow_test_data): Likewise.
9541 (sinh_test_data): Likewise.
9542 (tanh_test_data): Likewise.
9543 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9546 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9547 tests with quiet NaN input and output.
9548 (acosh_test_data): Likewise.
9549 (asin_test_data): Likewise.
9550 (asinh_test_data): Likewise.
9551 (atan_test_data): Likewise.
9552 (atanh_test_data): Likewise.
9553 (atan2_test_data): Likewise.
9554 (cbrt_test_data): Likewise.
9555 (cos_test_data): Likewise.
9556 (cosh_test_data): Likewise.
9557 (erf_test_data): Likewise.
9558 (erfc_test_data): Likewise.
9559 (exp_test_data): Likewise.
9560 (exp10_test_data): Likewise.
9561 (exp2_test_data): Likewise.
9562 (expm1_test_data): Likewise.
9563 (hypot_test_data): Likewise.
9564 (j0_test_data): Likewise.
9565 (j1_test_data): Likewise.
9566 (jn_test_data): Likewise.
9567 (lgamma_test_data): Likewise.
9568 (log_test_data): Likewise.
9569 (log10_test_data): Likewise.
9570 (log1p_test_data): Likewise.
9571 (log2_test_data): Likewise.
9572 (pow_test_data): Likewise.
9573 (scalb_test_data): Likewise.
9574 (sin_test_data): Likewise.
9575 (sincos_test_data): Likewise.
9576 (sinh_test_data): Likewise.
9577 (tan_test_data): Likewise.
9578 (tanh_test_data): Likewise.
9579 (tgamma_test_data): Likewise.
9580 (y0_test_data): Likewise.
9581 (y1_test_data): Likewise.
9582 (yn_test_data): Likewise.
9585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9586 argument being NaN and avoid computations with second argument in
9588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9589 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9590 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9592 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9594 * locale/iso-639.def: Add Chitwani Tharu (the).
9596 2013-11-14 Andreas Schwab <schwab@suse.de>
9598 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9599 word instead of empty string.
9601 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9604 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9606 (__fe_nomask_env): Likewise.
9608 2013-11-13 Steve Ellcey <sellcey@mips.com>
9610 * benchtests/bench-timing.h: Include time.h.
9612 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9615 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9617 * sysdeps/unix/sysv/linux/configure: Regenerated.
9619 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9622 * stdlib/strtod_l.c (round_and_return): Do not consider
9623 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9624 exponent one less than half the least subnormal exponent.
9625 * stdlib/test-strtod-round-data: Add more tests.
9626 * stdlib/tst-strtod-round.c (tests): Regenerated.
9628 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9631 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9632 (__fe_mask_env): Likewise.
9633 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9634 libm_hidden_proto and add function prototype.
9635 (__fe_mask_env): Add function prototype.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9637 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9639 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9641 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9643 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9645 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9646 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9648 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9650 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9651 of htab_find_slot().
9653 2013-11-11 David S. Miller <davem@davemloft.net>
9656 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9657 symbol in the non-vis3 case in static builds.
9658 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9659 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9660 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9661 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9663 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9666 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9669 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9671 * benchtests/Makefile: Add bench-strtod.
9672 * benchtests/bench-strtod.c: New file: strtod benchtest
9674 2013-11-11 Andreas Schwab <schwab@suse.de>
9677 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9678 terminating NUL in key length.
9680 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9683 Add artificial ODP entry for vDSO symbol for PPC64.
9684 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9685 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9687 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9690 * nss/getent.c (services_keys): Recognize services starting with digit.
9692 2013-11-06 David S. Miller <davem@davemloft.net>
9695 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9696 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9698 2013-11-06 Will Newton <will.newton@linaro.org>
9700 * manual/memory.texi (Malloc Examples): Remove register
9701 keyword from examples.
9703 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9705 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9707 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9710 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9711 depending on [__GCC_IEC_559 > 0].
9712 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9713 depending on [__GCC_IEC_559_COMPLEX > 0].
9715 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9717 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9720 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9722 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9724 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9727 * malloc/malloc (malloc_info): Do not handle first bin as
9730 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9732 * locale/iso-639.def: Add Central Nahuatl (nhn).
9734 2013-11-01 Bruno Haible <bruno@clisp.org>
9737 * manual/math.texi (BSD Random): Specify range upper bound as
9740 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9742 * locale/iso-639.def: Add Meadow Mari (mhr).
9744 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9746 [BZ #14752], [BZ #15763]
9747 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9749 * rt/tst_shm.c: Add test for escaping directory.
9751 2013-10-31 Andreas Schwab <schwab@suse.de>
9754 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9755 followed by 'x' as part of digit sequence.
9756 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9758 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9761 * configure.ac: allow GNU Make 4.0 and greater.
9762 * configure: Regenerated.
9764 2013-10-30 Will Newton <will.newton@linaro.org>
9767 * malloc/hooks.c (memalign_check): Limit alignment to the
9768 maximum representable power of two.
9769 * malloc/malloc.c (__libc_memalign): Likewise.
9770 * malloc/tst-memalign.c (do_test): Add test for very
9771 large alignment values.
9772 * malloc/tst-posix_memalign.c (do_test): Likewise.
9774 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9777 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9778 (munmap_chunk): Likewise.
9779 (mremap_chunk): Likewise.
9781 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9784 * stdlib/div.c (div): Remove obsolete code.
9785 * stdlib/ldiv.c (ldiv): Likewise.
9786 * stdlib/lldiv.c (lldiv): Likewise.
9788 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9791 * nss/nss_files/files-XXX.c (get_contents_ret): New
9793 (get_contents): New function.
9794 (internal_getent): Use it. Expand size of LINEBUFLEN.
9796 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9798 * configure.in: Moved to ...
9799 * configure.ac: ... here. Change reference to configure.in
9801 * sysdeps/arm/preconfigure.ac: ... here.
9802 configure.in to configure.ac.
9803 * sysdeps/gnu/configure.in: Moved to ...
9804 * sysdeps/gnu/configure.ac: ... here.
9805 * sysdeps/i386/configure.in: Moved to ...
9806 * sysdeps/i386/configure.ac: ... here.
9807 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9808 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9809 * sysdeps/mach/configure.in: Moved to ...
9810 * sysdeps/mach/configure.ac: ... here.
9811 * sysdeps/mach/hurd/configure.in: Moved to ...
9812 * sysdeps/mach/hurd/configure.ac: ... here.
9813 * sysdeps/powerpc/configure.in: Moved to ...
9814 * sysdeps/powerpc/configure.ac: ... here.
9815 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9816 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9817 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9818 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9819 * sysdeps/s390/s390-32/configure.in: Moved to ...
9820 * sysdeps/s390/s390-32/configure.ac: ... here.
9821 * sysdeps/s390/s390-64/configure.in: Moved to ...
9822 * sysdeps/s390/s390-64/configure.ac: ... here.
9823 * sysdeps/sh/configure.in: Moved to ...
9824 * sysdeps/sh/configure.ac: ... here.
9825 * sysdeps/sparc/configure.in: Moved to ...
9826 * sysdeps/sparc/configure.ac: ... here.
9827 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9828 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9829 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9830 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9831 * sysdeps/x86_64/configure.in: Moved to ...
9832 * sysdeps/x86_64/configure.ac: ... here.
9833 * sysdeps/x86_64/preconfigure.in: Moved to ...
9834 * sysdeps/x86_64/preconfigure.ac: ... here.
9835 * aclocal.m4: Change reference to configure.in to configure.ac.
9836 * config.h.in: Likewise.
9837 * manual/install.texi: Likewise.
9838 * manual/maint.texi: Likewise.
9839 * Makefile: Likewise.
9840 * malloc/Makefile: Likewise.
9841 * nscd/Makefile: Likewise.
9842 * Makeconfig: Change reference to configure.in and
9843 preconfigure.in to configure.ac and preconfigure.ac
9845 * INSTALL: Regenerated.
9846 * configure: Likewise.
9847 * sysdeps/gnu/configure: Likewise.
9848 * sysdeps/i386/configure: Likewise.
9849 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9850 * sysdeps/mach/configure: Likewise.
9851 * sysdeps/mach/hurd/configure: Likewise.
9852 * sysdeps/powerpc/configure: Likewise.
9853 * sysdeps/powerpc/powerpc32/configure: Likewise.
9854 * sysdeps/powerpc/powerpc64/configure: Likewise.
9855 * sysdeps/s390/s390-32/configure: Likewise.
9856 * sysdeps/s390/s390-64/configure: Likewise.
9857 * sysdeps/sh/configure: Likewise.
9858 * sysdeps/sparc/configure: Likewise.
9859 * sysdeps/unix/sysv/linux/configure: Likewise.
9860 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9861 * sysdeps/x86_64/configure: Likewise.
9862 * sysdeps/x86_64/preconfigure: Likewise.
9864 2013-10-29 Andreas Schwab <schwab@suse.de>
9866 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9868 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9870 * benchtests/pow-inputs: Add new inputs.
9872 * benchtests/exp-inputs: Add new inputs.
9874 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9875 conditional check for return value.
9876 (__cos32): Likewise.
9878 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9881 to provide a boost for large inputs with word alignment.
9882 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9883 implementation based on optimized PPC64 strcpy.
9884 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9885 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9886 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9887 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9889 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9892 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9894 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9897 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9898 * time/tst-strptime.c (day_tests): Add testcase.
9900 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9903 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9905 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9908 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9909 MAP_FAILED on error.
9911 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9914 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9915 heap for large requests.
9917 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9920 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9921 result if the result has no associated interface.
9922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9923 interface for all 127.X.Y.Z addresses.
9925 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9927 * locale/iso-639.def: Add Ligurian (lij)
9929 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9932 * sunrpc/rpc_main.c: Document rpcgen -5.
9934 2013-10-19 Michael Stahl <mstahl@redhat.com>
9936 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9938 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9941 * posix/glob.c: Match only directories when trailing slash is present.
9942 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9943 (main): Add testcase.
9945 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9948 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9950 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9952 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9953 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9954 AUTH_DES and cindex for FIPS 140-2.
9955 (DES Encryption): Add cindex FIPS 46-3.
9957 * locale/locarchive.h (struct locarhandle): Add fname.
9958 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9959 if an optional argument was specified to --list-archive,
9961 * locale/programs/locarchive.c (show_archive_content): Take new
9962 argument fname and pass it via ah.fname to open_archive.
9963 * locale/programs/localedef.h: Update decl.
9964 (open_archive): If AH->fname is non-null, open that file
9965 rather than the default file name, and don't ignore ENOENT.
9966 (create_archive): Set AH.fname to NULL.
9967 (delete_locales_from_archive): Likewise.
9968 (add_locales_to_archive): Likewise.
9969 * locale/programs/locfile.c (write_all_categories): Likewise.
9971 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9972 Aldy Hernandez <aldyh@redhat.com>
9974 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9975 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9979 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9980 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9981 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9983 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9985 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9986 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9987 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9988 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9992 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9996 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9997 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9999 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10000 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10001 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10002 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10004 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10005 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10006 * sysdeps/powerpc/preconfigure: Likewise.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10009 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10010 Replace contents of file by #include of <fenv_libc.h>.
10011 * sysdeps/powerpc/soft-fp/sfp-machine.h
10012 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10014 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10017 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10021 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10023 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10027 Allow copysignl PLT reference to be missing.
10029 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10030 Joseph Myers <joseph@codesourcery.com
10033 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10035 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10037 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10039 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10040 * elf/tst-tls1.c: Likewise.
10041 * elf/tst-tls10.h: Likewise.
10042 * elf/tst-tls14.c: Likewise.
10043 * elf/tst-tls2.c: Likewise.
10044 * elf/tst-tls3.c: Likewise.
10045 * elf/tst-tls4.c: Likewise.
10046 * elf/tst-tls5.c: Likewise.
10047 * elf/tst-tls6.c: Likewise.
10048 * elf/tst-tls7.c: Likewise.
10049 * elf/tst-tls8.c: Likewise.
10050 * elf/tst-tls9.c: Likewise.
10051 * elf/tst-tlsmod1.c: Likewise.
10052 * elf/tst-tlsmod13.c: Likewise.
10053 * elf/tst-tlsmod13a.c: Likewise.
10054 * elf/tst-tlsmod14a.c: Likewise.
10055 * elf/tst-tlsmod16a.c: Likewise.
10056 * elf/tst-tlsmod16b.c: Likewise.
10057 * elf/tst-tlsmod2.c: Likewise.
10058 * elf/tst-tlsmod3.c: Likewise.
10059 * elf/tst-tlsmod4.c: Likewise.
10060 * elf/tst-tlsmod5.c: Likewise.
10061 * elf/tst-tlsmod6.c: Likewise.
10063 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10066 * malloc/malloc.c: remove checks for statistics.
10068 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10071 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10072 * inet/tst-network.c: Add testcase.
10074 2013-10-17 Andreas Schwab <schwab@suse.de>
10077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10078 to determine canonical name.
10080 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10082 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10083 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10106 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10107 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10141 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10144 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10145 make result into a quiet NaN.
10147 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10149 * soft-fp/adddf3.c: Fix horizontal whitespace.
10150 * soft-fp/addsf3.c: Likewise.
10151 * soft-fp/addtf3.c: Likewise.
10152 * soft-fp/divdf3.c: Likewise.
10153 * soft-fp/divsf3.c: Likewise.
10154 * soft-fp/divtf3.c: Likewise.
10155 * soft-fp/double.h: Likewise.
10156 * soft-fp/eqdf2.c: Likewise.
10157 * soft-fp/eqsf2.c: Likewise.
10158 * soft-fp/eqtf2.c: Likewise.
10159 * soft-fp/extenddftf2.c: Likewise.
10160 * soft-fp/extended.h: Likewise.
10161 * soft-fp/extendsfdf2.c: Likewise.
10162 * soft-fp/extendsftf2.c: Likewise.
10163 * soft-fp/extendxftf2.c: Likewise.
10164 * soft-fp/fixdfdi.c: Likewise.
10165 * soft-fp/fixdfsi.c: Likewise.
10166 * soft-fp/fixdfti.c: Likewise.
10167 * soft-fp/fixsfdi.c: Likewise.
10168 * soft-fp/fixsfsi.c: Likewise.
10169 * soft-fp/fixsfti.c: Likewise.
10170 * soft-fp/fixtfdi.c: Likewise.
10171 * soft-fp/fixtfsi.c: Likewise.
10172 * soft-fp/fixtfti.c: Likewise.
10173 * soft-fp/fixunsdfdi.c: Likewise.
10174 * soft-fp/fixunsdfsi.c: Likewise.
10175 * soft-fp/fixunsdfti.c: Likewise.
10176 * soft-fp/fixunssfdi.c: Likewise.
10177 * soft-fp/fixunssfsi.c: Likewise.
10178 * soft-fp/fixunssfti.c: Likewise.
10179 * soft-fp/fixunstfdi.c: Likewise.
10180 * soft-fp/fixunstfsi.c: Likewise.
10181 * soft-fp/fixunstfti.c: Likewise.
10182 * soft-fp/floatdidf.c: Likewise.
10183 * soft-fp/floatdisf.c: Likewise.
10184 * soft-fp/floatditf.c: Likewise.
10185 * soft-fp/floatsidf.c: Likewise.
10186 * soft-fp/floatsisf.c: Likewise.
10187 * soft-fp/floatsitf.c: Likewise.
10188 * soft-fp/floattidf.c: Likewise.
10189 * soft-fp/floattisf.c: Likewise.
10190 * soft-fp/floattitf.c: Likewise.
10191 * soft-fp/floatundidf.c: Likewise.
10192 * soft-fp/floatundisf.c: Likewise.
10193 * soft-fp/floatunditf.c: Likewise.
10194 * soft-fp/floatunsidf.c: Likewise.
10195 * soft-fp/floatunsisf.c: Likewise.
10196 * soft-fp/floatunsitf.c: Likewise.
10197 * soft-fp/floatuntidf.c: Likewise.
10198 * soft-fp/floatuntisf.c: Likewise.
10199 * soft-fp/floatuntitf.c: Likewise.
10200 * soft-fp/fmadf4.c: Likewise.
10201 * soft-fp/fmasf4.c: Likewise.
10202 * soft-fp/fmatf4.c: Likewise.
10203 * soft-fp/gedf2.c: Likewise.
10204 * soft-fp/gesf2.c: Likewise.
10205 * soft-fp/getf2.c: Likewise.
10206 * soft-fp/ledf2.c: Likewise.
10207 * soft-fp/lesf2.c: Likewise.
10208 * soft-fp/letf2.c: Likewise.
10209 * soft-fp/muldf3.c: Likewise.
10210 * soft-fp/mulsf3.c: Likewise.
10211 * soft-fp/multf3.c: Likewise.
10212 * soft-fp/negdf2.c: Likewise.
10213 * soft-fp/negsf2.c: Likewise.
10214 * soft-fp/negtf2.c: Likewise.
10215 * soft-fp/op-1.h: Likewise.
10216 * soft-fp/op-2.h: Likewise.
10217 * soft-fp/op-4.h: Likewise.
10218 * soft-fp/op-8.h: Likewise.
10219 * soft-fp/op-common.h: Likewise.
10220 * soft-fp/quad.h: Likewise.
10221 * soft-fp/single.h: Likewise.
10222 * soft-fp/soft-fp.h: Likewise.
10223 * soft-fp/sqrtdf2.c: Likewise.
10224 * soft-fp/sqrtsf2.c: Likewise.
10225 * soft-fp/sqrttf2.c: Likewise.
10226 * soft-fp/subdf3.c: Likewise.
10227 * soft-fp/subsf3.c: Likewise.
10228 * soft-fp/subtf3.c: Likewise.
10229 * soft-fp/truncdfsf2.c: Likewise.
10230 * soft-fp/trunctfdf2.c: Likewise.
10231 * soft-fp/trunctfsf2.c: Likewise.
10232 * soft-fp/trunctfxf2.c: Likewise.
10233 * soft-fp/unorddf2.c: Likewise.
10234 * soft-fp/unordsf2.c: Likewise.
10235 * soft-fp/unordtf2.c: Likewise.
10237 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10239 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10240 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10242 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10244 * elf/dl-libc.c: Clear initfini list after freeing.
10246 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10248 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10249 * soft-fp/addsf3.c: Likewise.
10250 * soft-fp/addtf3.c: Likewise.
10251 * soft-fp/divdf3.c: Likewise.
10252 * soft-fp/divsf3.c: Likewise.
10253 * soft-fp/divtf3.c: Likewise.
10254 * soft-fp/double.h: Likewise.
10255 * soft-fp/eqdf2.c: Likewise.
10256 * soft-fp/eqsf2.c: Likewise.
10257 * soft-fp/eqtf2.c: Likewise.
10258 * soft-fp/extenddftf2.c: Likewise.
10259 * soft-fp/extended.h: Likewise.
10260 * soft-fp/extendsfdf2.c: Likewise.
10261 * soft-fp/extendsftf2.c: Likewise.
10262 * soft-fp/extendxftf2.c: Likewise.
10263 * soft-fp/fixdfdi.c: Likewise.
10264 * soft-fp/fixdfsi.c: Likewise.
10265 * soft-fp/fixdfti.c: Likewise.
10266 * soft-fp/fixsfdi.c: Likewise.
10267 * soft-fp/fixsfsi.c: Likewise.
10268 * soft-fp/fixsfti.c: Likewise.
10269 * soft-fp/fixtfdi.c: Likewise.
10270 * soft-fp/fixtfsi.c: Likewise.
10271 * soft-fp/fixtfti.c: Likewise.
10272 * soft-fp/fixunsdfdi.c: Likewise.
10273 * soft-fp/fixunsdfsi.c: Likewise.
10274 * soft-fp/fixunsdfti.c: Likewise.
10275 * soft-fp/fixunssfdi.c: Likewise.
10276 * soft-fp/fixunssfsi.c: Likewise.
10277 * soft-fp/fixunssfti.c: Likewise.
10278 * soft-fp/fixunstfdi.c: Likewise.
10279 * soft-fp/fixunstfsi.c: Likewise.
10280 * soft-fp/fixunstfti.c: Likewise.
10281 * soft-fp/floatdidf.c: Likewise.
10282 * soft-fp/floatdisf.c: Likewise.
10283 * soft-fp/floatditf.c: Likewise.
10284 * soft-fp/floatsidf.c: Likewise.
10285 * soft-fp/floatsisf.c: Likewise.
10286 * soft-fp/floatsitf.c: Likewise.
10287 * soft-fp/floattidf.c: Likewise.
10288 * soft-fp/floattisf.c: Likewise.
10289 * soft-fp/floattitf.c: Likewise.
10290 * soft-fp/floatundidf.c: Likewise.
10291 * soft-fp/floatundisf.c: Likewise.
10292 * soft-fp/floatunsidf.c: Likewise.
10293 * soft-fp/floatunsisf.c: Likewise.
10294 * soft-fp/floatuntidf.c: Likewise.
10295 * soft-fp/floatuntisf.c: Likewise.
10296 * soft-fp/floatuntitf.c: Likewise.
10297 * soft-fp/fmadf4.c: Likewise.
10298 * soft-fp/fmasf4.c: Likewise.
10299 * soft-fp/fmatf4.c: Likewise.
10300 * soft-fp/gedf2.c: Likewise.
10301 * soft-fp/gesf2.c: Likewise.
10302 * soft-fp/getf2.c: Likewise.
10303 * soft-fp/ledf2.c: Likewise.
10304 * soft-fp/lesf2.c: Likewise.
10305 * soft-fp/letf2.c: Likewise.
10306 * soft-fp/muldf3.c: Likewise.
10307 * soft-fp/mulsf3.c: Likewise.
10308 * soft-fp/multf3.c: Likewise.
10309 * soft-fp/negdf2.c: Likewise.
10310 * soft-fp/negsf2.c: Likewise.
10311 * soft-fp/negtf2.c: Likewise.
10312 * soft-fp/op-1.h: Likewise.
10313 * soft-fp/op-2.h: Likewise.
10314 * soft-fp/op-4.h: Likewise.
10315 * soft-fp/op-8.h: Likewise.
10316 * soft-fp/op-common.h: Likewise.
10317 * soft-fp/quad.h: Likewise.
10318 * soft-fp/single.h: Likewise.
10319 * soft-fp/soft-fp.h: Likewise.
10320 * soft-fp/sqrtdf2.c: Likewise.
10321 * soft-fp/sqrtsf2.c: Likewise.
10322 * soft-fp/sqrttf2.c: Likewise.
10323 * soft-fp/subdf3.c: Likewise.
10324 * soft-fp/subsf3.c: Likewise.
10325 * soft-fp/subtf3.c: Likewise.
10326 * soft-fp/truncdfsf2.c: Likewise.
10327 * soft-fp/trunctfdf2.c: Likewise.
10328 * soft-fp/trunctfsf2.c: Likewise.
10329 * soft-fp/trunctfxf2.c: Likewise.
10330 * soft-fp/unorddf2.c: Likewise.
10331 * soft-fp/unordsf2.c: Likewise.
10332 * soft-fp/unordtf2.c: Likewise.
10334 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10337 * misc/error.c (error_tail): Fix possible buffer overflow.
10339 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10342 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10345 2013-10-14 P. J. McDermott <pj@pehjota.net>
10348 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10349 testing pipefail option.
10351 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10353 * soft-fp/double.h: Indent preprocessor directives inside #if.
10354 * soft-fp/extended.h: Likewise.
10355 * soft-fp/op-2.h: Likewise.
10356 * soft-fp/op-4.h: Likewise.
10357 * soft-fp/op-common.h: Likewise.
10358 * soft-fp/quad.h: Likewise.
10359 * soft-fp/single.h: Likewise.
10360 * soft-fp/soft-fp.h: Likewise.
10362 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10364 * iconv/iconv_prog.c: Fix typos.
10365 * stdio-common/psiginfo-data.h: Likewise.
10367 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10370 * locale/setlocale.c: Fix typo.
10372 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10375 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10376 signaling NaN arguments.
10377 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10378 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10381 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10382 unordered operands.
10383 * soft-fp/gesf2.c (__gesf2): Likewise.
10384 * soft-fp/getf2.c (__getf2): Likewise.
10385 * soft-fp/ledf2.c (__ledf2): Likewise.
10386 * soft-fp/lesf2.c (__lesf2): Likewise.
10387 * soft-fp/letf2.c (__letf2): Likewise.
10389 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10390 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10391 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10392 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10393 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10394 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10395 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10396 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10397 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10398 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10399 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10400 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10401 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10402 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10403 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10404 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10405 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10406 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10407 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10408 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10409 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10410 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10411 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10412 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10413 * soft-fp/floattidf.c (__floattidf): Likewise.
10414 * soft-fp/floattisf.c (__floattisf): Likewise.
10415 * soft-fp/floattitf.c (__floattitf): Likewise.
10416 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10417 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10418 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10419 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10420 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10421 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10422 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10423 * soft-fp/gesf2.c (__gesf2): Likewise.
10424 * soft-fp/getf2.c (__getf2): Likewise.
10425 * soft-fp/ledf2.c (__ledf2): Likewise.
10426 * soft-fp/lesf2.c (__lesf2): Likewise.
10427 * soft-fp/letf2.c (__letf2): Likewise.
10429 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10430 Undefine and redefine.
10431 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10432 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10433 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10434 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10435 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10436 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10437 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10438 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10439 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10440 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10441 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10442 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10443 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10444 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10445 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10448 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10449 without decrementing exponent if mantissa >= that for the
10450 denominator, not >.
10451 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10452 denominator, not >. Decrement exponent in < case instead of
10453 incrementing in >= case.
10454 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10455 without decrementing exponent if mantissa >= that for the
10456 denominator, not >.
10458 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10459 computing saturated result for unsigned overflow.
10461 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10462 Jeff Law <law@redhat.com>
10464 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10465 (atan2Mp): Add systemtap probe marker.
10466 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10467 (__ieee754_log): Add systemtap probe marker.
10468 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10469 (atanMp): Add systemtap probe marker.
10470 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10471 (tanMp): Add systemtap probe marker.
10472 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10473 (__slowexp): Add systemtap probe marker.
10474 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10475 (__slowpow): Add systemtap probe marker.
10476 * manual/probes.texi: Document probes.
10478 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10481 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10483 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10485 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10486 written to buffer but not flushed.
10487 * libio/iofwrite_u.c: Likewise.
10488 * libio/iopadn.c: Return bytes returned even if EOF was
10490 * libio/iowpadn.c: Likewise.
10491 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10492 if _IO_padn does not write the whole buffer.
10493 [!COMPILE_WPRINTF] (PAD): Likewise.
10495 2013-10-10 David S. Miller <davem@davemloft.net>
10497 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10500 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10502 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10503 instead of FSF address.
10504 * soft-fp/fixdfti.c: Likewise.
10505 * soft-fp/fixsfti.c: Likewise.
10506 * soft-fp/fixtfti.c: Likewise.
10507 * soft-fp/fixunsdfti.c: Likewise.
10508 * soft-fp/fixunssfti.c: Likewise.
10509 * soft-fp/fixunstfti.c: Likewise.
10510 * soft-fp/floattidf.c: Likewise.
10511 * soft-fp/floattisf.c: Likewise.
10512 * soft-fp/floattitf.c: Likewise.
10513 * soft-fp/floatuntidf.c: Likewise.
10514 * soft-fp/floatuntisf.c: Likewise.
10515 * soft-fp/floatuntitf.c: Likewise.
10516 * soft-fp/trunctfxf2.c: Likewise.
10518 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10519 * soft-fp/fixdfti.c: Likewise.
10520 * soft-fp/fixsfti.c: Likewise.
10521 * soft-fp/fixtfti.c: Likewise.
10522 * soft-fp/fixunsdfti.c: Likewise.
10523 * soft-fp/fixunssfti.c: Likewise.
10524 * soft-fp/fixunstfti.c: Likewise.
10525 * soft-fp/floattidf.c: Likewise.
10526 * soft-fp/floattisf.c: Likewise.
10527 * soft-fp/floattitf.c: Likewise.
10528 * soft-fp/floatuntidf.c: Likewise.
10529 * soft-fp/floatuntisf.c: Likewise.
10530 * soft-fp/floatuntitf.c: Likewise.
10531 * soft-fp/trunctfxf2.c: Likewise.
10533 2013-10-10 David S. Miller <davem@davemloft.net>
10535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10537 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10539 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10540 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10541 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10542 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10543 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10544 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10545 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10548 for NaNs before doing comparisons on argument.
10549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10552 2013-10-10 Will Newton <will.newton@linaro.org>
10554 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10555 passed to _int_memalign does not overflow.
10557 2013-10-10 Torvald Riegel <triegel@redhat.com>
10559 * scripts/bench.pl: Add include-sources directive.
10560 * benchtests/README: Update documentation.
10562 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10564 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10565 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10566 instead of FP_INIT_ROUNDMODE.
10567 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10568 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10571 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10572 copy class of input value.
10573 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10574 not handle exceptions.
10575 * soft-fp/negsf2.c (__negsf2): Likewise.
10576 * soft-fp/negtf2.c (__negtf2): Likewise.
10577 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10579 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10581 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10582 semicolon. From Linux kernel.
10584 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10586 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10588 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10591 * manual/socket.texi: Added statement about buffer
10592 for gethostbyname2_r.
10594 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10596 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10597 Use .p2align directive instead, throughout.
10598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10599 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10600 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10603 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10604 * sysdeps/x86_64/strchr.S: Likewise.
10605 * sysdeps/x86_64/strrchr.S: Likewise.
10607 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10609 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10611 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10613 * sysdeps/generic/math_private.h (__mpsin1): Remove
10615 (__mpcos1): Likewise.
10616 (__mpsin): New argument __range_reduce.
10617 (__mpcos): Likewise.
10618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10619 (slow): Use __mpsin and __mpcos.
10623 (sloww1): Likewise.
10624 (sloww2): Likewise.
10625 (bsloww): Likewise.
10626 (bsloww1): Likewise.
10627 (bsloww2): Likewise.
10628 (cslow2): Likewise.
10629 (csloww): Likewise.
10630 (csloww1): Likewise.
10631 (csloww2): Likewise.
10632 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10633 range_reduce. Merge in __mpsin1.
10634 (__mpcos): Likewise.
10635 (__mpsin1): Remove.
10636 (__mpcos1): Likewise.
10638 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10640 * locale/loadlocale.c (_nl_intern_locale_data): Use
10642 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10643 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10644 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10645 obstack data is appropriately aligned.
10646 (obstack_int32_grow_fast): Likewise.
10647 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10648 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10649 (add_locale_uint32_array): Likewise.
10651 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10653 * benchtests/Makefile: Remove ARGLIST and RET variables.
10654 ($(objpfx)bench-%.c): Pass only function name to the script.
10655 * benchtests/README: Update documentation.
10656 * benchtests/acos-inputs: Add new directives.
10657 * benchtests/acosh-inputs: Likewise.
10658 * benchtests/asin-inputs: Likewise.
10659 * benchtests/asinh-inputs: Likewise.
10660 * benchtests/atan-inputs: Likewise.
10661 * benchtests/atanh-inputs: Likewise.
10662 * benchtests/cos-inputs: Likewise.
10663 * benchtests/cosh-inputs: Likewise.
10664 * benchtests/exp-inputs: Likewise.
10665 * benchtests/log-inputs: Likewise.
10666 * benchtests/pow-inputs: Likewise.
10667 * benchtests/rint-inputs: Likewise.
10668 * benchtests/sin-inputs: Likewise.
10669 * benchtests/sinh-inputs: Likewise.
10670 * benchtests/tan-inputs: Likewise.
10671 * benchtests/tanh-inputs: Likewise.
10672 * scripts/bench.pl: Add support for new directives.
10674 2013-10-07 Alan Modra <amodra@gmail.com>
10676 * README: Fix careless merge.
10678 2013-10-05 Alan Modra <amodra@gmail.com>
10680 * NEWS: Mention powerpc64le support and bugs fixed.
10681 * README: Both big-endian and little-endian powerpc64 supported.
10683 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10685 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10686 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10687 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10688 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10690 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10692 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10695 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10697 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10698 Move -mhard-float appending from
10699 ports/sysdeps/powerpc/powerpc32/Makefile.
10700 [$(with-fp) = yes] (ASFLAGS): Likewise.
10701 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10702 * sysdeps/powerpc/nofpu: Move directory from
10703 ports/sysdeps/powerpc/nofpu.
10704 * sysdeps/powerpc/soft-fp: Move directory from
10705 ports/sysdeps/powerpc/soft-fp.
10706 * sysdeps/powerpc/powerpc32/405: Move directory from
10707 ports/sysdeps/powerpc/powerpc32/405.
10708 * sysdeps/powerpc/powerpc32/440: Move directory from
10709 ports/sysdeps/powerpc/powerpc32/440.
10710 * sysdeps/powerpc/powerpc32/464: Move directory from
10711 ports/sysdeps/powerpc/powerpc32/464.
10712 * sysdeps/powerpc/powerpc32/476: Move directory from
10713 ports/sysdeps/powerpc/powerpc32/476.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10715 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10717 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10719 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10721 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10723 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10724 * README: Update for powerpc-*-linux-gnu software floating point
10727 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10728 case to powerpc/powerpc32*.
10729 * sysdeps/unix/sysv/linux/configure: Regenerated.
10731 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10732 (_FPU_MASK_OM): Define as 0x04.
10733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10741 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10744 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10747 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10748 and setcontext_e500.
10750 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10752 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10754 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10756 * manual/threads.texi (Default Thread Attributes): Fix typo.
10758 2013-10-04 Will Newton <will.newton@linaro.org>
10760 * malloc/Makefile: Add tst-memalign.
10761 * malloc/tst-memalign.c: New file.
10763 * malloc/tst-posix_memalign.c: Add comments.
10764 (do_test): Add comments and call free on all potentially
10765 allocated pointers. Add space after cast.
10767 * malloc/tst-pvalloc.c: Add comments.
10768 (do_test): Add comments and call free on all potentially
10769 allocated pointers. Remove duplicate check for NULL pointer.
10770 Add space after cast.
10772 * malloc/tst-valloc.c: Add comments.
10773 (do_test): Add comments and call free on all potentially
10774 allocated pointers. Remove duplicate check for NULL pointer.
10775 Add space after cast.
10777 2013-10-04 Alan Modra <amodra@gmail.com>
10779 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10780 Use stdint types in rather than __attribute__((mode())).
10781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10783 2013-10-04 Alan Modra <amodra@gmail.com>
10785 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10786 Correct handling of unaligned relocs for little-endian.
10787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10789 2013-10-04 Alan Modra <amodra@gmail.com>
10791 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10792 * configure: Regenerate.
10793 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10794 * shlib-versions: Likewise.
10796 2013-10-04 Alan Modra <amodra@gmail.com>
10798 * string/tester.c (test_memrchr): Increment reported test cycle.
10800 2013-10-04 Alan Modra <amodra@gmail.com>
10802 * string/test-memcpy.c (do_one_test): When reporting errors, print
10803 string address and don't overrun end of string.
10805 2013-10-04 Alan Modra <amodra@gmail.com>
10807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10808 insrdi. Make better use of reg selection to speed exit slightly.
10809 Schedule entry path a little better. Remove useless "are we done"
10810 checks on entry to main loop. Handle wrapping around zero address.
10811 Correct main loop count. Handle single left-over word from main
10812 loop inline rather than by using loop_small. Remove extra word
10813 case in loop_small caused by wrong loop count. Add little-endian
10815 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10818 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10819 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10820 support. Avoid rlwimi.
10821 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10823 2013-10-04 Alan Modra <amodra@gmail.com>
10825 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10826 insrdi. Formatting.
10827 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10828 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10829 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10830 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10831 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10834 2013-10-04 Alan Modra <amodra@gmail.com>
10836 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10837 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10839 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10840 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10841 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10843 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10844 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10845 use of regs. Use power7 mtocrf. Tidy function tails.
10847 2013-10-04 Alan Modra <amodra@gmail.com>
10849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10850 Formatting. Consistently use rXXX register defines or rN defines.
10851 Use early exit labels that avoid restoring unused non-volatile regs.
10852 Make cr field use more consistent with rWORDn compares. Rename
10853 regs used as shift registers for unaligned loop, using rN defines
10854 for short lifetime/multiple use regs.
10855 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10856 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10857 addi 1,1,64 to pop stack frame. Simplify return value code.
10858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10860 2013-10-04 Alan Modra <amodra@gmail.com>
10862 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10863 support. Correct typos, formatting. Optimize tail. Use insrdi
10864 rather than rlwimi.
10865 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10866 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10867 little-endian support. Correct typos.
10868 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10869 rather than rlwimi.
10870 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10871 in loop and entry code to keep "and." results.
10872 (strchr): Add little-endian support. Comment. Move cntlzd
10874 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10876 2013-10-04 Alan Modra <amodra@gmail.com>
10878 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10879 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10880 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10883 2013-10-04 Alan Modra <amodra@gmail.com>
10885 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10886 (rTMP): Define as r11.
10887 (strcmp): Add little-endian support. Optimise tail.
10888 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10889 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10890 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10891 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10892 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10896 2013-10-04 Alan Modra <amodra@gmail.com>
10898 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10899 little-endian support. Remove unnecessary "are we done" tests.
10900 Handle "s" wrapping around zero and extremely large "size".
10901 Correct main loop count. Handle single left-over word from main
10902 loop inline rather than by using small_loop. Correct comments.
10903 Delete "zero" tail, use "end_max" instead.
10904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10906 2013-10-04 Alan Modra <amodra@gmail.com>
10908 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10909 support. Don't branch over align.
10910 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10911 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10912 support. Rearrange tmp reg use to suit. Comment.
10913 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10915 2013-10-04 Alan Modra <amodra@gmail.com>
10917 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10919 2013-10-04 Alan Modra <amodra@gmail.com>
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10922 conditional form of branch and link when obtaining pc.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10925 2013-10-04 Alan Modra <amodra@gmail.com>
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10932 2013-10-04 Alan Modra <amodra@gmail.com>
10934 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10935 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10936 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10937 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10938 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10939 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10940 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10941 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10942 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10943 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10945 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10946 Alistair Popple <alistair@ozlabs.au.ibm.com>
10947 Alan Modra <amodra@gmail.com>
10950 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10952 _dl_hwcap access for little-endian.
10953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10954 destroy vmx regs when saving unaligned.
10955 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10956 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10957 destroy vmx regs when saving unaligned.
10959 2013-10-04 Alan Modra <amodra@gmail.com>
10961 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10962 Don't use a union to pack hi/low value.
10964 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10966 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10968 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10970 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10971 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10972 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10974 2013-10-04 Alan Modra <amodra@gmail.com>
10976 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10977 constants to usual value for .cst8 section, and remove redundant
10979 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10980 constant for 0x1p52. Load little-endian words of double from
10981 correct stack offsets.
10983 2013-10-04 Alan Modra <amodra@gmail.com>
10985 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10986 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10987 words of double from correct stack offsets.
10988 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10990 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10993 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10996 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11000 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11001 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11002 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11003 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11004 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11006 2013-10-04 Alan Modra <amodra@gmail.com>
11008 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11009 64-bit int/double union.
11010 (_FPU_SETCW): Likewise.
11011 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11012 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11014 2013-10-04 Alan Modra <amodra@gmail.com>
11016 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11017 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11019 2013-10-04 Alan Modra <amodra@gmail.com>
11021 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11022 use vector int constants.
11023 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11025 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11027 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11028 array with long long.
11029 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11030 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11031 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11032 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11033 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11034 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11035 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11036 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11037 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11038 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11039 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11040 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11041 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11043 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11045 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11046 (__signbit): Likewise. Correct for little-endian.
11047 (__signbitl): Call __signbit.
11048 (lrint): Correct for little-endian.
11049 (lrintf): Call lrint.
11051 2013-10-04 Alan Modra <amodra@gmail.com>
11053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11054 union 32-bit int array member with 64-bit int array.
11055 (t515, tm256): Double rather than long double.
11056 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11058 2013-10-04 Alan Modra <amodra@gmail.com>
11060 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11062 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11064 version of math_ldbl.h.
11066 2013-10-04 Alan Modra <amodra@gmail.com>
11068 [BZ #15734], [BZ #15735]
11069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11070 all uses of ieee875 long double macros and unions. Simplify test
11071 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11072 ldbl_extract_mantissa value for ix,iy exponents. Properly
11073 normalize after ldbl_extract_mantissa, and don't add hidden bit
11074 already handled. Don't treat low word of ieee854 mantissa like
11075 low word of IBM long double and mask off bit when testing for
11077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11078 all uses of ieee875 long double macros and unions. Simplify tests
11079 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11080 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11081 two1022, instead use their values. Recognise that tests for large
11082 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11084 Rewrite all uses of ieee875 long double macros and unions. Simplify
11085 test for 0.0L and nan. Correct negation.
11086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11087 ieee875 long double macros and unions. Correct output for large
11088 magnitude x. Correct absolute value calculation.
11089 (__erfcl): Likewise.
11090 * math/libm-test.inc: Add tests for errors discovered in IBM long
11091 double versions of fmodl, remainderl, erfl and erfcl.
11093 2013-10-04 Alan Modra <amodra@gmail.com>
11095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11096 all uses of ieee854 long double macros and unions. Simplify tests
11097 for long doubles that are fully specified by the high double.
11098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11100 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11101 Remove dead code too.
11102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11103 (__ieee754_ynl): Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11107 Remove dead code too.
11108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11118 Comment on variable precision.
11119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11122 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11126 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11128 2013-10-04 Alan Modra <amodra@gmail.com>
11130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11132 all uses of ieee854 long double macros and unions.
11133 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11146 Simplify sign and nan test too.
11147 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11150 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11152 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11153 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11162 2013-10-04 Alan Modra <amodra@gmail.com>
11164 * stdio-common/printf_size.c (__printf_size): Don't use
11165 union ieee854_long_double in fpnum union.
11166 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11167 signbit macro to retrieve sign from long double.
11168 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11169 retrieve sign from long double.
11170 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11171 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11173 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11174 * math/test-misc.c (main): Don't use union ieee854_long_double.
11176 2013-10-04 Alan Modra <amodra@gmail.com>
11179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11180 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11181 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11182 calculation. Remove unnecessary test for denormal exponent.
11183 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11184 Correct handling of denormals. Avoid undefined shift behaviour.
11185 Correct normalisation of low mantissa when low double is denormal.
11186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11187 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11188 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11189 Correct normalisation of low mantissa. Test for overflow of high
11190 mantissa and normalise.
11191 (ldbl_nearbyint): Use more readable constant for two52.
11192 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11193 (__mpn_construct_long_double): Fix test for overflow of high
11194 mantissa and correct normalisation. Avoid undefined shift.
11196 2013-10-04 Alan Modra <amodra@gmail.com>
11198 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11199 (union ibm_extended_long_double): Define as an array of ieee754_double.
11200 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11202 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11203 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11212 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11214 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11215 page size instead of calling getpagesize.
11217 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11218 (LOCFILE_ALIGN_MASK): Likewise.
11219 (LOCFILE_ALIGN_UP): Likewise.
11220 (LOCFILE_ALIGNED_P): Likewise.
11221 * locale/programs/ld-collate.c (collate_output): Use the new
11222 macros instead of __alignof__ (int32_t).
11223 * locale/weight.h (findidx): Likewise.
11225 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11228 * manual/string.texi: Fix strncat and wcsncat.
11230 2013-10-03 Brooks Moses <bmoses@google.com>
11233 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11234 * Makerules: ...here, and adjust associated comments.
11236 2013-10-02 Will Newton <will.newton@linaro.org>
11238 * malloc/Makefile: Add tst-pvalloc.
11239 * malloc/tst-pvalloc.c: New file.
11241 2013-10-02 Will Newton <will.newton@linaro.org>
11243 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11244 improve test coverage.
11246 2013-10-02 Will Newton <will.newton@linaro.org>
11248 * malloc/Makefile: Add tst-posix_memalign.
11249 * malloc/tst-posix_memalign.c: New file.
11251 2013-10-01 Eric Blake <eblake@redhat.com>
11253 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11254 Use __THROWNL rather than __THROW on static functions.
11256 2013-09-30 Petr Machata <pmachata@redhat.com>
11258 * elf/elf.h (R_AARCH64_ABS16): New macro.
11259 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11260 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11261 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11262 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11263 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11264 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11265 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11266 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11267 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11268 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11269 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11270 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11271 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11272 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11273 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11274 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11275 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11276 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11277 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11278 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11279 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11280 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11281 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11282 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11283 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11284 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11285 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11286 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11287 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11288 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11289 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11290 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11291 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11292 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11293 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11294 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11295 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11296 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11297 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11298 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11299 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11300 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11301 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11302 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11303 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11304 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11305 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11306 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11307 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11308 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11309 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11310 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11311 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11312 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11313 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11314 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11315 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11316 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11317 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11318 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11319 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11320 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11321 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11322 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11323 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11324 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11325 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11326 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11327 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11328 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11329 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11330 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11331 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11332 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11333 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11334 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11335 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11336 (R_AARCH64_TLSDESC_LDR): Likewise.
11337 (R_AARCH64_TLSDESC_ADD): Likewise.
11338 (R_AARCH64_TLSDESC_CALL): Likewise.
11340 2013-09-30 Andreas Schwab <schwab@suse.de>
11343 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11344 the nss database lookup.
11345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11348 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11350 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11352 2013-09-28 P. J. McDermott <pj@pehjota.net>
11354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11355 ${Bash-specific parameter/pattern/string} parameter expansion.
11356 * sysdeps/unix/make-syscalls.sh: Likewise.
11358 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11360 * sysdeps/sh/stackguard-macros.h: New file.
11362 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11366 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11367 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11369 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11371 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11373 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11374 Fix thread ID register.
11376 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11378 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11379 [POSIX || UNIX98]: Require rather than permitting all symbols from
11381 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11382 element of struct sched_param.
11383 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11384 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11385 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11386 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11389 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11391 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11392 argument calculation.
11394 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11396 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11398 [POSIX] (pthread_attr_t): Do not require type.
11399 [POSIX] (pthread_cond_t): Likewise.
11400 [POSIX] (pthread_condattr_t): Likewise.
11401 [POSIX] (pthread_key_t): Likewise.
11402 [POSIX] (pthread_mutex_t): Likewise.
11403 [POSIX] (pthread_mutexattr_t): Likewise.
11404 [POSIX] (pthread_once_t): Likewise.
11405 [POSIX] (pthread_t): Likewise.
11406 [POSIX-based standards] (pthread_atfork): Expect function.
11408 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11409 Richard Sandiford <richard@codesourcery.com>
11411 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11412 (swap_endianness_p): New extern variable.
11413 (set_big_endian): New inline function.
11414 (maybe_swap_uint32): Likewise.
11415 (maybe_swap_uint32_array): Likewise.
11416 (maybe_swap_uint32_obstack): Likewise.
11417 * locale/programs/locfile.c: Include <stdbool.h>.
11418 (swap_endianness_p): New variable.
11419 (add_locale_uint32): Call maybe_swap_uint32.
11420 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11421 (write_locale_data): Call maybe_swap_uint32_array.
11422 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11424 (obstack_int32_grow_fast): Likewise.
11425 (output_weightwc): Call maybe_swap_uint32_obstack.
11426 (collate_output): Likewise.
11427 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11428 (OPT_LITTLE_ENDIAN): Likewise.
11429 (options): Add --little-endian and --big-endian options.
11430 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11431 * locale/programs/locarchive.c: Include "locfile.h".
11435 (create_archive): Use the new macros to access fields of
11436 structures directly mapped from or written to locale archives.
11437 (oldlocrecentcmp): Likewise.
11438 (enlarge_archive): Likewise.
11439 (insert_name): Likewise.
11440 (add_alias): Likewise.
11441 (add_locale): Likewise.
11442 (delete_locales_from_archive): Likewise.
11443 (show_archive_content): Likewise.
11444 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11447 2013-09-24 Roland McGrath <roland@hack.frob.com>
11449 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11450 http://www.gnu.org/doc/freemanuals.texi.
11451 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11453 2013-09-24 Will Newton <will.newton@linaro.org>
11455 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11458 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11460 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11463 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11465 * manual/threads.texi (POSIX Threads): Fix a typo.
11467 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11470 * string/tst-strcoll-overflow.c: New test case.
11471 * string/Makefile (xtests): Add tst-strcoll-overflow.
11472 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11473 cache if string sizes may cause integer overflow.
11476 * string/strcoll_l.c (coll_seq): New members rule, idx,
11477 save_idx and back_us.
11478 (get_next_seq_nocache): New function.
11479 (do_compare_nocache): New function.
11480 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11483 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11486 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11487 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11488 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11491 * elf/Makefile (tests): Add tst-ptrguard1.
11492 (tests-static): Add tst-ptrguard1-static.
11493 (tst-ptrguard1-ARGS): Define.
11494 (tst-ptrguard1-static-ARGS): Define.
11495 * elf/tst-ptrguard1.c: New file.
11496 * elf/tst-ptrguard1-static.c: New file.
11497 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11498 * sysdeps/i386/stackguard-macros.h: Likewise.
11499 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11500 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11501 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11502 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11503 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11504 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11506 2013-09-23 Hector Marco <hecmargi@upv.es>
11507 Ismael Ripoll <iripoll@disca.upv.es>
11508 Carlos O'Donell <carlos@redhat.com>
11511 * sysdeps/generic/stackguard-macros.h: Define
11512 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11513 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11514 Define __pointer_chk_guard_local.
11515 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11516 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11518 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11521 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11523 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11525 * include/string.h (__ffs): Declare as hidden.
11526 * string/ffs.c (__ffs): Define as hidden.
11527 * sysdeps/i386/ffs.c (__ffs): Likewise.
11528 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11529 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11530 * sysdeps/s390/ffs.c (__ffs): Likewise.
11531 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11533 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11535 * NEWS: Mention malloc probes.
11537 * malloc/arena.c (new_heap): New memory_heap_new probe.
11538 (grow_heap): New memory_heap_more probe.
11539 (shrink_heap): New memory_heap_less probe.
11540 (heap_trim): New memory_heap_free probe.
11541 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11542 (systrim): New memory_sbrk_less probe.
11543 * manual/probes.texi: Document them.
11545 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11546 * manual/probes.texi: Document it.
11548 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11549 (__libc_realloc): Add memory_realloc_retry probe.
11550 (__libc_memalign): Add memory_memalign_retry probe.
11551 (__libc_valloc): Add memory_valloc_retry probe.
11552 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11553 (__libc_calloc): Add memory_calloc_retry probe.
11554 * manual/probes.texi: Document them.
11556 * malloc/arena.c (get_free_list): Add probe
11557 memory_arena_reuse_free_list.
11558 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11559 and memory_arena_reuse.
11560 (arena_get2) [!PER_THREAD]: Likewise.
11561 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11562 memory_arena_reuse_realloc.
11563 * manual/probes.texi: Document them.
11565 * malloc/malloc.c (__libc_free): Add
11566 memory_mallopt_free_dyn_thresholds probe.
11567 (__libc_mallopt): Add multiple memory_mallopt probes.
11568 * manual/probes.texi: Document them.
11570 * malloc/malloc.c: Include stap-probe.h.
11571 (__libc_mallopt): Add memory_mallopt probe.
11572 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11573 * manual/probes.texi: New.
11574 * manual/Makefile (chapters): Add probes.
11575 * manual/threads.texi: Set next node.
11577 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11579 [BZ #15963, #13985]
11580 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11581 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11582 Add `Chinese' to `nan' entry name.
11584 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11586 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11587 (POLYNOMIAL): Likewise.
11588 (TAYLOR_SINCOS): Likewise.
11589 (TAYLOR_SLOW): Likewise.
11590 (__sin): Use TAYLOR_SINCOS.
11592 (slow): Use TAYLOR_SLOW.
11594 (bsloww): Likewise.
11595 (csloww): Likewise.
11597 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11599 * stdlib/strtod_l.c: Fix buffer overrun.
11601 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11603 * benchtests/Makefile (bench): Add sincos.
11604 * benchtests/bench-sincos.c: New file.
11606 * math/libm-test.inc (cos_test_data): New test inputs.
11607 (sin_test_data): Likewise.
11609 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11615 (sloww1): Likewise.
11616 (sloww2): Likewise.
11617 (bsloww1): Likewise.
11618 (bsloww2): Likewise.
11619 (cslow2): Likewise.
11620 (csloww1): Likewise.
11621 (csloww2): Likewise.
11623 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11632 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11634 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11635 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11636 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11637 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11638 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11639 * elf/cache.c (print_entry): Handle the new cache flags.
11641 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11642 Aldy Hernandez <aldyh@redhat.com>
11644 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11645 Change condition to [_SOFT_FLOAT].
11646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11658 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11661 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11664 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11666 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11667 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11668 (__longjmp): Use LOAD_GP to load saved GPRs.
11669 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11670 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11671 (__sigsetjmp): Use SAVE_GP to save GPRs.
11673 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11674 Do not append -msoft-float.
11675 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11677 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11679 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11681 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11684 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11685 (_FPU_GETCW): Use initial "__" on variable and field names but not
11686 on macro parameter name.
11687 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11688 parentheses around reference to macro parameter.
11690 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11692 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11694 (ctype_startup): Use uint32_t in cast and sizeof for
11697 2013-09-11 Jia Liu <proljc@gmail.com>
11699 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11701 [__FreeBSD__]: Likewise.
11703 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11706 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11707 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11708 (strchr): Remove __strchr_sse42 ifunc selection.
11709 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11710 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11712 2013-09-11 Will Newton <will.newton@linaro.org>
11714 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11715 parameter to RES. Remove hardcoded 1000 value.
11716 * benchtests/bench-skeleton.c (main): Pass RES parameter
11717 to TIMING_INIT and multiply result by 1000.
11719 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11723 2013-09-11 Andreas Schwab <schwab@suse.de>
11725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11727 (O_TMPFILE) [__USE_GNU]: Define.
11728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11731 2013-09-11 Will Newton <will.newton@linaro.org>
11734 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11737 2013-09-11 Will Newton <will.newton@linaro.org>
11740 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11743 2013-09-11 Will Newton <will.newton@linaro.org>
11746 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11749 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11751 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11757 2013-09-10 Allan McRae <allan@archlinux.org>
11760 * manual/arith.texi (Parsing of Floats): Clarify
11764 * manual/install.texi (Running make install): Mention
11766 * INSTALL: Regenerated.
11768 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11770 * csu/init-first.c (_init): Remove the !SHARED condition around
11771 FPU control word initialization.
11772 * elf/dl-support.c (_dl_fpu_control): New variable.
11773 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11774 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11775 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11776 * math/test-fpucw-static.c: New file.
11777 * math/test-fpucw-ieee.c: New file.
11778 * math/test-fpucw-ieee-static.c: New file.
11779 * math/Makefile (tests): Add `test-fpucw-ieee' and
11781 (tests-static): New variable.
11782 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11784 [($(build-shared),yes)]
11785 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11787 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11790 2013-09-09 Allan McRae <allan@archlinux.org>
11793 * manual/string.texi (Collation Functions): Fix typo in
11795 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11798 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11801 * libio/memstream.c (open_memstream): Fix memory leak.
11802 * libio/wmemstream.c (open_wmemstream): Likewise.
11805 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11807 2013-09-09 Will Newton <will.newton@linaro.org>
11809 * malloc/Makefile: Add tst-realloc to tests.
11810 * malloc/tst-realloc.c: New file.
11812 2013-09-09 Allan McRae <allan@archlinux.org>
11815 * COPYING: Update from GNU website to fix FSF address.
11816 * COPYING.LIB: Likewise.
11818 2013-09-06 David S. Miller <davem@davemloft.net>
11820 * po/zh_TW.po: Update Chinese (traditional) translation from
11821 translation project.
11823 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11824 Joseph Myers <joseph@codesourcery.com>
11826 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11828 (obstack_chunk_alloc): New macro.
11829 (obstack_chunk_free): Likewise.
11830 (record_offset): New function.
11831 (init_locale_data): Likewise.
11832 (align_locale_data): Likewise.
11833 (add_locale_empty): Likewise.
11834 (add_locale_raw_data): Likewise.
11835 (add_locale_raw_obstack): Likewise.
11836 (add_locale_string): Likewise.
11837 (add_locale_wstring): Likewise.
11838 (add_locale_uint32): Likewise.
11839 (add_locale_uint32_array): Likewise.
11840 (add_locale_char): Likewise.
11841 (start_locale_structure): Likewise.
11842 (end_locale_structure): Likewise.
11843 (start_locale_prelude): Likewise.
11844 (end_locale_prelude): Likewise.
11845 (write_locale_data): Take locale_file structure rather than an
11847 * locale/programs/locfile.h: Include "obstack.h".
11848 (struct locale_file): Change to store locale file contents instead
11850 (init_locale_data): New prototype.
11851 (align_locale_data): Likewise.
11852 (add_locale_empty): Likewise.
11853 (add_locale_raw_data): Likewise.
11854 (add_locale_raw_obstack): Likewise.
11855 (add_locale_string): Likewise.
11856 (add_locale_wstring): Likewise.
11857 (add_locale_uint32): Likewise.
11858 (add_locale_uint32_array): Likewise.
11859 (add_locale_char): Likewise.
11860 (start_locale_structure): Likewise.
11861 (end_locale_structure): Likewise.
11862 (start_locale_prelude): Likewise.
11863 (end_locale_prelude): Likewise.
11864 (write_locale_data): Update prototype.
11865 * locale/programs/3level.h (struct TABLE): Remove result field.
11866 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11867 Use new locale_file interface.
11868 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11869 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11870 * locale/programs/ld-address.c (address_output): Use new
11871 locale_file interface.
11872 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11874 (collate_finish): Don't call collseq_table_finalize.
11875 (collate_output): Use new locale_file interface.
11876 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11878 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11879 (TABLE): Move defines earlier in file.
11880 (ELEMENT): Likewise.
11881 (DEFAULT): Likewise.
11882 (wctrans_table_add): Move macro and inline function earlier in
11884 (struct wctype_table): Move type earlier in file.
11885 (add_locale_wctype_table): New static prototype.
11886 (struct locale_ctype_t): Use logical types instead of struct iovec
11887 pointers for members.
11888 (ctype_output): Use new locale_file interface.
11889 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11890 new locale_file interface.
11891 (allocate_arrays): Update for use of new locale_file interface.
11892 * locale/programs/ld-identification.c (identification_output): Use
11893 new locale_file interface.
11894 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11895 * locale/programs/ld-messages.c (messages_output): Likewise.
11896 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11897 * locale/programs/ld-name.c (name_output): Likewise.
11898 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11899 * locale/programs/ld-paper.c (paper_output): Likewise.
11900 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11901 * locale/programs/ld-time.c (time_output): Likewise.
11903 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905 * benchtests/Makefile: Add memrchr benchmark.
11906 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11907 benchmark as memrchr.
11908 * benchtests/bench-memrchr-ifunc.c: New file.
11909 * benchtests/bench-memrchr.c: New file.
11911 2013-09-06 Will Newton <will.newton@linaro.org>
11913 * benchtests/Makefile (string-bench): Add memcpy.
11915 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11916 Cong Wang <amwang@redhat.com>
11919 * sysdeps/unix/sysv/linux/bits/in.h
11920 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11921 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11922 before __USE_KERNEL_IPV6_DEFS uses.
11923 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11925 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11926 sockaddr_in6, or ipv6_mreq.
11928 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11930 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11931 memory access for final bytes in some large inputs.
11932 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11934 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936 * string/test-memrchr.c: New file.
11937 * string/test-memrchr-ifunc.c: New file.
11938 * string/Makefile: Add new memrchr testcase.
11940 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11942 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11943 fanotify_init returns EPERM.
11945 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11947 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11949 (top level): Treat second token from macro or constant entries for
11950 allowed headers as allowed.
11951 * include/complex.h: Condition internal declarations on
11953 * include/fenv.h: Condition include of <stdbool.h> and internal
11954 declarations on [!_ISOMAC].
11956 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11959 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11961 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11963 * configure.in (--enable-versioning): Remove configure option.
11964 (libc_cv_asm_symver_directive): Remove configure test.
11965 (libc_cv_ld_version_script_option): Likewise.
11966 (VERSIONING): Remove variable and AC_SUBST.
11967 (DO_VERSIONING): Remove AC_DEFINE.
11968 * configure: Regenerated.
11969 * config.h.in (DO_VERSIONING): Remove macro.
11970 * Makerules [$(versioning) = yes]: Change conditionals to
11971 [$(build-shared) = yes].
11972 * config.make.in (versioning): Remove variable.
11973 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11974 [$(build-shared) = yes].
11975 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11976 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11977 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11978 [$(build-shared) = yes].
11979 * extra-lib.mk [$(versioning) = yes]: Likewise.
11980 * hurd/Makefile [$(versioning) = yes]: Likewise.
11981 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11983 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11985 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11986 [SHARED && !NO_HIDDEN].
11987 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11989 [SHARED && DO_VERSIONING]: Likewise..
11990 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11991 [$(build-shared) = yes].
11992 * manual/install.texi (--disable-versioning): Remove
11994 * INSTALL: Regenerated.
11995 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11997 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11998 [$(build-shared) = yes].
11999 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12000 * sysdeps/i386/i686/multiarch/strstr-c.c
12001 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12002 [SHARED && !NO_HIDDEN].
12003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12004 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12005 * sysdeps/powerpc/powerpc32/dl-machine.c
12006 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12007 * sysdeps/powerpc/powerpc32/sysdep.h
12008 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12009 to [SHARED && PIC && !NO_HIDDEN].
12010 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12011 conditional to [SHARED].
12013 2013-09-04 Will Newton <will.newton@linaro.org>
12015 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12016 * benchtests/bench-string.h: Include bench-timing.h instead
12017 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12018 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12019 call to HP_TIMING_DIFF_INIT.
12020 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12021 instead of hp-timing.h macros.
12022 * benchtests/bench-memchr.c: Likewise.
12023 * benchtests/bench-memcmp.c: Likewise.
12024 * benchtests/bench-memcpy.c: Likewise.
12025 * benchtests/bench-memmem.c: Likewise.
12026 * benchtests/bench-memmove.c: Likewise.
12027 * benchtests/bench-memset.c: Likewise.
12028 * benchtests/bench-rawmemchr.c: Likewise.
12029 * benchtests/bench-strcasecmp.c: Likewise.
12030 * benchtests/bench-strcasestr.c: Likewise.
12031 * benchtests/bench-strcat.c: Likewise.
12032 * benchtests/bench-strchr.c: Likewise.
12033 * benchtests/bench-strcmp.c: Likewise.
12034 * benchtests/bench-strcpy.c: Likewise.
12035 * benchtests/bench-strcpy_chk.c: Likewise.
12036 * benchtests/bench-strlen.c: Likewise.
12037 * benchtests/bench-strncasecmp.c: Likewise.
12038 * benchtests/bench-strncat.c: Likewise.
12039 * benchtests/bench-strncmp.c: Likewise.
12040 * benchtests/bench-strncpy.c: Likewise.
12041 * benchtests/bench-strnlen.c: Likewise.
12042 * benchtests/bench-strpbrk.c: Likewise.
12043 * benchtests/bench-strrchr.c: Likewise.
12044 * benchtests/bench-strspn.c: Likewise.
12045 * benchtests/bench-strstr.c: Likewise.
12047 2013-09-04 Will Newton <will.newton@linaro.org>
12049 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12051 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12054 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12055 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12056 * math/libm-test.inc (lgamma_test_data): Add more tests.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update.
12058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12060 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12062 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12066 Add strcmp-sse2-unaligned
12067 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12069 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12071 * Versions.def (libc): Add GLIBC_2.19.
12073 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12075 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12076 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12078 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12082 intermediate calculations in recurrence.
12083 (__ieee754_ynf): Likewise.
12084 * math/libm-test.inc (jn_test_data): Do not allow spurious
12085 underflow exception. Add more tests.
12086 (yn_test_data): Add more tests.
12087 * sysdeps/i386/fpu/libm-test-ulps: Update.
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12090 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12094 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12096 * csu/init-first.c: Fix then/than typos.
12097 * locale/programs/ld-collate.c: Likewise.
12098 * locale/programs/linereader.h: Likewise.
12099 * manual/charset.texi: Likewise.
12100 * manual/filesys.texi: Likewise.
12101 * manual/stdio.texi: Likewise.
12102 * manual/string.texi: Likewise.
12103 * stdlib/fmtmsg.c: Likewise.
12104 * sysdeps/i386/stpncpy.S: Likewise.
12105 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12106 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12108 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12110 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12112 * elf/dl-open.c: Fix typos.
12113 * iconvdata/gbbig5.c: Likewise.
12114 * iconvdata/iso-2022-jp.c: Likewise.
12115 * iconv/gconv_int.h: Likewise.
12116 * iconv/loop.c: Likewise.
12117 * nis/rpcsvc/nis.h: Likewise.
12118 * resolv/ns_name.c: Likewise.
12119 * stdio-common/vfscanf.c: Likewise.
12120 * streams/stropts.h: Likewise.
12121 * sunrpc/rpc_thread.c: Likewise.
12122 * sysdeps/i386/strpbrk.S: Likewise.
12123 * sysdeps/ieee754/k_standard.c: Likewise.
12124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12126 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12127 * sysdeps/mach/hurd/profil.c: Likewise.
12128 * sysdeps/s390/dl-procinfo.h: Likewise.
12129 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12132 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12135 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12137 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12140 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12142 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12143 aix specific files.
12144 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12147 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12148 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12150 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12151 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12153 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12154 Roland McGrath <roland@hack.frob.com>
12156 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12157 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12159 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12161 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12162 __executable_start symbol instead of _start.
12164 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12166 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12167 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12169 * sysdeps/gnu/ldsodefs.h: ... this new file.
12171 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12172 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12173 instead of ELFOSABI_LINUX.
12175 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12176 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12177 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12178 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12180 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12181 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12182 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12184 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12185 (ibm_extended_long_double): Add ieee_nan member.
12186 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12187 (do_test): New function.
12189 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12191 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12192 functions, renamed from truncdfsf_test, trunctfsf_test,
12194 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12196 (do_test): Run all these.
12198 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12200 * argp/argp-help.c: Fix typos.
12201 * argp/argp-parse.c: Likewise.
12202 * debug/backtracesyms.c: Likewise.
12203 * elf/elf.h: Likewise.
12204 * malloc/malloc.c: Likewise.
12205 * nis/nis_print.c: Likewise.
12206 * resolv/res_comp.c: Likewise.
12207 * stdlib/stdlib.h: Likewise.
12208 * sunrpc/clnt_tcp.c: Likewise.
12209 * sunrpc/clnt_udp.c: Likewise.
12210 * sunrpc/clnt_unix.c: Likewise.
12211 * sysdeps/unix/bsd/ptsname.c: Likewise.
12212 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12213 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12220 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12222 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12224 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12227 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12230 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12231 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12232 ($(objpfx)bug-dl-leaf): New rule.
12233 ($(objpfx)bug-dl-leaf.so): Likewise.
12234 ($(objpfx)bug-dl-leaf.out): Likewise.
12235 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12236 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12237 * dlfcn/bug-dl-leaf.c: New test.
12238 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12239 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12240 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12241 (dlclose): Likewise.
12242 (dlmopen): Likewise.
12244 2013-08-27 Roland McGrath <roland@hack.frob.com>
12246 * include/netdb.h [!_ISOMAC]:
12247 Don't include <tls.h>.
12248 (h_errno, __libc_h_errno): Move declaration and macros out of
12251 * include/resolv.h [_RESOLV_H_]:
12252 Don't include <tls.h>.
12253 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12254 * resolv/res_libc.c: Don't include <tls.h>.
12255 (_res): Use __attribute__ ((nocommon)) in place of
12256 __attribute__ ((section (".bss"))).
12258 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12259 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12261 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12263 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12264 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12266 * resolv/res_mkquery.c: Include <sys/time.h>.
12268 * inet/ifreq.c: Moved to ...
12269 * sysdeps/unix/ifreq.c: ... here.
12270 * inet/ifreq.c: New file, true stub version.
12272 * socket/sa_len.c: New file.
12273 * socket/Makefile (aux): Add it.
12274 * sysdeps/unix/sysv/linux/Makefile
12275 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12276 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12277 and #include <socket/sa_len.c>.
12278 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12279 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12281 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12282 * bits/socket.h: ... here.
12284 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12285 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12286 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12288 2013-08-27 Andreas Schwab <schwab@suse.de>
12291 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12292 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12293 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12294 * string/test-strcasecmp.c (test_main): Run tests in several
12296 * string/test-strncasecmp.c (test_main): Likewise.
12298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12299 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12300 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12301 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12302 (__strncasecmp_ssse3) [PIC]: Likewise.
12304 2013-08-26 Roland McGrath <roland@hack.frob.com>
12306 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12308 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12309 instead of explicitly declaring xdecrypt.
12310 * nis/nss_nis/nis-publickey.c: Likewise.
12312 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12315 * nscd/aicache.c: Include res_hconf.h.
12316 (addhstaiX): Initialize res_hconf.
12318 2013-08-26 Andreas Schwab <schwab@suse.de>
12320 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12321 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12323 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12325 * nscd/aicache.c (addhstaiX): Fix indentation.
12327 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12329 * configure.ac: Quote $build_pt_chown test.
12330 * configure: Regenerated.
12332 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12335 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12336 * math/s_cexpf.c (__cexpf): Likewise.
12337 * math/s_cexpl.c (__cexpl): Likewise.
12338 * math/libm-test.inc (cexp_test_data): Correct expected return
12339 value for NaN + i0. Add another test.
12341 2013-08-22 David S. Miller <davem@davemloft.net>
12343 * po/ca.po: Update Catalan translation from translation project.
12344 * po/uk.po: Add Ukrainian translations from translation project.
12346 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12349 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12350 is infinite, not alongside NaN test.
12351 * math/s_fdimf.c (__fdimf): Likewise.
12352 * math/s_fdiml.c (__fdiml): Likewise.
12353 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12354 errno is unchanged.
12356 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12358 * argp/argp-help.c: Fix typos.
12359 * crypt/speeds.c: Likewise.
12360 * csu/check_fds.c: Likewise.
12361 * elf/dl-load.c: Likewise.
12362 * elf/dl-open.c: Likewise.
12363 * elf/reldep3.c: Likewise.
12364 * elf/reldep.c: Likewise.
12365 * elf/sprof.c: Likewise.
12366 * iconv/iconv_charmap.c: Likewise.
12367 * iconv/skeleton.c: Likewise.
12368 * iconv/strtab.c: Likewise.
12369 * io/lockf64.c: Likewise.
12370 * libio/libioP.h: Likewise.
12371 * resolv/gai_notify.c: Likewise.
12372 * resolv/ns_name.c: Likewise.
12373 * resolv/ns_samedomain.c: Likewise.
12374 * resolv/res_send.c: Likewise.
12375 * stdlib/random.c: Likewise.
12376 * sunrpc/rpc/xdr.h: Likewise.
12377 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12378 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12382 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12385 * sysdeps/mach/hurd/check_fds.c: Likewise.
12386 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12390 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12392 * sysdeps/pthread/aio_notify.c: Likewise.
12393 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12394 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12395 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12397 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12399 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12401 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12402 version if bit_Slow_SSE4_2 is set.
12403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12406 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12409 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12410 trampoline stack frame information.
12411 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12412 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12413 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12414 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12415 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12416 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12417 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12418 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12420 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12421 interrupting a syscall and set with option SA_SIGINFO.
12423 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12426 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12427 argument is infinite.
12428 * math/s_cprojf.c (__cprojf): Likewise.
12429 * math/s_cprojl.c (__cprojl): Likewise.
12430 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12431 * math/libm-test.inc (cproj_test_data): Add more tests.
12433 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12435 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12436 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12437 size. Use __ffs to determine corresponding shift.
12439 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12440 Roland McGrath <roland@hack.frob.com>
12442 * Makefile (INSTALL): Remove trailing blank lines from output of
12445 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12447 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12448 Align 32 bit compat elf_greg to 8 bytes.
12450 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12452 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12454 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12456 * string/strcoll_l.c (coll_seq): New structure.
12457 (get_next_seq_cached): New function.
12458 (get_next_seq): New function.
12459 (do_compare): New function.
12460 (STRCOLL): Use GNU style definition. Simplify implementation
12461 by using get_next_seq, get_next_seq_cached and do_compare.
12463 2013-08-16 Florian Weimer <fweimer@redhat.com>
12467 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12469 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12471 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12472 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12473 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12475 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12476 GETDENTS_64BIT_ALIGNED.
12477 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12478 * manual/filesys.texi (Reading/Closing Directory): Document
12479 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12481 * manual/conf.texi (Limits for Files): Add portability note to
12482 NAME_MAX, PATH_MAX.
12483 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12485 2013-08-13 Andreas Schwab <schwab@suse.de>
12488 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12490 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12491 LDBL_MAX_EXP >= 16384]: Add tests for it.
12493 2013-08-12 David S. Miller <davem@davemloft.net>
12495 * version.h (RELEASE): Set to "development".
12496 (VERSION): Set to "2.18.90".
12497 * NEWS: Add 2.19 section.
12499 2013-08-03 David S. Miller <davem@davemloft.net>
12501 * po/ko.po: Update Korean translation from translation project.
12503 2013-08-01 David S. Miller <davem@davemloft.net>
12505 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12506 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12509 2013-07-30 David S. Miller <davem@davemloft.net>
12511 * po/fr.po: Update French translation from translation project.
12513 2013-07-28 David S. Miller <davem@davemloft.net>
12515 * po/cs.po: Update Czech translation from translation project.
12517 * po/sv.po: Update Swedish translation from translation project.
12519 2013-07-27 David S. Miller <davem@davemloft.net>
12521 * po/eo.po: Update Esperanto translation from translation project.
12523 * po/vi.po: Update Vietnamese translation from translation project.
12525 * po/de.po: Update German translation from translation project.
12527 2013-07-26 David S. Miller <davem@davemloft.net>
12529 * po/bg.po: Update Bulgarian translation from translation project.
12531 * po/nl.po: Update Dutch translation from translation project.
12532 * po/pl.po: Update Polish translation from translation project.
12533 * po/ru.po: Update Russian translation from translation project.
12535 2013-07-24 David S. Miller <davem@davemloft.net>
12537 * po/libc.pot: Update.
12539 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12541 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12542 variable page size.
12543 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12545 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12547 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12549 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12551 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12552 Andreas Schwab <schwab@suse.de>
12553 Roland McGrath <roland@hack.frob.com>
12554 Joseph Myers <joseph@codesourcery.com>
12555 Carlos O'Donell <carlos@redhat.com>
12558 * config.h.in: Define HAVE_PT_CHOWN.
12559 * config.make.in (build-pt-chown): New variable.
12560 * configure.in (--enable-pt_chown): New configure option.
12561 * configure: Regenerate.
12562 * login/Makefile: Include Makeconfig. Build pt_chown only if
12563 build-pt-chown is enabled.
12564 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12565 pt_chown to fix pty ownership.
12566 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12568 * manual/install.texi (Configuring and compiling): Mention
12569 --enable-pt_chown. Add @findex for grantpt.
12570 * INSTALL: Regenerate.
12572 2013-07-20 David S. Miller <davem@davemloft.net>
12574 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12575 difference between 32-bit and 64-bit.
12577 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12580 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12581 Avoid system header dependency with -ffreestanding.
12582 ($(objpfx)bits/syscall%d): Likewise.
12584 2013-07-13 David S. Miller <davem@davemloft.net>
12586 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12587 underflows from atanl/atan2l due to bug 15319.
12588 (casinh_test_data): Likewise.
12590 2013-07-07 David S. Miller <davem@davemloft.net>
12592 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12594 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12596 * sysdeps/i386/fpu/libm-test-ulps: Update.
12597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12599 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12601 * configure.in (--enable-lock-elision): Fix message text.
12602 * INSTALL: Regenerate.
12603 * configure: Regenerate.
12605 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12609 2013-07-03 Andreas Jaeger <aj@suse.de>
12611 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12613 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12614 (ptrace_peeksiginfo_args): Add.
12615 (__ptrace_peeksiginfo_flags): Add.
12616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12620 2013-07-03 Allan McRae <allan@archlinux.org>
12622 * sysdeps/i386/fpu/libm-test-ulps: Update.
12624 2013-07-02 David S. Miller <davem@davemloft.net>
12626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12628 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12632 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12634 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12637 2013-07-02 Andi Kleen <ak@linux.intel.com>
12639 * config.h.in (ENABLE_LOCK_ELISION): Add.
12640 * configure.in (--enable-lock-elision): Add option.
12641 * manual/install.texi: Document --enable lock elision.
12642 * configure: Regenerate
12643 * INSTALL: Regenerate.
12645 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12647 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12648 SSE4.2 strcasecmp for libc.a.
12649 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12651 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12654 * soft-fp/op-common.h (_FP_FMA): New macro.
12655 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12656 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12657 (_FP_MUL_MEAT_1_imm): ... here.
12658 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12659 (_FP_MUL_MEAT_1_wide): ... here.
12660 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12661 (_FP_MUL_MEAT_1_hard): ... here.
12662 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12663 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12664 (_FP_MUL_MEAT_2_wide): ... here.
12665 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12666 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12667 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12668 (_FP_MUL_MEAT_2_gmp): ... here.
12669 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12670 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12671 (_FP_MUL_MEAT_4_wide): ... here.
12672 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12673 (_FP_MUL_MEAT_4_gmp): ... here.
12674 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12675 (_FP_WFRACBITS_DW_S): Likewise.
12676 (_FP_WFRACXBITS_DW_S): Likewise.
12677 (_FP_HIGHBIT_DW_S): Likewise.
12678 (FP_FMA_S): Likewise.
12679 (_FP_FRAC_HIGH_DW_S): Likewise.
12680 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12681 (_FP_WFRACBITS_DW_D): Likewise.
12682 (_FP_WFRACXBITS_DW_D): Likewise.
12683 (_FP_HIGHBIT_DW_D): Likewise.
12684 (FP_FMA_D): Likewise.
12685 (_FP_FRAC_HIGH_DW_D): Likewise.
12686 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12687 (_FP_WFRACBITS_DW_E): Likewise.
12688 (_FP_WFRACXBITS_DW_E): Likewise.
12689 (_FP_HIGHBIT_DW_E): Likewise.
12690 (FP_FMA_E): Likewise.
12691 (_FP_FRAC_HIGH_DW_E): Likewise.
12692 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12693 (_FP_WFRACBITS_DW_Q): Likewise.
12694 (_FP_WFRACXBITS_DW_Q): Likewise.
12695 (_FP_HIGHBIT_DW_Q): Likewise.
12696 (FP_FMA_Q): Likewise.
12697 (_FP_FRAC_HIGH_DW_Q): Likewise.
12698 * soft-fp/fmasf4.c: New file.
12699 * soft-fp/fmadf4.c: Likewise.
12700 * soft-fp/fmatf4.c: Likewise.
12702 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12705 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12709 (index_Slow_SSE4_2): Likewise.
12710 (index_Prefer_PMINUB_for_stringop): Likewise.
12711 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12712 bit_Slow_SSE4_2 is set.
12713 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12716 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12718 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12719 rtld_global._dl_hwcap2.
12720 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12722 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12723 POWER8 feature descriptions defined in _dl_hwcap2.
12724 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12725 string handling for POWER8 feature bits.
12726 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12727 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12728 _dl_powerpc_cap_flags.
12729 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12730 * sysdeps/powerpc/rtld-global-offsets.sym
12731 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12732 _dl_hwcap2 in the rtld_global_ro structure.
12734 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12736 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12737 hardware capabilities in support of AT_HWCAP2.
12738 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12739 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12741 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12742 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12743 explicitly the unknown a_type display mechanism is used.
12744 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12745 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12747 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12748 to macro prototype for AT_HWCAP2 support.
12749 * sysdeps/i386/dl-procinfo.h: Likewise.
12750 * sysdeps/s390/dl-procinfo.h: Likewise.
12751 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12752 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12753 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12754 return -1 for unknown a_type display fallback.
12755 * sysdeps/sparc/dl-procinfo.h: Likewise.
12756 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12757 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12759 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12761 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12762 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12764 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12767 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12768 mprotect making __stack_prot writable.
12770 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12771 Joseph Myers <joseph@codesourcery.com>
12773 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12774 as being properly aligned.
12776 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12778 * dlfcn/modstatic5.c: New file.
12779 * dlfcn/tststatic5.c: New file.
12780 * dlfcn/Makefile (tests): Add tststatic5.
12781 (tests-static): Likewise.
12782 (modules-names): Add modstatic5.
12783 (tststatic5-ENV): New variable.
12784 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12787 * elf/dl-support.c (_dl_main_map): New variable.
12788 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12789 (_dl_nns, _dl_load_adds): Set to 1.
12790 (_dl_initial_searchlist): Refer to _dl_main_map.
12791 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12792 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12793 call to _dl_get_origin.
12794 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12796 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12797 * dlfcn/modstatic3.c: New file.
12798 * dlfcn/tststatic3.c: New file.
12799 * dlfcn/tststatic4.c: New file.
12800 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12801 (tests-static): Likewise.
12802 (modules-names): Add modstatic3.
12803 (tststatic3-ENV, tststatic4-ENV): New variables.
12804 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12805 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12807 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12809 * configure.in (CC): Require GCC version 4.4 or later.
12810 * configure: Regenerated.
12811 * manual/install.texi (Tools for Compilation): Update GCC version
12813 * INSTALL: Regenerated.
12815 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12818 * string/test-memcmp.c (check2): New.
12819 (main): Call check2.
12821 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12823 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12826 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12828 (dl_open_worker) [!SHARED]: ... here.
12830 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12832 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12834 2013-06-25 Richard Henderson <rth@redhat.com>
12836 * locale/programs/locarchive.c: Include <libc-internal.h>
12838 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12840 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12841 trailing whitespace removed.
12843 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12846 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12847 * locale/programs/locarchive.c: Include libc-mmap.h.
12848 (prepare_address_space): Take two new outputs (the mmap base and len).
12849 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12851 (create_archive): Declare new mmap base and len values for
12852 prepare_address_space, and store the result in ah.
12853 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12854 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12855 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12856 Declare new mmap base and len values for
12857 prepare_address_space, and store the result in new_ah.
12858 (open_archive): Declare new mmap base and len values for
12859 prepare_address_space, and store the result in ah.
12860 (close_archive): If ah->mmap_base is not NULL, use that and
12861 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12862 * sysdeps/generic/libc-mmap.h: New file.
12864 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12866 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12867 (ALIGN_UP): Likewise.
12868 (PTR_ALIGN_DOWN): Likewise.
12869 (PTR_ALIGN_UP): Likewise.
12871 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12873 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12874 entry mapped to PPC_PLATFORM_POWER8.
12875 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12877 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12878 (_dl_string_platform): Add case for exporting platform position for
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12881 search path to sysdeps/powerpc/powerpc32/power8 directory.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12883 search path to sysdeps/powerpc/powerpc64/power8 directory.
12884 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12885 power7 directories.
12886 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12887 power7 directories.
12889 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12891 * INSTALL: Regenerate.
12893 * nscd/connections.c (nscd_init): Fix comment.
12895 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12900 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12901 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12903 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12905 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12907 (DL_DST_REQ_STATIC): Remove macro.
12909 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12912 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12913 with a shift of 0 bits.
12915 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12917 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12920 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12923 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12925 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12927 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12928 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12929 accepts -fno-tree-loop-distribute-patterns.
12930 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12931 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12933 * string/memset.c (memset): Likewise.
12934 * string/test-memmove.c (simple_memmove): Disable loop transformation
12936 * string/test-memset.c (simple_memset): Likewise.
12937 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12938 * benchtests/bench-memset.c (simple_memset): Likewise.
12939 * configure: Regenerated.
12941 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12943 * math/test-misc.c (main): Ignore fesetround failure when failures
12944 of subsequent rounding tests would be ignored.
12947 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12948 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12949 * math/fegetenv.c (__fegetenv): Return 0.
12950 * math/fegetexcept.c (fegetexcept): Return 0.
12951 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12953 * math/feholdexcpt.c (feholdexcept): Return 0.
12954 * math/fesetenv.c (__fesetenv): Return 0.
12955 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12956 argument FE_TONEAREST.
12957 * math/feupdateenv.c (__feupdateenv): Return 0.
12958 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12960 2013-06-18 Roland McGrath <roland@hack.frob.com>
12962 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12963 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12964 ($(objpfx)rtld-%.os rules): Use them.
12966 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12968 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12971 2013-06-17 Roland McGrath <roland@hack.frob.com>
12973 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12974 length of target pattern, then descending length of dependency pattern.
12975 * configure.in (AWK): Require gawk 3.1.2 or newer.
12976 * manual/install.texi (Tools for Compilation): Say that we do.
12977 * configure: Regenerated.
12979 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12980 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12981 * scripts/sysd-rules.awk: ... this new script.
12982 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12983 than a glob-style pattern.
12985 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12987 * math/test-misc.c (main): Do not treat incorrectly rounded
12988 conversions as failure unless ROUNDING_TESTS passes.
12990 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12993 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12994 restore exception state around main square root computation, then
12995 check for inexactness explicitly.
12997 * math/libm-test.inc (fma_test_data): Add another test.
12999 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13001 * manual/threads.texi (Non-POSIX Extensions): New document
13002 node. Document pthread_getattr_default_np and
13003 pthread_setattr_default_np.
13005 * Versions.def (libpthread): Add GLIBC_2.18.
13006 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13015 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13026 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13029 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13031 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13032 H.J. Lu <hjl.tools@gmail.com>
13035 * sysdeps/x86_64/rtld-memset.c: Remove file.
13036 * sysdeps/x86_64/rtld-memset.S: New file.
13038 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13040 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13041 (test_in_one_mode): Take arguments for whether the rounding mode
13042 is supported for each floating-point type.
13043 (do_test): Pass new arguments to test_in_one_mode using
13046 2013-06-13 Roland McGrath <roland@hack.frob.com>
13048 * posix/tst-waitid.c (do_test): Distinguish different instances of
13049 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13050 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13051 before entering the kernel for waitpid.
13053 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13055 * NEWS: Fix note on clock function precision. Text by Roland
13058 2013-06-13 Roland McGrath <roland@hack.frob.com>
13060 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13061 it into place only when and if the sanity check passes.
13063 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13065 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13066 output for whether conversion result is exact. Take argument
13067 indicating whether type is IBM long double.
13068 (round_for_all): Change need_exact field to ibm_ld.
13069 * stdlib/tst-strtod-round.c (struct exactness): New type.
13070 (struct test): Change bool ld_ok field to struct exactness exact.
13071 (TEST): Update all definitions for change to field.
13072 (tests): Regenerate array contents.
13073 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13074 field value. Check for IBM long double here.
13075 (do_test): Update calls to test_in_one_mode.
13077 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13080 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13081 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13083 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13086 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13087 generated by the compiler on loop optimizations.
13088 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13089 general definitions.
13091 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13093 * math/bug-nextafter.c: Include <math-tests.h>.
13094 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13096 * math/bug-nexttoward.c: Include <math-tests.h>.
13097 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13099 * math/test-misc.c: Include <math-tests.h>.
13100 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13103 2013-06-12 Andreas Jaeger <aj@suse.de>
13105 * po/ia.po: Update Interlingua translation from translation
13108 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13110 * include/fenv.h: Include stdbool.h.
13111 (struct rm_ctx): New structure.
13112 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13114 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13115 (SET_RESTORE_ROUNDF): Likewise.
13116 (SET_RESTORE_ROUNDL): Likewise.
13117 (SET_RESTORE_ROUND_NOEX): Likewise.
13118 (SET_RESTORE_ROUND_NOEXF): Likewise.
13119 (SET_RESTORE_ROUND_NOEXL): Likewise.
13120 (SET_RESTORE_ROUND_53BIT): Likewise.
13121 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13122 (libc_feresetround_noexf_ctx): Likewise.
13123 (libc_feresetround_noexl_ctx): Likewise.
13124 (libc_feholdsetround_53bit_ctx): Likewise.
13125 (libc_feresetround_53bit_ctx): Likewise.
13126 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13127 (libc_feholdexcept_setround_sse_ctx): New function.
13128 (libc_fesetenv_sse_ctx): Likewise.
13129 (libc_feupdateenv_sse_ctx): Likewise.
13130 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13131 (libc_feholdexcept_setround_387_ctx): Likewise.
13132 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13133 (libc_feholdsetround_387_prec_ctx): Likewise.
13134 (libc_feholdsetround_387_ctx): Likewise.
13135 (libc_feholdsetround_387_53bit_ctx): Likewise.
13136 (libc_feholdsetround_sse_ctx): Likewise.
13137 (libc_feresetround_sse_ctx): Likewise.
13138 (libc_feresetround_387_ctx): Likewise.
13139 (libc_feupdateenv_387_ctx): Likewise.
13140 (libc_feholdexcept_setroundf_ctx): Define macro.
13141 (libc_fesetenvf_ctx): Likewise.
13142 (libc_feupdateenvf_ctx): Likewise.
13143 (libc_feholdsetroundf_ctx): Likewise.
13144 (libc_feresetroundf_ctx): Likewise.
13145 (libc_feholdexcept_setround_ctx): Likewise.
13146 (libc_fesetenv_ctx): Likewise.
13147 (libc_feupdateenv_ctx): Likewise.
13148 (libc_feholdsetround_ctx): Likewise.
13149 (libc_feresetround_ctx): Likewise.
13150 (libc_feholdexcept_setroundl_ctx): Likewise.
13151 (libc_feupdateenvl_ctx): Likewise.
13152 (libc_feholdsetroundl_ctx): Likewise.
13153 (libc_feresetroundl_ctx): Likewise.
13154 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13155 (libc_feresetround_53bit_ctx): Likewise.
13157 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13159 * locale/iso-639.def: Convert to UTF-8.
13161 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13163 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13164 (EXCEPTION_TESTS_double): Likewise.
13165 (EXCEPTION_TESTS_long_double): Likewise.
13166 (EXCEPTION_TESTS): Likewise.
13167 * math/libm-test.inc (test_exceptions): Only test exceptions if
13168 EXCEPTION_TESTS (FLOAT).
13170 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13172 * benchtests/Makefile (string-bench): Add strcpy_chk and
13174 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13175 * benchtests/bench-stpcpy_chk.c: New file.
13176 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13177 * benchtests/bench-strcpy_chk.c: New file.
13178 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13180 (do_test): Likewise.
13182 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13184 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13185 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13186 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13187 with tabs where appropriate.
13188 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13190 [PPC_PLATFORM_PPC440]: Likewise.
13191 [PPC_PLATFORM_PPC464]: Likewise.
13192 [PPC_PLATFORM_PPC476]: Likewise.
13193 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13194 ppc464, and ppc476 platform strings merging from ports/
13197 2013-06-11 Andreas Schwab <schwab@suse.de>
13200 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13201 (from_ucs4_idx): Regenerate.
13202 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13203 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13204 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13205 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13206 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13207 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13208 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13209 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13210 from FROM_LOOP and TO_LOOP specific macros.
13211 (BODY): Handle combining characters.
13212 * iconvdata/BIG5HKSCS.irreversible: Update.
13213 * iconvdata/BIG5HKSCS.precomposed: New file.
13214 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13216 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13218 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13220 * include/sys/time.h: Fix indentation and add copyright header.
13222 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13223 (do_test): Likewise.
13224 * string/test-memchr.c (do_one_test): Likewise.
13225 (do_test): Likewise.
13226 * string/test-memcmp.c (do_one_test): Likewise.
13227 (do_test): Likewise.
13228 * string/test-memcpy.c (do_one_test): Likewise.
13229 (do_test): Likewise.
13230 * string/test-memmem.c (do_one_test): Likewise.
13231 (do_test): Likewise.
13232 (do_random_tests): Likewise.
13233 * string/test-memmove.c (do_one_test): Likewise.
13234 (do_test): Likewise.
13235 * string/test-memset.c (do_one_test): Likewise.
13236 (do_test): Likewise.
13237 * string/test-rawmemchr.c (do_one_test): Likewise.
13238 (do_test): Likewise.
13239 * string/test-strcasecmp.c (do_one_test): Likewise.
13240 (do_test): Likewise.
13241 * string/test-strcasestr.c (do_one_test): Likewise.
13242 (do_test): Likewise.
13243 * string/test-strcat.c (do_one_test): Likewise.
13244 (do_test): Likewise.
13245 * string/test-strchr.c (do_one_test): Likewise.
13246 (do_test): Likewise.
13247 * string/test-strcmp.c (do_one_test): Likewise.
13248 (do_test): Likewise.
13249 * string/test-strcpy.c (do_one_test): Likewise.
13250 (do_test): Likewise.
13251 * string/test-string.h: Likewise.
13252 (test_init): Likewise.
13253 * string/test-strlen.c (do_one_test): Likewise.
13254 (do_test): Likewise.
13255 * string/test-strncasecmp.c (do_one_test): Likewise.
13256 (do_test): Likewise.
13257 * string/test-strncat.c (do_one_test): Likewise.
13258 (do_test): Likewise.
13259 * string/test-strncmp.c (do_one_test): Likewise.
13260 (do_test_limit): Likewise.
13261 (do_test): Likewise.
13262 * string/test-strncpy.c (do_one_test): Likewise.
13263 (do_test): Likewise.
13264 * string/test-strnlen.c (do_one_test): Likewise.
13265 (do_test): Likewise.
13266 * string/test-strpbrk.c (do_one_test): Likewise.
13267 (do_test): Likewise.
13268 * string/test-strrchr.c (do_one_test): Likewise.
13269 (do_test): Likewise.
13270 * string/test-strspn.c (do_one_test): Likewise.
13271 (do_test): Likewise.
13272 * string/test-strstr.c (do_one_test): Likewise.
13273 (do_test): Likewise.
13275 * benchtests/Makefile (string-bench): Add string benchmarks.
13276 * benchtests/bench-bcopy-ifunc.c: New file.
13277 * benchtests/bench-bcopy.c: New file.
13278 * benchtests/bench-bzero-ifunc.c: New file.
13279 * benchtests/bench-bzero.c: New file.
13280 * benchtests/bench-memccpy-ifunc.c: New file.
13281 * benchtests/bench-memccpy.c: New file.
13282 * benchtests/bench-memchr-ifunc.c: New file.
13283 * benchtests/bench-memchr.c: New file.
13284 * benchtests/bench-memcmp-ifunc.c: New file.
13285 * benchtests/bench-memcmp.c: New file.
13286 * benchtests/bench-memmem-ifunc.c: New file.
13287 * benchtests/bench-memmem.c: New file.
13288 * benchtests/bench-memmove-ifunc.c: New file.
13289 * benchtests/bench-memmove.c: New file.
13290 * benchtests/bench-mempcpy-ifunc.c: New file.
13291 * benchtests/bench-mempcpy.c: New file.
13292 * benchtests/bench-memset-ifunc.c: New file.
13293 * benchtests/bench-memset.c: New file.
13294 * benchtests/bench-rawmemchr-ifunc.c: New file.
13295 * benchtests/bench-rawmemchr.c: New file.
13296 * benchtests/bench-stpcpy-ifunc.c: New file.
13297 * benchtests/bench-stpcpy.c: New file.
13298 * benchtests/bench-stpncpy-ifunc.c: New file.
13299 * benchtests/bench-stpncpy.c: New file.
13300 * benchtests/bench-strcasecmp-ifunc.c: New file.
13301 * benchtests/bench-strcasecmp.c: New file.
13302 * benchtests/bench-strcasestr-ifunc.c: New file.
13303 * benchtests/bench-strcasestr.c: New file.
13304 * benchtests/bench-strcat-ifunc.c: New file.
13305 * benchtests/bench-strcat.c: New file.
13306 * benchtests/bench-strchr-ifunc.c: New file.
13307 * benchtests/bench-strchr.c: New file.
13308 * benchtests/bench-strchrnul-ifunc.c: New file.
13309 * benchtests/bench-strchrnul.c: New file.
13310 * benchtests/bench-strcmp-ifunc.c: New file.
13311 * benchtests/bench-strcmp.c: New file.
13312 * benchtests/bench-strcpy-ifunc.c: New file.
13313 * benchtests/bench-strcpy.c: New file.
13314 * benchtests/bench-strcspn-ifunc.c: New file.
13315 * benchtests/bench-strcspn.c: New file.
13316 * benchtests/bench-strlen-ifunc.c: New file.
13317 * benchtests/bench-strlen.c: New file.
13318 * benchtests/bench-strncasecmp-ifunc.c: New file.
13319 * benchtests/bench-strncasecmp.c: New file.
13320 * benchtests/bench-strncat-ifunc.c: New file.
13321 * benchtests/bench-strncat.c: New file.
13322 * benchtests/bench-strncmp-ifunc.c: New file.
13323 * benchtests/bench-strncmp.c: New file.
13324 * benchtests/bench-strncpy-ifunc.c: New file.
13325 * benchtests/bench-strncpy.c: New file.
13326 * benchtests/bench-strnlen-ifunc.c: New file.
13327 * benchtests/bench-strnlen.c: New file.
13328 * benchtests/bench-strpbrk-ifunc.c: New file.
13329 * benchtests/bench-strpbrk.c: New file.
13330 * benchtests/bench-strrchr-ifunc.c: New file.
13331 * benchtests/bench-strrchr.c: New file.
13332 * benchtests/bench-strspn-ifunc.c: New file.
13333 * benchtests/bench-strspn.c: New file.
13334 * benchtests/bench-strstr-ifunc.c: New file.
13335 * benchtests/bench-strstr.c: New file.
13337 * benchtests/Makefile: Disable parallel execution of targets.
13338 (string-bench): Add memcpy.
13339 (benchset): New variable to store a list of benchmark sets.
13340 (bench-func): Renamed from bench.
13341 (bench-set): New target.
13342 (bench): Depend on bench-func and bench-set.
13343 * benchtests/README: Add section on benchmark sets.
13344 * benchtests/bench-memcpy-ifunc.c: New file.
13345 * benchtests/bench-memcpy.c: New file.
13346 * benchtests/bench-string.h: New file.
13348 2013-06-11 Andreas Schwab <schwab@suse.de>
13351 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13352 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13353 values in the triple.
13354 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13355 terminator in the group key.
13357 2013-06-11 Andreas Jaeger <aj@suse.de>
13359 * po/zh_TW.po: Update Chinese (traditional) translation from
13360 translation project.
13362 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13364 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13365 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13366 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13368 (clock_getcpuclockid): Likewise.
13369 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13370 Add weak_alias and libc_hidden_def.
13371 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13372 * rt/clock_gettime.c (clock_gettime): Rename to
13373 __clock_gettime. Add weak_alias and libc_hidden_def.
13374 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13375 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13376 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13377 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13378 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13380 * rt/clock_settime.c (clock_settime): Rename to
13381 __clock_settime. Add weak_alias and libc_hidden_def.
13382 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13384 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13386 * mach/err_boot.sub: Remove trailing whitespace.
13387 * mach/err_ipc.sub: Likewise.
13388 * mach/err_mach.sub: Likewise.
13390 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13391 (ROUNDING_TESTS_double): Likewise.
13392 (ROUNDING_TESTS_long_double): Likewise.
13393 (ROUNDING_TESTS): Likewise.
13394 * math/libm-test.inc: Include <math-tests.h>.
13395 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13396 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13397 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13398 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13400 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13402 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13405 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13407 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13408 otherwise empty TRANS lines.
13409 * sysdeps/gnu/errlist.c: Regenerated.
13411 * catgets/gencat.c (error_print): Use (void) in function
13413 * crypt/crypt_util.c (__init_des): Likewise.
13414 * crypt/speeds.c (Stop): Likewise.
13416 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13417 * inet/ruserpass.c (token): Likewise.
13418 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13419 * intl/localealias.c (extend_alias_table): Likewise.
13420 * intl/plural-exp.c (init_germanic_plural): Likewise.
13421 * libio/fcloseall.c (__fcloseall): Likewise.
13422 * libio/genops.c (_IO_flush_all): Likewise.
13423 (_IO_flush_all_linebuffered): Likewise.
13424 (_IO_cleanup): Likewise.
13425 (_IO_iter_begin): Likewise.
13426 (_IO_iter_end): Likewise.
13427 (_IO_list_lock): Likewise.
13428 (_IO_list_unlock): Likewise.
13429 (_IO_list_resetlock): Likewise.
13430 * libio/getchar.c (getchar): Likewise.
13431 * libio/getchar_u.c (getchar_unlocked): Likewise.
13432 * libio/getwchar.c (getwchar): Likewise.
13433 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13434 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13435 * login/getpt.c (__getpt): Likewise.
13436 * login/tst-utmp.c (main): Likewise.
13437 * malloc/hooks.c (__malloc_check_init): Likewise.
13438 * malloc/malloc.c (__malloc_stats): Likewise.
13439 * malloc/mtrace.c (tr_break): Likewise.
13440 (mtrace): Likewise.
13441 (muntrace): Likewise.
13442 * misc/fstab.c (endfsent): Likewise.
13443 * misc/getclktck.c (__getclktck): Likewise.
13444 * misc/getdtsz.c (__getdtablesize): Likewise.
13445 * misc/gethostid.c (gethostid): Likewise.
13446 * misc/getpagesize.c (__getpagesize): Likewise.
13447 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13448 (__get_nprocs): Likewise.
13449 (__get_phys_pages): Likewise.
13450 (__get_avphys_pages): Likewise.
13451 * misc/getttyent.c (getttyent): Likewise.
13452 (setttyent): Likewise.
13453 (endttyent): Likewise.
13454 * misc/getusershell.c (getusershell): Likewise.
13455 (endusershell): Likewise.
13456 (setusershell): Likewise.
13457 (initshells): Likewise.
13458 * misc/hsearch.c (__hdestroy): Likewise.
13459 * misc/sync.c (sync): Likewise.
13460 * misc/syslog.c (closelog_internal): Likewise.
13461 (closelog): Likewise.
13462 * misc/ttyslot.c (ttyslot): Likewise.
13463 * misc/vhangup.c (vhangup): Likewise.
13464 * posix/fork.c (__fork): Likewise.
13465 * posix/getegid.c (__getegid): Likewise.
13466 * posix/geteuid.c (__geteuid): Likewise.
13467 * posix/getgid.c (__getgid): Likewise.
13468 * posix/getpid.c (__getpid): Likewise.
13469 * posix/getppid.c (__getppid): Likewise.
13470 * posix/getuid.c (__getuid): Likewise.
13471 * posix/pause.c (pause): Likewise.
13472 * posix/setpgrp.c (setpgrp): Likewise.
13473 * posix/setsid.c (__setsid): Likewise.
13474 * posix/test-vfork.c (noop): Likewise.
13475 * resolv/gethnamaddr.c (_endhtent): Likewise.
13476 (_gethtent): Likewise.
13477 (ht_endhostent): Likewise.
13478 (gethostent): Likewise.
13479 (dns_service): Likewise.
13480 * stdlib/drand48.c (drand48): Likewise.
13481 * stdlib/lrand48.c (lrand48): Likewise.
13482 * stdlib/mrand48.c (mrand48): Likewise.
13483 * stdlib/rand.c (rand): Likewise.
13484 * stdlib/random.c (__random): Likewise.
13485 * stdlib/setenv.c (clearenv): Likewise.
13486 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13487 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13488 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13489 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13490 (__get_nprocs): Likewise.
13491 (__get_phys_pages): Likewise.
13492 (__get_avphys_pages): Likewise.
13493 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13494 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13495 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13496 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13497 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13498 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13499 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13500 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13501 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13502 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13503 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13504 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13505 * sysdeps/posix/clock.c (clock): Likewise.
13506 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13507 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13508 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13509 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13510 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13512 (__get_nprocs_conf): Likewise.
13513 (__get_phys_pages): Likewise.
13514 (__get_avphys_pages): Likewise.
13515 * time/clock.c (clock): Likewise.
13516 * time/tzset.c (__tzname_max): Likewise.
13518 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13520 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13521 (__bswap_32): Do not use "register".
13522 * crypt/crypt.c (_ufc_doit_r): Likewise.
13523 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13524 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13525 * gmon/gmon.c (__monstartup): Likewise.
13526 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13527 * hurd/hurdmalloc.c (more_memory): Likewise.
13528 (malloc): Likewise.
13530 (realloc): Likewise.
13531 (malloc_fork_prepare): Likewise.
13532 (malloc_fork_parent): Likewise.
13533 (malloc_fork_child): Likewise.
13534 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13535 (_svcauth_des): Likewise.
13536 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13537 * inet/inet_net.c (inet_network): Likewise.
13538 * inet/inet_netof.c (inet_netof): Likewise.
13539 * inet/rcmd.c (__validuser2_sa): Likewise.
13540 * io/fts.c (fts_open): Likewise.
13541 (fts_load): Likewise.
13542 (fts_close): Likewise.
13543 (fts_read): Likewise.
13544 (fts_children): Likewise.
13545 (fts_build): Likewise.
13546 (fts_stat): Likewise.
13547 (fts_sort): Likewise.
13548 (fts_alloc): Likewise.
13549 (fts_lfree): Likewise.
13550 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13551 (_IO_file_xsgetn): Likewise.
13552 (_IO_file_xsgetn_mmap): Likewise.
13553 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13554 (_IO_cookie_write): Likewise.
13555 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13556 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13557 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13558 * malloc/obstack.c (_obstack_begin): Likewise.
13559 (_obstack_begin_1): Likewise.
13560 (_obstack_newchunk): Likewise.
13561 (_obstack_allocated_p): Likewise.
13562 (obstack_free): Likewise.
13563 (_obstack_memory_used): Likewise.
13564 * misc/getttyent.c (getttynam): Likewise.
13565 (getttyent): Likewise.
13568 * misc/getusershell.c (initshells): Likewise.
13569 * misc/syslog.c (__vsyslog_chk): Likewise.
13570 * misc/ttyslot.c (ttyslot): Likewise.
13571 * nis/nis_hash.c (__nis_hash): Likewise.
13572 * posix/fnmatch_loop.c (FCT): Likewise.
13573 * posix/getconf.c (print_all): Likewise.
13575 * posix/getopt.c (exchange): Likewise.
13576 * posix/glob.c (globfree): Likewise.
13577 (prefix_array): Likewise.
13578 (__glob_pattern_type): Likewise.
13579 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13580 (NS_GET32): Likewise.
13581 (NS_PUT16): Likewise.
13582 (NS_PUT32): Likewise.
13583 * resolv/gethnamaddr.c (getanswer): Likewise.
13584 (gethostbyname2): Likewise.
13585 (gethostbyaddr): Likewise.
13586 (_gethtent): Likewise.
13587 (_gethtbyname2): Likewise.
13588 (_gethtbyaddr): Likewise.
13589 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13590 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13591 * resolv/res_init.c (__res_vinit): Likewise.
13592 (net_mask): Likewise.
13593 * resolv/res_mkquery.c (outchar): Likewise.
13595 * stdio-common/printf_fp.c (outchar): Likewise.
13597 * stdio-common/printf_fphex.c (outchar): Likewise.
13599 * stdio-common/printf_size.c (outchar): Likewise.
13601 * stdio-common/test_rdwr.c (main): Likewise.
13602 * stdio-common/tfformat.c (matches): Likewise.
13603 * stdio-common/vfprintf.c (outchar): Likewise.
13604 (printf_unknown): Likewise.
13605 (buffered_vfprintf): Likewise.
13606 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13607 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13608 (ReadFile): Likewise.
13609 * stdlib/qsort.c (SWAP): Likewise.
13610 (_quicksort): Likewise.
13611 * stdlib/setenv.c (__add_to_environ): Likewise.
13612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13613 * stdlib/strtol_l.c (__strtol_l): Likewise.
13614 * stdlib/tst-strtod.c (main): Likewise.
13615 * stdlib/tst-strtol.c (main): Likewise.
13616 * stdlib/tst-strtoll.c (main): Likewise.
13617 * string/bits/string2.h (__strcmp_cc): Likewise.
13618 (__strcmp_cg): Likewise.
13619 (__strcspn_c1): Likewise.
13620 (__strcspn_c2): Likewise.
13621 (__strcspn_c3): Likewise.
13622 (__strspn_c1): Likewise.
13623 (__strspn_c2): Likewise.
13624 (__strspn_c3): Likewise.
13625 (__strsep_1c): Likewise.
13626 (__strsep_2c): Likewise.
13627 (__strsep_3c): Likewise.
13628 * string/memccpy.c (__memccpy): Likewise.
13629 * string/stpcpy.c (__stpcpy): Likewise.
13630 * string/strcmp.c (strcmp): Likewise.
13631 * string/strrchr.c (strrchr): Likewise.
13632 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13634 * sysdeps/mach/hurd/getcwd.c
13635 (_hurd_canonicalize_directory_name_internal): Likewise.
13636 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13637 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13638 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13639 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13640 Likewise, in both definitions.
13641 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13643 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13644 64] (__bswap_64): Likewise.
13645 * time/test_time.c (main): Likewise.
13646 * time/tzfile.c (__tzfile_read): Likewise.
13647 (__tzfile_compute): Likewise.
13648 * time/tzset.c (__tzset_parse_tz): Likewise.
13649 (tzset_internal): Likewise.
13650 (compute_change): Likewise.
13651 * wcsmbs/wcscat.c (__wcscat): Likewise.
13652 * wcsmbs/wcschr.c (wcschr): Likewise.
13653 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13654 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13655 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13656 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13657 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13658 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13659 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13661 * wcsmbs/wmemset.c (wmemset): Likewise.
13663 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13665 * scripts/config.guess: Update to version 2013-05-16.
13666 * scripts/config.sub: Update to version 2013-04-24.
13667 * scripts/install-sh: Update to version 2011-11-20.07.
13668 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13669 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13671 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13673 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13674 * elf/sln.c: Likewise.
13675 * hurd/hurd/ioctl.h: Likewise.
13676 * hurd/hurdmalloc.c: Likewise.
13677 * hurd/xattr.c: Likewise.
13678 * include/shlib-compat.h: Likewise.
13679 * inet/ruserpass.c: Likewise.
13680 * libio/iofgets_u.c: Likewise.
13681 * libio/iofgetws_u.c: Likewise.
13682 * locale/programs/ld-identification.c: Likewise.
13683 * locale/programs/ld-time.c: Likewise.
13684 * mach/msg-destroy.c: Likewise.
13685 * nss/nss_files/files-netgrp.c: Likewise.
13686 * resolv/res_data.c: Likewise.
13687 * soft-fp/op-1.h: Likewise.
13688 * soft-fp/op-2.h: Likewise.
13689 * soft-fp/op-4.h: Likewise.
13690 * soft-fp/op-common.h: Likewise.
13691 * stdio-common/printf_fphex.c: Likewise.
13692 * stdlib/strtod_l.c: Likewise.
13693 * sunrpc/rpc/clnt.h: Likewise.
13694 * sysdeps/generic/framestate.c: Likewise.
13695 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13696 * sysdeps/i386/bsd-setjmp.S: Likewise.
13697 * sysdeps/i386/__longjmp.S: Likewise.
13698 * sysdeps/i386/setjmp.S: Likewise.
13699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13717 * sysdeps/ieee754/support.c: Likewise.
13718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13719 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13720 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13721 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13722 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13723 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13724 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13725 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13726 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13727 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13728 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13729 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13730 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13731 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13732 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13733 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13734 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13737 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13739 * posix/transbug.c: Remove executable mode.
13741 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13743 * crypt/speeds.c: Remove trailing whitespace.
13744 * dlfcn/default.c: Likewise.
13745 * elf/ifuncdep2.c: Likewise.
13746 * elf/ifuncmain1.c: Likewise.
13747 * elf/ifuncmain1vis.c: Likewise.
13748 * elf/testobj.h: Likewise.
13749 * elf/tst-stackguard1.c: Likewise.
13750 * gmon/sys/gmon.h: Likewise.
13751 * hurd/hurdmsg.c: Likewise.
13752 * hurd/new-fd.c: Likewise.
13753 * hurd/ports-get.c: Likewise.
13754 * iconvdata/ibm1008_420.c: Likewise.
13755 * inet/tst-getni1.c: Likewise.
13756 * inet/tst-getni2.c: Likewise.
13757 * libio/ioungetc.c: Likewise.
13758 * libio/wfiledoalloc.c: Likewise.
13759 * manual/libm-err-tab.pl: Likewise.
13760 * math/w_dremf.c: Likewise.
13761 * misc/ftruncate.c: Likewise.
13762 * posix/bug-glob2.c: Likewise.
13763 * posix/tst-pcre.c: Likewise.
13764 * posix/wait4.c: Likewise.
13765 * resolv/README: Likewise.
13766 * resolv/res_debug.h: Likewise.
13767 * resolv/tst-inet_ntop.c: Likewise.
13768 * setjmp/bug269-setjmp.c: Likewise.
13769 * soft-fp/extended.h: Likewise.
13770 * soft-fp/op-1.h: Likewise.
13771 * soft-fp/op-2.h: Likewise.
13772 * soft-fp/op-4.h: Likewise.
13773 * soft-fp/op-8.h: Likewise.
13774 * soft-fp/testit.c: Likewise.
13775 * stdio-common/bug16.c: Likewise.
13776 * stdlib/random.c: Likewise.
13777 * sunrpc/rpcsvc/rquota.x: Likewise.
13778 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13782 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13785 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13786 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13807 * sysdeps/ieee754/s_lib_version.c: Likewise.
13808 * sysdeps/mach/hurd/check_fds.c: Likewise.
13809 * sysdeps/mach/hurd/getsockname.c: Likewise.
13810 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13811 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13812 * sysdeps/powerpc/bits/link.h: Likewise.
13813 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13814 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13815 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13816 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13817 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13818 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13819 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13820 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13821 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13824 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13825 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13826 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13828 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13830 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13832 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13833 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13834 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13835 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13836 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13837 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13838 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13839 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13844 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13845 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13847 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13848 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13853 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13854 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13855 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13856 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13857 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13858 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13859 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13860 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13861 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13862 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13865 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13867 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13868 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13869 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13870 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13871 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13872 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13873 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13874 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13875 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13876 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13877 * sysdeps/powerpc/sysdep.h: Likewise.
13878 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13879 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13880 * sysdeps/sh/dl-trampoline.S: Likewise.
13881 * sysdeps/sh/memset.S: Likewise.
13882 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13883 * sysdeps/sh/strlen.S: Likewise.
13884 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13885 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13886 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13887 * sysdeps/sparc/sparc32/rem.S: Likewise.
13888 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13889 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13890 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13891 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13892 * sysdeps/sparc/sparc32/urem.S: Likewise.
13893 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13894 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13895 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13896 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13897 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13898 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13899 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13900 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13901 * sysdeps/unix/bsd/times.c: Likewise.
13902 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13903 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13907 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13908 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13916 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13917 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13920 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13921 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13922 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13923 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13924 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13925 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13926 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13927 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13930 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13931 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13932 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13933 * sysdeps/x86_64/strcspn.S: Likewise.
13935 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13937 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13938 generated file. Regenerate properly from gen-translit.pl.
13939 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13940 locale/C-translit.h.
13942 2013-06-05 Andreas Schwab <schwab@suse.de>
13945 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13946 week as 6 instead of -1.
13947 * time/tst-strptime.c (day_tests): Add test case.
13949 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13951 * sysdeps/generic/math_private.h
13952 (libc_feholdexcept_setround_53bit): Replace with
13953 libc_feholdsetround_53bit.
13954 (libc_feupdateenv_53bit): Replace with
13955 libc_feresetround_53bit.
13956 (SET_RESTORE_ROUND_53BIT): Adjust.
13958 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13960 * string/test-strchrnul.c: Add copyright header.
13962 * posix/tst-getaddrinfo4.c: Increase test timeout.
13964 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13967 * math/libm-test.inc (MAX_EXP): Remove
13969 (ulp): Use MIN_EXP - MANT_DIG.
13970 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13972 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13974 * po/be.po: Revert last change.
13975 * po/zh_CN.po: Likewise.
13976 * po/header.pot: Likewise.
13978 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13980 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13981 link-libc-deps to empty as target-specific variable.
13982 * Makerules (link-libc-args): New variable.
13983 (libc-for-link): Likewise.
13984 (link-libc-deps): Likewise.
13985 (lib%.so): Depend on $(link-libc-deps). Link with
13987 (build-module): Link with $(link-libc-args).
13988 (build-module-asneeded): Likewise.
13989 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13991 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13992 target-specific variable.
13993 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13994 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13995 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13997 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13999 ($(objpfx)libpcprofile.so): Likewise.
14000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14002 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14003 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14004 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14006 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14007 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14008 * login/Makefile ($(objpfx)libutil.so): Likewise.
14009 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14010 * math/Makefile ($(objpfx)libm.so): Likewise.
14011 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14012 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14013 variable instead of depending directly on libc.
14014 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14015 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14017 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14019 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14020 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14021 ($(objpfx)libanl.so): Likewise.
14022 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14024 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14026 * sysdeps/i386/fpu/Makefile: Remove file.
14027 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14028 ($(objpfx)libm.so): Remove dependency on ld.so.
14030 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14033 * nis/yp_xdr.c (XDRMAXNAME): Define.
14034 (XDRMAXRECORD): Define.
14035 (xdr_domainname): Use XDRMAXNAME.
14036 (xdr_mapname): Likewise.
14037 (xdr_peername): Likewise.
14038 (xdr_keydat): Use XDRMAXRECORD.
14039 (xdr_valdat): Likewise.
14041 2013-05-30 Jeff Law <law@redhat.com>
14044 * manual/errno.texi (ESTALE): Update to account for more than
14045 just NFS file systems.
14046 * sysdeps/gnu/errlist.c: Regenerated.
14048 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14051 * elf/Makefile (tests): Add tst-null-argv.
14052 (modules-names): Add tst-null-argv-lib.
14053 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14054 (tst-null-argv-ENV): Set environment for tst-null-argv.
14055 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14056 (RTLD_PROGNAME): New macro.
14057 * elf/tst-null-argv.c: New test case.
14058 * elf/tst-null-argv-lib.c: Library for test case.
14059 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14060 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14061 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14062 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14063 * elf/dl-init.c (call_init): Likewise.
14064 (_dl_init): Likewise.
14065 * elf/dl-load.c (print_search_path): Likewise.
14066 (_dl_map_object): Likewise.
14067 * elf/dl-lookup.c (do_lookup_x): Likewise.
14068 (add_dependency): Likewise.
14069 (_dl_lookup_symbol_x): Likewise.
14070 (_dl_debug_bindings): Likewise.
14071 * elf/dl-open.c (_dl_show_scope): Likewise.
14072 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14073 * elf/dl-version.c (match_symbol): Likewise.
14074 (_dl_check_map_versions): Likewise.
14075 * elf/rtld.c (dl_main): Likewise.
14076 (print_unresolved): Use RTLD_PROGNAME.
14077 (print_missing_version): Likewise.
14078 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14079 (elf_machine_rela): Likewise.
14080 * sysdeps/powerpc/powerpc32/dl-machine.c
14081 (__process_machine_rela): Likewise.
14082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14095 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14097 * po/be.po: Add descriptive title.
14098 * po/zh_CN.po: Likewise.
14099 * po/header.pot: Likewise.
14101 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14103 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14105 (enlarge_archive): Likewise.
14107 2013-05-28 Ben North <ben@redfrontdoor.org>
14109 * manual/arith.texi (frexp): It is the magnitude of the return
14110 value which lies in [0.5, 1), not the return value itself.
14112 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14116 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14118 * stdio-common/bug26.c (main): Correct fscanf template.
14120 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14121 declare _dl_skip_args.
14123 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14126 * manual/platform.texi: Add missing @end deftypefun.
14128 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14131 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14132 bit of mantissa of 2^16382.
14133 * math/libm-test.inc (hypot_test_data): Add more tests.
14135 * math/libm-test.inc: Add drem and pow10 to list of tested
14137 (pow10_test): New function.
14138 (drem_test): Likewise.
14139 (drem_test_tonearest): Likewise.
14140 (drem_test_towardzero): Likewise.
14141 (drem_test_downward): Likewise.
14142 (drem_test_upward): Likewise.
14143 (main): Call the new functions.
14145 * math/libm-test.inc (finite_test_data): Remove.
14146 (finite_test): Run tests from isfinite_test_data.
14147 (gamma_test_data): Remove.
14148 (gamma_test): Run tests from lgamma_test_data.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14152 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14154 * manual/platform.texi: Add PowerPC PPR function set documentation.
14155 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14158 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14160 * math/libm-test.inc (MAX_EXP): Define.
14162 (ulp): New function.
14163 (check_float_internal): Use ULPDIFF.
14164 (cpow_test): Disable failing test.
14165 (check_ulp): Test ulp() implemetnation.
14166 (main): Call check_ulp before starting tests.
14168 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14170 * math/gen-libm-test.pl (generate_testfile): Do not handle
14171 START_DATA and END_DATA.
14172 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14174 (acos_tonearest_test_data): Likewise.
14175 (acos_towardzero_test_data): Likewise.
14176 (acos_downward_test_data): Likewise.
14177 (acos_upward_test_data): Likewise.
14178 (acosh_test_data): Likewise.
14179 (asin_test_data): Likewise.
14180 (asin_tonearest_test_data): Likewise.
14181 (asin_towardzero_test_data): Likewise.
14182 (asin_downward_test_data): Likewise.
14183 (asin_upward_test_data): Likewise.
14184 (asinh_test_data): Likewise.
14185 (atan_test_data): Likewise.
14186 (atanh_test_data): Likewise.
14187 (atan2_test_data): Likewise.
14188 (cabs_test_data): Likewise.
14189 (cacos_test_data): Likewise.
14190 (cacosh_test_data): Likewise.
14191 (carg_test_data): Likewise.
14192 (casin_test_data): Likewise.
14193 (casinh_test_data): Likewise.
14194 (catan_test_data): Likewise.
14195 (catanh_test_data): Likewise.
14196 (cbrt_test_data): Likewise.
14197 (ccos_test_data): Likewise.
14198 (ccosh_test_data): Likewise.
14199 (ceil_test_data): Likewise.
14200 (cexp_test_data): Likewise.
14201 (cimag_test_data): Likewise.
14202 (clog_test_data): Likewise.
14203 (clog10_test_data): Likewise.
14204 (conj_test_data): Likewise.
14205 (copysign_test_data): Likewise.
14206 (cos_test_data): Likewise.
14207 (cos_tonearest_test_data): Likewise.
14208 (cos_towardzero_test_data): Likewise.
14209 (cos_downward_test_data): Likewise.
14210 (cos_upward_test_data): Likewise.
14211 (cosh_test_data): Likewise.
14212 (cosh_tonearest_test_data): Likewise.
14213 (cosh_towardzero_test_data): Likewise.
14214 (cosh_downward_test_data): Likewise.
14215 (cosh_upward_test_data): Likewise.
14216 (cpow_test_data): Likewise.
14217 (cproj_test_data): Likewise.
14218 (creal_test_data): Likewise.
14219 (csin_test_data): Likewise.
14220 (csinh_test_data): Likewise.
14221 (csqrt_test_data): Likewise.
14222 (ctan_test_data): Likewise.
14223 (ctan_tonearest_test_data): Likewise.
14224 (ctan_towardzero_test_data): Likewise.
14225 (ctan_downward_test_data): Likewise.
14226 (ctan_upward_test_data): Likewise.
14227 (ctanh_test_data): Likewise.
14228 (ctanh_tonearest_test_data): Likewise.
14229 (ctanh_towardzero_test_data): Likewise.
14230 (ctanh_downward_test_data): Likewise.
14231 (ctanh_upward_test_data): Likewise.
14232 (erf_test_data): Likewise.
14233 (erfc_test_data): Likewise.
14234 (exp_test_data): Likewise.
14235 (exp_tonearest_test_data): Likewise.
14236 (exp_towardzero_test_data): Likewise.
14237 (exp_downward_test_data): Likewise.
14238 (exp_upward_test_data): Likewise.
14239 (exp10_test_data): Likewise.
14240 (exp2_test_data): Likewise.
14241 (expm1_test_data): Likewise.
14242 (fabs_test_data): Likewise.
14243 (fdim_test_data): Likewise.
14244 (finite_test_data): Likewise.
14245 (floor_test_data): Likewise.
14246 (fma_test_data): Likewise.
14247 (fma_towardzero_test_data): Likewise.
14248 (fma_downward_test_data): Likewise.
14249 (fma_upward_test_data): Likewise.
14250 (fmax_test_data): Likewise.
14251 (fmin_test_data): Likewise.
14252 (fmod_test_data): Likewise.
14253 (fpclassify_test_data): Likewise.
14254 (frexp_test_data): Likewise.
14255 (gamma_test_data): Likewise.
14256 (hypot_test_data): Likewise.
14257 (ilogb_test_data): Likewise.
14258 (isfinite_test_data): Likewise.
14259 (isgreater_test_data): Likewise.
14260 (isgreaterequal_test_data): Likewise.
14261 (isinf_test_data): Likewise.
14262 (isless_test_data): Likewise.
14263 (islessequal_test_data): Likewise.
14264 (islessgreater_test_data): Likewise.
14265 (isnan_test_data): Likewise.
14266 (isnormal_test_data): Likewise.
14267 (issignaling_test_data): Likewise.
14268 (isunordered_test_data): Likewise.
14269 (j0_test_data): Likewise.
14270 (j1_test_data): Likewise.
14271 (jn_test_data): Likewise.
14272 (ldexp_test_data): Likewise.
14273 (lgamma_test_data): Likewise.
14274 (lrint_test_data): Likewise.
14275 (lrint_tonearest_test_data): Likewise.
14276 (lrint_towardzero_test_data): Likewise.
14277 (lrint_downward_test_data): Likewise.
14278 (lrint_upward_test_data): Likewise.
14279 (llrint_test_data): Likewise.
14280 (llrint_tonearest_test_data): Likewise.
14281 (llrint_towardzero_test_data): Likewise.
14282 (llrint_downward_test_data): Likewise.
14283 (llrint_upward_test_data): Likewise.
14284 (log_test_data): Likewise.
14285 (log10_test_data): Likewise.
14286 (log1p_test_data): Likewise.
14287 (log2_test_data): Likewise.
14288 (logb_test_data): Likewise.
14289 (logb_downward_test_data): Likewise.
14290 (lround_test_data): Likewise.
14291 (llround_test_data): Likewise.
14292 (modf_test_data): Likewise.
14293 (nearbyint_test_data): Likewise.
14294 (nextafter_test_data): Likewise.
14295 (nexttoward_test_data): Likewise.
14296 (pow_test_data): Likewise.
14297 (pow_tonearest_test_data): Likewise.
14298 (pow_towardzero_test_data): Likewise.
14299 (pow_downward_test_data): Likewise.
14300 (pow_upward_test_data): Likewise.
14301 (remainder_test_data): Likewise.
14302 (remainder_tonearest_test_data): Likewise.
14303 (remainder_towardzero_test_data): Likewise.
14304 (remainder_downward_test_data): Likewise.
14305 (remainder_upward_test_data): Likewise.
14306 (remquo_test_data): Likewise.
14307 (rint_test_data): Likewise.
14308 (rint_tonearest_test_data): Likewise.
14309 (rint_towardzero_test_data): Likewise.
14310 (rint_downward_test_data): Likewise.
14311 (rint_upward_test_data): Likewise.
14312 (round_test_data): Likewise.
14313 (scalb_test_data): Likewise.
14314 (scalbn_test_data): Likewise.
14315 (scalbln_test_data): Likewise.
14316 (signbit_test_data): Likewise.
14317 (sin_test_data): Likewise.
14318 (sin_tonearest_test_data): Likewise.
14319 (sin_towardzero_test_data): Likewise.
14320 (sin_downward_test_data): Likewise.
14321 (sin_upward_test_data): Likewise.
14322 (sincos_test_data): Likewise.
14323 (sinh_test_data): Likewise.
14324 (sinh_tonearest_test_data): Likewise.
14325 (sinh_towardzero_test_data): Likewise.
14326 (sinh_downward_test_data): Likewise.
14327 (sinh_upward_test_data): Likewise.
14328 (sqrt_test_data): Likewise.
14329 (tan_test_data): Likewise.
14330 (tan_tonearest_test_data): Likewise.
14331 (tan_towardzero_test_data): Likewise.
14332 (tan_downward_test_data): Likewise.
14333 (tan_upward_test_data): Likewise.
14334 (tanh_test_data): Likewise.
14335 (tgamma_test_data): Likewise.
14336 (trunc_test_data): Likewise.
14337 (y0_test_data): Likewise.
14338 (y1_test_data): Likewise.
14339 (yn_test_data): Likewise.
14340 (significand_test_data): Likewise.
14342 * math/gen-libm-test.pl (@functions): Remove variable.
14343 (generate_testfile): Don't handle START and END lines.
14344 * math/libm-test.inc (START): New macro.
14346 (END_COMPLEX): Likewise.
14347 (acos_test): Use END macro without arguments.
14348 (acos_test_tonearest): Likewise.
14349 (acos_test_towardzero): Likewise.
14350 (acos_test_downward): Likewise.
14351 (acos_test_upward): Likewise.
14352 (acosh_test): Likewise.
14353 (asin_test): Likewise.
14354 (asin_test_tonearest): Likewise.
14355 (asin_test_towardzero): Likewise.
14356 (asin_test_downward): Likewise.
14357 (asin_test_upward): Likewise.
14358 (asinh_test): Likewise.
14359 (atan_test): Likewise.
14360 (atanh_test): Likewise.
14361 (atan2_test): Likewise.
14362 (cabs_test): Likewise.
14363 (cacos_test): Use END_COMPLEX macro without arguments.
14364 (cacosh_test): Likewise.
14365 (carg_test): Use END macro without arguments.
14366 (casin_test): Use END_COMPLEX macro without arguments.
14367 (casinh_test): Likewise.
14368 (catan_test): Likewise.
14369 (catanh_test): Likewise.
14370 (cbrt_test): Use END macro without arguments.
14371 (ccos_test): Use END_COMPLEX macro without arguments.
14372 (ccosh_test): Likewise.
14373 (ceil_test): Use END macro without arguments.
14374 (cexp_test): Use END_COMPLEX macro without arguments.
14375 (cimag_test): Use END macro without arguments.
14376 (clog_test): Use END_COMPLEX macro without arguments.
14377 (clog10_test): Likewise.
14378 (conj_test): Likewise.
14379 (copysign_test): Use END macro without arguments.
14380 (cos_test): Likewise.
14381 (cos_test_tonearest): Likewise.
14382 (cos_test_towardzero): Likewise.
14383 (cos_test_downward): Likewise.
14384 (cos_test_upward): Likewise.
14385 (cosh_test): Likewise.
14386 (cosh_test_tonearest): Likewise.
14387 (cosh_test_towardzero): Likewise.
14388 (cosh_test_downward): Likewise.
14389 (cosh_test_upward): Likewise.
14390 (cpow_test): Use END_COMPLEX macro without arguments.
14391 (cproj_test): Likewise.
14392 (creal_test): Use END macro without arguments.
14393 (csin_test): Use END_COMPLEX macro without arguments.
14394 (csinh_test): Likewise.
14395 (csqrt_test): Likewise.
14396 (ctan_test): Likewise.
14397 (ctan_test_tonearest): Likewise.
14398 (ctan_test_towardzero): Likewise.
14399 (ctan_test_downward): Likewise.
14400 (ctan_test_upward): Likewise.
14401 (ctanh_test): Likewise.
14402 (ctanh_test_tonearest): Likewise.
14403 (ctanh_test_towardzero): Likewise.
14404 (ctanh_test_downward): Likewise.
14405 (ctanh_test_upward): Likewise.
14406 (erf_test): Use END macro without arguments.
14407 (erfc_test): Likewise.
14408 (exp_test): Likewise.
14409 (exp_test_tonearest): Likewise.
14410 (exp_test_towardzero): Likewise.
14411 (exp_test_downward): Likewise.
14412 (exp_test_upward): Likewise.
14413 (exp10_test): Likewise.
14414 (exp2_test): Likewise.
14415 (expm1_test): Likewise.
14416 (fabs_test): Likewise.
14417 (fdim_test): Likewise.
14418 (finite_test): Likewise.
14419 (floor_test): Likewise.
14420 (fma_test): Likewise.
14421 (fma_test_towardzero): Likewise.
14422 (fma_test_downward): Likewise.
14423 (fma_test_upward): Likewise.
14424 (fmax_test): Likewise.
14425 (fmin_test): Likewise.
14426 (fmod_test): Likewise.
14427 (fpclassify_test): Likewise.
14428 (frexp_test): Likewise.
14429 (gamma_test): Likewise.
14430 (hypot_test): Likewise.
14431 (ilogb_test): Likewise.
14432 (isfinite_test): Likewise.
14433 (isgreater_test): Likewise.
14434 (isgreaterequal_test): Likewise.
14435 (isinf_test): Likewise.
14436 (isless_test): Likewise.
14437 (islessequal_test): Likewise.
14438 (islessgreater_test): Likewise.
14439 (isnan_test): Likewise.
14440 (isnormal_test): Likewise.
14441 (issignaling_test): Likewise.
14442 (isunordered_test): Likewise.
14443 (j0_test): Likewise.
14444 (j1_test): Likewise.
14445 (jn_test): Likewise.
14446 (ldexp_test): Likewise.
14447 (lgamma_test): Likewise.
14448 (lrint_test): Likewise.
14449 (lrint_test_tonearest): Likewise.
14450 (lrint_test_towardzero): Likewise.
14451 (lrint_test_downward): Likewise.
14452 (lrint_test_upward): Likewise.
14453 (llrint_test): Likewise.
14454 (llrint_test_tonearest): Likewise.
14455 (llrint_test_towardzero): Likewise.
14456 (llrint_test_downward): Likewise.
14457 (llrint_test_upward): Likewise.
14458 (log_test): Likewise.
14459 (log10_test): Likewise.
14460 (log1p_test): Likewise.
14461 (log2_test): Likewise.
14462 (logb_test): Likewise.
14463 (logb_test_downward): Likewise.
14464 (lround_test): Likewise.
14465 (llround_test): Likewise.
14466 (modf_test): Likewise.
14467 (nearbyint_test): Likewise.
14468 (nextafter_test): Likewise.
14469 (nexttoward_test): Likewise.
14470 (pow_test): Likewise.
14471 (pow_test_tonearest): Likewise.
14472 (pow_test_towardzero): Likewise.
14473 (pow_test_downward): Likewise.
14474 (pow_test_upward): Likewise.
14475 (remainder_test): Likewise.
14476 (remainder_test_tonearest): Likewise.
14477 (remainder_test_towardzero): Likewise.
14478 (remainder_test_downward): Likewise.
14479 (remainder_test_upward): Likewise.
14480 (remquo_test): Likewise.
14481 (rint_test): Likewise.
14482 (rint_test_tonearest): Likewise.
14483 (rint_test_towardzero): Likewise.
14484 (rint_test_downward): Likewise.
14485 (rint_test_upward): Likewise.
14486 (round_test): Likewise.
14487 (scalb_test): Likewise.
14488 (scalbn_test): Likewise.
14489 (scalbln_test): Likewise.
14490 (signbit_test): Likewise.
14491 (sin_test): Likewise.
14492 (sin_test_tonearest): Likewise.
14493 (sin_test_towardzero): Likewise.
14494 (sin_test_downward): Likewise.
14495 (sin_test_upward): Likewise.
14496 (sincos_test): Likewise.
14497 (sinh_test): Likewise.
14498 (sinh_test_tonearest): Likewise.
14499 (sinh_test_towardzero): Likewise.
14500 (sinh_test_downward): Likewise.
14501 (sinh_test_upward): Likewise.
14502 (sqrt_test): Likewise.
14503 (tan_test): Likewise.
14504 (tan_test_tonearest): Likewise.
14505 (tan_test_towardzero): Likewise.
14506 (tan_test_downward): Likewise.
14507 (tan_test_upward): Likewise.
14508 (tanh_test): Likewise.
14509 (tgamma_test): Likewise.
14510 (trunc_test): Likewise.
14511 (y0_test): Likewise.
14512 (y1_test): Likewise.
14513 (yn_test): Likewise.
14514 (significand_test): Likewise.
14516 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14519 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14521 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14524 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14525 __ppc_mdoio and __ppc_mdoom.
14526 * manual/platform.texi: Document new functions __ppc_yield,
14527 __ppc_mdoio and __ppc_mdoom.
14529 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14531 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14532 (main): Mention "tls" pseudo-hwcap is legacy.
14533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14535 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14537 * math/gen-libm-test.pl (parse_args): Output only string of
14538 arguments as text for test name, not full call or descriptions of
14539 tests for extra outputs.
14540 (generate_testfile): Do not pass function name to parse_args.
14541 Generate this_func variable from START.
14542 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14544 (struct test_ff_f_data): Likewise.
14545 (test_ff_f_data_nexttoward): Likewise.
14546 (struct test_fi_f_data): Likewise.
14547 (struct test_fl_f_data): Likewise.
14548 (struct test_if_f_data): Likewise.
14549 (struct test_fff_f_data): Likewise.
14550 (struct test_c_f_data): Likewise.
14551 (struct test_f_f1_data): Likewise. Remove field extra_name.
14552 (struct test_fF_f1_data): Likewise.
14553 (struct test_ffI_f1_data): Likewise.
14554 (struct test_c_c_data): Rename test_name field to arg_str.
14555 (struct test_cc_c_data): Likewise.
14556 (struct test_f_i_data): Likewise.
14557 (struct test_ff_i_data): Likewise.
14558 (struct test_f_l_data): Likewise.
14559 (struct test_f_L_data): Likewise.
14560 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14562 (COMMON_TEST_SETUP): New macro.
14563 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14564 (COMMON_TEST_CLEANUP): Likewise.
14565 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14566 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14568 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14569 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14571 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14572 (RUN_TEST_fff_f): Take argument string. Call new setup and
14574 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14575 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14577 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14578 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14581 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14584 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14587 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14590 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14592 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14593 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14595 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14596 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14598 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14599 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14601 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14602 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14604 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14605 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14607 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14608 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14610 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14611 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14613 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14614 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14616 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14617 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14619 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14621 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14623 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14624 to _sifields.sigfault.
14625 (si_addr_lsb): Define new macro.
14626 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14628 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14630 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14633 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14635 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14637 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14638 loading the domain.
14640 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14642 * math/gen-libm-test.pl (parse_args): Do not include expected
14643 result in test name.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14646 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14647 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14653 * benchtests/Makefile: Sort function entries.
14655 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14656 tanh, asinh, acosh, atanh.
14657 * benchtests/acos-inputs: New file.
14658 * benchtests/acosh-inputs: New file.
14659 * benchtests/asin-inputs: New file.
14660 * benchtests/asinh-inputs: New file.
14661 * benchtests/atanh-inputs: New file.
14662 * benchtests/cosh-inputs: New file.
14663 * benchtests/log-inputs: New file.
14664 * benchtests/sinh-inputs: New file.
14665 * benchtests/tanh-inputs: New file.
14667 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14670 * posix/tst-getaddrinfo4.c: New test.
14671 * posix/Makefile (tests): Add it.
14673 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14676 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14677 when no services were used.
14678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14679 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14681 2013-05-21 Andreas Schwab <schwab@suse.de>
14684 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14685 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14687 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14688 redundant variable declarations and reallocation of buffer when
14689 parsing as IPv6 address. Always set NSS status when called from
14690 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14691 buffer too small. Correct computation of needed size.
14692 * nss/Makefile (tests): Add test-digits-dots.
14693 * nss/test-digits-dots.c: New test.
14695 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14697 * benchtests/Makefile: Remove instructions for adding
14699 * benchtests/README: New file to explain how to execute and
14700 enhance the benchmark tests.
14702 2013-05-21 Andreas Schwab <schwab@suse.de>
14705 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14706 * setjmp/tst-sigsetjmp.c: New test.
14708 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14710 * sysdeps/x86_64/memset.S (memset): New implementation.
14711 (__bzero): Likewise.
14712 (__memset_tail): New function.
14714 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14716 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14717 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14718 __memcpy_sse2_unaligned ifunc selection.
14719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14720 Add memcpy-sse2-unaligned.S.
14721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14722 Add: __memcpy_sse2_unaligned.
14724 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14727 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14728 math_force_eval before restoring floating-point envrionment.
14729 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14732 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14734 (__nearbyintl): Use math_force_eval before restoring
14735 floating-point environment.
14736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14738 * math/gen-libm-test.pl (special_functions): Remove.
14739 (parse_args): Don't handle TEST_extra. Handle functions with no
14741 * math/libm-test.inc (struct test_sincos_data): Replace with
14742 struct test_fFF_11_data.
14743 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14744 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14745 (sincos_test_data): Change element type to struct
14746 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14747 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14748 RUN_TEST_LOOP_sincos.
14749 * math/README.libm-test: Don't mention special handling of
14750 individual functions.
14751 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14753 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758 * math/gen-libm-test.pl (get_variable): Remove function.
14759 (parse_args): Don't show pointer parameters to call in test
14760 names. Use "extra output N" in test names for extra outputs
14761 rather than naming variables.
14763 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14766 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14767 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14768 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14770 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14772 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14775 * math/gen-libm-test.pl (@tests): Remove variable.
14776 ($count): Likewise.
14777 (new_test): Remove function.
14778 (show_exceptions): New function.
14779 (special_functions): Use show_exceptions instead of new_test.
14780 (parse_args): Likewise.
14781 (generate_testfile): Pass only function name in generated call to
14782 print_max_error or print_complex_max_error.
14783 (get_ulps): Do not handle complex tests specially.
14784 (output_test): Rename to ...
14785 (get_all_ulps_for_test): ... this. Return a string rather than
14786 printing to a file. Require ulps to be present.
14787 (output_ulps): Generate arrays rather than #defines.
14788 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14789 (struct ulp_data): New type.
14790 (BUILD_COMPLEX_ULP): Remove macro.
14791 (compare_ulp_data): New function.
14792 (find_ulps): Likewise.
14793 (find_test_ulps): Likewise.
14794 (find_function_ulps): Likewise.
14795 (find_complex_function_ulps): Likewise.
14796 (print_max_error): Determine allowed ulps using
14797 find_function_ulps.
14798 (print_complex_max_error): Determine allowed ulps using
14799 find_complex_function_ulps.
14800 (check_float_internal): Determine max ulps using find_test_ulps.
14801 (check_float): Do not take max_ulp parameter. Update call to
14802 check_float_internal.
14803 (check_complex): Likewise.
14804 (check_int): Do not take max_ulp parameter.
14805 (check_long): Likewise.
14806 (check_bool): Likewise.
14807 (check_longlong): Likewise.
14808 (struct test_f_f_data): Remove max_ulp field.
14809 (struct test_ff_f_data): Likewise.
14810 (struct test_ff_f_data_nexttoward): Likewise.
14811 (struct test_fi_f_data): Likewise.
14812 (struct test_fl_f_data): Likewise.
14813 (struct test_if_f_data): Likewise.
14814 (struct test_fff_f_data): Likewise.
14815 (struct test_c_f_data): Likewise.
14816 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14817 (struct test_fF_f1_data): Likewise.
14818 (struct test_ffI_f1_data): Likewise.
14819 (struct test_c_c_data): Remove max_ulp field.
14820 (struct test_cc_c_data): Likewise.
14821 (struct test_f_i_data): Likewise.
14822 (struct test_ff_i_data): Likewise.
14823 (struct test_f_l_data): Likewise.
14824 (struct test_f_L_data): Likewise.
14825 (struct test_sincos_data): Likewise.
14826 (RUN_TEST_f_f): Do not handle ulps.
14827 (RUN_TEST_LOOP_f_f): Likewise.
14828 (RUN_TEST_2_f): Likewise.
14829 (RUN_TEST_LOOP_2_f): Likewise.
14830 (RUN_TEST_fff_f): Likewise.
14831 (RUN_TEST_LOOP_fff_f): Likewise.
14832 (RUN_TEST_c_f): Likewise.
14833 (RUN_TEST_LOOP_c_f): Likewise.
14834 (RUN_TEST_f_f1): Likewise.
14835 (RUN_TEST_LOOP_f_f1): Likewise.
14836 (RUN_TEST_fF_f1): Likewise.
14837 (RUN_TEST_LOOP_fF_f1): Likewise.
14838 (RUN_TEST_fI_f1): Likewise.
14839 (RUN_TEST_LOOP_fI_f1): Likewise.
14840 (RUN_TEST_ffI_f1): Likewise.
14841 (RUN_TEST_LOOP_ffI_f1): Likewise.
14842 (RUN_TEST_c_c): Likewise.
14843 (RUN_TEST_LOOP_c_c): Likewise.
14844 (RUN_TEST_cc_c): Likewise.
14845 (RUN_TEST_LOOP_cc_c): Likewise.
14846 (RUN_TEST_f_i): Likewise.
14847 (RUN_TEST_LOOP_f_i): Likewise.
14848 (RUN_TEST_f_i_tg): Likewise.
14849 (RUN_TEST_LOOP_f_i_tg): Likewise.
14850 (RUN_TEST_ff_i_tg): Likewise.
14851 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14852 (RUN_TEST_f_b): Likewise.
14853 (RUN_TEST_LOOP_f_b): Likewise.
14854 (RUN_TEST_f_b_tg): Likewise.
14855 (RUN_TEST_LOOP_f_b_tg): Likewise.
14856 (RUN_TEST_f_l): Likewise.
14857 (RUN_TEST_LOOP_f_l): Likewise.
14858 (RUN_TEST_f_L): Likewise.
14859 (RUN_TEST_LOOP_f_L): Likewise.
14860 (RUN_TEST_sincos): Likewise.
14861 (RUN_TEST_LOOP_sincos): Likewise.
14863 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14867 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14868 main case of finite arguments, set rounding mode to FE_TONEAREST
14869 and discard exceptions.
14870 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14872 (remainder_tonearest_test_data): New variable.
14873 (remainder_test_tonearest): New function.
14874 (remainder_towardzero_test_data): New variable.
14875 (remainder_test_towardzero): New function.
14876 (remainder_downward_test_data): New variable.
14877 (remainder_test_downward): New function.
14878 (remainder_upward_test_data): New variable.
14879 (remainder_test_upward): New function.
14880 (main): Call the new test functions.
14882 * math/libm-test.inc (struct test_f_f1_data): Remove field
14884 (struct test_fF_f1_data): Likewise.
14885 (struct test_ffI_f1_data): Likewise.
14886 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14887 based on value of EXTRA_EXPECTED.
14888 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14889 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14890 EXTRA_VAR based on value of EXTRA_EXPECTED.
14891 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14892 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14893 EXTRA_VAR based on value of EXTRA_EXPECTED.
14894 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14895 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14896 EXTRA_VAR based on value of EXTRA_EXPECTED.
14897 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14898 * math/gen-libm-test.pl (parse_args): Don't output initializers
14899 for extra output values.
14901 * math/libm-test.inc (check_int): Expect result to be exactly
14902 equal to expected value and do not handle ulps.
14903 (check_long): Likewise.
14904 (check_longlong): Likewise.
14906 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14908 (cimag_test_data): Likewise.
14909 (conj_test_data): Likewise.
14910 (copysign_test_data): Likewise.
14911 (cproj_test_data): Likewise.
14912 (creal_test_data): Likewise.
14913 (fabs_test_data): Likewise.
14914 (fdim_test_data): Likewise.
14915 (finite_test_data): Likewise.
14916 (floor_test_data): Likewise.
14917 (fmax_test_data): Likewise.
14918 (fmin_test_data): Likewise.
14919 (fmod_test_data): Likewise.
14920 (fpclassify_test_data): Likewise.
14921 (frexp_test_data): Likewise.
14922 (ilogb_test_data): Likewise.
14923 (isfinite_test_data): Likewise.
14924 (isgreater_test_data): Likewise.
14925 (isgreaterequal_test_data): Likewise.
14926 (isinf_test_data): Likewise.
14927 (isless_test_data): Likewise.
14928 (islessequal_test_data): Likewise.
14929 (islessgreater_test_data): Likewise.
14930 (isnan_test_data): Likewise.
14931 (isnormal_test_data): Likewise.
14932 (issignaling_test_data): Likewise.
14933 (isunordered_test_data): Likewise.
14934 (ldexp_test_data): Likewise.
14935 (lrint_test_data): Likewise.
14936 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14937 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14938 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14939 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14940 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14941 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14943 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14944 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14945 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14946 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14948 (lrint_downward_test_data): Test for "inexact" exceptions.
14949 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14950 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14951 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14953 (lrint_upward_test_data): Test for "inexact" exceptions.
14954 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14956 (llrint_test_data): Test for "inexact" exceptions.
14957 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14958 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14959 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14960 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14961 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14962 (llrint_downward_test_data): Test for "inexact" exceptions.
14963 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14964 (llrint_upward_test_data): Test for "inexact" exceptions.
14965 (logb_test_data): Likewise.
14966 (logb_downward_test_data): Likewise.
14967 (nextafter_test_data): Likewise.
14968 (nexttoward_test_data): Likewise.
14969 (remainder_test_data): Likewise.
14970 (remquo_test_data): Likewise.
14971 (scalbn_test_data): Likewise.
14972 (scalbln_test_data): Likewise.
14973 (signbit_test_data): Likewise.
14974 (sqrt_test_data): Likewise.
14975 (significand_test_data): Likewise.
14977 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14980 * benchtests/bench-modf.c (struct args): Mark arg0 as
14982 * scripts/bench.pl: Mark members of struct args as volatile.
14984 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14988 negative infinity on POWER6 or lower.
14989 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14991 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14994 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14995 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14996 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14997 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14998 (_FP_SETQNAN): New macro.
14999 (_FP_SETQNAN_SEMIRAW): Likewise.
15000 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15001 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15002 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15003 (FP_EXTEND): Use _FP_FRAC_SNANP.
15004 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15005 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15007 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15009 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15012 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15014 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15015 with DIVIDE_BY_ZERO_EXCEPTION.
15016 (gamma_test_data): Likewise.
15017 (lgamma_test_data): Likewise.
15018 (log_test_data): Likewise.
15019 (log10_test_data): Likewise.
15020 (log2_test_data): Likewise.
15021 (tgamma_test_data): Likewise.
15023 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15024 (acos_test_tonearest): Likewise.
15025 (acos_test_towardzero): Likewise.
15026 (acos_test_downward): Likewise.
15027 (acos_test_upward): Likewise.
15028 (acosh_test): Likewise.
15029 (asin_test): Likewise.
15030 (asin_test_tonearest): Likewise.
15031 (asin_test_towardzero): Likewise.
15032 (asin_test_downward): Likewise.
15033 (asin_test_upward): Likewise.
15034 (asinh_test): Likewise.
15035 (atan_test): Likewise.
15036 (atanh_test): Likewise.
15037 (atan2_test): Likewise.
15038 (cabs_test): Likewise.
15039 (cacos_test): Likewise.
15040 (cacosh_test): Likewise.
15041 (casin_test): Likewise.
15042 (casinh_test): Likewise.
15043 (catan_test): Likewise.
15044 (catanh_test): Likewise.
15045 (cbrt_test): Likewise.
15046 (ccos_test): Likewise.
15047 (ccosh_test): Likewise.
15048 (cexp_test): Likewise.
15049 (clog_test): Likewise.
15050 (clog10_test): Likewise.
15051 (cos_test): Likewise.
15052 (cos_test_tonearest): Likewise.
15053 (cos_test_towardzero): Likewise.
15054 (cos_test_downward): Likewise.
15055 (cos_test_upward): Likewise.
15056 (cosh_test): Likewise.
15057 (cosh_test_tonearest): Likewise.
15058 (cosh_test_towardzero): Likewise.
15059 (cosh_test_downward): Likewise.
15060 (cosh_test_upward): Likewise.
15061 (cpow_test): Likewise.
15062 (csin_test): Likewise.
15063 (csinh_test): Likewise.
15064 (csqrt_test): Likewise.
15065 (ctan_test): Likewise.
15066 (ctan_test_tonearest): Likewise.
15067 (ctan_test_towardzero): Likewise.
15068 (ctan_test_downward): Likewise.
15069 (ctan_test_upward): Likewise.
15070 (ctanh_test): Likewise.
15071 (ctanh_test_tonearest): Likewise.
15072 (ctanh_test_towardzero): Likewise.
15073 (ctanh_test_downward): Likewise.
15074 (ctanh_test_upward): Likewise.
15075 (erf_test): Likewise.
15076 (erfc_test): Likewise.
15077 (exp_test): Likewise.
15078 (exp_test_tonearest): Likewise.
15079 (exp_test_towardzero): Likewise.
15080 (exp_test_downward): Likewise.
15081 (exp_test_upward): Likewise.
15082 (exp10_test): Likewise.
15083 (exp2_test): Likewise.
15084 (expm1_test): Likewise.
15085 (fmod_test): Likewise.
15086 (gamma_test): Likewise.
15087 (hypot_test): Likewise.
15088 (j0_test): Likewise.
15089 (j1_test): Likewise.
15090 (jn_test): Likewise.
15091 (lgamma_test): Likewise.
15092 (log_test): Likewise.
15093 (log10_test): Likewise.
15094 (log1p_test): Likewise.
15095 (log2_test): Likewise.
15096 (logb_test_downward): Likewise.
15097 (pow_test): Likewise.
15098 (pow_test_tonearest): Likewise.
15099 (pow_test_towardzero): Likewise.
15100 (pow_test_downward): Likewise.
15101 (pow_test_upward): Likewise.
15102 (remainder_test): Likewise.
15103 (remquo_test): Likewise.
15104 (sin_test): Likewise.
15105 (sin_test_tonearest): Likewise.
15106 (sin_test_towardzero): Likewise.
15107 (sin_test_downward): Likewise.
15108 (sin_test_upward): Likewise.
15109 (sincos_test): Likewise.
15110 (sinh_test): Likewise.
15111 (sinh_test_tonearest): Likewise.
15112 (sinh_test_towardzero): Likewise.
15113 (sinh_test_downward): Likewise.
15114 (sinh_test_upward): Likewise.
15115 (sqrt_test): Likewise.
15116 (tan_test): Likewise.
15117 (tan_test_tonearest): Likewise.
15118 (tan_test_towardzero): Likewise.
15119 (tan_test_downward): Likewise.
15120 (tan_test_upward): Likewise.
15121 (tanh_test): Likewise.
15122 (tgamma_test): Likewise.
15123 (y0_test): Likewise.
15124 (y1_test): Likewise.
15125 (yn_test): Likewise.
15127 * math/gen-libm-test.pl (adjust_arg): Remove function.
15128 (special_function): Remove argument $in_func. Only handle
15129 generating output for tables of tests, not inside functions.
15130 (parse_args): Likewise.
15131 (generate_testfile): Remove variable $in_func. Update call to
15133 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15134 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15135 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15136 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15137 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15138 (MAX_VALUE_INIT): Rename macro to max_value.
15139 (MIN_VALUE_INIT): Rename macro to min_value.
15140 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15141 (plus_zero): Remove variable.
15142 (minus_zero): Likewise.
15143 (plus_infty): Likewise.
15144 (minus_infty): Likewise.
15145 (qnan_value): Likewise.
15146 (max_value): Likewise.
15147 (min_value): Likewise.
15148 (min_subnorm_value): Likewise.
15150 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15152 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15153 uint64_t or uint32_t usage.
15154 * crypt/sha256-block.c: Likewise.
15155 * crypt/sha256-crypt.c: Likewise.
15156 * crypt/sha256.c: Likewise.
15157 * crypt/sha512-block.c: Likewise.
15158 * crypt/sha512-crypt.c: Likewise.
15159 * crypt/sha512.c: Likewise.
15160 * debug/backtrace-tst.c: Likewise.
15161 * debug/pcprofiledump.c: Likewise.
15162 * elf/cache.c: Likewise.
15163 * elf/dl-cache.c: Likewise.
15164 * elf/dl-misc.c: Likewise.
15165 * elf/dl-profile.c: Likewise.
15166 * elf/dl-support.c: Likewise.
15167 * elf/ldconfig.c: Likewise.
15168 * elf/sprof.c: Likewise.
15169 * iconv/dummy-repertoire.c: Likewise.
15170 * iconv/iconv_charmap.c: Likewise.
15171 * iconv/skeleton.c: Likewise.
15172 * iconvdata/8bit-generic.c: Likewise.
15173 * iconvdata/cp737.h: Likewise.
15174 * iconvdata/cp775.h: Likewise.
15175 * iconvdata/ibm1008.h: Likewise.
15176 * iconvdata/ibm1025.h: Likewise.
15177 * iconvdata/ibm1046.h: Likewise.
15178 * iconvdata/ibm1097.h: Likewise.
15179 * iconvdata/ibm1112.h: Likewise.
15180 * iconvdata/ibm1122.h: Likewise.
15181 * iconvdata/ibm1123.h: Likewise.
15182 * iconvdata/ibm1124.h: Likewise.
15183 * iconvdata/ibm1129.h: Likewise.
15184 * iconvdata/ibm1130.h: Likewise.
15185 * iconvdata/ibm1132.h: Likewise.
15186 * iconvdata/ibm1133.h: Likewise.
15187 * iconvdata/ibm1137.h: Likewise.
15188 * iconvdata/ibm1140.h: Likewise.
15189 * iconvdata/ibm1141.h: Likewise.
15190 * iconvdata/ibm1142.h: Likewise.
15191 * iconvdata/ibm1143.h: Likewise.
15192 * iconvdata/ibm1144.h: Likewise.
15193 * iconvdata/ibm1145.h: Likewise.
15194 * iconvdata/ibm1146.h: Likewise.
15195 * iconvdata/ibm1147.h: Likewise.
15196 * iconvdata/ibm1148.h: Likewise.
15197 * iconvdata/ibm1149.h: Likewise.
15198 * iconvdata/ibm1153.h: Likewise.
15199 * iconvdata/ibm1154.h: Likewise.
15200 * iconvdata/ibm1155.h: Likewise.
15201 * iconvdata/ibm1156.h: Likewise.
15202 * iconvdata/ibm1157.h: Likewise.
15203 * iconvdata/ibm1158.h: Likewise.
15204 * iconvdata/ibm1160.h: Likewise.
15205 * iconvdata/ibm1161.h: Likewise.
15206 * iconvdata/ibm1162.h: Likewise.
15207 * iconvdata/ibm1163.h: Likewise.
15208 * iconvdata/ibm1164.h: Likewise.
15209 * iconvdata/ibm1166.h: Likewise.
15210 * iconvdata/ibm1167.h: Likewise.
15211 * iconvdata/ibm12712.h: Likewise.
15212 * iconvdata/ibm1390.h: Likewise.
15213 * iconvdata/ibm1399.h: Likewise.
15214 * iconvdata/ibm16804.h: Likewise.
15215 * iconvdata/ibm4517.h: Likewise.
15216 * iconvdata/ibm4899.h: Likewise.
15217 * iconvdata/ibm4909.h: Likewise.
15218 * iconvdata/ibm4971.h: Likewise.
15219 * iconvdata/ibm5347.h: Likewise.
15220 * iconvdata/ibm803.h: Likewise.
15221 * iconvdata/ibm856.h: Likewise.
15222 * iconvdata/ibm901.h: Likewise.
15223 * iconvdata/ibm902.h: Likewise.
15224 * iconvdata/ibm9030.h: Likewise.
15225 * iconvdata/ibm9066.h: Likewise.
15226 * iconvdata/ibm921.h: Likewise.
15227 * iconvdata/ibm922.h: Likewise.
15228 * iconvdata/ibm9448.h: Likewise.
15229 * iconvdata/isiri-3342.h: Likewise.
15230 * iconvdata/jis0201.h: Likewise.
15231 * include/link.h: Likewise.
15232 * include/netdb.h: Likewise.
15233 * inet/check_native.c: Likewise.
15234 * inet/check_pf.c: Likewise.
15235 * inet/getipv4sourcefilter.c: Likewise.
15236 * inet/getnameinfo.c: Likewise.
15237 * inet/getsourcefilter.c: Likewise.
15238 * inet/htonl.c: Likewise.
15239 * inet/setipv4sourcefilter.c: Likewise.
15240 * inet/setsourcefilter.c: Likewise.
15241 * inet/test-inet6_opt.c: Likewise.
15242 * inet/tst-network.c: Likewise.
15243 * locale/C-collate.c: Likewise.
15244 * locale/C-ctype.c: Likewise.
15245 * locale/C-time.c: Likewise.
15246 * locale/C-translit.h: Likewise.
15247 * locale/loadarchive.c: Likewise.
15248 * locale/programs/3level.h: Likewise.
15249 * locale/programs/charmap.c: Likewise.
15250 * locale/programs/charmap.h: Likewise.
15251 * locale/programs/ld-address.c: Likewise.
15252 * locale/programs/ld-collate.c: Likewise.
15253 * locale/programs/ld-ctype.c: Likewise.
15254 * locale/programs/ld-identification.c: Likewise.
15255 * locale/programs/ld-measurement.c: Likewise.
15256 * locale/programs/ld-messages.c: Likewise.
15257 * locale/programs/ld-monetary.c: Likewise.
15258 * locale/programs/ld-name.c: Likewise.
15259 * locale/programs/ld-numeric.c: Likewise.
15260 * locale/programs/ld-paper.c: Likewise.
15261 * locale/programs/ld-telephone.c: Likewise.
15262 * locale/programs/ld-time.c: Likewise.
15263 * locale/programs/linereader.c: Likewise.
15264 * locale/programs/locale.c: Likewise.
15265 * locale/programs/locarchive.c: Likewise.
15266 * locale/programs/locfile.h: Likewise.
15267 * locale/programs/repertoire.c: Likewise.
15268 * locale/programs/simple-hash.c: Likewise.
15269 * locale/programs/simple-hash.h: Likewise.
15270 * malloc/memusage.c: Likewise.
15271 * malloc/memusagestat.c: Likewise.
15272 * nis/nis_defaults.c: Likewise.
15273 * nis/nis_hash.c: Likewise.
15274 * nis/nis_print.c: Likewise.
15275 * nis/nis_xdr.c: Likewise.
15276 * nscd/connections.c: Likewise.
15277 * nscd/hstcache.c: Likewise.
15278 * nscd/nscd_gethst_r.c: Likewise.
15279 * nscd/nscd_getserv_r.c: Likewise.
15280 * nscd/nscd_helper.c: Likewise.
15281 * nscd/servicescache.c: Likewise.
15282 * nss/makedb.c: Likewise.
15283 * nss/nss_db/db-XXX.c: Likewise.
15284 * nss/nss_db/db-initgroups.c: Likewise.
15285 * nss/nss_db/db-netgrp.c: Likewise.
15286 * nss/nss_files/files-network.c: Likewise.
15287 * nss/nss_files/files-parse.c: Likewise.
15288 * posix/bug-regex5.c: Likewise.
15289 * posix/fnmatch_loop.c: Likewise.
15290 * posix/regcomp.c: Likewise.
15291 * posix/regexec.c: Likewise.
15292 * posix/tst-rfc3484-2.c: Likewise.
15293 * posix/tst-rfc3484-3.c: Likewise.
15294 * posix/tst-rfc3484.c: Likewise.
15295 * resolv/nss_dns/dns-canon.c: Likewise.
15296 * resolv/nss_dns/dns-network.c: Likewise.
15297 * resolv/res_init.c: Likewise.
15298 * resolv/res_mkquery.c: Likewise.
15299 * resolv/tst-aton.c: Likewise.
15300 * stdlib/cxa_atexit.c: Likewise.
15301 * stdlib/cxa_finalize.c: Likewise.
15302 * stdlib/gen-fpioconst.c: Likewise.
15303 * stdlib/strtol_l.c: Likewise.
15304 * string/tst-endian.c: Likewise.
15305 * sunrpc/auth_des.c: Likewise.
15306 * sunrpc/clnt_udp.c: Likewise.
15307 * sunrpc/rtime.c: Likewise.
15308 * sunrpc/svcauth_des.c: Likewise.
15309 * sunrpc/xdr.c: Likewise.
15310 * sunrpc/xdr_intXX_t.c: Likewise.
15311 * sunrpc/xdr_rec.c: Likewise.
15312 * sysdeps/generic/ldconfig.h: Likewise.
15313 * sysdeps/generic/ldsodefs.h: Likewise.
15314 * sysdeps/generic/memusage.h: Likewise.
15315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15325 * sysdeps/posix/getaddrinfo.c: Likewise.
15326 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15327 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15328 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15329 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15330 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15331 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15332 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15333 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15334 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15335 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15336 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15337 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15338 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15339 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15340 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15341 * sysdeps/x86_64/dl-tls.h: Likewise.
15342 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15343 * time/alt_digit.c: Likewise.
15344 * time/era.c: Likewise.
15345 * wcsmbs/tst-c16c32-1.c: Likewise.
15347 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15349 * math/libm-test.inc (struct test_sincos_data): New type.
15350 (RUN_TEST_LOOP_sincos): New macro.
15351 (sincos_test_data): New variable.
15352 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15354 2013-05-16 Richard Henderson <rth@redhat.com>
15356 * math/atest-exp2.c (LIMB64): New macro.
15357 (CONSTSZ): New macro.
15358 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15360 (print_mpn_fp): ... to function scope.
15361 (read_mpn_hex): Remove.
15362 (get_log2): Remove.
15363 (exp2_mpn): Use mp_log2.
15364 (main): Use mp_exp1.
15366 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15368 * math/libm-test.inc: Remove comment about not testing "inexact"
15370 (INEXACT_EXCEPTION): New macro.
15371 (NO_INEXACT_EXCEPTION): Likewise.
15372 (INVALID_EXCEPTION_OK): Update value.
15373 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15374 (OVERFLOW_EXCEPTION_OK): Likewise.
15375 (UNDERFLOW_EXCEPTION_OK): Likewise.
15376 (IGNORE_ZERO_INF_SIGN): Likewise.
15377 (ERRNO_UNCHANGED): Likewise.
15378 (ERRNO_EDOM): Likewise.
15379 (ERRNO_ERANGE): Likewise.
15380 (test_exceptions): Handle testing "inexact" exceptions.
15381 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15382 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15383 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15384 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15386 (rint_towardzero_test_data): Likewise.
15387 (rint_downward_test_data): Likewise.
15388 (rint_upward_test_data): Likewise.
15390 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15391 with OVERFLOW_EXCEPTION.
15392 (exp10_test_data): Likewise.
15393 (exp2_test_data): Likewise.
15394 (expm1_test_data): Likewise.
15395 (lgamma_test_data): Likewise.
15396 (pow_test_data): Likewise.
15397 (tgamma_test_data): Likewise.
15398 (yn_test_data): Remove duplicate test of overflow.
15400 * math/libm-test.inc (struct test_cc_c_data): New type.
15401 (RUN_TEST_LOOP_cc_c): New macro.
15402 (cpow_test_data): New variable.
15403 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15405 * math/libm-test.inc (struct test_f_L_data): New type.
15406 (RUN_TEST_LOOP_f_L): New macro.
15407 (llrint_test_data): New variable.
15408 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15409 (llrint_tonearest_test_data): New variable.
15410 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15411 (llrint_towardzero_test_data): New variable.
15412 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15413 (llrint_downward_test_data): New variable.
15414 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15415 (llrint_upward_test_data): New variable.
15416 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15417 (llround_test_data): New variable.
15418 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15420 2013-05-13 Peter Collingbourne <pcc@google.com>
15422 * math/atest-exp2.c (get_log2): Remove const attribute.
15424 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15426 * math/libm-test.inc (struct test_f_l_data): New type.
15427 (RUN_TEST_LOOP_f_l): New macro.
15428 (lrint_test_data): New variable.
15429 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15430 (lrint_tonearest_test_data): New variable.
15431 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15432 (lrint_towardzero_test_data): New variable.
15433 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15434 (lrint_downward_test_data): New variable.
15435 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15436 (lrint_upward_test_data): New variable.
15437 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15438 (lround_test_data): New variable.
15439 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15441 2013-05-15 Peter Collingbourne <pcc@google.com>
15443 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15444 (EXTRACT_WORDS64) Use where appropriate.
15445 (INSERT_WORDS64) Likewise.
15447 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15448 constraints with x constraints.
15449 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15451 * malloc/obstack.c (_obstack_compat): Add initializer.
15453 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15455 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15456 si_trapno and add si_addr_lsb to _sifields.sigfault.
15457 (si_trapno): Remove macro.
15458 (si_addr_lsb): Define new macro.
15459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15461 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15463 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15464 instead of TEST_f_l.
15465 (llrint_test_tonearest): Likewise.
15466 (llrint_test_towardzero): Likewise.
15467 (llrint_test_downward): Likewise.
15468 (llrint_test_upward): Likewise.
15469 (llround_test): Likewise.
15471 * math/libm-test.inc (struct test_f_i_data): Add comment.
15472 (RUN_TEST_LOOP_f_b): New macro.
15473 (RUN_TEST_LOOP_f_b_tg): Likewise.
15474 (finite_test_data): New variable.
15475 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15476 (isfinite_test_data): New variable.
15477 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15478 (isinf_test_data): New variable.
15479 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15480 (isnan_test_data): New variable.
15481 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15482 (isnormal_test_data): New variable.
15483 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15484 (issignaling_test_data): New variable.
15485 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15486 (signbit_test_data): New variable.
15487 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15489 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15490 with INVALID_EXCEPTION.
15491 (acosh_test_data): Likewise.
15492 (asin_test_data): Likewise.
15493 (atanh_test_data): Likewise.
15494 (fmod_test_data): Likewise.
15495 (log_test_data): Likewise.
15496 (log10_test_data): Likewise.
15497 (log2_test_data): Likewise.
15498 (pow_test_data): Likewise.
15499 (sqrt_test_data): Likewise.
15500 (y0_test_data): Likewise.
15501 (y1_test_data): Likewise.
15502 (yn_test_data): Likewise.
15504 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15507 * math/libm-test.inc (struct test_ff_i_data): New type.
15508 (RUN_TEST_LOOP_ff_i_tg): New macro.
15509 (isgreater_test_data): New variable.
15510 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15511 (isgreaterequal_test_data): New variable.
15512 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15513 (isless_test_data): New variable.
15514 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15515 (islessequal_test_data): New variable.
15516 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15517 (islessgreater_test_data): New variable.
15518 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15519 (isunordered_test_data): New variable.
15520 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15522 2013-05-14 David S. Miller <davem@davemloft.net>
15524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15526 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15528 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15530 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15532 (struct test_f_i_data): Change type of max_ulp to int.
15534 * math/libm-test.inc (test_ffI_f1_data): New type.
15535 (RUN_TEST_LOOP_ffI_f1): New macro.
15536 (remquo_test_data): New variable.
15537 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15539 * setjmp/tst-setjmp-fp.c: New file.
15540 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15541 (link-libm): New variable.
15542 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15544 * math/libm-test.inc (struct test_f_i_data): New type.
15545 (RUN_TEST_LOOP_f_i): New macro.
15546 (RUN_TEST_LOOP_f_i_tg): Likewise.
15547 (fpclassify_test_data): New variable.
15548 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15549 (ilogb_test_data): New variable.
15550 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15552 * math/libm-test.inc (scalbln_test): Correct function name in END
15555 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15556 (RUN_TEST_LOOP_fI_f1): New macro.
15557 (frexp_test_data): New variable.
15558 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15560 * math/libm-test.inc (struct test_fF_f1_data): New type.
15561 (RUN_TEST_LOOP_fF_f1): New macro.
15562 (modf_test_data): New variable.
15563 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15565 * math/libm-test.inc (struct test_f_f1_data): New type.
15566 (RUN_TEST_LOOP_f_f1): New macro.
15567 (gamma_test_data): New variable.
15568 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15569 (lgamma_test_data): New variable.
15570 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15572 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15574 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15575 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15576 (main): Comment "tls" pseudo-hwcap.
15578 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15580 * math/libm-test.inc (struct test_fl_f_data): New type.
15581 (RUN_TEST_LOOP_fl_f): New variable.
15582 (scalbln_test_data): New variable.
15583 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15585 * math/libm-test.inc (struct test_fi_f_data): New type.
15586 (RUN_TEST_LOOP_fi_f): New macro.
15587 (ldexp_test_data): New variable.
15588 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15589 (scalbn_test_data): New variable.
15590 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15592 * math/libm-test.inc (struct test_c_f_data): New type.
15593 (RUN_TEST_LOOP_c_f): New macro.
15594 (cabs_test_data): New variable.
15595 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15596 (carg_test_data): New variable.
15597 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15598 (cimag_test_data): New variable.
15599 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15600 (creal_test_data): New variable.
15601 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15603 * math/libm-test.inc (struct test_if_f_data): New type.
15604 (RUN_TEST_LOOP_if_f): New macro.
15605 (jn_test_data): New variable.
15606 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15607 (yn_test_data): New variable.
15608 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15610 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15612 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15614 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15615 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15617 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15620 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15621 (bench-deps): Add bench-timing.h.
15622 * benchtests-bench-skeleton.c: Include bench-timing.h.
15623 (main): Use TIMING_* macros instead of clock_gettime.
15624 * benchtests/bench-timing.h: New file.
15627 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15628 Renamed from _LIB_VERSION.
15629 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15631 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15633 * math/libm-test.inc (struct test_fff_f_data): New type.
15634 (RUN_TEST_LOOP_fff_f): New macro.
15635 (fma_test_data): New variable.
15636 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15637 (fma_towardzero_test_data): New variable.
15638 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15639 (fma_downward_test_data): New variable.
15640 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15641 (fma_upward_test_data): New variable.
15642 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15644 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15645 (struct test_c_c_data): New type.
15646 (RUN_TEST_LOOP_c_c): New macro.
15647 (cacos_test_data): New variable.
15648 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15649 (cacosh_test_data): New variable.
15650 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15651 (casin_test_data): New variable.
15652 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15653 (casinh_test_data): New variable.
15654 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15655 (catan_test_data): New variable.
15656 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15657 (catanh_test_data): New variable.
15658 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15659 (ccos_test_data): New variable.
15660 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15661 (ccosh_test_data): New variable.
15662 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15663 (cexp_test_data): New variable.
15664 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15665 (clog_test_data): New variable.
15666 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15667 (clog10_test_data): New variable.
15668 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15669 (conj_test_data): New variable.
15670 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15671 (cproj_test_data): New variable.
15672 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15673 (csin_test_data): New variable.
15674 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15675 (csinh_test_data): New variable.
15676 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15677 (csqrt_test_data): New variable.
15678 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15679 (ctan_test_data): New variable.
15680 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15681 (ctan_tonearest_test_data): New variable.
15682 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15683 (ctan_towardzero_test_data): New variable.
15684 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15685 (ctan_downward_test_data): New variable.
15686 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15687 (ctan_upward_test_data): New variable.
15688 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15689 (ctanh_test_data): New variable.
15690 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15691 (ctanh_tonearest_test_data): New variable.
15692 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15693 (ctanh_towardzero_test_data): New variable.
15694 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15695 (ctanh_downward_test_data): New variable.
15696 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15697 (ctanh_upward_test_data): New variable.
15698 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15699 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15702 * math/libm-test.inc (struct test_ff_f_data): New type.
15703 (struct test_ff_f_data_nexttoward): Likewise.
15704 (RUN_TEST_LOOP_2_f): New macro.
15705 (RUN_TEST_LOOP_ff_f): Likewise.
15706 (atan2_test_data): New variable.
15707 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15708 (copysign_test_data): New variable.
15709 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15710 (fdim_test_data): New variable.
15711 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15712 (fmax_test_data): New variable.
15713 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15714 (fmin_test_data): New variable.
15715 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15716 (fmod_test_data): New variable.
15717 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15718 (hypot_test_data): New variable.
15719 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15720 (nextafter_test_data): New variable.
15721 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15722 (nexttoward_test_data): New variable.
15723 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15724 (pow_test_data): New variable.
15725 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15726 (pow_tonearest_test_data): New variable.
15727 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15728 (pow_towardzero_test_data): New variable.
15729 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15730 (pow_downward_test_data): New variable.
15731 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15732 (pow_upward_test_data): New variable.
15733 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15734 (remainder_test_data): New variable.
15735 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15736 (scalb_test_data): New variable.
15737 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15738 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15742 * math/libm-test.inc (fma_test): Use max_value instead of local
15744 (nextafter_test): Likewise.
15746 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15747 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15748 (acos_downward_test_data): New variable.
15749 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15750 (acos_upward_test_data): New variable.
15751 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15752 (acosh_test_data): New variable.
15753 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15754 (asin_test_data): New variable.
15755 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15756 (asin_tonearest_test_data): New variable.
15757 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15758 (asin_towardzero_test_data): New variable.
15759 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15760 (asin_downward_test_data): New variable.
15761 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15762 (asin_upward_test_data): New variable.
15763 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15764 (asinh_test_data): New variable.
15765 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15766 (atan_test_data): New variable.
15767 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15768 (atanh_test_data): New variable.
15769 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15770 (cbrt_test_data): New variable.
15771 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15772 (ceil_test_data): New variable.
15773 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15774 (cos_test_data): New variable.
15775 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15776 (cos_tonearest_test_data): New variable.
15777 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15778 (cos_towardzero_test_data): New variable.
15779 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15780 (cos_downward_test_data): New variable.
15781 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15782 (cos_upward_test_data): New variable.
15783 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15784 (cosh_test_data): New variable.
15785 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15786 (cosh_tonearest_test_data): New variable.
15787 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15788 (cosh_towardzero_test_data): New variable.
15789 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15790 (cosh_downward_test_data): New variable.
15791 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15792 (cosh_upward_test_data): New variable.
15793 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15794 (erf_test_data): New variable.
15795 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15796 (erfc_test_data): New variable.
15797 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15798 (exp_test_data): New variable.
15799 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15800 (exp_tonearest_test_data): New variable.
15801 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15802 (exp_towardzero_test_data): New variable.
15803 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15804 (exp_downward_test_data): New variable.
15805 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15806 (exp_upward_test_data): New variable.
15807 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15808 (exp10_test_data): New variable.
15809 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15810 (exp2_test_data): New variable.
15811 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15812 (expm1_test_data): New variable.
15813 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15814 (fabs_test_data): New variable.
15815 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15816 (floor_test_data): New variable.
15817 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15818 (j0_test_data): New variable.
15819 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15820 (j1_test_data): New variable.
15821 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15822 (log_test_data): New variable.
15823 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15824 (log10_test_data): New variable.
15825 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15826 (log1p_test_data): New variable.
15827 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15828 (log2_test_data): New variable.
15829 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15830 (logb_test_data): New variable.
15831 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15832 (logb_downward_test_data): New variable.
15833 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15834 (nearbyint_test_data): New variable.
15835 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15836 (rint_test_data): New variable.
15837 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15838 (rint_tonearest_test_data): New variable.
15839 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15840 (rint_towardzero_test_data): New variable.
15841 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15842 (rint_downward_test_data): New variable.
15843 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15844 (rint_upward_test_data): New variable.
15845 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15846 (round_test_data): New variable.
15847 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15848 (sin_test_data): New variable.
15849 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15850 (sin_tonearest_test_data): New variable.
15851 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15852 (sin_towardzero_test_data): New variable.
15853 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15854 (sin_downward_test_data): New variable.
15855 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15856 (sin_upward_test_data): New variable.
15857 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15858 (sinh_test_data): New variable.
15859 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15860 (sinh_tonearest_test_data): New variable.
15861 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15862 (sinh_towardzero_test_data): New variable.
15863 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15864 (sinh_downward_test_data): New variable.
15865 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15866 (sinh_upward_test_data): New variable.
15867 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15868 (sqrt_test_data): New variable.
15869 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15870 (tan_test_data): New variable.
15871 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15872 (tan_tonearest_test_data): New variable.
15873 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15874 (tan_towardzero_test_data): New variable.
15875 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15876 (tan_downward_test_data): New variable.
15877 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15878 (tan_upward_test_data): New variable.
15879 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15880 (tanh_test_data): New variable.
15881 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15882 (tgamma_test_data): New variable.
15883 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15884 (trunc_test_data): New variable.
15885 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15886 (y0_test_data): New variable.
15887 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15888 (y1_test_data): New variable.
15889 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15890 (significand_test_data): New variable.
15891 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15893 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15896 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15898 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15900 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15902 2013-05-10 Andreas Jaeger <aj@suse.de>
15905 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15906 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15908 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15910 * math/gen-libm-test.pl (adjust_arg): New function.
15911 (special_functions): Handle generating output in both functions
15913 (parse_args): Likewise.
15914 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15915 $in_func argument to parse_args.
15916 * math/libm-test.inc (struct test_f_f_data): New type.
15917 (IF_ROUND_INIT_): New macro.
15918 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15919 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15920 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15921 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15922 (ROUND_RESTORE_): Likewise.
15923 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15924 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15925 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15926 (ROUND_RESTORE_FE_UPWARD): Likewise.
15927 (RUN_TEST_LOOP_f_f): New macro.
15928 (acos_test_data): New variable.
15929 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15930 (acos_tonearest_test_data): New variable.
15931 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15933 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15935 * benchtests/bench-skeleton.c (startup): Fix coding style.
15937 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15940 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15941 negative infinity argument.
15942 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15943 negative infinity argument.
15944 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15945 negative infinity argument.
15946 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15949 2013-05-10 Florian Weimer <fweimer@redhat.com>
15951 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15952 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15953 * iconv/iconv_prog.c (main): Likewise.
15954 * locale/programs/charmap-dir.c (charmap_readdir)
15955 (fopen_uncompressed): Likewise.
15956 * locale/programs/locfile.c (siblings_uncached)
15957 (write_locale_data): Use lstat64 instead of lstat.
15958 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15961 2013-05-10 Andreas Jaeger <aj@suse.de>
15964 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15966 Include <locale.h>.
15968 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15970 * elf/dl-close.c (_dl_close_worker): Add comments.
15972 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15977 (__ieee754_rem_pio2l): Update comments.
15980 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15982 (__ieee754_rem_pio2l): Update comments.
15984 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15985 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15987 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15990 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15991 (M_PI_34_LOG10El): Likewise.
15992 (M_PI2_LOG10El): Likewise.
15993 (M_PI4_LOG10El): Likewise.
15994 (M_PI_LOG10El): Likewise.
15996 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16000 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16002 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16003 (MINUS_ZERO_INIT): Likewise.
16004 (PLUS_INFTY_INIT): Likewise.
16005 (MINUS_INFTY_INIT): Likewise.
16006 (QNAN_VALUE_INIT): Likewise.
16007 (MAX_VALUE_INIT): Likewise.
16008 (MIN_VALUE_INIT): Likewise.
16009 (MIN_SUBNORM_VALUE_INIT): Likewise.
16010 (plus_zero): Initialize with PLUS_ZERO_INIT.
16011 (minus_zero): Initialize with MINUS_ZERO_INIT.
16012 (plus_infty): Initialize with PLUS_INFTY_INIT.
16013 (minus_infty): Initialize with MINUS_INFTY_INIT.
16014 (qnan_value): Initialize with QNAN_VALUE_INIT.
16015 (max_value): Initialize with MAX_VALUE_INIT.
16016 (min_value): Initialize with MIN_VALUE_INIT.
16017 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16019 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16020 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16021 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16022 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16024 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16025 (RUN_TEST_2_f): Likewise.
16026 (RUN_TEST_ff_f): Likewise.
16027 (RUN_TEST_fi_f): Likewise.
16028 (RUN_TEST_fl_f): Likewise.
16029 (RUN_TEST_fff_f): Likewise.
16030 (RUN_TEST_c_f): Likewise.
16031 (RUN_TEST_f_f1): Likewise.
16032 (RUN_TEST_fF_f1): Likewise.
16033 (RUN_TEST_fI_f1): Likewise.
16034 (RUN_TEST_ffI_f1): Likewise.
16035 (RUN_TEST_c_c): Likewise.
16036 (RUN_TEST_cc_c): Likewise.
16037 (RUN_TEST_f_i): Likewise.
16038 (RUN_TEST_f_i_tg): Likewise.
16039 (RUN_TEST_ff_i_tg): Likewise.
16040 (RUN_TEST_f_b): Likewise.
16041 (RUN_TEST_f_b_tg): Likewise.
16042 (RUN_TEST_f_l): Likewise.
16043 (RUN_TEST_f_L): Likewise.
16044 (RUN_TEST_sincos): Likewise.
16045 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16046 whether to show exceptions. Do not include ");\n" in return
16048 (special_functions): Output call to RUN_TEST_sincos instead of
16049 check_float calls. Update calls to new_test.
16050 (parse_args): Output call to single RUN_TEST_* macro instead of
16051 check_* calls and other assignments. Update calls to new_test.
16057 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16058 input to result for tgamma overflow.
16059 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16060 (gamma_coeff): New variable.
16061 (NCOEFF): New macro.
16062 (gamma_positive): New function.
16063 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16064 underflow here. Use gamma_positive instead of exp (lgamma) for
16066 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16067 (gamma_coeff): New variable.
16068 (NCOEFF): New macro.
16069 (gammaf_positive): New function.
16070 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16071 underflow here. Use gamma_positive instead of exp (lgamma) for
16073 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16074 (gamma_coeff): New variable.
16075 (NCOEFF): New macro.
16076 (gammal_positive): New function.
16077 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16078 underflow here. Use gamma_positive instead of exp (lgamma) for
16080 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16081 (gamma_coeff): New variable.
16082 (NCOEFF): New macro.
16083 (gammal_positive): New function.
16084 (__ieee754_gammal_r): Handle positive infinity, overflow and
16085 underflow here. Handle NaN the same as positive infinity. Remove
16086 check x < 0xffffffff for negative integers. Use gamma_positive
16087 instead of exp (lgamma) for other arguments.
16088 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16089 (gamma_coeff): New variable.
16090 (NCOEFF): New macro.
16091 (gammal_positive): New function.
16092 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16093 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16098 * sysdeps/generic/math_private.h (__gamma_productf): New
16100 (__gamma_product): Likewise.
16101 (__gamma_productl): Likewise.
16102 * math/Makefile (libm-calls): Add gamma_product.
16103 * math/libm-test.inc (tgamma_test): Add more tests.
16104 * sysdeps/i386/fpu/libm-test-ulps: Update.
16105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16109 * benchtests/bench-skeleton.c (main): Preheat CPU.
16111 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16113 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16115 2013-05-07 Roland McGrath <roland@hack.frob.com>
16117 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16118 and _dl_skip_args_internal.
16120 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16122 * manual/message.texi (Message Translation): Talk about users.
16123 Message to key mapping impacts design.
16125 2013-05-06 Roland McGrath <roland@hack.frob.com>
16127 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16129 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16131 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16132 * sysdeps/wordsize-64/glob64.c: ... here.
16134 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16135 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16138 * debug/getlogin_r_chk.c: Moved to ...
16139 * login/getlogin_r_chk.c: ... here.
16140 * debug/Makefile (routines): Move getlogin_r_chk to ...
16141 * login/Makefile (routines): ... here.
16142 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16143 * login/Versions (libc: GLIBC_2.4): ... here.
16145 * io/poll.c (__poll): Renamed from poll.
16146 Add libc_hidden_def.
16147 (poll): Define as weak alias.
16149 * debug/ptsname_r_chk.c: Moved to ...
16150 * login/ptsname_r_chk.c: ... here.
16151 * debug/Makefile (routines): Move ptsname_r_chk to ...
16152 * login/Makefile (routines): ... here.
16153 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16154 * login/Versions (libc: GLIBC_2.4): ... here.
16156 * posix/getlogin.c: Moved to ...
16157 * login/getlogin.c: ... here.
16158 * posix/getlogin_r.c: Moved to ...
16159 * login/getlogin_r.c: ... here.
16160 * posix/getlogin_r.c: Moved to ...
16161 * login/getlogin_r.c: ... here.
16162 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16163 * login/Makefile (routines): ... here.
16164 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16165 * login/Versions (libc: GLIBC_2.0): ... here.
16167 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16168 (setrlimit): Define as weak alias.
16170 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16171 Call __ names for open, ftruncate, and close.
16172 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16173 (truncate): Define as weak alias.
16175 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16177 * math/gen-libm-test.pl (parse_args): Initialize x before each
16178 test of frexp, modf and remquo.
16180 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16181 test signgam value.
16183 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16187 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16191 2013-05-06 Roland McGrath <roland@hack.frob.com>
16193 * elf/dl-writev.h: New file.
16194 * elf/dl-misc.c: Include it.
16195 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16196 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16198 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16200 * math/libm-test.inc (noXFails): Remove variable.
16201 (noXPasses): Likewise.
16202 (BUILD_COMPLEX_INT): Remove macro.
16203 (print_screen): Remove xfail argument.
16204 (print_screen_max_error): Likewise.
16205 (update_stats): Likewise.
16206 (print_max_error): Likewise. Update calls to other affected
16208 (print_complex_max_error): Likewise.
16209 (test_single_exception): Update calls to print_screen.
16210 (test_single_errno): Likewise.
16211 (check_float_internal): Remove xfail argument. Update calls to
16212 other affected functions.
16213 (check_float): Likewise.
16214 (check_complex): Likewise.
16215 (check_int): Likewise.
16216 (check_long): Likewise.
16217 (check_bool): Likewise.
16218 (check_longlong): Likewise.
16219 (main): Don't print noXFails and noXPasses.
16220 * math/gen-libm-test.pl (top level): Don't mention expected
16221 failure handling in comment.
16222 (new_test): Don't handle expected failures.
16223 (parse_args): Don't mention expected failure handling in comment.
16224 (generate_testfile): Don't handle expected failures.
16225 (parse_ulps): Likewise.
16226 (print_ulps_file): Likewise.
16227 (get_failure): Remove function.
16228 (output_test): Don't handle expected failures.
16229 * make/README.libm-test: Don't mention expected failure handling.
16231 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16232 (minus_zero): Likewise.
16233 (plus_infty): Likewise.
16234 (minus_infty): Likewise.
16235 (qnan_value): Likewise.
16236 (max_value): Likewise.
16237 (min_value): Likewise.
16238 (min_subnorm_value): Likewise.
16239 (initialize): Do not initialize those variables dynamically.
16241 2013-05-03 Roland McGrath <roland@hack.frob.com>
16243 * io/open.c (__open_2): Moved to ...
16244 * io/open_2.c: ... this new file.
16245 * io/open64.c (__open64_2): Moved to ...
16246 * io/open64_2.c: ... this new file.
16247 * io/openat.c (__openat_2): Moved to ...
16248 * io/openat_2.c: ... this new file.
16249 * io/openat64.c (__openat64_2): Moved to ...
16250 * io/openat64_2.c: ... this new file.
16251 * io/Makefile (routines): Add them.
16252 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16253 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16254 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16255 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16256 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16257 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16258 (__openat64): Add hidden_ver.
16259 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16260 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16262 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16263 Separately conditionalize setting of GLRO(dl_sysinfo) so
16264 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16265 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16267 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16272 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16273 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16274 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16275 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16276 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16278 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16280 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16281 test signgam value.
16283 * math/libm-test.inc (hypot_test): Do not use
16284 IGNORE_ZERO_INF_SIGN.
16286 2013-05-03 Andreas Jaeger <aj@suse.de>
16288 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16290 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16291 (PF_MAX): Adjust for VSOCK change.
16293 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16297 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16300 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16301 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16302 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16304 2013-05-02 David S. Miller <davem@davemloft.net>
16306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16308 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16310 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16312 2013-05-01 Roland McGrath <roland@hack.frob.com>
16314 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16316 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16319 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16320 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16321 Use __attribute__ ((__gnu_inline__)).
16322 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16323 Don't use __attribute__ ((__gnu_inline__)).
16325 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16328 * math/s_catan.c (__catan): Handle small real or imaginary part of
16329 input specially to avoid spurious underflow.
16330 * math/s_catanf.c (__catanf): Likewise.
16331 * math/s_catanh.c (__catanh): Likewise.
16332 * math/s_catanhf.c (__catanhf): Likewise.
16333 * math/s_catanhl.c (__catanhl): Likewise.
16334 * math/s_catanl.c (__catanl): Likewise.
16335 * math/libm-test.inc (catan_test): Add more tests.
16336 (catanh_test): Likewise.
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16340 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16344 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16347 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16348 accurately for denominator in atan2.
16349 * math/s_catanf.c (__catanf): Likewise.
16350 * math/s_catanh.c (__catanh): Likewise.
16351 * math/s_catanhf.c (__catanhf): Likewise.
16352 * math/s_catanhl.c (__catanhl): Likewise.
16353 * math/s_catanl.c (__catanl): Likewise.
16354 * math/libm-test.inc (catan_test): Add more tests.
16355 (catanh_test): Likewise.
16356 * sysdeps/i386/fpu/libm-test-ulps: Update.
16357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16359 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16361 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16363 * benchtests/Makefile (bench): Remove slow benchmarks.
16364 * benchtests/atan-inputs: Add slow benchmark inputs.
16365 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16366 (BENCH_FUNC): Accept variant offset.
16368 * benchtests/bench-skeleton.c (main): Run benchmark for each
16370 * benchtests/cos-inputs: Add slow benchmark inputs.
16371 * benchtests/exp-inputs: Likewise.
16372 * benchtests/pow-inputs: Likewise.
16373 * benchtests/sin-inputs: Likewise.
16374 * benchtests/slowatan-inputs: Remove.
16375 * benchtests/slowatan.c: Remove.
16376 * benchtests/slowcos-inputs: Remove.
16377 * benchtests/slowcos.c: Remove.
16378 * benchtests/slowexp-inputs: Remove.
16379 * benchtests/slowexp.c: Remove.
16380 * benchtests/slowpow-inputs: Remove.
16381 * benchtests/slowpow.c: Remove.
16382 * benchtests/slowsin-inputs: Remove.
16383 * benchtests/slowsin.c: Remove.
16384 * benchtests/slowtan-inputs: Remove.
16385 * benchtests/slowtan.c: Remove.
16386 * benchtests/tan-inputs: Add slow benchmark inputs.
16387 * scripts/bench.pl: Parse comments and directives.
16389 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16391 ($(objpfx)bench-%.c): Remove *-ITER.
16392 * benchtests/bench-modf.c: Remove definition of ITER.
16393 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16394 (main): Loop for DURATION seconds instead of fixed number of
16396 * scripts/bench.pl: Don't expect iterations in parameters.
16398 2013-04-29 Roland McGrath <roland@hack.frob.com>
16400 * io/fchdir.c (__fchdir): Renamed from fchdir.
16401 (fchdir): Define as weak alias.
16403 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16405 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16406 (ERRNO_EDOM): Likewise.
16407 (ERRNO_ERANGE): Likewise.
16408 (noErrnoTests): New variable.
16409 (init_max_error): Set errno to 0.
16410 (test_single_errno): New function.
16411 (test_errno): Likewise.
16412 (check_float_internal): Call test_errno. Set errno to 0.
16413 (check_complex): Refer to errno tests in comment.
16414 (check_int): Call test_errno. Set errno to 0.
16415 (check_long): Likewise.
16416 (check_bool): Likewise.
16417 (check_longlong): Likewise.
16418 (cos_test): Use ERRNO_* flags for errno tests instead of
16420 (expm1_test): Likewise.
16421 (fmod_test): Likewise.
16422 (ilogb_test): Likewise.
16423 (lgamma_test): Likewise.
16424 (pow_test): Likewise.
16425 (remainder_test): Likewise.
16426 (sin_test): Likewise.
16427 (tan_test): Likewise.
16428 (yn_test): Likewise.
16429 (initialize): Set errno to 0.
16430 (main): Print number of errno tests.
16431 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16433 2013-04-29 Andreas Jaeger <aj@suse.de>
16436 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16440 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16441 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16445 * stdlib/random.c (__initstate): Return NULL if
16449 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16450 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16453 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16457 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16459 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16460 of individual tests.
16461 (casin_test): Likewise.
16462 (casinh_test): Likewise.
16464 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16467 * math/s_catan.c (__catan): Handle arguments with large real or
16468 imaginary part separately without squaring.
16469 * math/s_catanf.c (__catanf): Likewise.
16470 * math/s_catanh.c (__catanh): Likewise.
16471 * math/s_catanhf.c (__catanhf): Likewise.
16472 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16474 (__catanhl): Handle arguments with large real or imaginary part
16475 separately without squaring.
16476 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16478 (__catanl): Handle arguments with large real or imaginary part
16479 separately without squaring.
16480 * math/libm-test.inc (catan_test): Add more tests.
16481 (catanh_test): Likewise.
16482 * sysdeps/i386/fpu/libm-test-ulps: Update.
16483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16485 2013-04-27 Andreas Jaeger <aj@suse.de>
16488 * stdlib/stdlib.h: Update guards for qecvt.
16489 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16492 2013-04-27 Allan McRae <allan@archlinux.org>
16494 * sysdeps/i386/fpu/libm-test-ulps: Update.
16496 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16499 * math/s_catan.c: Include <float.h>.
16500 (__catan): Ensure underflow exception occurs for underflowed
16502 * math/s_catanf.c: Include <float.h>.
16503 (__catanf): Ensure underflow exception occurs for underflowed
16505 * math/s_catanh.c: Include <float.h>.
16506 (__catanh): Ensure underflow exception occurs for underflowed
16508 * math/s_catanhf.c: Include <float.h>.
16509 (__catanhf): Ensure underflow exception occurs for underflowed
16511 * math/s_catanhl.c: Include <float.h>.
16512 (__catanhl): Ensure underflow exception occurs for underflowed
16514 * math/s_catanl.c: Include <float.h>.
16515 (__catanl): Ensure underflow exception occurs for underflowed
16517 * math/libm-test.inc (catan_test): Add more tests.
16518 (catanh_test): Likewise.
16521 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16522 underflowed result.
16523 * math/s_ccoshf.c (__ccoshf): Likewise.
16524 * math/s_ccoshl.c (__ccoshl): Likewise.
16525 * math/s_csin.c (__csin): Likewise.
16526 * math/s_csinf.c (__csinf): Likewise.
16527 * math/s_csinh.c (__csinh): Likewise.
16528 * math/s_csinhf.c (__csinhf): Likewise.
16529 * math/s_csinhl.c (__csinhl): Likewise.
16530 * math/s_csinl.c (__csinl): Likewise.
16531 * math/libm-test.inc (ccos_test): Add more tests.
16532 (ccosh_test): Likewise.
16533 (csin_test): Likewise.
16534 (csinh_test): Likewise.
16536 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16538 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16539 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16540 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16541 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16542 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16543 powerpc/power5+/fpu folders.
16544 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16547 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16551 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16553 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16554 additions to variable.
16555 [$(config-machine) = x86_64] (modules-names): Likewise.
16556 ($(objpfx)tst-audit3): Remove dependency.
16557 ($(objpfx)tst-audit3.out): Likewise.
16558 ($(objpfx)tst-audit4): Likewise.
16559 ($(objpfx)tst-audit4.out): Likewise.
16560 ($(objpfx)tst-audit5): Likewise.
16561 ($(objpfx)tst-audit5.out): Likewise.
16562 ($(objpfx)tst-audit6): Likewise.
16563 ($(objpfx)tst-audit6.out): Likewise.
16564 ($(objpfx)tst-audit7): Likewise.
16565 ($(objpfx)tst-audit7.out): Likewise.
16566 (tst-audit3-ENV): Remove variable.
16567 (tst-audit4-ENV): Likewise.
16568 (tst-audit5-ENV): Likewise.
16569 (tst-audit6-ENV): Likewise.
16570 (tst-audit7-ENV): Likewise.
16571 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16572 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16573 addition to variable.
16574 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16576 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16577 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16579 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16580 tst-audit3, tst-audit4 and tst-audit5.
16581 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16582 tst-audit6 and tst-audit7.
16583 [$(subdir) = elf] (modules-names): Add audit modules for those
16585 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16586 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16587 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16588 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16589 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16590 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16591 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16592 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16593 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16594 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16595 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16596 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16597 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16598 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16599 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16600 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16602 [$(subdir) = elf && $(config-cflags-avx) = yes]
16603 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16604 [$(subdir) = elf && $(config-cflags-avx) = yes]
16605 (CFLAGS-tst-auditmod4a.c): Likewise.
16606 [$(subdir) = elf && $(config-cflags-avx) = yes]
16607 (CFLAGS-tst-auditmod4b.c): Likewise.
16608 [$(subdir) = elf && $(config-cflags-avx) = yes]
16609 (CFLAGS-tst-auditmod6b.c): Likewise.
16610 [$(subdir) = elf && $(config-cflags-avx) = yes]
16611 (CFLAGS-tst-auditmod6c.c): Likewise.
16612 [$(subdir) = elf && $(config-cflags-avx) = yes]
16613 (CFLAGS-tst-auditmod7b.c): Likewise.
16614 * elf/tst-audit3.c: Move to ...
16615 * sysdeps/x86_64/tst-audit3.c: ... here.
16616 * elf/tst-audit4.c: Move to ...
16617 * sysdeps/x86_64/tst-audit4.c: ... here.
16618 * elf/tst-audit5.c: Move to ...
16619 * sysdeps/x86_64/tst-audit5.c: ... here.
16620 * elf/tst-audit6.c: Move to ...
16621 * sysdeps/x86_64/tst-audit6.c: ... here.
16622 * elf/tst-audit7.c: Move to ...
16623 * sysdeps/x86_64/tst-audit7.c: ... here.
16624 * elf/tst-auditmod3a.c: Move to ...
16625 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16626 * elf/tst-auditmod3b.c: Move to ...
16627 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16628 * elf/tst-auditmod4a.c: Move to ...
16629 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16630 * elf/tst-auditmod4b.c: Move to ...
16631 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16632 * elf/tst-auditmod5a.c: Move to ...
16633 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16634 * elf/tst-auditmod5b.c: Move to ...
16635 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16636 * elf/tst-auditmod6a.c: Move to ...
16637 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16638 * elf/tst-auditmod6b.c: Move to ...
16639 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16640 * elf/tst-auditmod6c.c: Move to ...
16641 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16642 * elf/tst-auditmod7a.c: Move to ...
16643 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16644 * elf/tst-auditmod7b.c: Move to ...
16645 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16647 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16650 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16651 define unconditionally.
16652 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16653 define unconditionally.
16654 (INT8_C, INT16_C, etc.): Likewise.
16656 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16658 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16659 __ehdr_start with hidden visibility.
16661 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16663 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16665 * math/libm-test.inc (cos_test): Use accurate hex constants.
16666 (sincost_test): Likewise.
16668 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16670 * math/libm-test.inc (catan_test): Add more tests.
16671 (catanh_test): Likewise.
16673 * math/s_catanf.c (__catanf): Use suffixed floating-point
16675 * math/s_catanhf.c (__catanhf): Likewise.
16676 * math/s_catanhl.c (__catanhl): Likewise.
16677 * math/s_catanl.c (__catanl): Likewise.
16680 * math/s_catan.c (__catan): Calculate imaginary part of result
16681 with log1p not log unless computing log of number close to 0.
16682 * math/s_catanf.c (__catanf): Likewise.
16683 * math/s_catanl.c (__catanl): Likewise.
16684 * math/s_catanh.c (__catanh): Calculate real part of result with
16685 log1p not log unless computing log of number close to 0.
16686 * math/s_catanhf.c (__catanhf): Likewise.
16687 * math/s_catanhl.c (__catanhl): Likewise.
16688 * math/libm-test.inc (catan_test): Add more tests.
16689 (catanh_test): Likewise.
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16693 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16695 * benchtests/Makefile: Mention files in which fast and slow
16696 paths of math functions are implemented.
16698 2013-04-23 Roland McGrath <roland@hack.frob.com>
16700 * sysdeps/posix/timespec_get.c: New file.
16702 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16704 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16706 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16708 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16709 powerpc/power5/fpu folders.
16710 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16711 * benchtests/Makefile: Add modf testcase.
16712 * benchtests/bench-modf.c: New file: Benchmark test for mo
16714 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16717 * time/Makefile (tests): Add tst-strptime-whitespace.
16718 * time/strptime_l.c (get_number): Use ISSPACE.
16719 (__strptime_internal): Likewise.
16720 * time/tst-strptime-whitespace.c: New test case.
16722 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16724 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16726 (_nss_files_init): Set it here.
16728 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16730 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16731 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16734 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16736 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16738 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16743 2013-04-21 David S. Miller <davem@davemloft.net>
16745 * po/ru.po: Update Russion translation from translation project.
16747 2013-04-17 Adam Conrad <adconrad@0c3.net>
16749 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16752 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16754 * configure.in: Remove i386 configure warning. Remove i386 case.
16755 * configure: Regenerate.
16756 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16757 Add example to error message.
16758 * sysdeps/i386/configure: Regenerate.
16760 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16762 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16764 * benchtests/cos-inputs: New file.
16765 * benchtests/slowcos-inputs: New file.
16766 * benchtests/slowcos.c: New file.
16767 * benchtests/slowtan-inputs: New file.
16768 * benchtests/slowtan.c: New file.
16769 * benchtests/tan-inputs: New file.
16771 2013-04-16 Roland McGrath <roland@hack.frob.com>
16773 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16776 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16778 * benchtests/Makefile: Include cppflags-iterator.mk to add
16779 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16781 * Makefile.in (bench-clean): New target.
16782 * benchtests/Makefile (bench-clean): Likewise.
16784 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16786 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16788 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16790 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16792 2013-04-15 Andreas Schwab <schwab@suse.de>
16794 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16796 * nscd/pwdcache.c (cache_addpw): Likewise.
16797 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16800 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16802 * benchtests/Makefile (bench): Write all output to
16803 bench-out.tmp together.
16805 2013-04-15 Andreas Schwab <schwab@suse.de>
16807 * nscd/nscd.c (main): Don't fork again after closing files.
16809 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16811 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16813 * benchtests/Rules (bench-deps): Collect dependencies into a
16814 single variable. Add Makefile to dependencies.
16815 ($(objpfx)bench-%.c): Depend on bench-deps.
16817 2013-04-12 Roland McGrath <roland@hack.frob.com>
16818 Xavier Roche <roche+kml2@exalead.com>
16821 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16822 just that it's a file descriptor.
16823 * manual/llio.texi (Synchronizing AIO Operations): Update description
16824 for EBADF error from aio_fsync.
16826 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * Rules (bench): Move target definition...
16829 * benchtests/Makefile: ... here.
16831 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16833 * math/libm-test.inc (cos_test): Fix PI/2 test.
16834 (sincos_test): Likewise.
16835 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16836 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16838 2013-04-11 Andreas Schwab <schwab@suse.de>
16841 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16842 accept exponent character only when digits were seen.
16843 * stdio-common/Makefile (tests): Add bug26.
16844 * stdio-common/bug26.c: New file.
16847 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16850 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16852 * Makeconfig (rtld-prefix): Define built linker prefix.
16853 * Rules (run-bench): Use it.
16854 * math/Makefile (run-regen-ulps): Likewise.
16856 * Rules (bench): Remove eval.
16858 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16859 Roland McGrath <roland@hack.frob.com>
16860 Ondrej Bilka <neleai@seznam.cz>
16863 * time/getdate.c: Include ctype.h and alloca.h.
16864 (__getdate_r): Trim leading and trailing spaces of input.
16865 * time/tst-getdate.c (tests): Add tests with leading and
16868 2013-04-08 Roland McGrath <roland@hack.frob.com>
16871 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16872 when computing value.
16874 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16876 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16877 Use testrun.sh to run libm tests.
16880 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16882 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16885 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16887 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16889 * Makefile.in (regen-ulps): New target.
16890 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16891 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16892 [ifneq (no,$(PERL)] (regen-ulps): New target.
16893 [ifeq (no,$(PERL)] (regen-ulps): New target.
16894 * math/libm-test.inc (ulps_file_name): Define.
16895 (output_dir): New variable.
16896 (options): Add "output-dir" option.
16897 (parse_opt): Handle 'o' case.
16898 (main): If output_dir is non-NULL use it as a prefix
16900 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16902 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16904 [BZ #10060, #10062]
16905 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16906 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16907 fail configure if __sync_val_compare_and_swap is not inlined.
16908 * sysdeps/i386/configure: Regenerate.
16909 * configure.in: Build for i686 when configured for i386.
16910 * configure: Regenerate.
16911 * README: Remove i386 reference.
16913 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16915 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16918 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16920 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16921 (lmsnanval): New variables.
16922 (F): Add conversion tests.
16923 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16924 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16926 * stdio-common/tstdiomisc.c (F): Properly collect individual
16929 [BZ #14686, #15336]
16930 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16931 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16932 Instead, use input NaN values or generate a qNaN by arithmetic
16933 operation. Also fix bugs to comply with the standard.
16934 * math/libm-test.inc (remainder_test): Add more tests.
16936 [BZ #15335, #15342]
16937 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16939 input NaN values or generate a qNaN by arithmetic operation.
16941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16944 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16947 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16950 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16951 underflowed result.
16952 * math/s_cexpf.c (__cexpf): Likewise.
16953 * math/s_cexpl.c (__cexpl): Likewise.
16954 * math/libm-test.inc (cexp_test): Add more tests.
16956 2013-04-03 Andreas Schwab <schwab@suse.de>
16959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16960 order arrays from heap if bigger than alloca cutoff.
16962 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16964 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16965 (SNAN_TESTS_double): Refer to GCC PR56831.
16966 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16969 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16971 * Rules (bench): Move bench.out after the run is complete.
16973 * Rules (bench): Echo currently running benchmark.
16975 * benchtests/Makefile (bench): Add atan and slowatan.
16976 * benchtests/atan-inputs: New file.
16977 * benchtests/slowatan-inputs: New file.
16978 * benchtests/slowatan.c: New file.
16980 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16985 * sysdeps/unix/sysv/linux/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16987 __ASSUME_XFS_RESTRICTED_CHOWN.
16988 * sysdeps/unix/sysv/linux/pathconf.c
16989 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16990 Save and restore errno.
16992 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16995 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16996 arguments using __kernel_casinh.
16997 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16998 arguments using __kernel_casinhf.
16999 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17000 arguments using __kernel_casinhl.
17001 * math/libm-test.inc (cacosh_test): Add more tests.
17002 * sysdeps/i386/fpu/libm-test-ulps: Update.
17003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17007 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17010 * bench/Makefile (bench): Add sin and slowsin.
17011 * benchtests/sin-inputs: New file.
17012 * benchtests/slowsin-inputs: New file.
17013 * benchtests/slowsin.c: New file.
17015 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17016 (bench): Add slowexp and slowpow.
17017 (exp-ITER): Increase iterations.
17018 (pow-ITER): Likewise.
17019 * benchtests/exp-inputs: Change input.
17020 * benchtests/pow-inputs: Likewise.
17021 * benchtests/slowexp-inputs: New file.
17022 * benchtests/slowexp.c: New file.
17023 * benchtests/slowpow-inputs: New file.
17024 * benchtests/slowpow.c: New file.
17026 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17028 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17030 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17031 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17032 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17033 * benchtests/Makefile: Add rint benchtest.
17034 * benchtests/rint-inputs: Input for rint benchtest.
17036 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17038 * Versions.def (libm): Add GLIBC_2.18.
17039 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17040 hidden libm prototypes.
17041 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17042 * math/Makefile (libm-calls): Add s_issignaling.
17043 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17044 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17045 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17047 * math/math.h [__USE_GNU] (issignaling): New macro.
17048 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17049 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17051 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17054 * manual/arith.texi (issignaling): New section.
17055 * manual/libm-err-tab.pl (@all_functions): Update comment.
17056 * math/gen-libm-test.pl (parse_args): Apply special handling for
17058 * math/libm-test.inc (print_float, issignaling_test): New
17060 (check_float_internal): Add issignaling checks.
17061 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17062 default definition.
17063 * sysdeps/powerpc/math-tests.h: New file.
17064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17066 * math/test-snan.c (TEST_FUNC): Likewise.
17068 2013-03-30 David S. Miller <davem@davemloft.net>
17070 * po/de.po: Update from translation team.
17072 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17075 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17076 imaginary part less than 1.0 and real part less than 0.5
17078 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17079 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17080 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17081 (cacos_test): Add more tests.
17082 (casin_test): Likewise.
17083 (casinh_test): Likewise.
17084 * sysdeps/i386/fpu/libm-test-ulps: Update.
17085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17087 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17089 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17090 ONE with its value.
17092 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17093 (__pow_mp): Replace ONE and MONE with their values.
17094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17096 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17097 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17098 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17099 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17101 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17103 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17104 (__pow_mp): Replace ZERO and MZERO with their values.
17105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17107 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17109 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17110 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17113 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17115 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17117 2013-03-28 Roland McGrath <roland@hack.frob.com>
17119 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17120 Declare with __attribute__ ((weak)).
17121 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17122 Call __call_tls_dtors only if it's not NULL.
17124 2013-03-28 Roland McGrath <roland@hack.frob.com>
17126 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17127 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17128 magic __ehdr_start linker symbol if it's defined.
17129 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17130 them up here if it was already done.
17132 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17133 (_dl_aux_init): Use const in cast when setting it.
17134 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17135 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17136 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17138 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17140 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17141 * csu/libc-tls.c: Nor here.
17142 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17144 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17145 (__libc_message): Never call vsyslog.
17147 2013-03-28 Alan Modra <amodra@gmail.com>
17149 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17151 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17154 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17161 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17164 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17165 Don't add gid passed as argument.
17167 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17169 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17172 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17173 imaginary part between 1.0 and 1.5 and real part less than 0.5
17175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17177 * math/libm-test.inc (cacos_test): Add more tests.
17178 (casin_test): Likewise.
17179 (casinh_test): Likewise.
17180 * sysdeps/i386/fpu/libm-test-ulps: Update.
17181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17183 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17185 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17188 (denorm): Likewise.
17189 (__dbl_mp): Likewise.
17190 (add_magnitudes): Likewise.
17191 (sub_magnitudes): Likewise.
17199 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17201 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17202 (__dubcos): Likewise.
17203 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17204 (__ieee754_acos): Likewise.
17205 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17206 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17207 (__exp1): Likewise.
17208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17211 (my_log2): Likewise.
17212 (checkint): Likewise.
17213 * sysdeps/ieee754/dbl-64/e_remainder.c
17214 (__ieee754_remainder): Likewise.
17215 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17217 (bsloww): Likewise.
17218 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17220 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17222 MANTISSA_STORE_T to store computations on mantissa. Use
17223 macros for rounding and division.
17224 (denorm): Likewise.
17225 (__dbl_mp): Likewise.
17226 (add_magnitudes): Likewise.
17227 (sub_magnitudes): Likewise.
17230 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17231 powers of two in terms of TWOPOW macro.
17232 (mp_no): Make type of mantissa as MANTISSA_T.
17233 [!RADIXI]: Define RADIXI.
17234 [!TWO52]: Define TWO52.
17235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17237 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17240 llroundl symbol when building for PPC32.
17242 2013-03-24 Mark H Weaver <mhw@netris.org>
17244 * manual/arith.texi (Normalization Functions): Fix prototypes for
17245 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17247 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17251 high value to check if expl overflow.
17252 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17253 to check for underflow and overflow.
17254 * math/libm-test.inc: Add exp test.
17256 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17259 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17262 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17264 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17267 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17269 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17270 wrap blocks consisting of several statements.
17272 * sysdeps/generic/math-tests.h: New file.
17273 * sysdeps/i386/fpu/math-tests.h: Likewise.
17274 * math/test-snan.c: Include it.
17275 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17277 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17281 (__ieee754_j0l): Do not improve calculations using cos of twice
17282 input for inputs above LDBL_MAX / 2.0L.
17283 (__ieee754_y0l): Likewise.
17284 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17285 (__ieee754_j1l): Do not improve calculations using cos of twice
17286 input for inputs above LDBL_MAX / 2.0L.
17287 (__ieee754_y1l): Likewise.
17288 * math/libm-test.inc (j0_test): Add another test.
17289 (j1_test): Likewise.
17290 (y0_test): Likewise.
17291 (y1_test): Likewise.
17292 * sysdeps/i386/fpu/libm-test-ulps: Update.
17294 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17296 * Rules ($(objpfx)bench-%.c): Include code from a C source
17299 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17302 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17303 imaginary part 1.0 and real part less than 0.5 specially.
17304 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17305 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17306 * math/libm-test.inc (cacos_test): Add more tests.
17307 (casin_test): Likewise.
17308 (casinh_test): Likewise.
17309 * sysdeps/i386/fpu/libm-test-ulps: Update.
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17314 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17315 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17317 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17319 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17320 * config.make.in (config-cflags-sse4): Remove variable.
17321 (config-cflags-avx): Likewise.
17322 (config-cflags-sse2avx): Likewise.
17323 (config-cflags-novzeroupper): Likewise.
17324 (config-asflags-i686): Likewise.
17325 (have-mfma4): Likewise.
17326 (have-as-vis3): Likewise.
17328 * configure.in (MIG): Do not AC_SUBST.
17329 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17330 (libc_cv_cc_sse4): Do not AC_SUBST.
17331 (libc_cv_cc_avx): Likewise.
17332 (libc_cv_cc_sse2avx): Likewise.
17333 (libc_cv_cc_novzeroupper): Likewise.
17334 (libc_cv_cc_fma4): Likewise.
17335 (libc_cv_as_i686): Likewise.
17336 (libc_cv_sparc_as_vis3): Likewise.
17337 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17339 (config-asflags-i686): Likewise.
17340 (config-cflags-avx): Likewise.
17341 (config-cflags-sse2avx): Likewise.
17342 (have-mfma4): Likewise.
17343 (config-cflags-novzeroupper): Likewise.
17344 * sysdeps/mach/configure.in (MIG): Likewise.
17345 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17346 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17348 (config-cflags-avx): Likewise.
17349 (config-cflags-sse2avx): Likewise.
17350 (have-mfma4): Likewise.
17351 (config-cflags-novzeroupper): Likewise.
17352 * configure: Regenerated.
17353 * sysdeps/i386/configure: Likewise.
17354 * sysdeps/mach/configure: Likewise.
17355 * sysdeps/sparc/configure: Likewise.
17356 * sysdeps/x86_64/configure: Likewise.
17358 2013-03-20 Roland McGrath <roland@hack.frob.com>
17361 * locale/programs/localedef.c (options): Put N_ translation marker
17362 on argument names, not just descriptions.
17364 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17366 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17368 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17371 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17373 2013-03-19 Roland McGrath <roland@hack.frob.com>
17375 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17376 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17377 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17378 [!BEFORE_ABORT] (before_abort): New function.
17379 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17380 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17381 (writev_for_fatal): New function.
17382 (WRITEV_FOR_FATAL): New macro; call that.
17383 (backtrace_and_maps): New function.
17384 (BEFORE_ABORT): New macro; call that.
17385 (struct str_list): Type removed.
17386 (__libc_message, __libc_fatal): Functions removed.
17387 Include <sysdeps/posix/libc_fatal.c> instead.
17389 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17391 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17393 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17396 2013-03-19 Andreas Schwab <schwab@suse.de>
17398 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17399 * sysdeps/gnu/configure: Regenerate.
17401 * configure.in: Substitute libc_cv_rtlddir.
17402 * configure: Regenerate.
17403 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17404 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17405 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17406 * elf/Makefile (install-others, CFLAGS-interp.c)
17407 (ldso_install, common-ldd-rewrite): Likewise.
17408 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17409 $(inst_slibdir)/$(rtld-installed-name).
17410 * scripts/rellns-sh: Add -p option.
17411 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17414 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17416 * manual/nptl.texi: Renamed to ...
17417 * manual/threads.texi: ... this.
17418 * manual/Makefile (chapters): Update.
17420 2013-03-18 Roland McGrath <roland@hack.frob.com>
17423 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17424 on argument names, not just descriptions.
17425 * malloc/memusagestat.c (options): Likewise.
17426 * nss/getent.c (options): Likewise.
17428 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17431 * iconv/iconv_prog.c (options): Put N_ translation marker
17432 on argument names, not just descriptions.
17433 * iconv/iconvconfig.c (options): Likewise.
17435 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17437 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17438 implementation which is faster on all x86_64 architectures.
17439 Tested on AMD, Intel Nehalem, SNB, IVB.
17440 * sysdeps/x86_64/strnlen.S: Likewise.
17442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17443 Remove all multiarch strlen and strnlen versions.
17444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17445 Remove strlen and strnlen related parts.
17447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17448 Inline strlen part.
17449 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17451 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17452 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17453 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17454 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17455 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17456 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17458 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17460 * manual/memory.texi (Malloc Tunable Parameters):
17461 Sort parameters alphabetically. Add comments for missing entries.
17463 2013-03-17 David S. Miller <davem@davemloft.net>
17465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17467 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17470 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17471 for arguments at most half maximum finite value.
17472 * math/libm-test.inc (j0_test): Add more tests.
17473 (j1_test): Likewise.
17474 (y0_test): Likewise.
17475 (y1_test): Likewise.
17476 * sysdeps/i386/fpu/libm-test-ulps: Update.
17477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17480 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17481 1 / x and functions P and Q for arguments above 0x1p256L.
17482 (__ieee754_y0l): Likewise.
17483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17484 (__ieee754_y1l): Likewise.
17485 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17486 (j1_test): Likewise.
17487 (y0_test): Likewise.
17488 (y1_test): Likewise.
17490 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17492 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17495 2013-03-15 Roland McGrath <roland@hack.frob.com>
17497 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17498 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17499 zero since it's initialized to EXEC_PAGESIZE.
17501 * sysdeps/unix/sysv/linux/ldsodefs.h
17502 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17503 * sysdeps/generic/ldsodefs.h: ... here.
17505 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17507 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17509 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17511 * math/test-snan.c: Renamed from
17512 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17513 * math/Makefile (tests): Add test-snan.
17514 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17517 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17518 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17520 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17521 __builtin_nan family of functions.
17522 * math/libm-test.inc (initialize): Initialize qnan_value with
17523 __builtin_nan family of functions.
17524 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17526 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17528 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17529 storage class. Initialize qNaN_var and sNaN_var with
17530 __builtin_nan and __builtin_nans families of functions,
17533 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17534 (sqrt_test): Remove duplicate test with qNaN input.
17535 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17536 (round_test, signbit_test, significand_test): Note missing +/-Inf
17537 as well as qNaN tests.
17539 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17540 qNaN_var. Fix a few strings, too.
17541 * math/libm-test.inc (nan_value): Rename to qnan_value.
17542 * math/gen-libm-test.pl (%beautify): Adjust to that.
17543 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17544 * math/test-misc.c (main): Likewise.
17545 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17546 to __qnan_bytes, and __qnan_union, respectively.
17547 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17549 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17550 and lqnanval, respectively.
17551 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17552 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17553 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17554 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17556 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17557 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17560 * math/test-misc.c (main): Fix copy'n'pastos.
17561 * misc/tst-efgcvt.c (special): Likewise.
17563 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17564 Remove declarations.
17566 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17568 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17569 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17570 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17573 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17575 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17576 macro to return vdso values correctly in IFUNC implementations.
17577 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17578 Optimization by using IFUNC.
17580 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17581 Richard Henderson <rth@redhat.com>
17582 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17584 * Makefile.in (bench): New target.
17585 * NEWS: Mention the benchmark framework.
17586 * Rules (bench): Likewise.
17587 (binaries-bench): Generate binaries for functions to
17589 * benchtests/Makefile: New makefile for benchmark tests.
17590 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17592 * benchtests/exp-inputs: New input file for EXP function.
17593 * benchtests/pow-inputs: New input file for POW function.
17594 * scripts/bench.pl: New script to generate source files for
17595 benchmark programs.
17597 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17599 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17600 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17601 computations on mantissa. Use macros for rounding and
17603 (denorm): Likewise.
17604 (__dbl_mp): Likewise.
17605 (add_magnitudes): Likewise.
17606 (sub_magnitudes): Likewise.
17609 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17610 powers of two in terms of TWOPOW macro.
17611 (mp_no): Make type of mantissa as MANTISSA_T.
17612 [!RADIXI]: Define RADIXI.
17613 [!TWO52]: Define TWO52.
17614 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17616 * manual/nptl.texi (cindex): Modify threads to pthreads.
17618 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17620 * sysdeps/x86_64/preconfigure: Regenerated.
17622 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17625 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17627 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17628 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17630 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17631 * math/libm-test.inc (j0_test): Do not allow one spurious
17632 underflow exception.
17633 (y1_test): Likewise.
17635 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17637 * manual/Makefile (chapters): Add nptl.
17638 * manual/debug.texi (Debugging Support): Add link to Threads
17640 * manual/nptl.texi: New file.
17642 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17644 2013-03-14 Petr Baudis <pasky@ucw.cz>
17646 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17647 for non-NULL pointer before the memory validity test. Pointed
17648 out by Holger Brunck <holger.brunck@keymile.com>.
17650 2013-03-13 Andreas Schwab <schwab@suse.de>
17652 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17655 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17657 * timezone/zic.c: Update from tzcode 2013b.
17659 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17661 * manual/install.texi (Configuring and compiling):
17662 Mention i686 and i586.
17663 * INSTALL: Regenerate.
17665 2013-03-12 Roland McGrath <roland@hack.frob.com>
17667 * sysdeps/init_array/elf-init.c: New file.
17669 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17670 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17672 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17673 __gmon_start__ as global, but as static with a .preinit_array pointer.
17674 * sysdeps/init_array/gmon-start.c: New file. Use that.
17675 * sysdeps/init_array/crti.S: New file, empty except for comments.
17676 * sysdeps/init_array/crtn.S: Likewise.
17678 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17680 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17683 Remove Prefer_SSE_for_memop.
17684 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17685 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17686 HAS_PREFER_SSE_FOR_MEMOP.
17687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17689 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17690 Remove bzero, memset ifunc support.
17691 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17693 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17694 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17696 2013-03-11 Andreas Schwab <schwab@suse.de>
17699 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17702 (GLIBC_2.16): Remove pthread_atfork.
17704 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17706 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17707 (ptestcases.h): Likewise.
17709 2013-03-08 Roland McGrath <roland@hack.frob.com>
17711 * Makeconfig ($(common-objpfx)config.status): Depend on
17712 sysdeps/*/preconfigure{,.in} too.
17714 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17716 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17717 (__free_hook): Use void * instead of __malloc_ptr_t.
17718 (__malloc_hook): Likewise.
17719 (__realloc_hook): Likewise.
17720 (__memalign_hook): Likewise.
17721 (__after_morecore_hook): Likewise.
17722 * malloc/arena.c (save_malloc_hook): Likewise.
17723 (save_free_hook): Likewise.
17724 * malloc/hooks.c (malloc_hook_ini): Likewise.
17725 (realloc_hook_ini): Likewise.
17726 (memalign_hook_ini): Likewise.
17727 * malloc/malloc.c (malloc_hook_ini): Likewise.
17728 (realloc_hook_ini): Likewise.
17729 (memalign_hook_ini): Likewise.
17730 (__free_hook): Likewise.
17731 (__malloc_hook): Likewise.
17732 (__realloc_hook): Likewise.
17733 (__memalign_hook): Likewise.
17734 (__libc_malloc): Likewise.
17735 (__libc_free): Likewise.
17736 (__libc_realloc): Likewise.
17737 (__libc_memalign): Likewise.
17738 (__libc_valloc): Likewise.
17739 (__libc_pvalloc): Likewise.
17740 (__libc_calloc): Likewise.
17741 (__posix_memalign): Likewise.
17742 * malloc/morecore.c (__sbrk): Likewise.
17743 (__default_morecore): Likewise.
17745 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17747 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17748 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17749 __malloc_ptrdiff_t.
17751 * malloc/malloc.h (__malloc_size_t): Remove macro.
17752 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17754 (old_memalign_hook): Likewise.
17755 (old_realloc_hook): Likewise.
17756 (struct hdr): Likewise.
17758 (mallochook): Likewise.
17759 (memalignhook): Likewise.
17760 (reallochook): Likewise.
17761 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17762 (tr_old_realloc_hook): Likewise.
17763 (tr_old_memalign_hook): Likewise.
17764 (tr_mallochook): Likewise.
17765 (tr_reallochook): Likewise.
17766 (tr_memalignhook): Likewise.
17768 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17771 default_ldbl_pack and using as default implementation.
17772 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17774 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17775 redundant definition.
17776 (ldbl_insert_mantissa): Likewise.
17777 (ldbl_canonicalize): Likewise.
17778 (ldbl_nearbyint): Likewise.
17779 (ldbl_pack): Rename to ldbl_pack_ppc.
17780 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17781 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17782 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17784 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17787 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17788 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17789 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17791 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17792 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17793 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17795 2013-03-07 Andreas Jaeger <aj@suse.de>
17797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17800 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17802 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17803 Include mpa.h and declare __MPEXP.
17804 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17805 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17806 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17807 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17809 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17810 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17812 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17813 (__slowpow): Use long double EXPL and LOGL functions to
17815 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17816 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17818 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17819 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17823 intermediate variable to calculate exponent.
17825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17829 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17830 [!NO__SQR]: Define __sqr.
17831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17832 and NO__SQR. Remove all code except __mul and __sqr. Include
17833 sysdeps/ieee754/dbl-64/mpa.c.
17834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17837 * posix/Makefile (tests): Add tst-pathconf.
17838 * posix/tst-pathconf.c: New test case.
17839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17841 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17843 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17845 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17847 2013-03-06 Andreas Jaeger <aj@suse.de>
17849 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17850 definition via __MAP_ANONYMOUS.
17852 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17853 it's not part of Linux headers.
17855 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17856 (MAP_HUGE_MASK): Define.
17858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17863 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17864 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17871 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17872 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17874 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17875 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17882 Handle f2fs and efivarfs.
17884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17887 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17888 (EFIVARFS_MAGIC): Add.
17889 (F2FS_LINK_MAX): Add.
17891 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17893 * stdio-common/vfprintf.c: Replace __builtin_expect with
17896 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17899 * sysdeps/generic/bp-sym.h: Remove file.
17900 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17901 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17902 <bp-sym.h> and <bp-asm.h>.
17903 (__longjmp): Don't use BP_SYM.
17904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17906 (memcpy): Don't use BP_SYM.
17907 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17908 <bp-sym.h> and <bp-asm.h>.
17909 (memcpy): Don't use BP_SYM.
17910 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17912 (memcpy): Don't use BP_SYM.
17913 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17915 (memset): Don't use BP_SYM.
17916 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17917 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17918 (__bzero): Don't use BP_SYM.
17919 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17920 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17922 <bp-sym.h> and <bp-asm.h>.
17923 (memcmp): Don't use BP_SYM. Remove comment about bounded
17925 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17926 <bp-sym.h> and <bp-asm.h>.
17927 (memcpy): Don't use BP_SYM.
17928 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17929 <bp-sym.h> and <bp-asm.h>.
17930 (memset): Don't use BP_SYM.
17931 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17932 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17933 (__bzero): Don't use BP_SYM.
17934 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17935 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17936 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17937 <bp-sym.h> and <bp-asm.h>.
17938 (strncmp): Don't use BP_SYM. Remove comment about bounded
17940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17941 <bp-sym.h> and <bp-asm.h>.
17942 (memcpy): Don't use BP_SYM.
17943 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17944 <bp-sym.h> and <bp-asm.h>.
17945 (memset): Don't use BP_SYM.
17946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17948 (__bzero): Don't use BP_SYM.
17949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17952 <bp-sym.h> and <bp-asm.h>.
17953 (__memchr): Don't use BP_SYM.
17954 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17955 <bp-sym.h> and <bp-asm.h>.
17956 (memcmp): Don't use BP_SYM. Remove comment about bounded
17958 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17959 <bp-sym.h> and <bp-asm.h>.
17960 (memcpy): Don't use BP_SYM.
17961 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17962 <bp-sym.h> and <bp-asm.h>.
17963 (__mempcpy): Don't use BP_SYM.
17964 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17965 <bp-sym.h> and <bp-asm.h>.
17966 (__memrchr): Don't use BP_SYM.
17967 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17968 <bp-sym.h> and <bp-asm.h>.
17969 (memset): Don't use BP_SYM.
17970 (__bzero): Likewise.
17971 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17972 <bp-sym.h> and <bp-asm.h>.
17973 (__rawmemchr): Don't use BP_SYM.
17974 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17975 <bp-sym.h> and <bp-asm.h>.
17976 (__STRCMP): Don't use BP_SYM.
17977 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17978 <bp-sym.h> and <bp-asm.h>.
17979 (strchr): Don't use BP_SYM.
17980 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17981 <bp-sym.h> and <bp-asm.h>.
17982 (__strchrnul): Don't use BP_SYM.
17983 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17984 <bp-sym.h> and <bp-asm.h>.
17985 (strlen): Don't use BP_SYM.
17986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17987 <bp-sym.h> and <bp-asm.h>.
17988 (strncmp): Don't use BP_SYM. Remove comment about bounded
17990 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17991 <bp-sym.h> and <bp-asm.h>.
17992 (__strnlen): Don't use BP_SYM.
17993 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17994 <bp-sym.h> and <bp-asm.h>.
17995 (__GI__setjmp): Don't use BP_SYM.
17996 (_setjmp): Likewise.
17997 (__sigsetjmp): Likewise.
17998 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17999 (L(start_addresses)): Don't use BP_SYM.
18000 (_start): Likewise.
18001 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18003 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18004 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18005 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18006 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18007 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18009 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18010 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18011 about bounded pointers.
18012 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18013 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18014 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18016 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18017 about bounded pointers. Remove GKM FIXME comments.
18018 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18019 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18021 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18022 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18023 Remove GKM FIXME comments.
18024 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18025 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18026 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18028 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18029 about bounded pointers. Remove GKM FIXME comment.
18030 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18032 (strncmp): Don't use BP_SYM. Remove comment about bounded
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18035 <bp-sym.h> and <bp-asm.h>.
18036 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18038 <bp-sym.h> and <bp-asm.h>.
18039 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18042 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18044 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18047 2013-03-05 David S. Miller <davem@davemloft.net>
18049 * po/es.po: Update from translation team.
18051 2013-03-05 Andreas Jaeger <aj@suse.de>
18053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18054 <bits/mman-linux.h>.
18055 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18058 <bits/mman-linux.h> to end of file.
18059 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18062 <bits/mman-linux.h> to end of file.
18063 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18066 <bits/mman-linux.h> to end of file.
18068 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18069 (MCL_CURRENT, MCL_FUTURE): Define here.
18071 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18076 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18078 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18081 fourth parameter needed for rt_sigprocmask syscall.
18082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18087 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18089 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18092 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18093 comment about bounded pointers.
18094 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18095 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18097 2013-03-04 Andreas Jaeger <aj@suse.de>
18099 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18100 common definitions.
18102 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18103 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18104 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18109 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18112 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18113 __ieee754_sqrl instead of __sqrl.
18115 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18117 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18118 * sysdeps/powerpc/fpu_control.h: ... here.
18119 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18120 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18121 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18122 * sysdeps/powerpc/bits/mathinline.h: ... here.
18124 2013-03-01 Roland McGrath <roland@hack.frob.com>
18126 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18127 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18128 to just [NEED_DL_SYSINFO_DSO].
18129 * elf/dl-support.c: Likewise.
18130 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18131 * elf/rtld.c (dl_main): Likewise.
18132 * elf/setup-vdso.h (setup_vdso): Likewise.
18133 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18134 * sysdeps/unix/sysv/linux/dl-sysdep.c
18135 (_dl_discover_osversion): Likewise.
18137 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18139 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18140 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18142 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18144 * NEWS: Mention libm performance improvements and non-x86 PI
18147 * csu/libc-start.c (__pthread_initialize_minimal): Change
18148 function arguments.
18149 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18151 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18154 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18156 <bp-sym.h> and <bp-asm.h>.
18157 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18158 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18160 (memcpy): Don't use BP_SYM.
18161 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18163 (__mpn_add_n): Don't use BP_SYM.
18164 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18165 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18167 (__mpn_addmul_1): Don't use BP_SYM.
18168 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18169 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18171 (_setjmp): Don't use BP_SYM.
18172 (__novmx_setjmp): Likewise.
18173 (__GI__setjmp): Likewise.
18174 (__vmx_setjmp): Likewise.
18175 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18177 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18178 (__bzero): Don't use BP_SYM.
18179 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18180 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18181 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18182 <bp-sym.h> and <bp-asm.h>.
18183 (memcpy): Don't use BP_SYM.
18184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18185 <bp-sym.h> and <bp-asm.h>.
18186 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18188 <bp-sym.h> and <bp-asm.h>.
18189 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18190 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18192 (__mpn_lshift): Don't use BP_SYM.
18193 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18194 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18196 (memset): Don't use BP_SYM.
18197 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18198 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18199 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18201 (__mpn_mul_1): Don't use BP_SYM.
18202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18204 <bp-sym.h> and <bp-asm.h>.
18205 (memcmp): Don't use BP_SYM.
18206 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18207 <bp-sym.h> and <bp-asm.h>.
18208 (memcpy): Don't use BP_SYM.
18209 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18210 <bp-sym.h> and <bp-asm.h>.
18211 (memset): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18213 <bp-sym.h> and <bp-asm.h>.
18214 (strncmp): Don't use BP_SYM.
18215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18216 <bp-sym.h> and <bp-asm.h>.
18217 (memcpy): Don't use BP_SYM.
18218 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18219 <bp-sym.h> and <bp-asm.h>.
18220 (memset): Don't use BP_SYM.
18221 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18222 <bp-sym.h> and <bp-asm.h>.
18223 (__memchr): Don't use BP_SYM.
18224 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18225 <bp-sym.h> and <bp-asm.h>.
18226 (memcmp): Don't use BP_SYM.
18227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18228 <bp-sym.h> and <bp-asm.h>.
18229 (memcpy): Don't use BP_SYM.
18230 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18231 <bp-sym.h> and <bp-asm.h>.
18232 (__mempcpy): Don't use BP_SYM.
18233 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__memrchr): Don't use BP_SYM.
18236 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18237 <bp-sym.h> and <bp-asm.h>.
18238 (memset): Don't use BP_SYM.
18239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18240 <bp-sym.h> and <bp-asm.h>.
18241 (__rawmemchr): Don't use BP_SYM.
18242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18243 <bp-sym.h> and <bp-asm.h>.
18244 (__STRCMP): Don't use BP_SYM.
18245 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18246 <bp-sym.h> and <bp-asm.h>.
18247 (strchr): Don't use BP_SYM.
18248 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18249 <bp-sym.h> and <bp-asm.h>.
18250 (__strchrnul): Don't use BP_SYM.
18251 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18252 <bp-sym.h> and <bp-asm.h>.
18253 (strlen): Don't use BP_SYM.
18254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18255 <bp-sym.h> and <bp-asm.h>.
18256 (strncmp): Don't use BP_SYM.
18257 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18258 <bp-sym.h> and <bp-asm.h>.
18259 (__strnlen): Don't use BP_SYM.
18260 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18262 (__mpn_rshift): Don't use BP_SYM.
18263 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18264 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18265 <bp-sym.h> and <bp-asm.h>.
18266 (__sigsetjmp): Don't use BP_SYM.
18267 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18268 (L(start_addresses)): Don't use BP_SYM.
18269 (_start): Likewise.
18270 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18272 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18273 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18274 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18275 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18277 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18278 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18279 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18280 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18282 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18284 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18285 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18287 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18289 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18290 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18291 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18293 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18295 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18297 (strncmp): Don't use BP_SYM,
18298 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18300 (__mpn_sub_n): Don't use BP_SYM.
18301 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18302 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18304 (__mpn_submul_1): Don't use BP_SYM.
18305 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18307 <bp-sym.h> and <bp-asm.h>.
18308 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18310 <bp-sym.h> and <bp-asm.h>.
18311 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18314 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18317 Use ZK to minimize writes to Z.
18318 (sub_magnitudes): Simplify code a bit.
18319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18320 Use ZK to minimize writes to Z.
18321 (sub_magnitudes): Simplify code a bit.
18323 2013-02-27 Roland McGrath <roland@hack.frob.com>
18325 * csu/gmon-start.c: Add special exception to license text.
18327 2013-02-27 Richard Henderson <rth@redhat.com>
18329 * scripts/config.guess: Update from config.git.
18330 * scripts/config.sub: Likewise.
18332 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18336 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18338 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18340 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18342 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18344 2013-02-26 Roland McGrath <roland@hack.frob.com>
18346 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18347 [$(build-shared = yes].
18349 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18351 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18352 (__mul): Reduce iterations for calculating mantissa.
18354 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18356 (__mpranred): Likewise.
18359 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18360 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18362 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18364 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18365 Define __attribute__.
18367 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18369 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18371 * posix/regex_internal.h (__attribute): Remove.
18372 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18373 (re_string_context_at): Likewise.
18374 (bitset_not): Use __attribute__ and mark function as possibly
18376 (bitset_merge): Likewise.
18377 (bitset_mask): Likewise.
18378 (re_string_char_size_at): Likewise.
18379 (re_string_wchar_at): Likewise.
18380 (re_string_elem_size_at): Likewise.
18382 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18384 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18388 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18392 (denorm): Likewise.
18393 (__dbl_mp): Likewise.
18394 (add_magnitudes): Likewise.
18395 (sub_magnitudes): Likewise.
18399 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18402 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18405 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18409 up changes with default code.
18410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18413 2013-02-24 Allan McRae <allan@archlinux.org>
18415 * manual/socket.texi (The Internet Namespace): Order menu items
18416 to match that in the file.
18418 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18419 node listing of the info page menu.
18421 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18424 * sysdeps/i386/bp-asm.h: Remove file.
18425 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18426 (PARMS): Do not use macros from bp-asm.h.
18430 (__mpn_add_n): Do not use BP_SYM
18431 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18433 (PARMS): Do not use macros from bp-asm.h.
18436 (__mpn_addmul_1): Do not use BP_SYM
18437 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18439 (PARMS): Do not use macros from bp-asm.h.
18440 (SIGMSK): Likewise.
18441 (_setjmp): Likewise. Do not use BP_SYM.
18442 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18444 (PARMS): Do not use macros from bp-asm.h.
18445 (SIGMSK): Likewise.
18446 (setjmp): Likewise. Do not use BP_SYM.
18447 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18449 (PARMS): Do not use macros from bp-asm.h.
18450 (__frexp): Do not use BP_SYM.
18452 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18454 (PARMS): Do not use macros from bp-asm.h.
18455 (__frexpf): Do not use BP_SYM.
18456 (frexpf): Likewise.
18457 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18459 (PARMS): Do not use macros from bp-asm.h.
18460 (__frexpl): Do not use BP_SYM.
18461 (frexpl): Likewise.
18462 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18464 (PARMS): Do not use macros from bp-asm.h.
18465 (__remquo): Do not use BP_SYM.
18466 (remquo): Likewise.
18467 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18469 (PARMS): Do not use macros from bp-asm.h.
18470 (__remquof): Do not use BP_SYM.
18471 (remquof): Likewise.
18472 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18474 (PARMS): Do not use macros from bp-asm.h.
18475 (__remquol): Do not use BP_SYM.
18476 (remquol): Likewise.
18477 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18479 (PARMS): Do not use macros from bp-asm.h.
18482 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18483 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18485 (PARMS): Do not use macros from bp-asm.h.
18486 (strlen): Do not use BP_SYM.
18487 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18489 (PARMS): Do not use macros from bp-asm.h.
18493 (__mpn_add_n): Do not use BP_SYM.
18494 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18496 (PARMS): Do not use macros from bp-asm.h.
18499 (__mpn_addmul_1): Do not use BP_SYM.
18500 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18503 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18505 (PARMS): Do not use macros from bp-asm.h.
18508 (__mpn_lshift): Do not use BP_SYM.
18509 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18511 (PARMS): Do not use macros from bp-asm.h.
18515 (memcpy): Likewise. Do not use BP_SYM.
18516 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18517 libc_hidden_def and weak_alias.
18518 (mempcpy): Do not use BP_SYM in weak_alias.
18519 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18521 (PARMS): Do not use macros from bp-asm.h.
18524 [!BZERO_P] (CHR): Likewise.
18525 (memset): Likewise. Do not use BP_SYM.
18526 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18528 (PARMS): Do not use macros from bp-asm.h.
18531 (__mpn_mul_1): Do not use BP_SYM.
18532 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18534 (PARMS): Do not use macros from bp-asm.h.
18537 (__mpn_rshift): Do not use BP_SYM.
18538 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18540 (PARMS): Do not use macros from bp-asm.h.
18543 (strchr): Likewise. Do not use BP_SYM.
18544 (index): Do not use BP_SYM in weak_alias.
18545 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18547 (PARMS): Do not use macros from bp-asm.h.
18550 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18551 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18553 (PARMS): Do not use macros from bp-asm.h.
18554 (strlen): Do not use BP_SYM.
18555 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18557 (PARMS): Do not use macros from bp-asm.h.
18561 (__mpn_sub_n): Do not use BP_SYM.
18562 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18564 (PARMS): Do not use macros from bp-asm.h.
18567 (__mpn_submul_1): Do not use BP_SYM.
18568 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18570 (PARMS): Do not use macros from bp-asm.h.
18574 (__mpn_add_n): Do not use BP_SYM.
18575 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18578 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18580 (PARMS): Do not use macros from bp-asm.h.
18583 (memcmp): Do not use BP_SYM.
18584 (bcmp): Do not use BP_SYM in weak_alias.
18585 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18587 (PARMS): Do not use macros from bp-asm.h.
18591 (memcpy): Likewise. Do not use BP_SYM.
18592 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18594 (PARMS): Do not use macros from bp-asm.h.
18598 (memmove): Likewise. Do not use BP_SYM.
18599 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18601 (PARMS): Do not use macros from bp-asm.h.
18605 (__mempcpy): Likewise. Do not use BP_SYM.
18606 (mempcpy): Do not use BP_SYM in weak_alias.
18607 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18609 (PARMS): Do not use macros from bp-asm.h.
18612 [!BZERO_P] (CHR): Likewise.
18613 (memset): Likewise. Do not use BP_SYM.
18614 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18616 (PARMS): Do not use macros from bp-asm.h.
18618 (strcmp): Do not use BP_SYM.
18619 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18621 (PARMS): Do not use macros from bp-asm.h.
18624 [USE_AS_STRTOK_R] (SAVE): Likewise.
18625 (FUNCTION): Likewise. Do not use BP_SYM.
18626 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18628 (strtok_r): Likewise.
18629 (__GI___strtok_r): Likewise.
18630 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18631 (PARMS): Do not use macros from bp-asm.h.
18634 (__mpn_lshift): Do not use BP_SYM.
18635 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18636 (PARMS): Do not use macros from bp-asm.h.
18639 (__memchr): Do not use BP_SYM.
18640 (memchr): Do not use BP_SYM in weak_alias.
18641 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18642 (PARMS): Do not use macros from bp-asm.h.
18645 (memcmp): Do not use BP_SYM.
18646 (bcmp): Do not use BP_SYM in weak_alias.
18647 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18648 (PARMS): Do not use macros from bp-asm.h.
18651 (__mpn_mul_1): Do not use BP_SYM.
18652 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18654 (PARMS): Do not use macros from bp-asm.h.
18657 (__rawmemchr): Do not use BP_SYM.
18658 (rawmemchr): Do not use BP_SYM in weak_alias.
18659 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18660 (PARMS): Do not use macros from bp-asm.h.
18663 (__mpn_rshift): Do not use BP_SYM.
18664 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18665 (PARMS): Do not use macros from bp-asm.h.
18666 (SIGMSK): Likewise.
18667 (__sigsetjmp): Likewise. Do not use BP_SYM.
18668 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18669 (_start): Do not use BP_SYM.
18670 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18671 (PARMS): Do not use macros from bp-asm.h.
18674 (__stpcpy): Likewise. Do not use BP_SYM.
18675 (stpcpy): Do not use BP_SYM in weak_alias.
18676 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18678 (PARMS): Do not use macros from bp-asm.h.
18682 (__stpncpy): Likewise. Do not use BP_SYM.
18683 (stpncpy): Do not use BP_SYM in weak_alias.
18684 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18685 (PARMS): Do not use macros from bp-asm.h.
18688 (strchr): Likewise. Do not use BP_SYM.
18689 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18691 (PARMS): Do not use macros from bp-asm.h.
18694 (__strchrnul): Likewise. Do not use BP_SYM.
18695 (strchrnul): Do not use BP_SYM in weak_alias.
18696 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18698 (PARMS): Do not use macros from bp-asm.h.
18700 (strcspn): Do not use BP_SYM.
18701 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18703 (PARMS): Do not use macros from bp-asm.h.
18706 (strpbrk): Likewise. Do not use BP_SYM.
18707 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18709 (PARMS): Do not use macros from bp-asm.h.
18712 (strrchr): Likewise. Do not use BP_SYM.
18713 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18714 (PARMS): Do not use macros from bp-asm.h.
18716 (strspn): Do not use BP_SYM.
18717 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18718 (PARMS): Do not use macros from bp-asm.h.
18722 (FUNCTION): Likewise. Do not use BP_SYM.
18723 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18725 (strtok_r): Likewise.
18726 (__GI___strtok_r): Likewise.
18727 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18728 (PARMS): Do not use macros from bp-asm.h.
18732 (__mpn_sub_n): Do not use BP_SYM.
18733 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18735 (PARMS): Do not use macros from bp-asm.h.
18738 (__mpn_submul_1): Do not use BP_SYM.
18739 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18741 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18743 (PARMS): Do not use macros from bp-asm.h.
18748 (__clone): Do not use BP_SYM.
18749 (clone): Do not use BP_SYM in weak_alias.
18750 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18752 (PARMS): Do not use macros from bp-asm.h.
18754 (__mmap64): Do not use BP_SYM.
18755 (mmap64): Do not use BP_SYM in weak_alias.
18756 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18757 <bp-sym.h> and <bp-asm.h>.
18758 (PARMS): Do not use macros from bp-asm.h.
18759 (__posix_fadvise64_l64): Do not use BP_SYM.
18760 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18761 (PARMS): Do not use macros from bp-asm.h.
18763 (semtimedop): Do not use BP_SYM.
18764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18767 2013-02-21 Allan McRae <allan@archlinux.org>
18769 * manual/message.texi (Charset conversion in gettext):
18770 Move @end statement to beginning of line.
18772 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18780 (denorm): Likewise.
18781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18784 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18786 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18787 tail-call to the resolved function if pltexit isn't needed.
18789 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18792 or Y being zero as being unlikely.
18793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18796 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18798 * manual/nss.texi (System Databases and Name Service Switch):
18799 Remove frobnicate @pxref.
18801 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18803 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18804 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18806 2013-02-20 Petr Machata <pmachata@redhat.com>
18808 * elf/elf.h (R_ARM_TARGET1): New macro.
18809 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18810 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18811 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18812 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18813 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18814 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18815 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18816 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18817 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18818 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18819 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18820 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18821 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18822 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18823 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18824 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18825 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18826 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18827 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18828 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18829 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18830 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18831 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18832 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18833 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18834 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18835 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18836 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18837 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18838 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18839 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18840 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18841 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18842 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18843 (R_ARM_THM_GOT_BREL12): Likewise.
18844 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18845 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18846 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18847 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18848 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18849 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18850 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18851 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18852 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18854 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18856 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18857 __attribute_used__ to __attribute__ ((unused)).
18859 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18861 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18864 comment formatting.
18865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18867 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18872 (ENTER): Remove both macro definitions.
18874 (CHECK_BOUNDS_LOW): Likewise.
18875 (CHECK_BOUNDS_HIGH): Likewise.
18876 (CHECK_BOUNDS_BOTH): Likewise.
18877 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18878 (RETURN_BOUNDED_POINTER): Likewise.
18879 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18880 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18881 (POP_ERRNO_LOCATION_RETURN): Likewise.
18882 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18883 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18884 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18887 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18888 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18889 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18890 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18891 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18892 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18893 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18894 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18895 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18896 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18897 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18898 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18899 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18901 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18902 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18904 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18905 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18906 * sysdeps/i386/i586/memset.S (memset): Likewise.
18907 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18909 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18911 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18912 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18913 Change uses of L(2) to L(out).
18914 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18915 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18916 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18917 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18918 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18920 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18921 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18923 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18924 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18925 (RETURN): Do not use macro LEAVE.
18926 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18927 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18928 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18929 * sysdeps/i386/i686/memset.S (memset): Likewise.
18930 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18931 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18932 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18933 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18935 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18936 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18937 L(1_2) and L(1_3) into L(1).
18938 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18939 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18940 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18941 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18942 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18943 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18944 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18945 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18946 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18948 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18949 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18950 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18951 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18952 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18953 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18954 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18955 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18956 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18957 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18958 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18959 * sysdeps/i386/strspn.S (strspn): Likewise.
18960 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18962 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18963 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18964 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18965 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18966 L(1_3) into L(1_1).
18967 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18968 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18969 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18971 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18973 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18975 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18978 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18980 * math/atest-exp.c (exp_mpn): Remove ROUND.
18981 * math/atest-exp2.c (exp_mpn): Likewise.
18982 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18984 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18985 * stdlib/tst-tls-atexit-lib.c: Likewise.
18986 * stdlib/tst-tls-atexit.c: Likewise.
18988 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18990 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18991 and __attribute_alloc_size__.
18993 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18995 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18996 __attribute_alloc_size__.
18997 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18998 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19000 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19002 * include/programs/xmalloc.h: New file.
19003 * catgets/gencat.c: Include it.
19004 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19005 * elf/pldd.c: Likewise.
19006 * iconv/iconv_charmap.c: Likewise.
19007 * iconv/iconvconfig.c: Likewise.
19008 * iconv/strtab.c: Likewise.
19009 * locale/programs/locale.c: Likewise.
19010 * locale/programs/localedef.h: Likewise.
19011 * locale/programs/simple-hash.c: Likewise.
19012 * nscd/nscd.h: Likewise.
19013 * nss/makedb.c: Likewise.
19014 * sysdeps/generic/ldconfig.h: Likewise.
19016 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19018 * Versions.def: Add GLIBC_2.18.
19019 * include/link.h (struct link_map): New member l_tls_dtor_count.
19020 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19021 (__call_tls_dtors): Likewise.
19022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19023 __cxa_thread_atexit_impl.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19040 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19041 (tests): Add test case tst-tls-atexit.
19042 (modules-names): Add shared library for tst-tls-atexit.
19043 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19044 (GLIBC_PRIVATE): Add __call_tls_dtors.
19045 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19047 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19048 * stdlib/tst-tls-atexit.c: New test case.
19049 * stdlib/tst-tls-atexit-lib.c: New test case.
19051 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19053 * elf/Versions (ld): Add _dl_find_dso_for_object.
19054 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19055 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19056 (dl_open_worker): Use _dl_find_dso_for_object.
19057 * elf/dl-sym.c (do_sym): Likewise.
19058 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19060 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19062 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19063 Syntactic changes only.
19064 (_dl_runtime_profile): Do a tail-call to the resolved function.
19066 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19069 * sysdeps/x86_64/bp-asm.h: Remove file.
19070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19071 <bp-sym.h> and <bp-asm.h>.
19072 (__clone): Do not use BP_SYM.
19073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19074 <bp-sym.h> and <bp-asm.h>.
19075 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19076 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19078 (_setjmp): Do not use BP_SYM.
19079 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19081 (setjmp): Do not use BP_SYM.
19082 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19084 (mempcpy): Do not use BP_SYM in weak_alias.
19085 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19087 (strchr): Do not use BP_SYM.
19088 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19090 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19091 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19092 (_start): Do not use BP_SYM.
19093 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19095 (strcat): Do not use BP_SYM.
19096 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19098 (STRCMP): Do not use BP_SYM.
19099 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19101 (STRCPY): Do not use BP_SYM.
19102 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19104 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19106 (FUNCTION): Do not use BP_SYM.
19107 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19109 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19111 2013-02-17 Andreas Jaeger <aj@suse.de>
19113 * time/Versions: Sort entries.
19114 * string/Versions: Likewise.
19115 * resolv/Versions: Likewise.
19116 * posix/Versions: Likewise.
19117 * iconv/Versions: Likewise.
19118 * elf/Versions: Likewise.
19119 * wcsmbs/Versions: Likewise.
19121 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19123 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19124 loop termination condition.
19126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19127 variable to calculate EZ.
19130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19131 the lower precision input.
19133 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19136 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19137 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19138 (run-via-rtld-prefix): Do not handle %-bp tests.
19139 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19140 (all-object-suffixes): Remove .ob.
19141 (bppfx): Remove variable.
19142 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19143 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19144 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19145 [$(build-bounded) = yes] (libtype.ob): Likewise.
19146 * Makerules (elide-routines.ob): Remove variable.
19147 (do-tests-clean): Do not handle *-bp.out.
19148 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19149 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19150 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19151 (tests): Do not include $(tests-bp.out).
19152 (xtests): Do not include $(xtests-bp.out).
19153 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19154 [$(build-bounded) = yes] ($(addprefix
19155 $(objpfx),$(binaries-bounded))): Remove rule.
19156 ($(objpfx)%-bp.out): Remove rule.
19157 * config.make.in (build-bounded): Remove variable.
19158 * crypt/Makefile [$(build-bounded) = yes]
19159 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19160 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19161 append to variable.
19162 [$(build-bounded) = yes] (install-lib): Likewise.
19163 [$(build-bounded) = yes] (generated): Likewise.
19164 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19166 * intl/Makefile [$(build-bounded) = yes]
19167 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19168 * math/Makefile [$(build-bounded) = yes]
19169 ($(tests:%=$(objpfx)%-bp): Likewise.
19170 * misc/Makefile [$(build-bounded) = yes]
19171 ($(objpfx)tst-tsearch-bp): Likewise.
19172 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19173 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19175 * string/Makefile (o-objects.ob): Remove variable.
19176 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19177 (CFLAGS-.ob): Remove variable.
19178 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19179 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19180 both definitions of variable.
19181 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19182 (ASFLAGS-.ob): Remove variable.
19184 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19187 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19188 Remove __BOUNDED_POINTERS__ from condition.
19189 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19190 * string/bits/string2.h [!__NO_STRING_INLINES &&
19191 !__BOUNDED_POINTERS__]: Likewise.
19192 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19194 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19195 Remove conditional code.
19196 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19197 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19198 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19202 * csu/libc-start.c: Do not include <bp-sym.h>.
19203 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19204 * elf/dl-open.c: Do not include <bp-sym.h>.
19205 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19206 * math/fegetenv.c: Do not include <bp-sym.h>.
19207 (fegetenv): Do not use BP_SYM in versioned symbols.
19208 * nptl/sysdeps/pthread/bits/libc-lockP.h
19209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19212 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19214 (__pthread_mutex_destroy): Likewise.
19215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19216 (__pthread_mutex_lock): Likewise.
19217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19218 (__pthread_mutex_trylock): Likewise.
19219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19220 (__pthread_mutex_unlock): Likewise.
19221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19222 (__pthread_mutexattr_init): Likewise.
19223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19224 (__pthread_mutexattr_destroy): Likewise.
19225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19226 (__pthread_mutexattr_settype): Likewise.
19227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19228 (__pthread_rwlock_init): Likewise.
19229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19230 (__pthread_rwlock_destroy): Likewise.
19231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19232 (__pthread_rwlock_rdlock): Likewise.
19233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19234 (__pthread_rwlock_tryrdlock): Likewise.
19235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19236 (__pthread_rwlock_wrlock): Likewise.
19237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19238 (__pthread_rwlock_trywrlock): Likewise.
19239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19240 (__pthread_rwlock_unlock): Likewise.
19241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19242 (__pthread_key_create): Likewise.
19243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19244 (__pthread_setspecific): Likewise.
19245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19246 (__pthread_getspecific): Likewise.
19247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19250 (_pthread_cleanup_push_defer): Likewise.
19251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19252 (_pthread_cleanup_pop_restore): Likewise.
19253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19254 (pthread_setcancelstate): Likewise.
19255 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19257 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19258 (memchr): Do not use BP_SYM in weak_alias.
19259 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19260 (fegetenv): Do not use BP_SYM in versioned symbols.
19261 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19262 (fesetenv): Do not use BP_SYM in versioned symbols.
19263 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19264 (feupdateenv): Do not use BP_SYM in versioned symbols.
19265 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19266 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19267 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19268 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19269 (open64): Do not use BP_SYM in weak_alias.
19270 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19271 (fegetenv): Do not use BP_SYM in versioned symbols.
19272 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19273 (fesetenv): Do not use BP_SYM in versioned symbols.
19274 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19275 (feupdateenv): Do not use BP_SYM in versioned symbols.
19276 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19277 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19278 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19279 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19280 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19281 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19282 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19284 (__libc_start_main): Do not use BP_SYM.
19286 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19289 redundant return line.
19291 (denorm): Likewise.
19292 (dbl_mp): Likewise.
19293 (sub_magnitudes): Likewise.
19299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19301 (denorm): Likewise.
19302 (dbl_mp): Likewise.
19303 (sub_magnitudes): Likewise.
19310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19313 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19316 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19317 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19319 of __mul for squares.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19324 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19325 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19327 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19330 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19332 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19333 prototype or function definition. Rename ubp_* variables and
19334 parameters. Remove argv definitions conditional on
19335 [__BOUNDED_POINTERS__].
19336 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19337 * elf/dl-runtime.c (_dl_fixup): Likewise.
19338 * include/set-hooks.h (RUN_HOOK): Likewise.
19339 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19341 * string/strcpy.c (strcpy): Do not use __unbounded.
19342 * sysdeps/generic/frame.h (struct layout): Likewise.
19343 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19344 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19345 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19346 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19347 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19348 (__backtrace): Likewise.
19349 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19351 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19352 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19353 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19355 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19356 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19357 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19358 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19359 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19360 Do not use __unbounded.
19361 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19362 Rename __unboundedrlimits parameter to rlimits in prototype.
19363 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19364 Do not use __unbounded.
19365 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19366 not use __ptrvalue.
19367 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19368 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19369 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19370 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19371 __ptrvalue or __unbounded.
19372 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19373 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19375 (__new_msgctl): Do not use __ptrvalue.
19376 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19378 (__libc_msgrcv): Do not use __ptrvalue.
19379 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19380 startup_info): Do not use __unbounded.
19381 (__libc_start_main): Likewise. Rename ubp_* variables and
19382 parameters. Remove argv definitions conditional on
19383 [__BOUNDED_POINTERS__].
19384 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19386 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19388 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19390 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19392 (__new_shmctl): Do not use __ptrvalue.
19393 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19394 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19396 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19398 (__libc_sigaction): Likewise.
19399 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19402 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19404 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19406 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19408 * string/mempcpy.c: Implement by calling memcpy.
19410 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19412 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19418 values in the mantissa.
19420 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19421 minimize writes to Z.
19422 (sub_magnitudes): Simplify code a bit.
19424 2013-02-12 Roland McGrath <roland@hack.frob.com>
19426 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19427 from the message. The linker prefixes all warnings with that already.
19429 2013-02-12 Andreas Schwab <schwab@suse.de>
19432 * posix/regexec.c (extend_buffers): Add parameter min_len.
19433 (check_matching): Pass minimum needed length.
19434 (clean_state_log_if_needed): Likewise.
19435 (get_subexp): Likewise.
19436 * posix/Makefile (tests): Add bug-regex34.
19437 (bug-regex34-ENV): Define.
19438 * posix/bug-regex34.c: New file.
19441 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19442 elements compare against the byte sequence of it, not its name.
19443 * posix/Makefile (tests): Add bug-regex35.
19444 (bug-regex35-ENV): Define.
19445 * posix/bug-regex35.c: New file.
19447 2013-02-11 Tom de Vries <tom@codesourcery.com>
19449 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19451 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19452 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19453 (CHECK_EOL): Add undef.
19455 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19457 * bits/stdlib-bsearch.h: New file.
19458 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19459 * stdlib/stdlib.h: Likewise.
19461 2013-02-11 Roland McGrath <roland@hack.frob.com>
19463 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19464 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19466 * manual/search.texi (Array Search Function): Add missing const in
19468 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19469 declaration to use rlim_t.
19470 (Basic Scheduling Functions): Remove erroneous const from
19471 sched_getparam prototype. Remove erroneous * from
19472 sched_get_priority_max and sched_get_priority_min prototypes.
19473 (Resource Usage): Fix summary @comment on vtimes to refer to
19474 sys/vtimes.h rather than vtimes.h.
19475 Add missing *s in vtimes prototype.
19476 (Limits on Resources): Fix ulimit prototype to return long int.
19477 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19478 prototypes to use long int rather than double.
19479 (BSD Random): Fix initstate and setstate to use char *, not void *.
19480 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19481 prototype to make second argument 'struct aiocb64 *const[]'.
19482 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19483 (Status of AIO Operations): Remove erroneous const in aio_return and
19484 aio_return64 prototypes.
19485 (Synchronizing I/O): Fix sync prototype to return void.
19486 * manual/startup.texi (Suboptions): Remove an erroneous const in
19487 getsubopt prototype.
19488 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19489 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19490 use size_t rather than int.
19491 (Scanning All Users): Likewise for getpwent_r.
19492 (Setting Groups): Add missing const to setgroups prototype.
19493 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19494 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19495 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19496 'const void *' rather than 'const char *'.
19497 (Host Address Functions): Likewise for inet_ntop.
19498 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19499 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19500 ssize_t for return value.
19501 (Sending Data): Likewise for send, sendto, sendmsg.
19502 (Socket Option Functions): Add a missing const in setsockopt prototype.
19503 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19504 use wchar_t for the argument.
19505 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19506 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19508 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19509 double/float/long double for second argument.
19510 Fix return types of significand, significandf, significandl.
19511 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19512 argument in fchmod prototype.
19513 (File Owner): Use uid_t and gid_t in fchown prototype.
19514 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19515 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19516 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19517 use 'const struct dirent **' as argument types to CMP function pointer
19519 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19520 (File Times): Fix summary magic @comment for struct utimbuf and utime
19521 to refer to utime.h, not time.h.
19522 * manual/string.texi (Argz Functions): Add missing const in
19523 argz_extract and argz_next prototypes.
19524 (Finding Tokens in a String): Likewise for basename.
19525 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19526 (Copying and Concatenation): Fix typo in wmemmove prototype.
19527 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19528 (Signal Stack): Remove erroneous const in sigstack prototype.
19529 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19531 (Simple Calendar Time): Likewise for stime.
19532 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19534 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19535 say sys/sysctl.h instead.
19536 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19537 and vsyslog prototypes.
19539 2013-02-11 Tom de Vries <tom@codesourcery.com>
19541 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19544 2013-02-11 Roland McGrath <roland@hack.frob.com>
19546 * misc/sys/mman.h: Fix typo in mremap comment.
19548 2013-02-08 Roland McGrath <roland@hack.frob.com>
19550 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19551 the '\0' terminator.
19553 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19556 * debug/segfault.c: Don't include <bp-checks.h>.
19557 * sysdeps/generic/bp-checks.h: Remove file.
19558 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19559 (__GETDENTS): Don't use CHECK_N.
19560 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19561 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19562 (__getgroups): Don't use CHECK_N.
19563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19564 (setgroups): Don't use CHECK_N.
19565 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19566 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19567 (__libc_msgrcv): Don't use CHECK_N.
19568 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19569 (__libc_msgsnd): Don't use CHECK_N.
19570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19572 (__libc_pread): Don't use CHECK_N.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19574 include <bp-checks.h>.
19575 (__libc_pread64): Don't use CHECK_N.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19577 include <bp-checks.h>.
19578 (__libc_pwrite): Don't use CHECK_N.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19580 include <bp-checks.h>.
19581 (__libc_pwrite64): Don't use CHECK_N.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19584 (__libc_pread): Don't use CHECK_N.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19586 include <bp-checks.h>.
19587 (__libc_pread64): Don't use CHECK_N.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19589 include <bp-checks.h>.
19590 (__libc_pwrite): Don't use CHECK_N.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19592 include <bp-checks.h>.
19593 (__libc_pwrite64): Don't use CHECK_N.
19594 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19595 (do_pread): Don't use CHECK_N.
19596 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19597 (do_pread64): Don't use CHECK_N.
19598 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19599 (do_pwrite): Don't use CHECK_N.
19600 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19601 (do_pwrite64): Don't use CHECK_N.
19602 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19603 (__libc_readv): Don't use CHECK_N.
19604 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19605 (semop): Don't use CHECK_N.
19606 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19608 (semtimedop): Don't use CHECK_N.
19609 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19610 (__libc_pread): Don't use CHECK_N.
19611 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19613 (__libc_pread64): Don't use CHECK_N.
19614 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19616 (__libc_pwrite): Don't use CHECK_N.
19617 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19619 (__libc_pwrite64): Don't use CHECK_N.
19620 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19622 (__libc_msgrcv): Don't use CHECK_N.
19623 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19624 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19625 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19626 (__libc_writev): Don't use CHECK_N.
19628 2013-02-08 Roland McGrath <roland@hack.frob.com>
19630 * string/strcpy.c: Removed unused variable.
19632 * Makeconfig (+sysdep-includes): Define with := rather than =.
19633 Use an existing include/ subdir of each sysdeps dir before it.
19635 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19637 * nscd/connection.c (register_traced_file): Comment function.
19638 [HAVE_INOTIFY] (union __inev): Define.
19639 [HAVE_INOTIFY] (inotify_check_files): New function.
19640 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19641 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19643 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19645 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19647 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19648 loaded if not already and that a failure is permanent.
19650 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19653 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19654 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19656 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19659 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19660 (CHECK_1_NULL_OK): Likewise.
19661 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19662 (__fxstat): Do not use CHECK_1.
19663 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19665 (___fxstat64): Do not use CHECK_1.
19666 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19668 (__fxstatat): Do not use CHECK_1.
19669 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19671 (__fxstatat64): Do not use CHECK_1.
19672 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19674 (__fxstat): Do not use CHECK_1.
19675 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19677 (__fxstatat): Do not use CHECK_1.
19678 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19680 (__getresgid): Do not use CHECK_1.
19681 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19683 (__getresuid): Do not use CHECK_1.
19684 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19686 (__lxstat): Do not use CHECK_1.
19687 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19689 (__old_msgctl): Do not use CHECK_1.
19690 (__new_msgctl): Likewise.
19691 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19693 (__new_setrlimit): Do not use CHECK_1.
19694 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19696 (__old_shmctl): Do not use CHECK_1.
19697 (__new_shmctl): Likewise.
19698 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19700 (__xstat): Do not use CHECK_1.
19701 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19702 (__lxstat): Do not use CHECK_1.
19703 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19705 (___lxstat64): Do not use CHECK_1.
19706 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19707 (__old_msgctl): Do not use CHECK_1.
19708 (__new_msgctl): Likewise.
19709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19711 (__gettimeofday): Do not use CHECK_1.
19712 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19713 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19714 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19716 (__gettimeofday): Do not use CHECK_1.
19717 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19718 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19719 (__new_shmctl): Do not use CHECK_1.
19720 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19722 (do_sigtimedwait): Do not use CHECK_1.
19723 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19725 (do_sigwaitinfo): Do not use CHECK_1.
19726 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19728 (msgctl): Do not use CHECK_1.
19729 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19731 (shmctl): Do not use CHECK_1.
19732 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19733 (ustat): Do not use CHECK_1.
19734 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19736 (__fxstat): Do not use CHECK_1.
19737 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19739 (__fxstatat): Do not use CHECK_1.
19740 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19742 (__lxstat): Do not use CHECK_1.
19743 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19745 (__xstat): Do not use CHECK_1.
19746 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19747 (__xstat): Do not use CHECK_1.
19748 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19749 (___xstat64): Do not use CHECK_1.
19752 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19754 (CHECK_BOUNDS_HIGH): Likewise.
19755 * string/strcpy.c: Do not include <bp-checks.h>.
19756 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19758 2013-02-07 Roland McGrath <roland@hack.frob.com>
19760 * nscd/nscd-client.h (__nscd_drop_map_ref):
19761 Add __attribute__ ((unused)).
19762 * nis/nss-nisplus.h (niserr2nss): Likewise.
19764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19765 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19767 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19768 Remove inline keyword.
19769 * include/rounding-mode.h (round_away): Likewise.
19770 * libio/wfileops.c (adjust_wide_data): Likewise.
19771 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19772 (__m128i_strloadu_tolower): Likewise.
19773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19774 (__m128i_strloadu_tolower): Likewise.
19775 * time/mktime.c (ydhms_diff): Likewise.
19776 * locale/elem-hash.h (elem_hash): Likewise.
19777 * locale/setlocale.c (setdata): Likewise.
19778 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19779 (re_string_wchar_at): Likewise.
19780 (bitset_not, bitset_merge, bitset_mask): Likewise.
19781 [!(__GNUC__ > 3)] (inline): Remove macro.
19782 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19783 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19784 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19785 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19786 * string/memcmp.c (memcmp_bytes): Likewise.
19787 * locale/programs/locarchive.c (compute_hashval): Likewise.
19788 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19789 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19790 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19791 * nss/getent.c (print_rpc, print_protocols): Likewise.
19792 (print_passwd, print_group, print_aliases): Likewise.
19793 * nis/nss-nisplus.h (niserr2nss): Likewise.
19794 * nscd/connections.c (restart_p): Likewise.
19795 Change return type to bool.
19797 2013-02-05 Roland McGrath <roland@hack.frob.com>
19799 * Makeconfig (all-Depend-files): Add existing
19800 $(sorted-subdirs:=/Depend) files.
19801 (all-subdirs): Remove nss.
19802 * sysdeps/unix/inet/Subdirs: Add it here instead.
19803 * hesiod/Depend: New file.
19805 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19806 instead of calling alloca.
19808 * io/lseek.c (__lseek): Rename to __libc_lseek.
19809 Define __lseek as an alias.
19811 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19813 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19815 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19816 else clause and remove check for non-standard endianness.
19818 2013-02-04 David S. Miller <davem@davemloft.net>
19820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19822 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19825 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19826 (__ubp_memchr): Remove prototype.
19827 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19828 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19829 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19830 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19831 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19833 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19834 (__ubp_memchr): Likewise.
19835 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19836 (__ubp_memchr): Likewise.
19837 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19838 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19839 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19840 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19842 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19843 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19844 (__getcwd): Do not use CHECK_STRING.
19845 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19847 (__real_chown): Do not use CHECK_STRING.
19848 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19850 (fchownat): Do not use CHECK_STRING.
19851 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19853 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19855 (__lchown): Do not use CHECK_STRING.
19856 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19857 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19858 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19859 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19861 include <bp-checks.h>.
19862 (truncate64): Do not use CHECK_STRING.
19863 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19865 (__real_chown): Do not use CHECK_STRING.
19866 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19868 (__lchown): Do not use CHECK_STRING.
19869 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19871 (__chown): Do not use CHECK_STRING.
19872 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19874 (truncate64): Do not use CHECK_STRING.
19875 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19877 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19878 (__xmknod): Do not use CHECK_STRING.
19879 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19881 (__xmknodat): Do not use CHECK_STRING.
19882 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19883 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19885 2013-02-04 Andreas Schwab <schwab@suse.de>
19888 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19889 * include/netdb.h: Likewise for h_errno.
19890 * elf/tst-stackguard1.c: Include <tls.h>.
19892 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19894 * elf/link.h (struct link_map): Extend the l_addr comment.
19895 * include/link.h (struct link_map): Likewise.
19897 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19901 (BOUNDED_1): Remove macro.
19902 * debug/backtrace.c: Don't include <bp-checks.h>.
19903 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19904 (__backtrace): Likewise.
19905 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19907 (__backtrace): Don't use BOUNDED_1.
19908 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19910 (__backtrace): Don't use BOUNDED_1.
19911 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19912 (__backtrace): Don't use BOUNDED_1.
19913 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19914 (shmat): Don't use BOUNDED_N.
19916 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19919 * sysdeps/generic/bp-start.h: Remove file.
19920 * csu/libc-start.c: Don't include <bp-start.h>.
19921 (LIBC_START_MAIN): Set up __environ directly instead of using
19922 INIT_ARGV_and_ENVIRON.
19923 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19927 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19929 (CHECK_FCNTL): Likewise.
19930 (CHECK_N_PAGES): Likewise.
19933 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19935 (CHECK_SIGSET_NULL_OK): Likewise.
19936 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19938 (sigpending): Don't use CHECK_SIGSET.
19939 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19941 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19942 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19944 (do_sigsuspend): Don't use CHECK_SIGSET.
19945 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19947 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19948 (do_sigwait): Don't use CHECK_SIGSET.
19949 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19952 include <bp-checks.h>.
19953 (sigpending): Don't use CHECK_SIGSET.
19954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19955 include <bp-checks.h>.
19956 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19957 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19959 (sigpending): Don't use CHECK_SIGSET.
19960 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19965 * sysdeps/generic/bp-semctl.h: Remove file.
19966 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19967 <bp-checks.h> and <bp-semctl.h>.
19968 (__old_semctl): Don't use CHECK_SEMCTL.
19969 (__new_semctl): Likewise.
19970 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19972 (__old_semctl): Don't use CHECK_SEMCTL.
19973 (__new_semctl): Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19975 <bp-checks.h> and <bp-semctl.h>.
19976 (__old_semctl): Don't use CHECK_SEMCTL.
19977 (__new_semctl): Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19979 <bp-checks.h> and <bp-semctl.h>.
19980 (semctl): Don't use CHECK_SEMCTL.
19983 * Makerules (elide-bp-thunks): Remove variable.
19984 (elide-routines.oS): Don't use $(elide-bp-thunks).
19985 (elide-routines.os): Likewise.
19986 (elide-routines.o): Likewise.
19987 (elide-routines.op): Likewise.
19988 (elide-routines.og): Likewise.
19989 (objects): Don't use $(bp-thunks).
19990 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19992 (common-generated): Do not add s-proto-bp.d.
19993 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19996 Do not generate makefile rules for bounded-pointer thunks.
19997 * sysdeps/generic/bp-thunks.h: Remove file.
19998 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19999 * sysdeps/unix/s-proto-bp.S: Likewise.
20002 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20003 parts of result separately when argument is not close to line from
20004 -i to i and one part of argument is small.
20005 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20006 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20007 * math/libm-test.inc (cacos_test): Add more tests.
20008 (casin_test): Likewise.
20009 (casinh_test): Likewise.
20010 * sysdeps/i386/fpu/libm-test-ulps: Update.
20011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20013 2013-01-31 David S. Miller <davem@davemloft.net>
20015 * po/de.po: Update from translation team.
20017 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20019 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20021 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20023 * configure.in (_AC_PROG_CC_C89): New definition.
20024 * configure: Regenerate.
20026 * configure.in (AC_PROG_CPP): New definition.
20027 * configure: Regenerate.
20029 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20031 * debug/tst-backtrace.h: New file.
20032 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20033 (ret): Remove variable.
20035 (FAIL): Remove macro.
20036 (NO_INLINE): Likewise.
20037 (fn1): Use match function instead of strstr.
20038 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20039 (ret): Remove variable.
20041 (FAIL): Remove macro.
20042 (NO_INLINE): Likewise.
20043 (fn): Use match function instead of strstr.
20044 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20045 (ret): Remove variable.
20047 (FAIL): Remove macro.
20048 (NO_INLINE): Likewise.
20049 (handle_signal): Use match function instead of strstr.
20050 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20051 (ret): Remove variable.
20053 (FAIL): Remove macro.
20054 (NO_INLINE): Likewise.
20055 (handle_signal): Use match function instead of strstr.
20057 2013-01-23 Roland McGrath <roland@hack.frob.com>
20059 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20061 2013-01-23 David S. Miller <davem@davemloft.net>
20063 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20064 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20065 argument of CAS if possible.
20066 * sysdeps/sparc/sparc64/bits/atomic.h
20067 (__arch_compare_and_exchange_val_32_acq): Likewise.
20068 (__arch_compare_and_exchange_val_64_acq): Likewise.
20070 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20072 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20073 * sysdeps/posix/ulimit.c: ... this.
20074 Include <limits.h>.
20075 * sysdeps/unix/bsd/ulimit.c: Remove file.
20077 2013-01-23 Adam Conrad <adconrad@0c3.net>
20079 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20080 (LDFLAGS-tst-array5): Likewise.
20082 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20085 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20086 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20087 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20088 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20090 2013-01-21 David S. Miller <davem@davemloft.net>
20092 * sysdeps/sparc/backtrace.c: New file.
20093 * sysdeps/sparc/sparc32/backtrace.h: New file.
20094 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20095 * sysdeps/sparc/sparc64/backtrace.h: New file.
20096 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20097 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20100 2013-01-21 Andreas Schwab <schwab@suse.de>
20103 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20106 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20112 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20113 Mark Mitchell <mark@codesourcery.com>
20114 Tom de Vries <tom@codesourcery.com>
20115 Paul Pluzhnikov <ppluzhnikov@google.com>
20117 * debug/tst-backtrace2.c: New file.
20118 * debug/tst-backtrace3.c: Likewise.
20119 * debug/tst-backtrace4.c: Likewise.
20120 * debug/tst-backtrace5.c: Likewise.
20121 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20122 (CFLAGS-tst-backtrace3.c): Likewise.
20123 (CFLAGS-tst-backtrace4.c): Likewise.
20124 (CFLAGS-tst-backtrace5.c): Likewise.
20125 (LDFLAGS-tst-backtrace2): Likewise.
20126 (LDFLAGS-tst-backtrace3): Likewise.
20127 (LDFLAGS-tst-backtrace4): Likewise.
20128 (LDFLAGS-tst-backtrace5): Likewise.
20129 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20130 tst-backtrace4 and tst-backtrace5.
20132 2013-01-18 Anton Blanchard <anton@samba.org>
20133 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20135 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20136 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20138 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20140 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20141 "+r" and remove output regs list as redundant. Add explicit inline
20142 asm to specify register of return val to work around compiler codegen
20143 bug. Remove (int) cast on return value. Add return type parameter to
20144 use in macro so that this macro does not truncate return value for
20146 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20147 pass to INTERNAL_VSYSCALL_NCS.
20148 (INLINE_VSYSCALL): Add 'long int' as return type to
20149 INTERNAL_VSYSCALL_NCS macro invocation.
20150 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20151 INTERNAL_VSYSCALL_NCS macro invocation.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20154 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20157 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20158 Fix application of SIMD FP exception mask.
20160 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20161 mp_no from a power of two.
20162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20163 __mpexp_twomm1. Use __pow_mp.
20165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20168 2013-01-17 David S. Miller <davem@davemloft.net>
20170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20172 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20175 * include/complex.h: Condition contents on [!_COMPLEX_H].
20176 (__kernel_casinhf): New prototype.
20177 (__kernel_casinh): Likewise.
20178 (__kernel_casinhl): Likewise.
20179 * math/Makefile (libm_calls): Add k_casinh.
20180 * math/k_casinh.c: New file.
20181 * math/k_casinhf.c: Likewise.
20182 * math/k_casinhl.c: Likewise.
20183 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20184 finite nonzero arguments.
20185 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20186 finite nonzero arguments.
20187 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20188 finite nonzero arguments.
20189 * math/s_casinh.c: Do not include <float.h>.
20190 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20191 * math/s_casinhf.c: Do not include <float.h>.
20192 (__casinhf): Move code for finite nonzero arguments to
20194 * math/s_casinhl.c: Do not include <float.h>.
20195 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20197 (__casinhl): Move code for finite nonzero arguments to
20199 * math/libm-test.inc (cacos_test): Add more tests.
20200 * sysdeps/i386/fpu/libm-test-ulps: Update.
20201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20203 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20205 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20206 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20207 [!HAVE_MREMAP]: Remove [defined linux] case.
20208 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20210 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20212 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20214 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20216 * elf/elf.h (R_386_SIZE32): New relocation.
20217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20219 (elf_machine_rela): Likewise.
20220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20221 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20223 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20226 (FP_FAST_FMA): Do not define.
20227 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20228 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20229 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20230 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20231 !_SOFT_FLOAT]: Likewise.
20232 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20233 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20235 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20236 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20237 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20239 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20240 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20243 2013-01-16 Andreas Schwab <schwab@suse.de>
20246 * include/stdlib.h (__mktemp): Add declaration.
20247 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20248 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20250 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20252 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20254 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20255 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20256 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20258 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20259 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20261 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20263 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20264 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20265 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20267 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20268 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20270 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20272 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20274 2013-01-15 David S. Miller <davem@davemloft.net>
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20277 trunc{,f} to libm-sysdep_routes.
20278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20288 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20289 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20290 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20291 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20292 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20293 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20296 nearbyint{,f} to libm-sysdep_routes.
20297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20308 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20310 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20314 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20315 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20317 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20318 libc_feholdexcept and libc_fesetenv.
20320 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20322 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20324 2013-01-14 David S. Miller <davem@davemloft.net>
20326 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20327 (SPARC_ASM_VIS2_IFUNC): Likewise.
20328 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20330 use of 'siam' instruction.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20364 routines to libm-sysdep_routines.
20365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20368 fdim/fdimf to libm-sysdep_routines.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20377 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20378 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20379 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20380 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20382 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20384 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20385 to optimize copies.
20387 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20392 local variable MPTWO.
20393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20396 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20398 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20401 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20403 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20405 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20407 * manual/pattern.texi (glob_t): Document gl_flags.
20408 (glob64_t): Likewise.
20410 2013-01-11 David S. Miller <davem@davemloft.net>
20412 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20413 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20414 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20415 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20416 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20417 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20418 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20419 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20420 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20421 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20422 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20423 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20424 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20426 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20427 sparc V9 rather than using V8 code.
20428 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20429 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20431 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20433 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20436 2013-01-11 Roland McGrath <roland@hack.frob.com>
20438 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20439 not in the main loop.
20440 * configure: Regenerated.
20442 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20444 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20445 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20447 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20448 [!__GLIBC_HAVE_LONG_LONG] case.
20449 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20450 condition to just #else.
20451 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20452 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20453 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20454 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20456 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20457 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20458 #elif condition to just #else.
20459 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20460 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20461 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20462 #elif condition to just #else.
20464 2013-01-11 Steve Ellcey <sellcey@mips.com>
20466 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20467 (EF_MIPS_ARCH_64): Fix value.
20468 (EF_MIPS_ARCH_32R2): New.
20469 (EF_MIPS_ARCH_64R2): New.
20471 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20473 * Makeconfig (+link-pie-before-libc): New.
20474 (+link-pie-after-libc): Likewise.
20475 (+link-pie-tests): Likewise.
20476 (+link-pie): Rewritten.
20477 (link-before-libc): Remove $(config-LDFLAGS).
20478 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20479 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20480 (config-LDFLAGS): Renamed to ...
20481 (rtld-LDFLAGS): This.
20482 (rtld-tests-LDFLAGS): New macro.
20483 (link-libc-rpath-link): Likewise.
20484 (link-libc-tests-rpath-link): Likewise.
20485 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20486 (link-libc): Prepand $(link-libc-rpath-link).
20487 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20488 (test-program-prefix): New macro.
20489 (test-via-rtld-prefix): Likewise.
20490 (test-program-cmd): Likewise.
20491 (host-test-program-cmd): Likewise.
20492 * Makefile ($(common-objpfx)testrun.sh): Replace
20493 $(run-program-prefix) with $(test-program-prefix).
20494 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20496 ($(common-objpfx)shlib.lds): Likewise.
20497 (build-module-helper): Likewise.
20498 ($(common-objpfx)format.lds): Likewise.
20499 * Rules (binaries-pie-tests): New.
20500 (binaries-pie-notests): Likewise.
20501 (binaries-pie): Rewritten.
20502 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20503 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20504 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20505 (make-test-out): Replace $(host-built-program-cmd) with
20506 $(host-test-program-cmd).
20507 * config.make.in (build-hardcoded-path-in-tests): New variable.
20508 * configure.in (--enable-hardcoded-path-in-tests): New configure
20510 (hardcoded_path_in_tests): New AC_SUBST.
20511 * configure: Regenerated.
20512 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20513 $(built-program-cmd) with $(test-program-cmd).
20514 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20515 (test_program_cmd): This.
20516 * elf/Makefile ($(objpfx)order.out): Run test with
20517 $(test-program-prefix).
20518 ($(objpfx)order2.out): Likewise.
20519 ($(objpfx)tst-initorder.out): Likewise.
20520 ($(objpfx)tst-initorder2.out): Likewise.
20521 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20522 $(test-program-cmd).
20523 ($(objpfx)tst-array1-static.out): Likewise.
20524 ($(objpfx)tst-array2.out): Likewise.
20525 ($(objpfx)tst-array3.out): Likewise.
20526 ($(objpfx)tst-array4.out): Likewise.
20527 ($(objpfx)tst-array5.out): Likewise.
20528 ($(objpfx)tst-array5-static.out): Likewise.
20529 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20530 $(test-program-cmd).
20531 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20532 $(run-program-prefix) with $(test-program-prefix).
20533 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20534 (test_program_prefix): This.
20535 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20536 $(run-program-prefix) with $(test-program-prefix).
20537 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20538 (test_program_prefix): This.
20539 * iconvdata/tst-tables.sh: Likewise.
20540 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20541 $(run-program-prefix) with $(test-program-prefix).
20542 ($(objpfx)tst-translit.out): Likewise.
20543 ($(objpfx)tst-gettext2.out): Likewise.
20544 ($(objpfx)tst-gettext4.out): Likewise.
20545 ($(objpfx)tst-gettext6.out): Likewise.
20546 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20547 (test_program_prefix): This.
20548 * intl/tst-gettext2.sh: Likewise.
20549 * intl/tst-gettext4.sh Likewise.
20550 * intl/tst-gettext6.sh: Likewise.
20551 * intl/tst-translit.sh: Likewise.
20552 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20553 with $(test-program-cmd).
20554 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20555 $(run-program-prefix) with $(test-program-prefix).
20556 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20557 (test_program_prefix): This.
20558 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20559 $(run-program-prefix) with $(test-program-prefix).
20560 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20561 (test_program_prefix): This.
20562 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20563 * posix/Makefile ($(objpfx)globtest.out): Replace
20564 $(run-via-rtld-prefix) and $(test-wrapper) with
20565 $(test-program-prefix) and $(test-via-rtld-prefix).
20566 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20567 $(test-program-prefix).
20568 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20569 $(host-test-program-cmd).
20570 (tst-spawn-ARGS): Likewise.
20571 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20572 $(test-program-prefix).
20573 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20574 (test_via_rtld_prefix): This.
20575 (test_wrapper): Renamed to ...
20576 (test_program_prefix): This.
20577 (run_program_prefix): Replaced by test_program_prefix.
20578 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20579 (test_program_prefix): This.
20580 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20581 with $(host-test-program-cmd).
20582 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20583 $(run-program-prefix) with $(test-program-prefix).
20584 ($(objpfx)tst-printf.out): Likewise.
20585 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20586 $(test-program-cmd).
20587 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20588 (test_program_prefix): This.
20589 * stdio-common/tst-unbputc.sh: Likewise.
20590 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20591 $(run-program-prefix) with $(test-program-prefix).
20592 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20593 (test_program_prefix): This.
20594 * string/Makefile ($(objpfx)tst-svc.out): Replace
20595 $(built-program-cmd) with $(test-program-cmd).
20597 2013-01-11 Andreas Jaeger <aj@suse.de>
20600 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20601 value. Sync with Linux 3.7.
20603 2013-01-10 David S. Miller <davem@davemloft.net>
20605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20606 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20607 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20609 2013-01-10 Roland McGrath <roland@hack.frob.com>
20611 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20613 * configure: Regenerated.
20615 2013-01-10 David S. Miller <davem@davemloft.net>
20617 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20618 sparc V9 rather than using V8 code.
20619 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20620 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20622 2013-01-10 Roland McGrath <roland@hack.frob.com>
20624 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20625 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20626 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20627 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20628 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20629 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20630 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20631 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20632 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20633 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20634 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20635 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20636 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20637 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20638 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20639 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20640 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20641 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20642 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20643 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20644 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20645 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20646 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20647 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20648 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20649 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20650 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20652 2013-01-10 David S. Miller <davem@davemloft.net>
20654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20656 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20658 * posix/Makefile (tests-static): New variable.
20659 (tests): Add $(tests-static).
20660 (tst-exec-static-ARGS): New variable.
20661 (tst-spawn-static-ARGS): Likewise.
20662 * posix/tst-exec-static.c: New file.
20663 * posix/tst-spawn-static.c: Likewise.
20664 * posix/tst-exec.c: Support run directly.
20665 * posix/tst-spawn.c: Likewise.
20667 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20669 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20671 * math/bits/mathcalls.h (llrint): Likewise.
20672 (llround): Likewise.
20673 * stdlib/stdlib.h (struct drand48_data): Likewise.
20674 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20675 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20676 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20678 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20680 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20681 (elf_greg_t): Likewise.
20682 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20683 (__jmp_buf): Likewise.
20684 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20686 (llrint): Likewise, for all definitions.
20687 (llrintl): Likewise.
20689 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20690 Remove [__GNUC__] condition.
20691 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20692 condition to just [__USE_ISOC99].
20693 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20695 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20698 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20699 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20701 (_POSIX_V6_ILP32_OFF32): Likewise.
20702 (_XBS5_ILP32_OFF32): Likewise.
20703 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20704 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20706 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20708 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20711 doubles __mpexp_twomm1. Adjust usage.
20712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20715 2013-01-10 Andreas Schwab <schwab@suse.de>
20718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20719 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20721 2013-01-09 David S. Miller <davem@davemloft.net>
20724 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20725 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20726 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20727 (TCP_FASTOPEN): Define.
20728 (tcp_repair_opt): New structure.
20729 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20731 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20732 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20733 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20734 (tcp_cookie_transactions): New structure.
20736 2013-01-09 Anton Blanchard <anton@samba.org>
20738 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20739 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20743 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20745 * include/features.h (__USE_ANSI): Remove.
20747 2013-01-09 Roland McGrath <roland@hack.frob.com>
20749 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20751 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20753 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20755 * sysdeps/s390/fpu/libm-test-ulps: Update.
20757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20759 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20763 (denorm): Likewise.
20764 (__mp_dbl): Likewise.
20765 (__dbl_mp): Likewise.
20766 (add_magnitudes): Likewise.
20767 (sub_magnitudes): Likewise.
20773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20777 (denorm): Likewise.
20778 (__mp_dbl): Likewise.
20779 (__dbl_mp): Likewise.
20780 (add_magnitudes): Likewise.
20781 (sub_magnitudes): Likewise.
20787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20791 (denorm): Likewise.
20792 (__mp_dbl): Likewise.
20793 (__dbl_mp): Likewise.
20794 (add_magnitudes): Likewise.
20795 (sub_magnitudes): Likewise.
20802 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20804 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20805 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20806 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20807 2 && __USE_EXTERN_INLINES]: Likewise.
20809 2013-01-08 Andreas Jaeger <aj@suse.de>
20812 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20814 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20815 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20817 2013-01-07 Anton Blanchard <anton@samba.org>
20819 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20820 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20821 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20822 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20824 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20825 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20826 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20829 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20831 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20834 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20835 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20837 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20840 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20842 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20843 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20845 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20846 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20848 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20849 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20852 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20853 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20854 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20857 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20858 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20859 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20860 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20861 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20863 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20865 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20866 (__MALLOC_PMT): Likewise.
20867 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20868 [__GNUC__], only on [_LIBC].
20869 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20870 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20871 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20872 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20873 forward declaration.
20874 (realloc_hook_ini): Likewise.
20875 (memalign_hook_ini): Likewise.
20876 (__libc_memalign): Do not use __MALLOC_PMT in variable
20878 (__libc_valloc): Likewise.
20879 (__libc_pvalloc): Likewise.
20880 (__libc_calloc): Likewise.
20881 (__posix_memalign): Likewise.
20884 * math/s_casinh.c: Include <float.h>.
20885 (__casinh): Do not do computation with squaring and square root
20886 for large arguments.
20887 * math/s_casinhf.c: Include <float.h>.
20888 (__casinhf): Do not do computation with squaring and square root
20889 for large arguments.
20890 * math/s_casinhl.c: Include <float.h>.
20891 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20892 (__casinhl): Do not do computation with squaring and square root
20893 for large arguments.
20894 * math/libm-test.inc (casin_test): Add more tests.
20895 (casinh_test): Likewise.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20899 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20901 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20902 (__x86_64_raw_data_cache_size): Likewise.
20903 (__x86_64_data_cache_size_half): Likewise.
20904 (__x86_64_raw_data_cache_size_half): Likewise.
20905 (__x86_64_shared_cache_size): Likewise.
20906 (__x86_64_raw_shared_cache_size): Likewise.
20907 (__x86_64_shared_cache_size_half): Likewise.
20908 (__x86_64_raw_shared_cache_size_half): Likewise.
20909 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20911 (__x86_data_cache_size): This.
20912 (__x86_64_raw_data_cache_size): Renamed to ...
20913 (__x86_raw_data_cache_size): This.
20914 (__x86_64_data_cache_size_half): Renamed to ...
20915 (__x86_data_cache_size_half): This.
20916 (__x86_64_raw_data_cache_size_half): Renamed to ...
20917 (__x86_raw_data_cache_size_half): This.
20918 (__x86_64_shared_cache_size): Renamed to ...
20919 (__x86_shared_cache_size): This.
20920 (__x86_64_raw_shared_cache_size): Renamed to ...
20921 (__x86_raw_shared_cache_size): This.
20922 (__x86_64_shared_cache_size_half): Renamed to ...
20923 (__x86_shared_cache_size_half): This.
20924 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20925 (__x86_raw_shared_cache_size_half): This.
20926 * sysdeps/x86_64/memcpy.S: Updated.
20927 * sysdeps/x86_64/memset.S: Likewise.
20928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20932 2013-01-04 David S. Miller <davem@davemloft.net>
20934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20936 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20938 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20939 1 to avoid redefinition warning.
20940 (__USE_GNU): Don't define.
20941 (init_signaling_nan): Protoize.
20943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20945 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20947 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20949 (__cpymn): Likewise.
20950 (norm): Remove commented code.
20951 (denorm): Likewise.
20952 (__mp_dbl): Likewise.
20954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20955 (__cpymn): Likewise.
20956 (norm): Remove commented code.
20957 (denorm): Likewise.
20958 (__mp_dbl): Likewise.
20961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20962 mp_no value for 1.0 and 2.0.
20963 (norm): Use RADIXI instead of radixi.d.
20964 (denorm): Likewise.
20965 (__mul): Use 0.0 instead of zero.d.
20966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20967 mp_no value for 1.0 and 2.0.
20968 (norm): Use RADIXI instead of radixi.d.
20969 (denorm): Likewise.
20970 (__mul): Use 0.0 instead of zero.d.
20972 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20975 * math/s_casinh.c (__casinh): Reduce finite argument to first
20976 quadrant then set signs of results at the end.
20977 * math/s_casinhf.c (__casinhf): Likewise.
20978 * math/s_casinhl.c (__casinhl): Likewise.
20979 * math/libm-test.inc (casin_test): Add more tests.
20980 (casinh_test): Likewise.
20981 * sysdeps/i386/fpu/libm-test-ulps: Update.
20982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20986 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20988 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20990 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20992 (denorm): Likewise.
20993 (__mp_dbl): Likewise.
20996 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20997 and adjust the header comment.
20999 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21000 variable name from declaration.
21002 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21005 Initialize COMMON_CPUID_INDEX_7 element.
21006 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21007 (CPUID_RTM): Likewise.
21008 (HAS_RTM): Likewise.
21009 (COMMON_CPUID_INDEX_7): New enum.
21011 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21014 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21015 size is zero, record memory as freed.
21017 2013-01-03 Andreas Jaeger <aj@suse.de>
21019 * po/ia.po: Add new Interlingua translation.
21021 2012-01-03 Allan McRae <allan@archlinux.org>
21023 * locale/programs/localedef.c: Fix description of '--posix' flag.
21025 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21027 * NEWS: Update dates in second copyright notice.
21028 * README: Update copyright dates in example.
21029 * manual/libc.texinfo: Update copyright dates.
21030 * scripts/test-installation.pl: Update copyright date in --version
21033 * hurd/ctty-input.c: Fix copyright notice formatting.
21034 * hurd/ctty-output.c: Likewise.
21035 * hurd/dtable.c: Likewise.
21036 * hurd/hurd-raise.c: Likewise.
21037 * hurd/hurdprio.c: Likewise.
21038 * hurd/msgportdemux.c: Likewise.
21039 * misc/sys/file.h: Likewise.
21040 * misc/sys/ioctl.h: Likewise.
21041 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21042 * sysdeps/mach/hurd/chdir.c: Likewise.
21043 * sysdeps/mach/hurd/fchdir.c: Likewise.
21044 * sysdeps/mach/hurd/rename.c: Likewise.
21045 * sysdeps/mach/hurd/rmdir.c: Likewise.
21046 * sysdeps/mach/hurd/seekdir.c: Likewise.
21047 * sysdeps/mach/hurd/setsid.c: Likewise.
21048 * sysdeps/posix/wait3.c: Likewise.
21050 * All files with FSF copyright notices: Update copyright dates
21051 using scripts/update-copyrights.
21052 * intl/plural.c: Regenerated.
21053 * locale/programs/charmap-kw.h: Likewise.
21054 * locale/programs/locfile-kw.h: Likewise.
21056 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21062 calculation loop and add branch prediction.
21064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21065 check access beyond bounds of m1np.
21067 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21069 (__inv): Remove local variable MPTWO to use the global
21071 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21072 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21074 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21075 MP3HALFS static const.
21077 2013-01-01 David S. Miller <davem@davemloft.net>
21079 * po/ca.po: Update from translation team.
21081 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21083 * scripts/update-copyrights: New file.
21084 * Makeconfig: Reformat copyright notice.
21085 * ctype/ctype.h: Likewise.
21086 * debug/swprintf_chk.c: Likewise.
21087 * elf/dl-cache.c: Likewise.
21088 * elf/dl-debug.c: Likewise.
21089 * elf/dl-object.c: Likewise.
21090 * grp/initgroups.c: Likewise.
21091 * hurd/Makefile: Likewise.
21092 * hurd/hurd/signal.h: Likewise.
21093 * hurd/hurdfault.c: Likewise.
21094 * hurd/hurdioctl.c: Likewise.
21095 * hurd/hurdlookup.c: Likewise.
21096 * hurd/intr-msg.c: Likewise.
21097 * iconv/gconv_open.c: Likewise.
21098 * libio/swprintf.c: Likewise.
21099 * locale/lc-ctype.c: Likewise.
21100 * locale/nl_langinfo.c: Likewise.
21101 * mach/Machrules: Likewise.
21102 * mach/Makefile: Likewise.
21103 * malloc/obstack.h: Likewise.
21104 * manual/Makefile: Likewise.
21105 * manual/tsort.awk: Likewise.
21106 * misc/bits/stab.def: Likewise.
21107 * nis/nis_print_group_entry.c: Likewise.
21108 * nis/nis_table.c: Likewise.
21109 * nis/nss_compat/compat-pwd.c: Likewise.
21110 * nis/nss_compat/compat-spwd.c: Likewise.
21111 * po/Makefile: Likewise.
21112 * posix/fnmatch.c: Likewise.
21113 * posix/regex.h: Likewise.
21114 * resolv/Makefile: Likewise.
21115 * resolv/nss_dns/dns-network.c: Likewise.
21116 * resolv/res_hconf.c: Likewise.
21117 * scripts/gen-sorted.awk: Likewise.
21118 * soft-fp/soft-fp.h: Likewise.
21119 * stdio-common/printf.h: Likewise.
21120 * stdlib/monetary.h: Likewise.
21121 * stdlib/random.c: Likewise.
21122 * stdlib/random_r.c: Likewise.
21123 * sysdeps/generic/Makefile: Likewise.
21124 * sysdeps/gnu/Makefile: Likewise.
21125 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21153 * sysdeps/mach/hurd/errnos.awk: Likewise.
21154 * sysdeps/mach/hurd/fork.c: Likewise.
21155 * sysdeps/mach/hurd/getcwd.c: Likewise.
21156 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21157 * sysdeps/mach/hurd/mmap.c: Likewise.
21158 * sysdeps/mach/hurd/utimes.c: Likewise.
21159 * sysdeps/mach/hurd/xmknod.c: Likewise.
21160 * sysdeps/posix/profil.c: Likewise.
21161 * sysdeps/posix/readdir_r.c: Likewise.
21162 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21163 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21164 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21165 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21171 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21172 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21173 * sysdeps/pthread/lio_listio.c: Likewise.
21174 * sysdeps/sparc/dl-procinfo.h: Likewise.
21175 * sysdeps/unix/i386/sysdep.S: Likewise.
21176 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21177 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21178 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21179 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21181 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21182 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21183 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21184 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21185 * sysdeps/wordsize-32/divdi3.c: Likewise.
21186 * time/sys/time.h: Likewise.
21187 * wcsmbs/Makefile: Likewise.
21189 2013-01-01 David S. Miller <davem@davemloft.net>
21191 * po/fr.po: Update from translation team.
21193 * catgets/gencat.c: Update copyright year.
21194 * csu/version.c: Likewise.
21195 * debug/catchsegv.sh: Likewise.
21196 * debug/pcprofiledump.c: Likewise.
21197 * debug/xtrace.sh: Likewise.
21198 * elf/ldconfig.c: Likewise.
21199 * elf/ldd.bash.in: Likewise.
21200 * elf/pldd.c: Likewise.
21201 * elf/sotruss.ksh: Likewise.
21202 * elf/sprof.c: Likewise.
21203 * iconv/iconv_prog.c: Likewise.
21204 * iconv/iconvconfig.c: Likewise.
21205 * locale/programs/locale.c: Likewise.
21206 * locale/programs/localedef.c: Likewise.
21207 * login/programs/pt_chown.c: Likewise.
21208 * malloc/memusage.sh: Likewise.
21209 * malloc/memusagestat.c: Likewise.
21210 * malloc/mtrace.pl: Likewise.
21211 * nscd/nscd.c: Likewise.
21212 * nss/getent.c: Likewise.
21213 * nss/makedb.c: Likewise.
21214 * posix/getconf.c: Likewise.
21216 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21218 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21221 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21223 * math/bits/mathcalls.h (modf): Use __nonnull.
21225 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21227 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21228 (split): Use macro CN instead of the bare value.
21229 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21232 instead of the bare value.
21233 (power1): Likewise.
21235 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21241 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21243 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21244 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21245 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21246 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21248 2012-12-28 Andreas Jaeger <aj@suse.de>
21250 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21251 values are from Linux 3.7.
21253 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21254 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21256 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21258 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21261 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21263 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21264 variables with preprocessor constants.
21265 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21266 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21267 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21269 2012-12-27 Bruno Haible <bruno@clisp.org>
21272 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21275 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21278 and use variable directly.
21279 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21281 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21283 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21286 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21288 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21289 include directive. Remove local variable MPONE.
21290 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21291 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21294 2012-12-25 David S. Miller <davem@davemloft.net>
21296 * version.h (RELEASE): Set to "development".
21297 (VERSION): Set to "2.17.90".
21298 * NEWS: Add 2.18 section.
21300 2012-12-21 David S. Miller <davem@davemloft.net>
21302 * po/hr.po: Update from translation team.
21304 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21306 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21308 2012-12-19 Steve Ellcey <sellcey@mips.com>
21310 * NEWS: Mention new memcpy for MIPS.
21312 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21314 * manual/contrib.texi (Contributors): Spelling correction.
21316 2012-12-15 David S. Miller <davem@davemloft.net>
21318 * po/ru.po: Update from translation team.
21320 2012-12-13 David S. Miller <davem@davemloft.net>
21322 * NEWS: Mention IFUNC testsuite enhancements.
21324 * po/pl.po: Update from translation team.
21325 * po/bg.po: Likewise.
21327 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21328 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21330 2012-12-11 David S. Miller <davem@davemloft.net>
21332 * po/sv.po: Update from translation team.
21334 * po/vi.po: Update from translation team.
21336 * po/cs.po: Update from translation team.
21338 * po/de.po: Update from translation team.
21339 * po/eo.po: Likewise.
21340 * po/nl.po: Likewise.
21342 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21345 * manual/argp.texi (Argp Helper Functions): Move node to follow
21346 Argp Parsing State.
21349 * manual/conf.texi (Limits on File System Capacity): Mention if
21350 terminating null is included in the max size.
21352 2012-12-10 Andreas Jaeger <aj@suse.de>
21354 * po/cs.po: Update from translation team.
21356 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21358 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21359 void pointer and cast to uintptr_t.
21360 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21362 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21363 * sysdeps/s390/s390-64/memset.S: Likewise.
21365 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21368 * menual/message.texi (Message Translation): Fix typos.
21369 (Helper programs for gettext): Likewise.
21371 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21374 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21377 2012-12-07 David S. Miller <davem@davemloft.net>
21379 * po/libc.pot: Update.
21381 2012-12-07 Richard Henderson <rth@redhat.com>
21384 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21385 normal/normal case to before the switch.
21386 (_FP_DIV): Likewise.
21388 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21389 Mike Frysinger <vapier@gentoo.org>
21391 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21392 check for __NR_fadvise64_64.
21394 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21396 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21397 0, not just to plain "0" as a statement.
21398 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21401 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21403 * NEWS: Use sourceware.org in Bugzilla URL.
21405 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21408 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21410 * stdio-common/tst-put-error.c (do_test): Add newline to the
21411 padded test to ensure flush.
21413 2012-12-05 Jeff Law <law@redhat.com>
21415 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21417 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21419 * README: Don't refer to ports add-on as distributed separately.
21420 Mention AArch64 in list of systems supported in the ports add-on.
21422 * LICENSES: Add more non-FSF copyright and license notices.
21424 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21427 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21429 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21430 10000 as width of padded output.
21432 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21434 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21436 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21437 variable LX with __attribute__ ((unused)).
21438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21440 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21443 with __attribute__ ((unused)).
21445 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21447 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21449 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21451 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21452 (CFLAGS-nldbl-acos.c): New variable.
21453 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21540 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21541 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21542 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21543 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21544 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21545 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21546 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21547 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21548 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21549 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21552 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21556 whole low double instead of just low 47 bits when splitting values
21559 2012-12-03 Allan McRae <allan@archlinux.org>
21561 * manual/stdio.texi (Predefined Printf Handlers): Remove
21562 @hsep and @vsep usage.
21564 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21566 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21567 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21569 2012-12-03 Jeff Law <law@redhat.com>
21571 * time/sys/time.h (settimeofday): Do not mark TV argument
21574 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21576 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21577 when currently writing and seek to current position when not.
21578 * libio/Makefile (tests): Remove bug-fclose1.
21579 * libio/bug-fclose1.c: Delete.
21581 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21583 * manual/arith.texi (feenableexcept): Fix typo.
21584 (fedisableexcept): Likewise.
21586 2012-11-30 Roland McGrath <roland@hack.frob.com>
21588 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21589 second, differently-typed declaration, rather than a cast.
21591 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21593 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21594 * include/rpc/svc.h: ... here.
21596 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21599 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21600 depending n and resplen2 to catch cases where answer
21603 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21605 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21606 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21608 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21612 2012-11-29 Roland McGrath <roland@hack.frob.com>
21614 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21616 2012-11-28 Jeff Law <law@redhat.com>
21619 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21620 dataset_temporary. Track alloca usage into alloca_used.
21621 If dataset is large allocate and release it via malloc/free.
21623 2012-06-04 Florian Weimer <fweimer@redhat.com>
21626 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21628 2012-11-28 David S. Miller <davem@davemloft.net>
21630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21632 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21635 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21636 of pi/2 rounded to nearest to 64 bits.
21637 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21638 nearest to 64 bits.
21639 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21642 2012-11-28 Jeff Law <law@redhat.com>
21643 Martin Osvald <mosvald@redhat.com>
21646 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21647 * sunrpc/svc.c: Include time.h.
21648 (__svc_accept_failed): New function.
21649 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21650 any reason other than EINTR, call __svc_accept_failed.
21651 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21652 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21654 2012-11-28 Andreas Schwab <schwab@suse.de>
21656 * scripts/abilist.awk: Also handle indirect functions in .opd
21659 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21662 * sysdeps/x86/fpu/powl_helper.c: New file.
21663 * sysdeps/x86/fpu/Makefile: Likewise.
21664 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21666 (__ieee754_powl): Use __powl_helper for finite arguments except
21667 integer exponents below 8.
21668 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21670 (__ieee754_powl): Use __powl_helper for finite arguments except
21671 integer exponents below 8.
21672 * math/libm-test.inc (pow_test): Add more tests and enable some
21673 previously disabled tests.
21674 * sysdeps/i386/fpu/libm-test-ulps: Update.
21675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21678 Carlos O'Donell <carlos_odonell@mentor.com>
21680 * nss/makedb.c (is_prime): Assert that input is odd and greater
21681 than 4. Note that fact in a comment too.
21682 (next_prime): Add 4 to input.
21684 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * libio/Makefile (tests): Add test case tst-fwrite-error.
21688 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21689 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21690 * libio/tst-fwrite-error.c: New test case.
21692 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21694 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21695 before casting to void *.
21696 * include/libc-internal.h (__pointer_type): New macro.
21697 (__integer_if_pointer_type_sub): Likewise.
21698 (__integer_if_pointer_type): Likewise.
21699 (cast_to_integer): Likewise.
21700 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21701 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21702 before casting to atomic64_t.
21703 (atomic_exchange_acq): Likewise.
21704 (__arch_exchange_and_add_body): Likewise.
21705 (__arch_add_body): Likewise.
21706 (atomic_add_negative): Likewise.
21707 (atomic_add_zero): Likewise.
21709 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21711 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21712 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21713 (add_fdes): Likewise.
21714 (linear_search_fdes): Likewise.
21715 (binary_search_unencoded_fdes): Likewise.
21717 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21719 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21721 2012-11-24 Adam Conrad <adconrad@0c3.net>
21723 * configure.in: Autodetect C++ header directories.
21724 * configure: Regenerated.
21726 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21728 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21730 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21734 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21736 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21737 LDBL_MANT_DIG == 106]: Disable some tests.
21738 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21740 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21745 input for small inputs. Return +/- pi/2 for large inputs.
21746 * math/libm-test.inc (atan_test): Add more tests.
21748 * sysdeps/generic/unwind-dw2-fde-glibc.c
21749 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21750 __attribute__ ((unused)).
21753 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21754 x * y if x and y are nonzero and z is zero.
21757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21758 nonzero exponents with absolute value below 0x1p-117 to +/-
21762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21763 up arguments below 2**-450, not just those below 2**-500.
21764 * math/libm-test.inc (hypot_test): Add another test.
21767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21768 Return a+b for ratio over 2**120, not 2**60.
21769 * math/libm-test.inc (hypot_test): Add another test.
21771 * math/libm-test.inc (clog_test): Use
21772 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21773 (clog10_test): Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21778 2012-11-22 Andreas Schwab <schwab@suse.de>
21780 * sysdeps/i386/fpu/libm-test-ulps: Update.
21782 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21784 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21785 printf output with newline.
21787 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21790 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21791 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21792 -z nodlopen, -z initfirst and -z execstack support.
21793 * configure: Regenerated.
21795 * elf/elf.h (DF_1_NODIRECT): New macro.
21796 (DF_1_IGNMULDEF): Likewise.
21797 (DF_1_NOKSYMS): Likewise.
21798 (DF_1_NOHDR): Likewise.
21799 (DF_1_EDITED): Likewise.
21800 (DF_1_NORELOC): Likewise.
21801 (DF_1_SYMINTPOSE): Likewise.
21802 (DF_1_GLOBAUDIT): Likewise.
21803 (DF_1_SINGLETON): Likewise.
21804 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21805 DT_1_SUPPORTED_MASK bits.
21806 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21808 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21810 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21812 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21814 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21817 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21818 (sendmmsg): Move declarations...
21819 * socket/sys/socket.h: ... here.
21820 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21821 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21823 * socket/recvmmsg.c: ... this new file.
21824 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21825 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21826 definition of __sendmmsg hidden.
21827 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21828 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21829 Move ENOSYS stub into and include it from...
21830 * socket/sendmmsg.c: ... this new file.
21831 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21832 (sysdep_routines): Move recvmmsg and sendmmsg...
21833 * socket/Makefile (routines): ... here.
21834 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21835 (GLIBC_PRIVATE): Add __sendmmsg.
21836 * include/sys/socket.h (__sendmmsg): Add declarations.
21837 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21840 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21843 variable I1 with __attribute__ ((unused)).
21844 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21846 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21848 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21849 DUMMY variables with __attribute__ ((unused)).
21851 * bits/byteswap.h: Include <bits/types.h>.
21852 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21854 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21856 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21857 string_t. Do not manually set errno.
21858 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21859 length with __strnlen. Make sure to both set errno and return it on
21862 2012-11-19 David S. Miller <davem@davemloft.net>
21864 With help from Joseph Myers.
21865 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21866 very large arguments properly.
21867 * math/libm-test.inc (atan_test): New tests.
21868 (atan2_test): New tests.
21869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21872 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21875 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21878 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21879 [POSIX] (EADDRNOTAVAIL): Likewise.
21880 [POSIX] (EAFNOSUPPORT): Likewise.
21881 [POSIX] (EALREADY): Likewise.
21882 [POSIX] (ECONNABORTED): Likewise.
21883 [POSIX] (ECONNREFUSED): Likewise.
21884 [POSIX] (ECONNRESET): Likewise.
21885 [POSIX] (EDESTADDRREQ): Likewise.
21886 [POSIX] (EDQUOT): Likewise.
21887 [POSIX] (EHOSTUNREACH): Likewise.
21888 [POSIX] (EIDRM): Likewise.
21889 [POSIX] (EISCONN): Likewise.
21890 [POSIX] (ELOOP): Likewise.
21891 [POSIX] (EMULTIHOP): Likewise.
21892 [POSIX] (ENETDOWN): Likewise.
21893 [POSIX] (ENETUNREACH): Likewise.
21894 [POSIX] (ENOBUFS): Likewise.
21895 [POSIX] (ENODATA): Likewise.
21896 [POSIX] (ENOLINK): Likewise.
21897 [POSIX] (ENOMSG): Likewise.
21898 [POSIX] (ENOPROTOOPT): Likewise.
21899 [POSIX] (ENOSR): Likewise.
21900 [POSIX] (ENOSTR): Likewise.
21901 [POSIX] (ENOTCONN): Likewise.
21902 [POSIX] (ENOTSOCK): Likewise.
21903 [POSIX] (EOPNOTSUPP): Likewise.
21904 [POSIX] (EOVERFLOW): Likewise.
21905 [POSIX] (EPROTO): Likewise.
21906 [POSIX] (EPROTONOSUPPORT): Likewise.
21907 [POSIX] (EPROTOTYPE): Likewise.
21908 [POSIX] (ESTALE): Likewise.
21909 [POSIX] (ETIME): Likewise.
21910 [POSIX] (ETXTBSY): Likewise.
21911 [POSIX] (EWOULDBLOCK): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21913 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21914 [POSIX] (SEEK_CUR): Likewise.
21915 [POSIX] (SEEK_END): Likewise.
21916 [POSIX || UNIX98] (mode_t): Do not require.
21917 [POSIX] (off_t): Likewise.
21918 [POSIX] (pid_t): Likewise.
21919 [POSIX] (sys/stat.h): Do not allow header.
21920 [POSIX] (unistd.h): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21922 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21924 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21926 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21927 sigevent): Specify elements.
21928 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21930 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21931 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21933 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21934 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21935 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21936 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21937 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21938 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21939 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21940 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21942 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21943 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21944 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21945 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21946 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21948 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21950 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21954 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21955 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21956 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21957 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21958 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21959 Specify lower bound on value.
21960 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21961 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21962 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21963 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21964 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21965 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21966 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21967 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21969 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21971 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21973 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21975 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21978 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21979 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21980 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21981 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21982 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21985 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21986 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21988 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21990 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21991 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21992 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21993 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21994 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21995 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21997 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21998 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21999 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22000 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22001 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22002 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22003 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22005 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22006 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22008 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22009 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22010 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22011 specify as optional.
22012 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22013 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22016 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22017 [XPG3] (NL_LANGMAX): Likewise.
22018 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22019 [POSIX || XPG3] (NL_NMAX): Likewise.
22020 [POSIX || XPG3] (NL_SETMAX): Likewise.
22021 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22022 [XPG3] (NZERO): Likewise.
22023 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22024 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22025 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22026 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22027 (REG_ERANGE): Expect.
22028 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22030 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22031 Use (void) in prototype.
22032 [POSIX] (*_t): Allow.
22033 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22034 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22035 (WRDE_BADVAL): Expect.
22037 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22039 [XPG3 || XPG4] (O_RSYNC): Likewise.
22040 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22042 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22043 [XPG3 || XPG4] (sigqueue): Likewise.
22044 [XPG3 || XPG4] (sigtimedwait): Likewise.
22045 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22046 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22047 [XPG3 || XPG4] (vsnprintf): Likewise.
22048 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22050 [XPG3 || XPG4] (blksize_t): Likewise.
22051 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22053 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22054 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22055 [XPG3 || XPG4] (struct itimerspec): Likewise.
22056 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22057 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22058 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22059 [XPG3 || XPG4] (clockid_t): Likewise.
22060 [XPG3 || XPG4] (timer_t): Likewise.
22061 [XPG3 || XPG4] (clock_getres): Likewise.
22062 [XPG3 || XPG4] (clock_gettime): Likewise.
22063 [XPG3 || XPG4] (clock_settime): Likewise.
22064 [XPG3 || XPG4] (nanosleep): Likewise.
22065 [XPG3 || XPG4] (timer_create): Likewise.
22066 [XPG3 || XPG4] (timer_delete): Likewise.
22067 [XPG3 || XPG4] (timer_gettime): Likewise.
22068 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22069 [XPG3 || XPG4] (timer_settime): Likewise.
22070 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22071 [XPG3 || XPG4] (getlogin_r): Likewise.
22072 [XPG3 || XPG4] (pread): Likewise.
22073 [XPG3 || XPG4] (pthread_atfork): Likewise.
22074 [XPG3 || XPG4] (pwrite): Likewise.
22077 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22080 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22082 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22083 finalizing MALLSTREAM.
22085 * sysdeps/mach/hurd/syncfs.c: New file.
22087 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22090 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22091 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22092 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22093 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22094 (_nss_dns_gethostbyname4_r): Likewise.
22095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22096 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22098 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22101 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22103 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22105 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22106 * elf/cache.c (print_entry): Print ",AArch64" for
22109 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22110 * elf/cache.c (print_entry): Print ",hard-float" for
22113 2012-11-18 David S. Miller <davem@davemloft.net>
22115 With help from Joseph Myers.
22116 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22118 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22120 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22121 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22124 * math/libm-test.inc (y0_test): New tests.
22125 (y1_test): New tests.
22126 * sysdeps/i386/fpu/libm-test-ulps: Update.
22127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22130 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22132 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22134 * configure: Regenerated.
22136 2012-11-17 David S. Miller <davem@davemloft.net>
22139 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22140 nonzero exponents with absolute value below 0x1p-128 to +/-
22143 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22147 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22149 * posix/getconf-speclist.c: New file.
22150 * posix/posix-envs.def: Likewise.
22151 * posix/confstr.c (START_ENV_GROUP): New macro.
22152 (END_ENV_GROUP): Likewise.
22153 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22154 (KNOWN_PRESENT_ENV_STRING): Likewise.
22155 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22156 (UNKNOWN_ENVIRONMENT): Likewise.
22157 (confstr): Include posix-envs.def instead of handling
22158 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22159 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22160 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22161 (END_ENV_GROUP): Likewise.
22162 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22163 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22164 (UNKNOWN_ENVIRONMENT): Likewise.
22165 (__sysconf): Include posix-envs.def instead of handling associated
22166 cases directly here.
22167 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22168 preprocessing getconf-speclist.c rather than running getconf or
22169 generating empty file.
22171 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22173 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22175 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22178 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22180 2012-11-16 David S. Miller <davem@davemloft.net>
22182 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22183 smaller than LDBL_EPSILON/2.0L, just return xm1.
22185 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22187 * elf/tst-array1.c (init): Set constructor priority to 1000.
22188 (fini): Set destructor priority to 1000.
22189 * elf/tst-array2dep.c: Likewise.
22191 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22194 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22195 (_IO_new_file_xsputn): Also return EOF if none of the input
22196 data was written when overflow failed.
22197 * libio/iopadn.c (_IO_padn): Likewise.
22198 * libio/iowpadn.c (_IO_wpadn): Likewise.
22199 * stdio-common/tst-put-error.c: Add copyright notice.
22200 (do_test): Add case for printing padded string.
22201 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22202 _IO_padn returned error.
22203 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22204 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22207 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22209 * libio/libioP.h: Add comment note that the references to C++
22210 bits are now obsolete.
22212 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22214 * math/libm-test.inc (check_complex): Use asprintf.
22216 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22218 * debug/pcprofiledump.c (print_version): Update copyright year.
22219 * malloc/memusagestat.c (print_version): Likewise.
22221 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22224 * elf/Makefile (tests): Add tst-audit8.
22225 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22226 ($(objpfx)tst-audit8.out): New target.
22227 (tst-audit8-ENV): New variable.
22228 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22229 audit if l_reloc_result is NULL.
22230 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22231 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22232 * elf/tst-audit8.c: New file.
22234 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22236 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22237 * misc/Makefile (CFLAGS-select.c): Define.
22238 * posix/Makefile (CFLAGS-pause.c): Define.
22240 2012-11-13 David S. Miller <davem@davemloft.net>
22242 * crypt/Makefile: Move test targets after toplevel Rules
22243 inclusion. Grab any necessary sysdep routines when linking.
22244 * crypt/md5.c (md5_process_block): Remove define, we will always
22245 name it __md5_process_block.
22246 (md5_finish_ctx): Update md5_process_block call.
22247 (md5_stream): Likewise.
22248 (md5_process_bytes): Likewise.
22249 (md5_process_block): Rename to __md5_process_block and move to ...
22250 * crypt/md5-block.c: ... here.
22251 * crypt/sha256.c (sha256_process_block): Move to ...
22252 * crypt/sha256-block.c: ... here.
22253 * crypt/sha512.c (sha512_process_block): Move to ...
22254 * crypt/sha512-block.c: ... here.
22255 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22257 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22258 * sysdeps/sparc/sparc64/multiarch/Makefile
22259 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22261 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22262 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22264 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22265 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22266 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22267 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22268 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22269 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22270 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22271 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22272 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22274 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22275 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22277 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22279 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22281 * timezone/tzselect.ksh: Update from tzcode git revision
22282 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22283 * timezone/zdump.c: Likewise.
22284 * timezone/zic.c: Likewise.
22285 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22286 in TZVERSION setting, not $(PKGVERSION).
22287 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22288 REPORT_BUGS_TO settings.
22291 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22294 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22296 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22297 detection to immediately after _FP_ROUND().
22298 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22301 2012-11-11 David S. Miller <davem@davemloft.net>
22303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22305 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22306 __close rather than their public counterparts.
22308 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22310 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22312 [UNIX98] (sem_timedwait): Do not expect.
22313 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22314 [XPG4 || UNIX98] (sockatmark): Do not expect.
22315 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22316 (clock_getcpuclockid): Do not expect.
22317 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22318 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22320 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22321 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22322 [UNIX98] (vwscanf): Likewise.
22323 [UNIX98] (vswscanf): Likewise.
22325 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22327 * timezone/version.h: Remove file.
22328 * timezone/README: Do not refer to version.h.
22329 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22330 $(objpfx)version.h.
22331 ($(objpfx)zdump.o): Likewise.
22332 ($(objpfx)version.h): New target.
22334 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22336 * timezone/README: Don't mention modification to tzselect.ksh.
22337 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22338 work on unmodified tzselect.ksh. Substitute version numbers in
22341 * Makefile (format-me): Remove.
22342 (INSTALL): Adjust indentation. Use commands directly instead of
22343 using $(format-me).
22345 * aclocal.m4 (ACX_PKGVERSION): New macro.
22346 (ACX_BUGURL): Likewise.
22347 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22348 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22349 (REPORT_BUGS_TO): Likewise.
22350 * configure: Regenerated.
22351 * config.h.in (PKGVERSION): New macro.
22352 (REPORT_BUGS_TO): Likewise.
22353 * config.make.in (PKGVERSION): New variable.
22354 (PKGVERSION_TEXI): Likewise.
22355 (REPORT_BUGS_TO): Likewise.
22356 (REPORT_BUGS_TEXI): Likewise.
22357 * Makefile (format-me): Use -I$(common-objpfx)manual.
22358 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22359 ($(common-objpfx)manual/%): New target.
22360 (manual/%): Remove target.
22361 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22362 (print_version): Use PKGVERSION.
22363 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22364 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22365 and REPORT_BUGS_TO.
22366 ($(objpfx)xtrace): Likewise.
22367 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22368 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22369 (print_version): Use PKGVERSION.
22370 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22371 (do_version): Use PKGVERSION.
22372 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22374 (common-ldd-rewrite): Likewise.
22375 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22376 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22377 (print_version): Use PKGVERSION.
22378 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22379 * elf/pldd.c (argp_program_bug_address): Remove variable.
22380 (more_help): New function.
22381 (argp): Use more_help.
22382 (print_version): Use PKGVERSION.
22383 * elf/sln.c (main): Use PKGVERSION.
22384 (usage): Use REPORT_BUGS_TO.
22385 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22386 (top level): Use PKGVERSION.
22387 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22388 (print_version): Use PKGVERSION.
22389 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22390 (print_version): Use PKGVERSION.
22391 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22392 (print_version): Use PKGVERSION.
22393 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22394 (print_version): Use PKGVERSION.
22395 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22396 (print_version): Use PKGVERSION.
22397 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22398 (print_version): Use PKGVERSION.
22399 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22401 ($(objpfx)memusage): Likewise.
22402 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22403 (do_version): Use PKGVERSION.
22404 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22405 (print_version): Use PKGVERSION.
22406 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22407 ($PKGVERSION): New variable.
22408 ($REPORT_BUGS_TO): Likewise.
22409 (usage): Use $REPORT_BUGS_TO.
22410 (top level): Use $PKGVERSION.
22411 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22412 ($(objpfx)pkgvers.texi): New rule.
22413 ($(objpfx)stamp-pkgvers): Likewise.
22414 * manual/install.texi: Include pkgvers.texi.
22415 (--with-pkgversion): Document new configure option.
22416 (--with-bugurl): Likewise.
22417 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22418 than necessarily for this particular distribution. Use
22419 REPORT_BUGS_TO for where to report bugs.
22420 * INSTALL: Regenerated.
22421 * manual/libc.texinfo: Include pkgvers.texi.
22422 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22423 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22424 (print_version): Use PKGVERSION.
22425 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22426 (print_version): Use PKGVERSION.
22427 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22428 (print_version): Use PKGVERSION.
22429 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22430 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22432 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22433 (print_version): Use PKGVERSION.
22434 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22435 (print_version): Use PKGVERSION.
22436 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22439 * timezone/checktab.awk: Update from tzcode 2012i.
22440 * timezone/ialloc.c: Likewise.
22441 * timezone/private.h: Likewise.
22442 * timezone/scheck.c: Likewise.
22443 * timezone/tzfile.h: Likewise.
22444 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22445 (TZVERSION): Hardcode tzcode version number.
22446 * timezone/zdump.c: Update from tzcode 2012i.
22447 * timezone/zic.c: Likewise.
22448 * timezone/version.h: New file.
22449 * timezone/README: Describe version.h. Update upstream location.
22452 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22453 (mktemp): Enable declaration.
22454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22471 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22472 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22473 for copies of such integer values.
22474 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22475 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22477 2012-11-09 Andreas Jaeger <aj@suse.de>
22479 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22480 definitions and declarations that are provided by
22481 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22483 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22485 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22486 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22487 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22490 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22492 * elf/elf.h: Update comment before AArch64 relocations.
22494 2012-11-07 David S. Miller <davem@davemloft.net>
22496 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22497 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22498 (__start_context): Declare.
22499 (__makecontext_ret): Delete.
22500 (__makecontext): Hook up __start_context instead of
22502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22503 (sysdep_routines): Add __start_context when in stdlib.
22505 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22507 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22508 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22509 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22511 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22512 (READELF): New variable. Use it instead of hardcoded "readelf".
22514 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22516 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22517 * sysdeps/x86/Makefile: Here.
22518 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22519 * sysdeps/x86/tst-xmmymm.sh: This.
22521 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22523 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22525 [UNIX98] (pthread_barrier_t): Do not expect.
22526 [UNIX98] (pthread_barrierattr_t): Likewise.
22527 [UNIX98] (pthread_spinlock_t): Likewise.
22528 [UNIX98] (pthread_barrier_destroy): Likewise.
22529 [UNIX98] (pthread_barrier_init): Likewise.
22530 [UNIX98] (pthread_barrier_wait): Likewise.
22531 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22532 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22533 [UNIX98] (pthread_barrierattr_init): Likewise.
22534 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22535 [UNIX98] (pthread_getcpuclockid): Likewise.
22536 [UNIX98] (pthread_mutex_timedlock): Likewise.
22537 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22538 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22539 [UNIX98] (pthread_sigmask): Likewise.
22540 [UNIX98] (pthread_spin_destroy): Likewise.
22541 [UNIX98] (pthread_spin_init): Likewise.
22542 [UNIX98] (pthread_spin_lock): Likewise.
22543 [UNIX98] (pthread_spin_trylock): Likewise.
22544 [UNIX98] (pthread_spin_unlock): Likewise.
22545 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22547 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22549 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22550 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22551 [XPG3 || XPG4] (pthread_key_t): Likewise.
22552 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22553 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22554 [XPG3 || XPG4] (pthread_once_t): Likewise.
22555 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22556 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22558 [XPG3 || XPG4] (pthread_t): Likewise.
22560 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22562 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22564 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22565 Change function return type to int.
22567 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22568 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22569 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22570 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22571 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22572 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22573 [!POSIX] (posix_madvise): Likewise.
22574 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22576 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22577 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22578 (mode_t): Likewise.
22579 (posix_mem_offset): Likewise.
22580 (posix_typed_mem_get_info): Likewise.
22581 (posix_typed_mem_open): Likewise.
22583 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22584 Change condition to [XOPEN2K8].
22586 * conform/conformtest.pl: Preprocess allow-header data with -x c
22587 instead of from stdin.
22588 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22589 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22590 [C99-based standards] (cerfc): Likewise.
22591 [C99-based standards] (cexp2): Likewise.
22592 [C99-based standards] (cexpm1): Likewise.
22593 [C99-based standards] (clog10): Likewise.
22594 [C99-based standards] (clog1p): Likewise.
22595 [C99-based standards] (clog2): Likewise.
22596 [C99-based standards] (clgamma): Likewise.
22597 [C99-based standards] (ctgamma): Likewise.
22598 [C99-based standards] (cerff): Likewise.
22599 [C99-based standards] (cerfcf): Likewise.
22600 [C99-based standards] (cexp2f): Likewise.
22601 [C99-based standards] (cexpm1f): Likewise.
22602 [C99-based standards] (clog10f): Likewise.
22603 [C99-based standards] (clog1pf): Likewise.
22604 [C99-based standards] (clog2f): Likewise.
22605 [C99-based standards] (clgammaf): Likewise.
22606 [C99-based standards] (ctgammaf): Likewise.
22607 [C99-based standards] (cerfl): Likewise.
22608 [C99-based standards] (cerfcl): Likewise.
22609 [C99-based standards] (cexp2l): Likewise.
22610 [C99-based standards] (cexpm1l): Likewise.
22611 [C99-based standards] (clog10l): Likewise.
22612 [C99-based standards] (clog1pl): Likewise.
22613 [C99-based standards] (clog2l): Likewise.
22614 [C99-based standards] (clgammal): Likewise.
22615 [C99-based standards] (ctgammal): Likewise.
22616 * conform/data/inttypes.h-data [C99-based standards]: Include
22617 stdint.h-data. Remove all expectations for stdint.h contents.
22618 [C99-based standards] (PRI*): Do not allow.
22619 [C99-based standards] (SCN*): Likewise.
22620 [C99-based standards] (*_t): Likewise.
22621 [C99-based-standards] (PRId8): Expect macro.
22622 [C99-based-standards] (PRIi8): Likewise.
22623 [C99-based-standards] (PRIo8): Likewise.
22624 [C99-based-standards] (PRIu8): Likewise.
22625 [C99-based-standards] (PRIx8): Likewise.
22626 [C99-based-standards] (PRIX8): Likewise.
22627 [C99-based-standards] (SCNd8): Likewise.
22628 [C99-based-standards] (SCNi8): Likewise.
22629 [C99-based-standards] (SCNo8): Likewise.
22630 [C99-based-standards] (SCNu8): Likewise.
22631 [C99-based-standards] (SCNx8): Likewise.
22632 [C99-based-standards] (PRIdLEAST8): Likewise.
22633 [C99-based-standards] (PRIiLEAST8): Likewise.
22634 [C99-based-standards] (PRIoLEAST8): Likewise.
22635 [C99-based-standards] (PRIuLEAST8): Likewise.
22636 [C99-based-standards] (PRIxLEAST8): Likewise.
22637 [C99-based-standards] (PRIXLEAST8): Likewise.
22638 [C99-based-standards] (SCNdLEAST8): Likewise.
22639 [C99-based-standards] (SCNiLEAST8): Likewise.
22640 [C99-based-standards] (SCNoLEAST8): Likewise.
22641 [C99-based-standards] (SCNuLEAST8): Likewise.
22642 [C99-based-standards] (SCNxLEAST8): Likewise.
22643 [C99-based-standards] (PRIdFAST8): Likewise.
22644 [C99-based-standards] (PRIiFAST8): Likewise.
22645 [C99-based-standards] (PRIoFAST8): Likewise.
22646 [C99-based-standards] (PRIuFAST8): Likewise.
22647 [C99-based-standards] (PRIxFAST8): Likewise.
22648 [C99-based-standards] (PRIXFAST8): Likewise.
22649 [C99-based-standards] (SCNdFAST8): Likewise.
22650 [C99-based-standards] (SCNiFAST8): Likewise.
22651 [C99-based-standards] (SCNoFAST8): Likewise.
22652 [C99-based-standards] (SCNuFAST8): Likewise.
22653 [C99-based-standards] (SCNxFAST8): Likewise.
22654 [C99-based-standards] (PRId16): Likewise.
22655 [C99-based-standards] (PRIi16): Likewise.
22656 [C99-based-standards] (PRIo16): Likewise.
22657 [C99-based-standards] (PRIu16): Likewise.
22658 [C99-based-standards] (PRIx16): Likewise.
22659 [C99-based-standards] (PRIX16): Likewise.
22660 [C99-based-standards] (SCNd16): Likewise.
22661 [C99-based-standards] (SCNi16): Likewise.
22662 [C99-based-standards] (SCNo16): Likewise.
22663 [C99-based-standards] (SCNu16): Likewise.
22664 [C99-based-standards] (SCNx16): Likewise.
22665 [C99-based-standards] (PRIdLEAST16): Likewise.
22666 [C99-based-standards] (PRIiLEAST16): Likewise.
22667 [C99-based-standards] (PRIoLEAST16): Likewise.
22668 [C99-based-standards] (PRIuLEAST16): Likewise.
22669 [C99-based-standards] (PRIxLEAST16): Likewise.
22670 [C99-based-standards] (PRIXLEAST16): Likewise.
22671 [C99-based-standards] (SCNdLEAST16): Likewise.
22672 [C99-based-standards] (SCNiLEAST16): Likewise.
22673 [C99-based-standards] (SCNoLEAST16): Likewise.
22674 [C99-based-standards] (SCNuLEAST16): Likewise.
22675 [C99-based-standards] (SCNxLEAST16): Likewise.
22676 [C99-based-standards] (PRIdFAST16): Likewise.
22677 [C99-based-standards] (PRIiFAST16): Likewise.
22678 [C99-based-standards] (PRIoFAST16): Likewise.
22679 [C99-based-standards] (PRIuFAST16): Likewise.
22680 [C99-based-standards] (PRIxFAST16): Likewise.
22681 [C99-based-standards] (PRIXFAST16): Likewise.
22682 [C99-based-standards] (SCNdFAST16): Likewise.
22683 [C99-based-standards] (SCNiFAST16): Likewise.
22684 [C99-based-standards] (SCNoFAST16): Likewise.
22685 [C99-based-standards] (SCNuFAST16): Likewise.
22686 [C99-based-standards] (SCNxFAST16): Likewise.
22687 [C99-based-standards] (PRId32): Likewise.
22688 [C99-based-standards] (PRIi32): Likewise.
22689 [C99-based-standards] (PRIo32): Likewise.
22690 [C99-based-standards] (PRIu32): Likewise.
22691 [C99-based-standards] (PRIx32): Likewise.
22692 [C99-based-standards] (PRIX32): Likewise.
22693 [C99-based-standards] (SCNd32): Likewise.
22694 [C99-based-standards] (SCNi32): Likewise.
22695 [C99-based-standards] (SCNo32): Likewise.
22696 [C99-based-standards] (SCNu32): Likewise.
22697 [C99-based-standards] (SCNx32): Likewise.
22698 [C99-based-standards] (PRIdLEAST32): Likewise.
22699 [C99-based-standards] (PRIiLEAST32): Likewise.
22700 [C99-based-standards] (PRIoLEAST32): Likewise.
22701 [C99-based-standards] (PRIuLEAST32): Likewise.
22702 [C99-based-standards] (PRIxLEAST32): Likewise.
22703 [C99-based-standards] (PRIXLEAST32): Likewise.
22704 [C99-based-standards] (SCNdLEAST32): Likewise.
22705 [C99-based-standards] (SCNiLEAST32): Likewise.
22706 [C99-based-standards] (SCNoLEAST32): Likewise.
22707 [C99-based-standards] (SCNuLEAST32): Likewise.
22708 [C99-based-standards] (SCNxLEAST32): Likewise.
22709 [C99-based-standards] (PRIdFAST32): Likewise.
22710 [C99-based-standards] (PRIiFAST32): Likewise.
22711 [C99-based-standards] (PRIoFAST32): Likewise.
22712 [C99-based-standards] (PRIuFAST32): Likewise.
22713 [C99-based-standards] (PRIxFAST32): Likewise.
22714 [C99-based-standards] (PRIXFAST32): Likewise.
22715 [C99-based-standards] (SCNdFAST32): Likewise.
22716 [C99-based-standards] (SCNiFAST32): Likewise.
22717 [C99-based-standards] (SCNoFAST32): Likewise.
22718 [C99-based-standards] (SCNuFAST32): Likewise.
22719 [C99-based-standards] (SCNxFAST32): Likewise.
22720 [C99-based-standards] (PRId64): Likewise.
22721 [C99-based-standards] (PRIi64): Likewise.
22722 [C99-based-standards] (PRIo64): Likewise.
22723 [C99-based-standards] (PRIu64): Likewise.
22724 [C99-based-standards] (PRIx64): Likewise.
22725 [C99-based-standards] (PRIX64): Likewise.
22726 [C99-based-standards] (SCNd64): Likewise.
22727 [C99-based-standards] (SCNi64): Likewise.
22728 [C99-based-standards] (SCNo64): Likewise.
22729 [C99-based-standards] (SCNu64): Likewise.
22730 [C99-based-standards] (SCNx64): Likewise.
22731 [C99-based-standards] (PRIdLEAST64): Likewise.
22732 [C99-based-standards] (PRIiLEAST64): Likewise.
22733 [C99-based-standards] (PRIoLEAST64): Likewise.
22734 [C99-based-standards] (PRIuLEAST64): Likewise.
22735 [C99-based-standards] (PRIxLEAST64): Likewise.
22736 [C99-based-standards] (PRIXLEAST64): Likewise.
22737 [C99-based-standards] (SCNdLEAST64): Likewise.
22738 [C99-based-standards] (SCNiLEAST64): Likewise.
22739 [C99-based-standards] (SCNoLEAST64): Likewise.
22740 [C99-based-standards] (SCNuLEAST64): Likewise.
22741 [C99-based-standards] (SCNxLEAST64): Likewise.
22742 [C99-based-standards] (PRIdFAST64): Likewise.
22743 [C99-based-standards] (PRIiFAST64): Likewise.
22744 [C99-based-standards] (PRIoFAST64): Likewise.
22745 [C99-based-standards] (PRIuFAST64): Likewise.
22746 [C99-based-standards] (PRIxFAST64): Likewise.
22747 [C99-based-standards] (PRIXFAST64): Likewise.
22748 [C99-based-standards] (SCNdFAST64): Likewise.
22749 [C99-based-standards] (SCNiFAST64): Likewise.
22750 [C99-based-standards] (SCNoFAST64): Likewise.
22751 [C99-based-standards] (SCNuFAST64): Likewise.
22752 [C99-based-standards] (SCNxFAST64): Likewise.
22753 [C99-based-standards] (PRIdMAX): Likewise.
22754 [C99-based-standards] (PRIiMAX): Likewise.
22755 [C99-based-standards] (PRIoMAX): Likewise.
22756 [C99-based-standards] (PRIuMAX): Likewise.
22757 [C99-based-standards] (PRIxMAX): Likewise.
22758 [C99-based-standards] (PRIXMAX): Likewise.
22759 [C99-based-standards] (SCNdMAX): Likewise.
22760 [C99-based-standards] (SCNiMAX): Likewise.
22761 [C99-based-standards] (SCNoMAX): Likewise.
22762 [C99-based-standards] (SCNuMAX): Likewise.
22763 [C99-based-standards] (SCNxMAX): Likewise.
22764 [C99-based-standards] (PRIdPTR): Likewise.
22765 [C99-based-standards] (PRIiPTR): Likewise.
22766 [C99-based-standards] (PRIoPTR): Likewise.
22767 [C99-based-standards] (PRIuPTR): Likewise.
22768 [C99-based-standards] (PRIxPTR): Likewise.
22769 [C99-based-standards] (PRIXPTR): Likewise.
22770 [C99-based-standards] (SCNdPTR): Likewise.
22771 [C99-based-standards] (SCNiPTR): Likewise.
22772 [C99-based-standards] (SCNoPTR): Likewise.
22773 [C99-based-standards] (SCNuPTR): Likewise.
22774 [C99-based-standards] (SCNxPTR): Likewise.
22775 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22777 * conform/data/stdint.h-data: Update comments to clarify
22779 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22781 [C99-based standards] (INT8_MAX): Likewise.
22782 [C99-based standards] (INT16_MIN): Likewise.
22783 [C99-based standards] (INT16_MAX): Likewise.
22784 [C99-based standards] (INT32_MIN): Likewise.
22785 [C99-based standards] (INT32_MAX): Likewise.
22786 [C99-based standards] (INT64_MIN): Likewise.
22787 [C99-based standards] (INT64_MAX): Likewise.
22788 [C99-based standards] (UINT8_MAX): Likewise.
22789 [C99-based standards] (UINT16_MAX): Likewise.
22790 [C99-based standards] (UINT32_MAX): Likewise.
22791 [C99-based standards] (UINT64_MAX): Likewise.
22792 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22793 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22794 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22795 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22796 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22797 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22798 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22799 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22800 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22801 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22802 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22803 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22804 [C99-based standards] (INT_FAST8_MIN): Likewise.
22805 [C99-based standards] (INT_FAST8_MAX): Likewise.
22806 [C99-based standards] (INT_FAST16_MIN): Likewise.
22807 [C99-based standards] (INT_FAST16_MAX): Likewise.
22808 [C99-based standards] (INT_FAST32_MIN): Likewise.
22809 [C99-based standards] (INT_FAST32_MAX): Likewise.
22810 [C99-based standards] (INT_FAST64_MIN): Likewise.
22811 [C99-based standards] (INT_FAST64_MAX): Likewise.
22812 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22813 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22814 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22815 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22816 [C99-based standards] (INTPTR_MIN): Likewise.
22817 [C99-based standards] (INTPTR_MAX): Likewise.
22818 [C99-based standards] (UINTPTR_MAX): Likewise.
22819 [C99-based standards] (INTMAX_MIN): Likewise.
22820 [C99-based standards] (INTMAX_MAX): Likewise.
22821 [C99-based standards] (UINTMAX_MAX): Likewise.
22822 [C99-based standards] (PTRDIFF_MIN): Likewise.
22823 [C99-based standards] (PTRDIFF_MAX): Likewise.
22824 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22825 [C99-based standards] (SIZE_MAX): Likewise.
22826 [C99-based standards] (WCHAR_MAX): Likewise.
22827 [C99-based standards] (WINT_MAX): Likewise.
22828 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22829 constraint on value.
22830 [C99-based standards] (WCHAR_MIN): Likewise.
22831 [C99-based standards] (WINT_MIN): Likewise.
22832 [C99-based standards] (*_t): Allow.
22833 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22834 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22835 Include math.h-data and complex.h-data. Remove all expectations
22836 of math.h and complex.h contents.
22837 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22839 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22840 (struct tm): Expect tag.
22841 [C99-based-standards] (wcstof): Expect function.
22842 [C99-based-standards] (wcstold): Likewise.
22843 [C99-based-standards] (wcstoll): Likewise.
22844 [C99-based-standards] (wcstoull): Likewise.
22845 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22846 macro-int-constant. Specify type.
22847 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22848 constraint on value.
22849 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22851 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22853 [ISO C standards]: Do not allow headers.
22854 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22855 wcs[abcdefghijklmnopqrstuvwxyz]*.
22856 [ISO C standards] (*_t): Do not allow.
22857 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22859 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22860 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22862 [ISO C standards]: Do not allow headers.
22863 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22864 is[abcdefghijklmnopqrstuvwxyz]*.
22865 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22866 to[abcdefghijklmnopqrstuvwxyz]*.
22867 [ISO C standards] (*_t): Do not allow.
22868 * conform/data/stdalign.h-data: New file.
22869 * conform/data/stdbool.h-data: Likewise.
22870 * conform/data/stdnoreturn.h-data: Likewise.
22872 2012-11-07 Roland McGrath <roland@hack.frob.com>
22875 * manual/filesys.texi (Directory Entries): Typo fix.
22876 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22878 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22880 * elf/elf.h (EM_AARCH64): New macro.
22881 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22882 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22883 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22884 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22885 (R_AARCH64_TLSDESC): Likewise.
22886 (NT_ARM_TLS): Likewise.
22887 (NT_ARM_HW_BREAK): Likewise.
22888 (NT_ARM_HW_WATCH): Likewise.
22890 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22893 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22894 (__ieee754_powl): Saturate nonzero exponents with absolute value
22895 below 0x1p-79 to +/- 0x1p-79.
22896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22897 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22898 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22899 nonzero exponents with absolute value below 0x1p-32 to +/-
22901 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22902 (__ieee754_powl): Saturate nonzero exponents with absolute value
22903 below 0x1p-79 to +/- 0x1p-79.
22904 * math/libm-test.inc (pow_test): Add more tests.
22906 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22908 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22909 _dl_s390_cap_flags with kernel. Increase string length.
22910 (_dl_s390_platforms): Add z196 and zEC12.
22912 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22914 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22915 Change XOPEN21K to XOPEN2K.
22917 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22919 * string/memmove.c: Use memcpy when possible.
22921 2012-11-06 Andreas Jaeger <aj@suse.de>
22923 * po/eo.po: Update from translation team.
22925 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22929 exponent and small x and y exponents, scale x or y up. Increase
22930 by 2 the exponent used in scaling up.
22931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22933 * math/libm-test.inc (fma_test): Add more tests.
22934 (fma_test_towardzero): Likewise.
22935 (fma_test_downward): Likewise.
22936 (fma_test_upward): Likewise.
22938 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22941 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22945 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22946 namespace for names of struct fields.
22947 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22949 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22950 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22952 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22955 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22957 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22959 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22963 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22966 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22970 definitely overflow as x * y not x * y + z.
22971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22973 * math/libm-test.inc (fma_test): Add more tests.
22974 (fma_test_towardzero): Likewise.
22975 (fma_test_downward): Likewise.
22976 (fma_test_upward): Likewise.
22978 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22982 * include/stub-tag.h: Remove file.
22983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22985 * manual/maint.texi (Porting): Don't reference it.
22986 * Makerules ($(objpfx)stubs): Likewise.
22987 * dirent/closedir.c: Don't include <stub-tag.h>.
22988 * dirent/dirfd.c: Likewise.
22989 * dirent/fdopendir.c: Likewise.
22990 * dirent/getdents.c: Likewise.
22991 * dirent/getdents64.c: Likewise.
22992 * dirent/opendir.c: Likewise.
22993 * dirent/readdir.c: Likewise.
22994 * dirent/readdir64.c: Likewise.
22995 * dirent/readdir64_r.c: Likewise.
22996 * dirent/readdir_r.c: Likewise.
22997 * dirent/rewinddir.c: Likewise.
22998 * dirent/seekdir.c: Likewise.
22999 * dirent/telldir.c: Likewise.
23000 * gmon/profil.c: Likewise.
23001 * grp/setgroups.c: Likewise.
23002 * inet/if_index.c: Likewise.
23003 * io/access.c: Likewise.
23004 * io/chdir.c: Likewise.
23005 * io/chmod.c: Likewise.
23006 * io/chown.c: Likewise.
23007 * io/close.c: Likewise.
23008 * io/dup.c: Likewise.
23009 * io/dup2.c: Likewise.
23010 * io/dup3.c: Likewise.
23011 * io/euidaccess.c: Likewise.
23012 * io/faccessat.c: Likewise.
23013 * io/fchdir.c: Likewise.
23014 * io/fchmod.c: Likewise.
23015 * io/fchmodat.c: Likewise.
23016 * io/fchown.c: Likewise.
23017 * io/fchownat.c: Likewise.
23018 * io/fcntl.c: Likewise.
23019 * io/flock.c: Likewise.
23020 * io/fstatfs.c: Likewise.
23021 * io/fstatfs64.c: Likewise.
23022 * io/fstatvfs.c: Likewise.
23023 * io/fstatvfs64.c: Likewise.
23024 * io/futimens.c: Likewise.
23025 * io/fxstat.c: Likewise.
23026 * io/fxstat64.c: Likewise.
23027 * io/fxstatat.c: Likewise.
23028 * io/fxstatat64.c: Likewise.
23029 * io/getcwd.c: Likewise.
23030 * io/isatty.c: Likewise.
23031 * io/lchmod.c: Likewise.
23032 * io/lchown.c: Likewise.
23033 * io/link.c: Likewise.
23034 * io/linkat.c: Likewise.
23035 * io/lseek.c: Likewise.
23036 * io/lseek64.c: Likewise.
23037 * io/lxstat64.c: Likewise.
23038 * io/mkdir.c: Likewise.
23039 * io/mkdirat.c: Likewise.
23040 * io/mkfifo.c: Likewise.
23041 * io/mkfifoat.c: Likewise.
23042 * io/open.c: Likewise.
23043 * io/open64.c: Likewise.
23044 * io/openat.c: Likewise.
23045 * io/openat64.c: Likewise.
23046 * io/pipe.c: Likewise.
23047 * io/pipe2.c: Likewise.
23048 * io/poll.c: Likewise.
23049 * io/posix_fadvise.c: Likewise.
23050 * io/posix_fadvise64.c: Likewise.
23051 * io/posix_fallocate.c: Likewise.
23052 * io/posix_fallocate64.c: Likewise.
23053 * io/read.c: Likewise.
23054 * io/readlink.c: Likewise.
23055 * io/readlinkat.c: Likewise.
23056 * io/rmdir.c: Likewise.
23057 * io/sendfile.c: Likewise.
23058 * io/sendfile64.c: Likewise.
23059 * io/statfs.c: Likewise.
23060 * io/statfs64.c: Likewise.
23061 * io/statvfs.c: Likewise.
23062 * io/statvfs64.c: Likewise.
23063 * io/symlink.c: Likewise.
23064 * io/symlinkat.c: Likewise.
23065 * io/ttyname.c: Likewise.
23066 * io/ttyname_r.c: Likewise.
23067 * io/umask.c: Likewise.
23068 * io/unlink.c: Likewise.
23069 * io/unlinkat.c: Likewise.
23070 * io/utime.c: Likewise.
23071 * io/utimensat.c: Likewise.
23072 * io/write.c: Likewise.
23073 * io/xmknod.c: Likewise.
23074 * io/xmknodat.c: Likewise.
23075 * io/xstat.c: Likewise.
23076 * io/xstat64.c: Likewise.
23077 * login/getpt.c: Likewise.
23078 * login/grantpt.c: Likewise.
23079 * login/unlockpt.c: Likewise.
23080 * math/e_acoshl.c: Likewise.
23081 * math/e_acosl.c: Likewise.
23082 * math/e_asinl.c: Likewise.
23083 * math/e_atan2l.c: Likewise.
23084 * math/e_atanhl.c: Likewise.
23085 * math/e_coshl.c: Likewise.
23086 * math/e_expl.c: Likewise.
23087 * math/e_fmodl.c: Likewise.
23088 * math/e_gammal_r.c: Likewise.
23089 * math/e_hypotl.c: Likewise.
23090 * math/e_j0l.c: Likewise.
23091 * math/e_j1l.c: Likewise.
23092 * math/e_jnl.c: Likewise.
23093 * math/e_lgammal_r.c: Likewise.
23094 * math/e_log10l.c: Likewise.
23095 * math/e_log2l.c: Likewise.
23096 * math/e_logl.c: Likewise.
23097 * math/e_powl.c: Likewise.
23098 * math/e_rem_pio2l.c: Likewise.
23099 * math/e_sinhl.c: Likewise.
23100 * math/e_sqrtl.c: Likewise.
23101 * math/fclrexcpt.c: Likewise.
23102 * math/fedisblxcpt.c: Likewise.
23103 * math/feenablxcpt.c: Likewise.
23104 * math/fegetenv.c: Likewise.
23105 * math/fegetexcept.c: Likewise.
23106 * math/fegetround.c: Likewise.
23107 * math/feholdexcpt.c: Likewise.
23108 * math/fesetenv.c: Likewise.
23109 * math/fesetround.c: Likewise.
23110 * math/feupdateenv.c: Likewise.
23111 * math/fgetexcptflg.c: Likewise.
23112 * math/fraiseexcpt.c: Likewise.
23113 * math/fsetexcptflg.c: Likewise.
23114 * math/ftestexcept.c: Likewise.
23115 * math/k_cosl.c: Likewise.
23116 * math/k_rem_pio2l.c: Likewise.
23117 * math/k_sinl.c: Likewise.
23118 * math/k_tanl.c: Likewise.
23119 * math/s_asinhl.c: Likewise.
23120 * math/s_atanl.c: Likewise.
23121 * math/s_cbrtl.c: Likewise.
23122 * math/s_erfl.c: Likewise.
23123 * math/s_expm1l.c: Likewise.
23124 * math/s_log1pl.c: Likewise.
23125 * math/s_tanhl.c: Likewise.
23126 * misc/acct.c: Likewise.
23127 * misc/brk.c: Likewise.
23128 * misc/chflags.c: Likewise.
23129 * misc/chroot.c: Likewise.
23130 * misc/fchflags.c: Likewise.
23131 * misc/fgetxattr.c: Likewise.
23132 * misc/flistxattr.c: Likewise.
23133 * misc/fremovexattr.c: Likewise.
23134 * misc/fsetxattr.c: Likewise.
23135 * misc/fsync.c: Likewise.
23136 * misc/ftruncate.c: Likewise.
23137 * misc/futimes.c: Likewise.
23138 * misc/futimesat.c: Likewise.
23139 * misc/getdomain.c: Likewise.
23140 * misc/getdtsz.c: Likewise.
23141 * misc/gethostid.c: Likewise.
23142 * misc/gethostname.c: Likewise.
23143 * misc/getloadavg.c: Likewise.
23144 * misc/getpagesize.c: Likewise.
23145 * misc/getsysstats.c: Likewise.
23146 * misc/getxattr.c: Likewise.
23147 * misc/gtty.c: Likewise.
23148 * misc/ioctl.c: Likewise.
23149 * misc/lgetxattr.c: Likewise.
23150 * misc/listxattr.c: Likewise.
23151 * misc/llistxattr.c: Likewise.
23152 * misc/lremovexattr.c: Likewise.
23153 * misc/lsetxattr.c: Likewise.
23154 * misc/lutimes.c: Likewise.
23155 * misc/madvise.c: Likewise.
23156 * misc/mincore.c: Likewise.
23157 * misc/mlock.c: Likewise.
23158 * misc/mlockall.c: Likewise.
23159 * misc/mmap.c: Likewise.
23160 * misc/mprotect.c: Likewise.
23161 * misc/msync.c: Likewise.
23162 * misc/munlock.c: Likewise.
23163 * misc/munlockall.c: Likewise.
23164 * misc/munmap.c: Likewise.
23165 * misc/preadv.c: Likewise.
23166 * misc/preadv64.c: Likewise.
23167 * misc/ptrace.c: Likewise.
23168 * misc/pwritev.c: Likewise.
23169 * misc/pwritev64.c: Likewise.
23170 * misc/readv.c: Likewise.
23171 * misc/reboot.c: Likewise.
23172 * misc/remap_file_pages.c: Likewise.
23173 * misc/removexattr.c: Likewise.
23174 * misc/revoke.c: Likewise.
23175 * misc/select.c: Likewise.
23176 * misc/setdomain.c: Likewise.
23177 * misc/setegid.c: Likewise.
23178 * misc/seteuid.c: Likewise.
23179 * misc/sethostid.c: Likewise.
23180 * misc/sethostname.c: Likewise.
23181 * misc/setregid.c: Likewise.
23182 * misc/setreuid.c: Likewise.
23183 * misc/setxattr.c: Likewise.
23184 * misc/sstk.c: Likewise.
23185 * misc/stty.c: Likewise.
23186 * misc/swapoff.c: Likewise.
23187 * misc/swapon.c: Likewise.
23188 * misc/sync.c: Likewise.
23189 * misc/syncfs.c: Likewise.
23190 * misc/syscall.c: Likewise.
23191 * misc/truncate.c: Likewise.
23192 * misc/ualarm.c: Likewise.
23193 * misc/usleep.c: Likewise.
23194 * misc/ustat.c: Likewise.
23195 * misc/utimes.c: Likewise.
23196 * misc/vhangup.c: Likewise.
23197 * misc/writev.c: Likewise.
23198 * posix/_exit.c: Likewise.
23199 * posix/alarm.c: Likewise.
23200 * posix/execve.c: Likewise.
23201 * posix/fexecve.c: Likewise.
23202 * posix/fork.c: Likewise.
23203 * posix/fpathconf.c: Likewise.
23204 * posix/getaddrinfo.c: Likewise.
23205 * posix/getegid.c: Likewise.
23206 * posix/geteuid.c: Likewise.
23207 * posix/getgid.c: Likewise.
23208 * posix/getgroups.c: Likewise.
23209 * posix/getlogin.c: Likewise.
23210 * posix/getlogin_r.c: Likewise.
23211 * posix/getpgid.c: Likewise.
23212 * posix/getpid.c: Likewise.
23213 * posix/getppid.c: Likewise.
23214 * posix/getresgid.c: Likewise.
23215 * posix/getresuid.c: Likewise.
23216 * posix/getsid.c: Likewise.
23217 * posix/getuid.c: Likewise.
23218 * posix/glob64.c: Likewise.
23219 * posix/nanosleep.c: Likewise.
23220 * posix/pathconf.c: Likewise.
23221 * posix/pause.c: Likewise.
23222 * posix/posix_madvise.c: Likewise.
23223 * posix/pread.c: Likewise.
23224 * posix/pread64.c: Likewise.
23225 * posix/pwrite.c: Likewise.
23226 * posix/pwrite64.c: Likewise.
23227 * posix/sched_getaffinity.c: Likewise.
23228 * posix/sched_getp.c: Likewise.
23229 * posix/sched_gets.c: Likewise.
23230 * posix/sched_primax.c: Likewise.
23231 * posix/sched_primin.c: Likewise.
23232 * posix/sched_rr_gi.c: Likewise.
23233 * posix/sched_setaffinity.c: Likewise.
23234 * posix/sched_setp.c: Likewise.
23235 * posix/sched_sets.c: Likewise.
23236 * posix/sched_yield.c: Likewise.
23237 * posix/setgid.c: Likewise.
23238 * posix/setlogin.c: Likewise.
23239 * posix/setpgid.c: Likewise.
23240 * posix/setresgid.c: Likewise.
23241 * posix/setresuid.c: Likewise.
23242 * posix/setsid.c: Likewise.
23243 * posix/setuid.c: Likewise.
23244 * posix/sleep.c: Likewise.
23245 * posix/spawni.c: Likewise.
23246 * posix/sysconf.c: Likewise.
23247 * posix/times.c: Likewise.
23248 * posix/wait.c: Likewise.
23249 * posix/wait3.c: Likewise.
23250 * posix/wait4.c: Likewise.
23251 * posix/waitpid.c: Likewise.
23252 * resolv/gai_sigqueue.c: Likewise.
23253 * resource/getpriority.c: Likewise.
23254 * resource/getrlimit.c: Likewise.
23255 * resource/getrusage.c: Likewise.
23256 * resource/nice.c: Likewise.
23257 * resource/setpriority.c: Likewise.
23258 * resource/setrlimit.c: Likewise.
23259 * resource/ulimit.c: Likewise.
23260 * rt/aio_cancel.c: Likewise.
23261 * rt/aio_fsync.c: Likewise.
23262 * rt/aio_read.c: Likewise.
23263 * rt/aio_sigqueue.c: Likewise.
23264 * rt/aio_suspend.c: Likewise.
23265 * rt/aio_write.c: Likewise.
23266 * rt/clock_getres.c: Likewise.
23267 * rt/clock_gettime.c: Likewise.
23268 * rt/clock_nanosleep.c: Likewise.
23269 * rt/clock_settime.c: Likewise.
23270 * rt/lio_listio.c: Likewise.
23271 * rt/mq_close.c: Likewise.
23272 * rt/mq_getattr.c: Likewise.
23273 * rt/mq_notify.c: Likewise.
23274 * rt/mq_open.c: Likewise.
23275 * rt/mq_receive.c: Likewise.
23276 * rt/mq_send.c: Likewise.
23277 * rt/mq_setattr.c: Likewise.
23278 * rt/mq_timedreceive.c: Likewise.
23279 * rt/mq_timedsend.c: Likewise.
23280 * rt/mq_unlink.c: Likewise.
23281 * rt/shm_open.c: Likewise.
23282 * rt/shm_unlink.c: Likewise.
23283 * rt/timer_create.c: Likewise.
23284 * rt/timer_delete.c: Likewise.
23285 * rt/timer_getoverr.c: Likewise.
23286 * rt/timer_gettime.c: Likewise.
23287 * rt/timer_settime.c: Likewise.
23288 * setjmp/__longjmp.c: Likewise.
23289 * setjmp/setjmp.c: Likewise.
23290 * signal/kill.c: Likewise.
23291 * signal/killpg.c: Likewise.
23292 * signal/raise.c: Likewise.
23293 * signal/sigaction.c: Likewise.
23294 * signal/sigaltstack.c: Likewise.
23295 * signal/sigblock.c: Likewise.
23296 * signal/sigignore.c: Likewise.
23297 * signal/sigintr.c: Likewise.
23298 * signal/signal.c: Likewise.
23299 * signal/sigpause.c: Likewise.
23300 * signal/sigpending.c: Likewise.
23301 * signal/sigqueue.c: Likewise.
23302 * signal/sigreturn.c: Likewise.
23303 * signal/sigset.c: Likewise.
23304 * signal/sigsetmask.c: Likewise.
23305 * signal/sigstack.c: Likewise.
23306 * signal/sigsuspend.c: Likewise.
23307 * signal/sigtimedwait.c: Likewise.
23308 * signal/sigvec.c: Likewise.
23309 * signal/sigwait.c: Likewise.
23310 * signal/sigwaitinfo.c: Likewise.
23311 * signal/sysv_signal.c: Likewise.
23312 * socket/accept.c: Likewise.
23313 * socket/accept4.c: Likewise.
23314 * socket/bind.c: Likewise.
23315 * socket/connect.c: Likewise.
23316 * socket/getpeername.c: Likewise.
23317 * socket/getsockname.c: Likewise.
23318 * socket/getsockopt.c: Likewise.
23319 * socket/isfdtype.c: Likewise.
23320 * socket/listen.c: Likewise.
23321 * socket/recv.c: Likewise.
23322 * socket/recvfrom.c: Likewise.
23323 * socket/recvmsg.c: Likewise.
23324 * socket/send.c: Likewise.
23325 * socket/sendmsg.c: Likewise.
23326 * socket/sendto.c: Likewise.
23327 * socket/setsockopt.c: Likewise.
23328 * socket/shutdown.c: Likewise.
23329 * socket/sockatmark.c: Likewise.
23330 * socket/socket.c: Likewise.
23331 * socket/socketpair.c: Likewise.
23332 * stdio-common/ctermid.c: Likewise.
23333 * stdio-common/cuserid.c: Likewise.
23334 * stdio-common/remove.c: Likewise.
23335 * stdio-common/rename.c: Likewise.
23336 * stdio-common/renameat.c: Likewise.
23337 * stdio-common/tempname.c: Likewise.
23338 * stdlib/getcontext.c: Likewise.
23339 * stdlib/makecontext.c: Likewise.
23340 * stdlib/setcontext.c: Likewise.
23341 * stdlib/swapcontext.c: Likewise.
23342 * stdlib/system.c: Likewise.
23343 * streams/fattach.c: Likewise.
23344 * streams/fdetach.c: Likewise.
23345 * streams/getmsg.c: Likewise.
23346 * streams/getpmsg.c: Likewise.
23347 * streams/putmsg.c: Likewise.
23348 * streams/putpmsg.c: Likewise.
23349 * sysdeps/unix/bsd/getpt.c: Likewise.
23350 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23351 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23355 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23356 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23357 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23358 * sysvipc/msgctl.c: Likewise.
23359 * sysvipc/msgget.c: Likewise.
23360 * sysvipc/msgrcv.c: Likewise.
23361 * sysvipc/msgsnd.c: Likewise.
23362 * sysvipc/semctl.c: Likewise.
23363 * sysvipc/semget.c: Likewise.
23364 * sysvipc/semop.c: Likewise.
23365 * sysvipc/semtimedop.c: Likewise.
23366 * sysvipc/shmat.c: Likewise.
23367 * sysvipc/shmctl.c: Likewise.
23368 * sysvipc/shmdt.c: Likewise.
23369 * sysvipc/shmget.c: Likewise.
23370 * termios/tcdrain.c: Likewise.
23371 * termios/tcflow.c: Likewise.
23372 * termios/tcflush.c: Likewise.
23373 * termios/tcgetattr.c: Likewise.
23374 * termios/tcgetpgrp.c: Likewise.
23375 * termios/tcsendbrk.c: Likewise.
23376 * termios/tcsetattr.c: Likewise.
23377 * termios/tcsetpgrp.c: Likewise.
23378 * time/adjtime.c: Likewise.
23379 * time/clock.c: Likewise.
23380 * time/getitimer.c: Likewise.
23381 * time/gettimeofday.c: Likewise.
23382 * time/setitimer.c: Likewise.
23383 * time/settimeofday.c: Likewise.
23384 * time/stime.c: Likewise.
23385 * time/time.c: Likewise.
23387 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23389 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23392 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23394 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23396 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23400 FE_TONEAREST before applying Dekker multiplication and Knuth
23401 addition. Clear inexact exceptions and check for exact zero
23402 results afterwards.
23403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23406 * math/libm-test.inc (fma_test): Add more tests.
23407 (fma_test_towardzero): Likewise.
23408 (fma_test_downward): Likewise.
23409 (fma_test_upward): Likewise.
23410 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23412 (libc_fesetround): New macro.
23413 (libc_fesetroundf): Likewise.
23414 (libc_fesetroundl): Likewise.
23415 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23417 (libc_fesetround_387): Likewise.
23418 (libc_fesetroundf): New macro.
23419 (libc_fesetround): Likewise.
23420 (libc_fesetroundl): Likewise.
23421 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23423 (libc_fesetroundf): New macro.
23424 (libc_fesetround): Likewise.
23425 (libc_fesetroundl): Likewise.
23426 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23427 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23428 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23430 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23431 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23433 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23434 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23436 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23440 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23441 integer constant usable in #if and use that to give value to enum
23443 (FE_DIVBYZERO): Likewise.
23444 (FE_UNDERFLOW): Likewise.
23445 (FE_OVERFLOW): Likewise.
23446 (FE_INVALID): Likewise.
23447 (FE_INVALID_SNAN): Likewise.
23448 (FE_INVALID_ISI): Likewise.
23449 (FE_INVALID_IDI): Likewise.
23450 (FE_INVALID_ZDZ): Likewise.
23451 (FE_INVALID_IMZ): Likewise.
23452 (FE_INVALID_COMPARE): Likewise.
23453 (FE_INVALID_SOFTWARE): Likewise.
23454 (FE_INVALID_SQRT): Likewise.
23455 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23456 (FE_TONEAREST): Likewise.
23457 (FE_TOWARDZERO): Likewise.
23458 (FE_UPWARD): Likewise.
23459 (FE_DOWNWARD): Likewise.
23460 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23461 (FE_DIVBYZERO): Likewise.
23462 (FE_OVERFLOW): Likewise.
23463 (FE_UNDERFLOW): Likewise.
23464 (FE_INEXACT): Likewise.
23465 (FE_TONEAREST): Likewise.
23466 (FE_DOWNWARD): Likewise.
23467 (FE_UPWARD): Likewise.
23468 (FE_TOWARDZERO): Likewise.
23469 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23470 (FE_UNDERFLOW): Likewise.
23471 (FE_OVERFLOW): Likewise.
23472 (FE_DIVBYZERO): Likewise.
23473 (FE_INVALID): Likewise.
23474 (FE_TONEAREST): Likewise.
23475 (FE_TOWARDZERO): Likewise.
23476 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23477 (FE_OVERFLOW): Likewise.
23478 (FE_UNDERFLOW): Likewise.
23479 (FE_DIVBYZERO): Likewise.
23480 (FE_INEXACT): Likewise.
23481 (FE_TONEAREST): Likewise.
23482 (FE_TOWARDZERO): Likewise.
23483 (FE_UPWARD): Likewise.
23484 (FE_DOWNWARD): Likewise.
23485 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23486 (FE_DIVBYZERO): Likewise.
23487 (FE_OVERFLOW): Likewise.
23488 (FE_UNDERFLOW): Likewise.
23489 (FE_INEXACT): Likewise.
23490 (FE_TONEAREST): Likewise.
23491 (FE_DOWNWARD): Likewise.
23492 (FE_UPWARD): Likewise.
23493 (FE_TOWARDZERO): Likewise.
23495 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23497 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23499 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23501 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23502 commands. Quote $PWD.
23503 (blacklist_exports): Don't use remove_newlines. Replace "declare
23505 (remove_newlines): Remove.
23507 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23509 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23510 * stdlib/stdlib.h (atof): Moved to ...
23511 * include/bits/stdlib-float.h: Here. New file.
23512 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23513 * stdlib/bits/stdlib-float.h: New file.
23514 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23519 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23521 * conform/conformtest.pl (@headers): Add fenv.h.
23522 * conform/data/fenv.h-data: New file.
23523 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23524 include of <math/fenv.h>.
23526 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23527 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23528 && !UNIX98]. Enables tests for XOPEN2K8.
23529 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23530 POSIX2008]: Likewise.
23532 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23533 (struct rusage): Do not expect type or its members.
23536 * math/math.h (FP_NAN): Define macro to integer constant usable in
23537 #if and use that to give value to enum constant.
23538 (FP_INFINITE): Likewise.
23539 (FP_ZERO): Likewise.
23540 (FP_SUBNORMAL): Likewise.
23541 (FP_NORMAL): Likewise.
23543 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23545 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23546 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23549 2012-11-02 Roland McGrath <roland@hack.frob.com>
23551 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23552 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23553 autoconf-time if not.
23554 * configure.in: Remove AC_PREREQ.
23556 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23558 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23559 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23560 of the internal implementation.
23562 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23564 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23565 except include of <misc/sys/syslog.h>.
23567 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23570 function returns with a NULL context exit with zero.
23572 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23574 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23576 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23578 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23579 (run_program_cmd): This.
23580 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23581 (tst_langinfo): New variable. Use it.
23583 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23585 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23586 floating point opcodes.
23588 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23590 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23593 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23595 * sysdeps/mach/hurd/powerpc: Remove directory.
23596 * sysdeps/mach/powerpc: Likewise.
23598 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23600 * scripts/check-local-headers.sh: Ignore c++ headers.
23602 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23604 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23605 __libc_cleanup_region_start argument.
23607 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23612 x * y using scaling, not as x * y + z.
23613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23615 * math/libm-test.inc (fma_test): Add more tests.
23616 (fma_test_towardzero): Likewise.
23617 (fma_test_downward): Likewise.
23618 (fma_test_upward): Likewise.
23620 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23622 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23624 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23626 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23629 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23631 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23633 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23640 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23643 Fix the order of the list for glibc 2.17.
23644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23647 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23651 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23655 for low part of x being zero before using __atanl (y).
23656 * math/libm-test.inc (atan2_test): Add another test.
23658 * manual/install.texi (Configuring and compiling): Document
23659 general use of test-wrapper and test-wrapper-env.
23660 * INSTALL: Regenerated.
23662 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23663 (__fma): Do not extract and scale down low bits on after-rounding
23664 systems when result rounded to normal precision would have normal
23666 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23667 (__fmal): Do not extract and scale down low bits on after-rounding
23668 systems when result rounded to normal precision would have normal
23670 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23671 (__fmal): Do not extract and scale down low bits on after-rounding
23672 systems when result rounded to normal precision would have normal
23674 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23676 (fma_test): Add more tests.
23677 (fma_test_towardzero): Likewise.
23678 (fma_test_downward): Likewise.
23679 (fma_test_upward): Likewise.
23681 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23683 * sysdeps/i386/tininess.h: Renamed to ...
23684 * sysdeps/x86/tininess.h: This.
23685 * sysdeps/x86_64/tininess.h: Removed.
23687 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23689 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23690 input. Use $(build-program-cmd).
23691 ($(objpfx)tst-array1-static.out): Likewise.
23692 ($(objpfx)tst-array2.out): Likewise.
23693 ($(objpfx)tst-array3.out): Likewise.
23694 ($(objpfx)tst-array4.out): Likewise.
23695 ($(objpfx)tst-array5.out): Likewise.
23696 ($(objpfx)tst-array5-static.out): Likewise.
23698 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23700 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23703 * nss/nsswitch.h (nss_interface_function): Provide new
23704 macro for use with NSS functions.
23705 * grp/initgroups.c: Use new macro.
23706 * nss/getXXbyYY.c: Likewise.
23707 * nss/getXXbyYY_r.c: Likewise.
23708 * nss/getXXent.c: Likewise.
23709 * nss/getXXent_r.c: Likewise.
23710 * sysdeps/posix/getaddrinfo.c: Likewise.
23712 2012-10-30 Andreas Jaeger <aj@suse.de>
23714 * po/ru.po: Update Russion translation from translation project.
23716 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23721 result and shift together with sticky bit instead of replicating
23722 round-to-nearest rounding.
23723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23725 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23726 missing underflow exceptions.
23727 (fma_test_towardzero): Add more tests.
23728 (fma_test_downward): Likewise.
23729 (fma_test_upward): Likewise.
23732 * sysdeps/generic/tininess.h: New file.
23733 * sysdeps/i386/tininess.h: Likewise.
23734 * sysdeps/sh/tininess.h: Likewise.
23735 * sysdeps/x86_64/tininess.h: Likewise.
23736 * stdlib/tst-strtod-underflow.c: Likewise.
23737 * stdlib/tst-tininess.c: Likewise.
23738 * stdlib/strtod_l.c: Include <tininess.h>.
23739 (round_and_return): Do not set errno for exact underflow cases.
23740 Force an underflow exception when setting errno for underflow.
23741 Determine underflow based on rounding to normal precision if
23742 TININESS_AFTER_ROUNDING.
23743 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23744 ERANGE for exact underflow cases.
23745 * stdlib/Makefile (tests): Add tst-tininess and
23746 tst-strtod-underflow.
23747 ($(objpfx)tst-tininess): Use $(link-libm).
23748 ($(objpfx)tst-strtod-underflow): Likewise.
23750 2012-10-30 Andreas Jaeger <aj@suse.de>
23753 * elf/Makefile (tests): Remove conditional for have-initfini-array
23754 since this is now always required and the variable does not exist
23756 (tests-static): Likewise.
23757 (modules-names): Likewise.
23759 * po/eo.po: Add Esperanto translation from translation project.
23761 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23762 merged with constructor/destructor.
23763 (init_array): Likewise.
23764 * elf/tst-array2dep.c (fini_array): Likewise.
23765 (init_array): Likewise.
23767 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23769 * manual/message.texi: Delete @cartouche tags.
23771 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23773 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23775 * sysdeps/mach/hurd/fsync.c: Likewise.
23777 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23778 [_POSIX_REALTIME_SIGNALS]: Change condition to
23779 [_POSIX_REALTIME_SIGNALS > 0].
23781 2012-10-27 Andreas Jaeger <aj@suse.de>
23783 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23784 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23786 [__WORDSIZE != 64]: Likewise.
23788 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23790 * iconvdata/tst-table.sh: Remove ${SHELL}.
23791 * iconvdata/tst-tables.sh: Likewise.
23793 2012-10-25 David S. Miller <davem@davemloft.net>
23795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23796 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23802 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23803 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23806 2012-10-25 Roland McGrath <roland@hack.frob.com>
23808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23809 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23812 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23813 Jim Blandy <jimb@codesourcery.com>
23815 * scripts/cross-test-ssh.sh: New file.
23816 * manual/install.texi (Configuring and compiling): Document use of
23818 * INSTALL: Regenerated.
23820 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23822 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23825 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23827 * Makeconfig (run-program-prefix): Fix comment.
23829 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23830 Jim Blandy <jimb@codesourcery.com>
23832 * Makeconfig (test-wrapper): New variable,
23833 (test-wrapper-env): Likewise.
23834 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23835 (run-built-tests): Define to yes.
23836 (run-program-prefix): Use $(test-wrapper).
23837 (built-program-cmd): Likewise.
23838 * Rules (make-test-out): Use $(test-wrapper-env) and
23839 $(host-built-program-cmd).
23840 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23841 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23843 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23844 $(test-wrapper-env) to tst-rtld-load-self.sh.
23845 ($(objpfx)order2.out): Use $(test-wrapper).
23846 ($(objpfx)tst-initorder.out): Likewise.
23847 ($(objpfx)tst-initorder2.out): Likewise.
23848 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23849 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23850 (test_wrapper_env): New variable. Use it to run ld.so.
23851 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23852 Use it to run ld.so.
23853 (test_wrapper_env): Likewise.
23854 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23855 $(test-wrapper) to run-iconv-test.sh.
23856 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23857 (ICONV): Use $test_wrapper.
23858 * posix/Makefile ($(objpfx)globtest.out): Pass
23859 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23860 globtest.sh, not $(run-program-prefix).
23861 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23862 (test_wrapper): Likewise.
23863 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23864 set together with run_via_rtld_prefix.
23865 (run_program_prefix): Define in terms of test_wrapper and
23866 run_via_rtld_prefix.
23868 2012-10-24 Roland McGrath <roland@hack.frob.com>
23870 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23871 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23875 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23876 Declare __clock_getres, __clock_gettime, __clock_settime,
23877 __clock_nanosleep, and __clock_getcpuclockid.
23878 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23879 Remove librt_hidden_def (clock_gettime).
23880 * sysdeps/unix/clock_gettime.c: Likewise.
23881 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23883 * rt/clock_getres.c: Define __clock_getres as an alias.
23884 * sysdeps/posix/clock_getres.c: Likewise.
23885 * rt/clock_settime.c: Define __clock_settime as an alias.
23886 * sysdeps/unix/clock_settime.c: Likewise.
23887 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23888 * sysdeps/unix/clock_nanosleep.c: Likewise.
23889 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23890 * rt/clock-compat.c: New file.
23891 * rt/Makefile (librt-routines): Add clock-compat and move
23892 $(clock-routines) to ...
23893 (routines): ... here, new variable.
23894 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23895 Don't add get_clockfreq here.
23896 * rt/Versions (libc: GLIBC_2.17): New version set.
23897 Add clock_* symbols here.
23898 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23900 (GLIBC_2.17): Add clock_* symbols.
23901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23912 * NEWS: Mention the move.
23914 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23915 Use __open, __read, __close rather than their public counterparts.
23916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23917 (__get_clockfreq_via_cpuinfo): Likewise.
23918 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23919 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23921 * config.h.in (HAVE_IFUNC): New #undef.
23922 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23924 * configure: Regenerated.
23926 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23928 * configure.in: Move READELF check to start of file.
23929 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23930 libc_cv_asm_gnu_indirect_function in the process.
23931 * configure: Regenerated.
23933 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23935 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23936 send the output to /dev/null.
23937 (libc_cv_cc_with_libunwind): Likewise.
23938 (libc_cv_as_noexecstack): Likewise.
23939 * configure: Regenerate.
23941 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23943 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23945 * posix/globtest.sh (TMPDIR): Do not set.
23946 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23947 (testout): Likewise.
23949 2012-10-24 Andreas Jaeger <aj@suse.de>
23951 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23952 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23953 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23954 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23955 posix_fadvise64, posix_fallocate64.
23957 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23958 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23959 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23961 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23963 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23966 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23967 <bits/fcntl-linux.h>.
23968 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23971 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23972 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23973 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23974 [__WORDSIZE != 64]: Likewise.
23976 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23978 * Makeconfig (run-built-tests): New variable.
23979 * Rules [$(cross-compiling) = yes]: Change condition to
23980 [$(run-built-tests) = no].
23981 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23982 to [$(run-built-tests) = yes].
23983 * elf/Makefile [$(cross-compiling) = no]: Likewise
23984 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23985 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23986 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23987 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23988 * io/Makefile [$(cross-compiling) = no]: Likewise.
23989 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23990 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23991 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23992 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23993 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23994 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23995 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23996 * string/Makefile [$(cross-compiling) = no]: Likewise.
23998 * posix/Makefile ($(objpfx)globtest.out): Pass
23999 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24000 $(rtld-installed-name).
24001 * posix/globtest.sh (elf_objpfx): Remove variable.
24002 (rtld_installed_name): Likewise.
24003 (library_path): Likewise.
24004 (run_program_prefix): New variable. Use for running globtest
24007 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24008 Joseph Myers <joseph@codesourcery.com>
24010 * Makeconfig (host-built-program-cmd): New variable.
24011 * elf/Makefile (tst-stackguard1-ARGS): Use
24012 $(host-built-program-cmd).
24013 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24014 (tst-spawn-ARGS): Likewise.
24015 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24017 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24018 Jim Blandy <jimb@codesourcery.com>
24020 * Makeconfig (run-via-rtld-prefix): New variable.
24021 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24022 (built-program-cmd): Likewise.
24024 2012-10-22 Andreas Jaeger <aj@suse.de>
24026 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24027 __O_RSYNC if it exists, otherwise to O_SYNC.
24029 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24030 Joseph Myers <joseph@codesourcery.com>
24032 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24034 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24036 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24039 2012-10-22 Andreas Jaeger <aj@suse.de>
24041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24046 bits/fcntl-linux.h.
24048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24049 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24056 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24057 Joseph Myers <joseph@codesourcery.com>
24059 * config.make.in (NM): New variable.
24061 2012-10-21 Andreas Jaeger <aj@suse.de>
24063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24064 definitions and declarations that are provided by
24065 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24067 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24070 * elf/Makefile (tests-static): Add tst-leaks1-static.
24071 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24072 ($(objpfx)tst-leaks1-static): New rule.
24073 ($(objpfx)tst-leaks1-static-mem): Likewise.
24074 (tst-leaks1-static-ENV): New macro.
24075 * elf/dl-open.c (dl_open_worker): Check the main application
24076 only if SHARED is defined.
24077 * elf/tst-leaks1-static.c: New file.
24079 2012-10-20 Andreas Jaeger <aj@suse.de>
24081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24082 generic values for Linux.
24083 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24084 and declarations that are provided by <bits/fcntl-linux.h> and
24085 include <bits/fcntl-linux.h>.
24086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24089 2012-10-20 Roland McGrath <roland@hack.frob.com>
24091 * io/fcntl.h: Move include of <bits/types.h> to the top and
24092 include it unconditionally.
24094 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24096 * wcsmbs/Makefile (tests-ifunc): New variable.
24097 (tests): Add $(tests-ifunc).
24098 * wcsmbs/test-wcschr-ifunc.c: New file.
24099 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24100 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24101 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24102 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24103 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24105 * string/Makefile (tests-ifunc): New variable.
24106 (tests): Add $(tests-ifunc).
24107 * string/test-memccpy.c (TEST_NAME): New macro.
24108 * string/test-memchr.c (TEST_NAME): Likewise.
24109 * string/test-memcmp.c (TEST_NAME): Likewise.
24110 * string/test-memcpy.c (TEST_NAME): Likewise.
24111 * string/test-memmem.c (TEST_NAME): Likewise.
24112 * string/test-memmove.c (TEST_NAME): Likewise.
24113 * string/test-memset.c (TEST_NAME): Likewise.
24114 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24115 * string/test-stpcpy.c (TEST_NAME): Likewise.
24116 * string/test-stpncpy.c (TEST_NAME): Likewise.
24117 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24118 * string/test-strcasestr.c (TEST_NAME): Likewise.
24119 * string/test-strcat.c (TEST_NAME): Likewise.
24120 * string/test-strchr.c (TEST_NAME): Likewise.
24121 * string/test-strcmp.c(TEST_NAME): Likewise.
24122 * string/test-strcpy.c (TEST_NAME): Likewise.
24123 * string/test-strcspn.c (TEST_NAME): Likewise.
24124 * string/test-strlen.c (TEST_NAME): Likewise.
24125 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24126 * string/test-strncmp.c (TEST_NAME): Likewise.
24127 * string/test-strncpy.c (TEST_NAME): Likewise.
24128 * string/test-strnlen.c (TEST_NAME): Likewise.
24129 * string/test-strpbrk.c (TEST_NAME): Likewise.
24130 * string/test-strrchr.c (TEST_NAME): Likewise.
24131 * string/test-strspn.c (TEST_NAME): Likewise.
24132 * string/test-strstr.c (TEST_NAME): Likewise.
24133 * string/test-bcopy-ifunc.c: New file.
24134 * string/test-bzero-ifunc.c: Likewise.
24135 * string/test-memccpy-ifunc.c: Likewise.
24136 * string/test-memchr-ifunc.c: Likewise.
24137 * string/test-memcmp-ifunc.c: Likewise.
24138 * string/test-memcpy-ifunc.c: Likewise.
24139 * string/test-memmem-ifunc.c: Likewise.
24140 * string/test-memmove-ifunc.c: Likewise.
24141 * string/test-mempcpy-ifunc.c: Likewise.
24142 * string/test-memset-ifunc.c: Likewise.
24143 * string/test-rawmemchr-ifunc.c: Likewise.
24144 * string/test-stpcpy-ifunc.c: Likewise.
24145 * string/test-stpncpy-ifunc.c: Likewise.
24146 * string/test-strcasecmp-ifunc.c: Likewise.
24147 * string/test-strcasestr-ifunc.c: Likewise.
24148 * string/test-strcat-ifunc.c: Likewise.
24149 * string/test-strchr-ifunc.c: Likewise.
24150 * string/test-strchrnul-ifunc.c: Likewise.
24151 * string/test-strcmp-ifunc.c: Likewise.
24152 * string/test-strcpy-ifunc.c: Likewise.
24153 * string/test-strcspn-ifunc.c: Likewise.
24154 * string/test-strlen-ifunc.c: Likewise.
24155 * string/test-strncasecmp-ifunc.c: Likewise.
24156 * string/test-strncat-ifunc.c: Likewise.
24157 * string/test-strncmp-ifunc.c: Likewise.
24158 * string/test-strncpy-ifunc.c: Likewise.
24159 * string/test-strnlen-ifunc.c: Likewise.
24160 * string/test-strpbrk-ifunc.c: Likewise.
24161 * string/test-strrchr-ifunc.c: Likewise.
24162 * string/test-strspn-ifunc.c: Likewise.
24163 * string/test-strstr-ifunc.c: Likewise.
24165 * debug/Makefile (tests-ifunc): New variable.
24166 (tests): Add $(tests-ifunc).
24167 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24168 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24169 * debug/test-stpcpy_chk-ifunc.c: New file.
24170 * debug/test-strcpy_chk-ifunc.c: Likewise.
24172 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24175 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24176 header is not read in.
24178 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24180 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24181 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24182 directly. Pass built executable to script as
24183 $(built-program-cmd).
24184 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24185 $testprogram without using LD_LIBRARY_PATH and $ldso.
24187 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24188 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24189 $(rtld-installed-name).
24190 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24191 (rtld_installed_name): Likewise.
24192 (library_path): Likewise.
24193 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24194 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24195 $(run-program-prefix) to tst-tables.sh.
24196 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24197 it to run tst-table-from and tst-table-to.
24198 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24199 Pass it to tst-table.sh.
24200 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24201 $(run-program-prefix) to tst-gettext.sh.
24202 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24204 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24206 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24207 to run tst-gettext.
24208 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24209 to run tst-gettext2.
24210 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24211 to run tst-translit.
24212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24213 $(run-program-prefix) to tst-mtrace.sh.
24214 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24216 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24217 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24218 $(rtld-installed-name).
24219 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24220 (rtld_installed_name): Likewise.
24221 (run_program_prefix): New variable. Use it to run wordexp-test.
24223 * Makeconfig (ARCH): Remove all definitions.
24224 (machine): Likewise.
24225 [ARCH]: Remove conditional code.
24226 [!objdir]: Give error.
24227 [!objdir] (objpfx): Remove.
24228 [!objdir] (common-objpfx): Likewise.
24229 [!objdir] (common-objdir): Likewise.
24230 * configure.in (config_makefile): Remove. Hardcode Makefile in
24231 AC_CONFIG_FILES call.
24232 * configure: Regenerated.
24235 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24237 (testout): Likewise.
24239 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24240 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24241 $(rtld-installed-name).
24242 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24243 (rtld_installed_name): Likwise.
24244 (runit): Remove function.
24245 (run_getconf): New variable, Use it for running getconf binary.
24247 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24250 * string/test-memmem.c (check_result): New function.
24251 (do_one_test): Use it.
24252 (check1): New function.
24253 (test_main): Use it.
24255 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24257 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24259 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24261 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24262 (_G_LSEEK64): Likewise.
24263 (_G_MMAP64): Likewise.
24264 (_G_FSTAT64): Likewise.
24265 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24266 (_G_LSEEK64): Likewise.
24267 (_G_MMAP64): Likewise.
24268 (_G_FSTAT64): Likewise.
24269 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24270 unconditional. Call __mmap64 directly.
24271 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24272 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24273 __lseek64 directly.
24274 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24275 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24277 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24278 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24279 __lseek64 directly.
24280 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24281 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24282 __lseek64 directly.
24283 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24284 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24285 __lseek64 directly.
24286 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24287 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24288 __fxstat64 directly.
24289 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24290 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24292 (freopen64) [!_G_OPEN64]: Remove conditional code.
24293 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24295 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24296 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24298 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24299 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24301 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24302 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24304 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24305 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24307 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24308 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24310 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24311 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24313 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24315 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24318 * manual/memory.texi (Malloc Tunable Parameters): Add note
24319 about free list pointers overwriting some perturb bytes.
24320 Wording suggested by Roland McGrath.
24322 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24324 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24325 (lgamma_test): Likewise.
24326 (tgamma_test): Likewise.
24328 2012-10-16 Florian Weimer <fweimer@redhat.com>
24331 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24332 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24334 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24336 * NEWS: Mention BZ #14716.
24337 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24338 when removing AVAILABLE1_USES_J macro.
24340 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24342 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24343 (__bswap_64): __uint64_t for unsigned 64-bit int.
24345 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24347 * include/string.h (memmem): Declare libc hidden alias.
24348 * string/memmem.c (memmem): Define libc hidden alias.
24349 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24350 __read, __close instead of open, read, close.
24352 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24355 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24357 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24358 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24359 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24361 (__rawmemchr_sse2): Likewise.
24362 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24363 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24364 (__strchr_sse2): Likewise.
24365 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24366 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24367 (__strcasecmp_sse2): Likewise.
24368 (__strncasecmp_sse2): Likewise.
24369 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24370 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24371 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24372 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24373 (__strrchr_sse2): Likewise.
24374 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24376 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24377 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24378 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24379 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24380 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24382 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24383 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24384 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24385 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24386 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24387 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24388 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24389 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24390 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24391 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24392 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24393 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24394 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24395 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24396 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24397 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24398 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24399 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24400 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24401 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24402 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24403 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24404 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24405 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24409 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24410 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24411 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24412 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24414 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24416 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24417 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24418 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24419 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24421 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24439 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24448 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24455 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24457 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24458 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24459 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24460 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24461 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24463 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24464 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24465 * include/ifunc-impl-list.h: New file.
24466 * misc/ifunc-impl-list.c: Likewise.
24467 * misc/Makefile (routines): Add ifunc-impl-list.
24468 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24469 * string/test-string.h: Include <ifunc-impl-list.h>.
24470 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24471 TEST_NAME]: New variables.
24472 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24474 (test_init): Call __libc_ifunc_impl_list to initialize
24475 func_list if TEST_IFUNC and TEST_NAME are defined.
24477 * string/Makefile (strop-tests): Add bcopy and bzero.
24478 * string/test-bcopy.c: New file.
24479 * string/test-bzero.c: Likewise.
24480 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24482 * string/test-memset.c: Support bzero test if TEST_BZERO is
24484 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24486 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24488 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24491 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24493 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24494 * configure: Regenerated.
24496 * Makeconfig (+link-static-before-libc): Don't include
24497 $(link-static-libc).
24499 * libio/libio.h (_IO_pos_t): Remove.
24501 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24503 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24506 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24508 * crypt/crypt-entry.c: Include fips-private.h.
24509 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24510 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24511 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24512 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24514 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24516 * crypt/crypt-private.h: Include stdbool.h.
24517 (_ufc_setup_salt_r): Return bool.
24518 * crypt/crypt-entry.c: Include errno.h.
24519 (__crypt_r): Return NULL with EINVAL for bad salt.
24520 * crypt/crypt_util.c (bad_for_salt): New.
24521 (_ufc_setup_salt_r): Check that salt is long enough and within
24522 the specified alphabet.
24523 * crypt/badsalttest.c: New file.
24524 * crypt/Makefile (tests): Add it.
24525 ($(objpfx)badsalttest): New.
24527 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24529 * NEWS: Add entry for BZ #14602.
24531 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24533 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24535 * math/libm-test.inc: Update comment listing what functions and
24537 (isgreater_test): New function.
24538 (isgreaterequal_test): Likewise.
24539 (isless_test): Likewise.
24540 (islessequal_test): Likewise.
24541 (islessgreater_test): Likewise.
24542 (isunordered_test): Likewise.
24543 (main): Call the new functions.
24545 2012-10-09 Roland McGrath <roland@hack.frob.com>
24547 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24548 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24549 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24550 * sysdeps/i386/configure: Regenerated.
24551 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24552 * sysdeps/mach/configure: Regenerated.
24553 * sysdeps/mach/hurd/configure: Regenerated.
24554 * sysdeps/powerpc/configure: Regenerated.
24555 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24556 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24557 * sysdeps/s390/s390-32/configure: Regenerated.
24558 * sysdeps/s390/s390-64/configure: Regenerated.
24559 * sysdeps/sh/configure: Regenerated.
24560 * sysdeps/sparc/configure: Regenerated.
24561 * sysdeps/unix/sysv/linux/configure: Regenerated.
24562 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24563 * sysdeps/x86_64/configure: Regenerated.
24565 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24566 defined. Don't check if MAP is NULL.
24568 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24570 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24571 (_G_stat64): Likewise.
24572 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24573 (_G_stat64): Likewise.
24574 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24575 instead of struct _G_stat64.
24576 * libio/fileops.c (mmap_remap_check): Likewise.
24577 (decide_maybe_mmap): Likewise.
24578 (_IO_new_file_seekoff): Likewise.
24579 (_IO_file_stat): Likewise.
24580 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24582 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24583 instead of struct _G_stat64.
24584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24586 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24589 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24591 (CHECK_EOL): New macro.
24592 (two_way_short_needle): Check beginning of haystack for EOL. Use
24594 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24595 Replace with CHECK_EOL.
24596 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24597 Replace with CHECK_EOL.
24599 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24601 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24603 * math/libm-test.inc: Update comment listing what functions and
24605 (finite_test): New function.
24606 (isinf_test): Likewise.
24607 (isnan_test): Likewise.
24608 (fpclassify_test): Test subnormal input.
24609 (isfinite_test): Likewise.
24610 (isnormal_test): Likewise.
24611 (main): Call the new functions.
24613 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24616 * Makerules (%.dynsym): Force C locale when running
24617 $(OBJDUMP) --dynamic-syms.
24619 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24621 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24624 2012-10-06 David S. Miller <davem@davemloft.net>
24626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24627 upper 32-bits of the length value in %o2 since we use branch-on-register
24628 tests which consider the entire 64-bit register.
24630 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24632 * string/test-strstr.c (check2): Add a test for page boundary.
24634 2012-10-05 David S. Miller <davem@davemloft.net>
24636 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24637 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24639 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24642 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24643 and bzero when HWCAP_SPARC_CRYPTO is present.
24645 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24648 * string/test-strstr.c (check2): New function.
24649 (test_main): Call check2.
24651 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24653 * string/bug-strcasestr1.c (do_test): Moved to ...
24654 * string/test-strcasestr.c (check1): Here. New function.
24655 (do_one_test): Break out result checking code into ...
24656 (check_result): This. New function.
24657 (do_one_test): Call check_result.
24658 (test_main): Call check1.
24659 * string/bug-strchr1.c (do_test): Moved to ...
24660 * string/test-strchr.c (check1): Here. New function.
24661 (do_one_test): Break out result checking code into ...
24662 (check_result): This. New function.
24663 (do_one_test): Call check_result.
24664 (test_main): Call check1.
24665 * string/bug-strstr1.c (main): Moved to ...
24666 * string/test-strstr.c (check1): Here. New function.
24667 (do_one_test): Break out result checking code into ...
24668 (check_result): This. New function.
24669 (do_one_test): Call check_result.
24670 (test_main): Call check1.
24671 * string/bug-strcasestr1.c: Removed.
24672 * string/bug-strchr1.c: Likewise.
24673 * string/bug-strstr1.c: Likewise.
24675 * elf/Makefile (dl-routines): Add hwcaps.
24676 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24677 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24678 (_dl_important_hwcaps): Moved to ...
24679 * elf/dl-hwcaps.c: Here. New file.
24680 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24683 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24684 if IS_IN_rtld isn't defined.
24686 * elf/dl-support.c (_dl_sysinfo_map): New.
24687 Include "get-dynamic-info.h" and "setup-vdso.h".
24688 (_dl_non_dynamic_init): Call setup_vdso.
24689 * elf/dynamic-link.h: Don't include <assert.h>.
24690 (elf_get_dynamic_info): Moved to ...
24691 * elf/get-dynamic-info.h: Here. New file.
24692 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24693 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24694 * elf/setup-vdso.h: Here. New file.
24695 * elf/rtld.c: Include "setup-vdso.h".
24696 (dl_main): Call setup_vdso.
24698 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24700 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24701 creal in comment listing functions tested. List finite, isinf,
24702 isnan, isless, islessequal, isgreater, isgreaterequal,
24703 islessgreater, isunordered, lgamma_r and pow10 as functions and
24704 macros not tested. Mention which functions not tested are aliases
24705 for other functions. Fix typo. Note that signs of NaNs are not
24708 * scripts/config.guess: Update from config.git.
24709 * scripts/config.sub: Likewise.
24711 2012-10-04 Roland McGrath <roland@hack.frob.com>
24713 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24714 * misc/madvise.c (madvise): Renamed to __madvise.
24715 Make madvise a weak alias.
24716 * include/sys/mman.h: Declare __madvise.
24717 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24718 * sysdeps/unix/syscalls.list
24719 (madvise): Make __madvise the strong name, and madvise a weak alias.
24720 * sysdeps/unix/sysv/linux/syscalls.list
24721 (madvise, mmap): Remove redundant entries.
24722 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24723 * malloc/malloc.c (mtrim): Likewise.
24724 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24726 2012-10-03 Roland McGrath <roland@hack.frob.com>
24728 * sysdeps/mach/hurd/dl-cache.c: File removed.
24729 * config.h.in (USE_LDCONFIG): New #undef.
24730 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24731 * configure: Regenerated.
24732 * elf/Makefile (dl-routines): Add dl-cache only under
24733 [$(use-ldconfig) = yes].
24734 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24735 cache on [USE_LDCONFIG].
24736 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24738 * elf/rtld.c (dl_main): Likewise.
24740 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24742 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24743 _SC_LEVEL4_CACHE_LINESIZE.
24745 2012-10-03 Roland McGrath <roland@hack.frob.com>
24747 * sysdeps/unix/bsd/confstr.h: File removed.
24749 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24751 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24754 2012-10-02 Roland McGrath <roland@hack.frob.com>
24756 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24757 Make 'mapoff' field ElfW(Off) rather than off_t.
24759 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24761 * nscd/Makefile: Remove nscd-cflags and all its users.
24762 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24763 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24766 * malloc.c (malloc_printerr): Clarify error message.
24768 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24772 Set bit_FMA_Usable if FMA is supported.
24773 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24775 (bit_FMA4_Usable): Updated.
24776 (index_FMA_Usable): New macro.
24777 (CPUID_FMA): Likewise
24778 (HAS_FMA): Defined with bit_FMA_Usable.
24780 2012-10-01 Roland McGrath <roland@hack.frob.com>
24782 * bits/types.h (__swblk_t): Type removed.
24783 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24784 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24786 (__SWBLK_T_TYPE): Likewise.
24787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24788 (__SWBLK_T_TYPE): Likewise.
24789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24790 (__SWBLK_T_TYPE): Likewise.
24791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24792 (__SWBLK_T_TYPE): Likewise.
24794 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24795 Honza Horak <hhorak@redhat.com>
24797 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24798 (xdr_mapname): Use YPMAXMAP as maxsize.
24799 (xdr_peername): Use YPMAXPEER as maxsize.
24800 (xdr_keydat): Use YPAXRECORD as maxsize.
24801 (xdr_valdat): Use YPMAXRECORD as maxsize.
24803 2012-10-01 Roland McGrath <roland@hack.frob.com>
24805 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24807 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24808 * csu/init-first.c: ... here.
24809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24810 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24811 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24812 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24813 * sysdeps/i386/init-first.c: File removed.
24814 * sysdeps/sh/init-first.c: File removed.
24816 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24820 if x * y might underflow to zero and z is zero.
24821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24823 * math/libm-test.inc (min_subnorm_value): New variable.
24824 (fma_test): Add more tests.
24825 (fma_test_towardzero): Likewise.
24826 (fma_test_downward): Likewise
24827 (fma_test_upward): Likewise.
24828 (initialize): Set min_subnorm_value.
24830 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24836 mode for addition resulting in exact zero.
24837 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24840 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24842 * math/libm-test.inc (fma_test): Add more tests.
24843 (fma_test_towardzero): New function.
24844 (fma_test_downward): Likewise.
24845 (fma_test_upward): Likewise.
24846 (main): Call the new functions.
24848 2012-09-28 David S. Miller <davem@davemloft.net>
24850 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24852 2012-09-28 Roland McGrath <roland@hack.frob.com>
24854 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24855 instead of SIGALRM.
24857 * sysdeps/gnu/_G_config.h: Moved to ...
24858 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24859 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24860 * sysdeps/generic/_G_config.h: ... here.
24862 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24864 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24866 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24867 Conditionalize target on [libnss_test1.so-version].
24869 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24871 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24872 (elfobjdir): Move out of conditionals.
24874 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24875 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24876 (__nss_lookup_function): Conditionalize label remove_from_tree on
24877 [!DO_STATIC_NSS || SHARED], matching its only use.
24879 2012-09-28 David S. Miller <davem@davemloft.net>
24881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24882 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24884 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24886 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24888 when HWCAP_SPARC_CRYPTO is present.
24890 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24892 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24894 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24897 * stdio-common/vfprintf.c (process_string_arg): Revert
24900 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24902 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24904 * stdio-common/tst-sprintf.c: Include <locale.h>
24905 (main): Test sprintf's handling of incomplete multibyte
24908 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24910 * elf/dl-runtime.c (VERSYMIDX): Removed.
24911 * elf/dl-version.c (VERSYMIDX): Likewise.
24912 * elf/do-rel.h (VERSYMIDX): Likewise.
24913 (VALIDX): Likewise.
24914 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24915 * elf/rtld.c (VALIDX): Likewise.
24916 (ADDRIDX): Likewise.
24917 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24918 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24919 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24920 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24921 (VALIDX): Likewise.
24922 (ADDRIDX): Likewise.
24924 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24926 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24928 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24931 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24933 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24934 addresses are in the same scope as 192.0.2/24.
24935 * posix/gai.conf: Document new scope table defaults.
24937 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24940 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24941 for ftell. Compute offsets from write pointers instead.
24942 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24944 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24947 * libio/Makefile (tests): New test case tst-fseek.
24948 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24949 combination works in wide mode.
24950 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24951 state when the external buffer state changes.
24953 2012-09-27 David S. Miller <davem@davemloft.net>
24956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24957 pass reloc->r_addend in as the 'high' argument to
24958 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24962 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24964 * rt/tst-aio2.c: Include <pthread.h>.
24965 * rt/tst-aio3.c: Likewise.
24967 2012-09-27 Steve Ellcey <sellcey@mips.com>
24969 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24971 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24973 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24974 contents on [SHARED].
24976 2012-09-26 Marek Polacek <polacek@redhat.com>
24980 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24981 for C++ and GCC <4.3 as well as for non GCC compilers.
24983 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24987 2012-09-25 Roland McGrath <roland@hack.frob.com>
24989 * Makefile.in (all, install): Declare with .PHONY.
24990 Reported by Michael Hope <michael.hope@linaro.org>.
24992 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24994 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24995 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24997 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24999 (sydep_routines): Add the new and the internal functions.
25000 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25001 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25003 (GLIBC_2.17): Add the new function.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25005 (GLIBC_2.17): Likewise.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25007 (GLIBC_2.17): Likewise.
25008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25009 (GLIBC_2.17): Likewise.
25010 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25012 2012-09-25 Alan Modra <amodra@gmail.com>
25014 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25015 Add release barrier before setting once_control to say
25016 initialisation is done. Add hints on lwarx. Use macro in
25018 (clear_once_control): Add release barrier.
25020 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25023 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25025 * math/s_clog10.c (__clog10): Likewise.
25026 * math/s_clog10f.c (__clog10f): Likewise.
25027 * math/s_clog10l.c (__clog10l): Likewise.
25028 * math/s_clogf.c (__clogf): Likewise.
25029 * math/s_clogl.c (__clogl): Likewise.
25030 * math/Makefile (libm-calls): Add x2y2m1.
25031 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25032 (__x2y2m1): Likewise.
25033 (__x2y2m1l): Likewise.
25034 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25035 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25037 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25038 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25039 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25040 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25041 * sysdeps/i386/fpu/libm-test-ulps: Update.
25042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25046 int as type of variable DEPTH.
25047 (glob): Use size_t instead of int as type of variables NEWCOUNT
25050 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25052 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25053 Add s_sincosf-sse2.
25054 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25055 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25056 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25057 macros for using routine as __sincosf_ia32.
25058 Use macro for function declaration and weak_alias.
25059 * sysdeps/i386/fpu/libm-test-ulps: Update.
25061 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25064 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25065 subnormal argument.
25066 * math/s_cexpf.c (__cexpf): Likewise.
25067 * math/s_csinf.c (__csinf): Likewise.
25068 * math/s_csinhf.c (__csinhf): Likewise.
25069 * math/s_ctanf.c (__ctanf): Likewise.
25070 * math/s_ctanhf.c (__ctanhf): Likewise.
25071 * math/s_ccosh.c (__ccoshf): Likewise.
25072 * math/s_cexp.c (__cexpl): Likewise.
25073 * math/s_csin.c (__csin): Likewise.
25074 * math/s_csinh.c (__csinh): Likewise.
25075 * math/s_ctan.c (__ctan): Likewise.
25076 * math/s_ctanh.c (ctanh): Likewise.
25077 * math/s_ccoshl.c (__ccoshl): Likewise.
25078 * math/s_cexpl.c (__cexpl): Likewise.
25079 * math/s_csinl.c (__csinl): Likewise.
25080 * math/s_csinhl.c (__csinhl): Likewise.
25081 * math/s_ctanl.c (__ctanl): Likewise.
25082 * math/s_ctanhl.c (__ctanhl): Likewise.
25084 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25086 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25087 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25088 (_IO_off_t): Define to __off_t, not _G_off_t.
25089 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25090 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25091 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25092 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25093 type of __dummy and __dummy2 fields.
25094 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25095 (_G_ssize_t): Likewise.
25096 (_G_off_t): Likewise.
25097 (_G_pid_t): Likewise.
25098 (_G_uid_t): Likewise.
25099 (_G_wchar_t): Likewise.
25100 (_G_wint_t): Likewise.
25101 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25102 (_G_ssize_t): Likewise.
25103 (_G_off_t): Likewise.
25104 (_G_pid_t): Likewise.
25105 (_G_uid_t): Likewise.
25106 (_G_wchar_t): Likewise.
25107 (_G_wint_t): Likewise.
25108 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25109 (_G_ssize_t): Likewise.
25110 (_G_off_t): Likewise.
25111 (_G_pid_t): Likewise.
25112 (_G_uid_t): Likewise.
25113 (_G_wchar_t): Likewise.
25114 (_G_wint_t): Likewise.
25116 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25118 * malloc/arena.c: Include malloc-sysdep.h.
25119 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25120 is sufficient to shrink the heap or an unmap is needed.
25121 * sysdeps/generic/malloc-sysdep.h: New file. Define
25122 new function check_may_shrink_heap.
25123 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25124 new function check_may_shrink_heap.
25126 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25128 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25131 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25133 * catgets/test-gencat.sh: Add "set -e".
25134 * elf/tst-pathopt.sh: Likewise.
25135 * grp/tst_fgetgrent.sh: Likewise.
25136 * iconvdata/run-iconv-test.sh: Likewise.
25137 * intl/tst-gettext.sh: Likewise.
25138 * intl/tst-gettext2.sh: Likewise.
25139 * intl/tst-gettext4.sh: Likewise.
25140 * intl/tst-gettext6.sh: Likewise.
25141 * intl/tst-translit.sh: Likewise.
25142 * io/ftwtest-sh: Likewise.
25143 * libio/test-freopen.sh: Likewise.
25144 * malloc/tst-mtrace.sh: Likewise.
25145 * posix/globtest.sh: Likewise.
25146 * posix/tst-getconf.sh: Likewise.
25147 * posix/wordexp-tst.sh: Likewise.
25148 * stdio-common/tst-printf.sh: Likewise.
25149 * stdio-common/tst-unbputc.sh: Likewise.
25150 * stdlib/tst-fmtmsg.sh: Likewise.
25151 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25152 * catgets/Makefile: Do not specify -e option when running
25153 testsuite shell scripts.
25154 * elf/Makefile: Likewise.
25155 * grp/Makefile: Likewise.
25156 * iconvdata/Makefile: Likewise.
25157 * intl/Makefile: Likewise.
25158 * io/Makefile: Likewise.
25159 * libio/Makefile: Likewise.
25160 * malloc/Makefile: Likewise.
25161 * posix/Makefile: Likewise.
25162 * stdio-common/Makefile: Likewise.
25163 * stdlib/Makefile: Likewise.
25164 * sysdeps/x86_64/Makefile: Likewise.
25166 * io/ftwtest-sh: Add copyright header.
25167 * posix/globtest.sh: Likewise.
25168 * posix/tst-getconf.sh: Likewise.
25169 * posix/wordexp-tst.sh: Likewise.
25170 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25172 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25175 * Makeconfig (+link): Defined as $(+link-static) if
25176 $(build-shared) isn't yes.
25177 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25179 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25181 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25184 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25185 new chunk size with MALLOC_ALIGN_MASK.
25187 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25190 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25192 (__printf_fphex): Determine rounding using get_rounding_mode and
25194 * stdio-common/tst-printf-round.c (struct hex_test): New
25196 (hex_tests): New variable.
25197 (test_hex_in_one_mode): New function.
25198 (do_test): Also run tests for hex float output.
25200 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25202 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25203 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25204 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25205 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25206 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25207 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25208 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25209 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25211 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25213 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25214 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25215 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25216 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25218 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25221 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25223 * elf/tst-rtld-load-self.sh: New test.
25224 * elf/Makefile: Run it.
25226 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25228 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25229 (tst-writev-ENV): Remove.
25230 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25232 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25234 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25236 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25238 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25240 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25242 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25243 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25244 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25247 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25250 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25251 * config.make.in (have-cpp-asm-debuginfo): Removed.
25252 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25253 * configure: Regenerated.
25255 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25258 * stdio-common/printf_fp.c: Include <stdbool.h> and
25260 (___printf_fp): Determine rounding using get_rounding_mode and
25262 * stdio-common/tst-printf-round.c: New file.
25263 * stdio-common/Makefile (tests): Add tst-printf-round.
25264 (link-libm): New variable.
25265 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25267 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25270 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25271 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25273 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25276 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25278 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25279 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25280 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25281 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25283 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25286 * include/rounding-mode.h: New file.
25287 * sysdeps/generic/get-rounding-mode.h: Likewise.
25288 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25289 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25290 (MAX_VALUE): New macro.
25291 (MIN_VALUE): Likewise.
25292 (overflow_value): New function.
25293 (underflow_value): Likewise.
25294 (round_and_return): Use overflow_value and underflow_value to
25295 determine return values in overflow and underflow cases. Use
25296 round_away to determine rounding depending on rounding mode.
25297 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25298 determine return values in overflow and underflow cases.
25299 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25300 (struct test_results): New structure.
25301 (struct test): Use struct test_results to store expected results
25302 for all rounding modes.
25303 (TEST): Include expected results for all rounding modes.
25304 (test_in_one_mode): New function.
25305 (do_test): Use test_in_one_mode to compute and check results.
25306 Check results for all rounding modes.
25307 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25310 2012-12-09 Allan McRae <allan@archlinux.org>
25312 * sysdeps/i386/fpu/libm-test-ulps: Update
25314 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25316 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25317 (_G_int32_t): Likewise.
25318 (_G_uint16_t): Likewise.
25319 (_G_uint32_t): Likewise.
25320 (_G_HAVE_BOOL): Likewise.
25321 (_G_HAVE_ATEXIT): Likewise.
25322 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25323 (_G_HAVE_IO_FILE_OPEN): Likewise.
25324 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25325 (_G_int32_t): Likewise.
25326 (_G_uint16_t): Likewise.
25327 (_G_uint32_t): Likewise.
25328 (_G_HAVE_BOOL): Likewise.
25329 (_G_HAVE_ATEXIT): Likewise.
25330 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25331 (_G_HAVE_IO_FILE_OPEN): Likewise.
25332 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25333 (_G_int32_t): Likewise.
25334 (_G_uint16_t): Likewise.
25335 (_G_uint32_t): Likewise.
25336 (_G_HAVE_BOOL): Likewise.
25337 (_G_HAVE_ATEXIT): Likewise.
25338 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25339 (_G_HAVE_IO_FILE_OPEN): Likewise.
25341 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25343 * csu/libc-tls.c: Update copyright years.
25345 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25347 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25348 [!_G_USING_THUNKS]: Remove conditional code.
25349 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25350 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25352 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25353 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25354 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25355 (_G_VTABLE_LABEL_PREFIX): Likewise.
25356 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25357 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25358 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25359 (_G_VTABLE_LABEL_PREFIX): Likewise.
25360 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25361 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25363 (_G_VTABLE_LABEL_PREFIX): Likewise.
25364 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25366 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25368 * libio/Makefile: Include ../Makeconfig before tests.
25369 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25370 only if $(build-shared) is yes.
25372 * iconv/gconv_db.c: Update copyright years.
25374 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25376 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25377 unwind info if defined PIC. Fix special cases description.
25378 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25380 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25382 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25384 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25386 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25388 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25391 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25392 (LDLIBS-tst-chk4): This.
25393 (LDFLAGS-tst-chk5): Renamed to ...
25394 (LDLIBS-tst-chk5): This.
25395 (LDFLAGS-tst-chk6): Renamed to ...
25396 (LDLIBS-tst-chk6): This.
25397 (LDFLAGS-tst-lfschk4): Renamed to ...
25398 (LDLIBS-tst-lfschk4): This.
25399 (LDFLAGS-tst-lfschk5): Renamed to ...
25400 (LDLIBS-tst-lfschk5): This.
25401 (LDFLAGS-tst-lfschk6): Renamed to ...
25402 (LDLIBS-tst-lfschk6): This.
25404 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25405 on $(common-objpfx)soversions.mk.
25407 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25410 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25413 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25415 * malloc/arena.c (arena_get_retry): New function that gets
25416 another arena for the caller to try its request on.
25417 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25418 current arena cannot fulfill the request.
25419 (__libc_memalign): Likewise.
25420 (__libc_memalign): Likewise.
25421 (__libc_pvalloc): Likewise.
25422 (__libc_calloc): Likewise.
25424 2012-09-05 John Tobey <john.tobey@gmail.com>
25427 * manual/arith.texi (Operations on Complex): Fix description
25428 of carg branch cut.
25430 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25433 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25437 * manual/memory.texi (Memory): Make order of menu items match
25440 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25442 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25443 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25444 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25446 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25448 * csu/libc-tls.c (static_dtv): Renamed to ...
25449 (_dl_static_dtv): This. Make it global.
25450 (_dl_initial_dtv): Removed.
25451 (__libc_setup_tls): Updated.
25452 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25453 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25456 2012-09-06 Petr Machata <pmachata@redhat.com>
25458 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25459 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25460 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25461 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25463 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25466 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25467 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25470 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25473 * Makeconfig (link-static-before-libc): Replace $(+prector)
25475 (link-static-after-libc): Replace $(+postctor) with
25477 (link-bounded): Replace $(+prector)/$(+postctor) with
25478 $(+prectorT)/$(+postctorT).
25479 (+prectorT): New macro.
25480 (+postctorT): Likewise.
25482 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25484 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25485 (round_str): Handle values above the maximum for IBM long double
25487 * stdlib/tst-strtod-round.c (tests): Regenerated.
25489 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25491 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25493 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25494 zarch_nohighgprs around the zarch optimized routines.
25495 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25496 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25500 2012-09-05 David S. Miller <davem@davemloft.net>
25502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25504 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25505 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25506 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25507 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25510 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25512 * malloc/arena.c: Fold copyright years.
25513 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25515 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25517 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25519 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25521 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25523 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25525 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25526 change internal state upon failure.
25528 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25530 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25531 * malloc/memusage.c (mmap): Likewise.
25532 (mmap64, mremap): Likewise. Adjust name in comment.
25534 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25536 * libio/fileops.c: Fix typos in comments.
25537 * libio/oldfileops.c: Likewise.
25538 * libio/wfileops.c: Likewise.
25540 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25543 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25544 (tst-malloc-usable-ENV): Set environment for test case.
25545 * malloc/hooks.c (malloc_check_get_size): New function to get
25547 * malloc/malloc.c (musable): Use malloc_check_get_size.
25548 * malloc/tst-malloc-usable.c: New test case.
25550 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25552 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25554 2012-09-05 Allan McRae <allan@archlinux.org>
25557 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25558 determine header location.
25559 * configure: Regenerated.
25561 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25563 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25565 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25566 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25568 (test): Regenerate.
25570 2012-09-04 David S. Miller <davem@davemloft.net>
25572 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25573 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25576 2012-09-04 Florian Weimer <fweimer@redhat.com>
25578 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25581 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25583 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25586 * libio/iogetdelim.c: Include <limits.h>.
25587 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25588 + len + 1 would overflow.
25590 2012-09-03 Andreas Jaeger <aj@suse.de>
25592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25593 * sysdeps/i386/fpu/libm-test-ulps: Update.
25595 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25597 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25598 Add s_sinf-sse2, s_conf-sse2.
25600 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25601 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25602 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25603 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25605 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25606 for using routine as __sinf_ia32.
25607 Use macro for function declaration and weak_alias.
25608 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25609 for using routine as __cosf_ia32.
25610 Use macro for function declaration and weak_alias.
25612 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25613 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25615 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25616 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25619 * math/libm-test.inc (cos_test): Add more test cases.
25620 (sin_test): Likewise.
25621 (sincos_test): Likewise.
25623 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25625 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25626 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25628 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25630 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25633 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25634 first element of the GOT.
25635 (elf_machine_load_address): Return the difference between
25636 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25638 2012-09-01 Allan McRae <allan@archlinux.org>
25641 * configure.in (AWK): Require gawk version 3.0 or later.
25642 * configure: Regenerated.
25644 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25646 * sysdeps/unix/sysv/linux/kernel-features.h
25647 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25648 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25649 [__NR_clock_getres]: Make code unconditional.
25650 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25651 (clock_getcpuclockid): Remove code left unreachable by removal of
25653 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25654 code unconditional.
25655 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25656 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25657 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25658 Make code unconditional.
25659 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25660 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25661 * sysdeps/unix/sysv/linux/clock_settime.c
25662 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25664 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25665 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25667 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25670 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25671 scripts/test-installation.pl.
25673 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25674 and $ld_so_version if it is set.
25676 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25680 failure if reading from procfs failed.
25681 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25683 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25685 * sysdeps/unix/sysv/linux/kernel-features.h
25686 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25687 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25688 Remove conditional code.
25689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25690 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25691 Remove conditional code.
25692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25693 * sysdeps/unix/sysv/linux/i386/fxstat.c
25694 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25696 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25697 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25699 * sysdeps/unix/sysv/linux/i386/lxstat.c
25700 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25702 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25703 Remove conditional code.
25704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25705 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25706 Remove conditional code.
25707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25708 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25709 <kernel-features.h>.
25710 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25712 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25713 Remove conditional code.
25714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25715 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25716 Remove conditional.
25718 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25721 * NEWS: Add fixed bug number.
25723 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25726 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25727 underflowing exponent in case of negative sign.
25728 * stdlib/tst-strtod-round-data: Add more tests.
25729 * stdlib/tst-strtod-round.c (tests): Regenerated.
25732 * stdlib/strtod_l.c (NDIG): Remove.
25733 (HEXNDIG): Likewise.
25734 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25735 smallest representable value.
25736 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25737 lie within an exact representation of 1/2 ulp of the result.
25738 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25740 (TENS_P9_IDX): Define unconditionally.
25741 (TENS_P9_SIZE): Likewise.
25742 (TENS_P10_IDX): Likewise.
25743 (TENS_P10_SIZE): Likewise.
25744 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25745 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25746 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25747 entries for 10^2^13 and 10^2^14.
25748 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25749 (TENS_P13_IDX): Define.
25750 (TENS_P13_SIZE): Likewise.
25751 (TENS_P14_IDX): Likewise.
25752 (TENS_P14_SIZE): Likewise.
25753 (_fpioconst_pow10): Change array size to
25754 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25756 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25757 1024]: Add entries for 10^2^13 and 10^2^14.
25758 [LAST_POW10 > _LAST_POW10]: Remove #error.
25759 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25760 (_fpioconst_pow10): Change array size to
25761 FPIOCONST_POW10_ARRAY_SIZE.
25762 * stdlib/gen-fpioconst.c: New file.
25763 * stdlib/gen-tst-strtod-round.c: Likewise.
25764 * stdlib/tst-strtod-round-data: Likewise.
25765 * stdlib/tst-strtod-round.c: Likewise.
25766 * stdlib/Makefile (tests): Add tst-strtod-round.
25769 * stdlib/strtod_l.c: Include <stdint.h>.
25770 (NDEBUG): Do not define.
25771 (round_and_return): Change EXPONENT parameter to type intmax_t.
25772 Rearrange calculations to avoid internal overflow possibilities.
25773 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25774 Rearrange calculations to avoid internal overflow possibilities.
25775 Assert that number fits inside MPNSIZE limbs.
25776 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25777 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25778 calculations and add assertions to avoid internal overflow
25779 possibilities. Add casts to avoid signed/unsigned operations.
25780 * stdlib/tst-strtod-overflow.c: New file.
25781 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25783 2012-08-25 Marek Polacek <polacek@redhat.com>
25785 * time/time.h: Fix some typos in comments.
25787 2012-08-23 Roland McGrath <roland@hack.frob.com>
25789 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25790 * posix/tst-rfc3484-2.c: Likewise.
25791 * posix/tst-rfc3484-3.c: Likewise.
25793 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25795 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25796 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25798 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25800 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25801 #include of fxstatat64.c.
25803 2012-08-22 Roland McGrath <roland@hack.frob.com>
25805 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25806 * shadow/getspent_r.c: Likewise.
25807 * shadow/getspnam.c: Likewise.
25808 * shadow/getspnam_r.c: Likewise.
25809 * gshadow/getsgent.c: Likewise.
25810 * gshadow/getsgent_r.c: Likewise.
25811 * gshadow/getsgnam.c: Likewise.
25812 * gshadow/getsgnam_r.c: Likewise.
25813 * inet/getnetbyad.c: Likewise.
25814 * inet/getnetbyad_r.c: Likewise.
25815 * inet/getnetbynm.c: Likewise.
25816 * inet/getnetbynm_r.c: Likewise.
25817 * inet/getnetent.c: Likewise.
25818 * inet/getnetent_r.c: Likewise.
25819 * inet/getproto.c: Likewise.
25820 * inet/getproto_r.c: Likewise.
25821 * inet/getprtent.c: Likewise.
25822 * inet/getprtent_r.c: Likewise.
25823 * inet/getprtname.c: Likewise.
25824 * inet/getprtname_r.c: Likewise.
25825 * inet/getrpcbyname.c: Likewise.
25826 * inet/getrpcbyname_r.c: Likewise.
25827 * inet/getrpcbynumber.c: Likewise.
25828 * inet/getrpcbynumber_r.c: Likewise.
25829 * inet/getrpcent.c: Likewise.
25830 * inet/getrpcent_r.c: Likewise.
25831 * inet/getaliasent.c: Likewise.
25832 * inet/getaliasent_r.c: Likewise.
25833 * inet/getaliasname.c: Likewise.
25834 * inet/getaliasname_r.c: Likewise.
25835 * nscd/getgrgid_r.c: Likewise.
25836 * nscd/getgrnam_r.c: Likewise.
25837 * nscd/gethstbyad_r.c: Likewise.
25838 * nscd/gethstbynm3_r.c: Likewise.
25839 * nscd/getpwnam_r.c: Likewise.
25840 * nscd/getpwuid_r.c: Likewise.
25841 * nscd/getsrvbynm_r.c: Likewise.
25842 * nscd/getsrvbypt_r.c: Likewise.
25843 * nscd/gai.c: Likewise.
25845 * configure.in (build_nscd): New substituted variable, set
25846 by --disable-build-nscd and defaults to $use_nscd.
25847 * configure: Regenerated.
25848 * config.make.in (build-nscd): New substituted variable.
25849 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25850 Change conditional to require [$(build-nscd) = yes] as well.
25851 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25854 * configure.in (use_nscd): New substituted variable, set by
25855 --disable-nscd. If enabled, define USE_NSCD.
25856 * configure: Regenerated.
25857 * config.h.in: Add USE_NSCD.
25858 * config.make.in (use-nscd): New substituted variable.
25859 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25860 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25861 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25862 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25863 (CFLAGS-getgrnam_r.c): Likewise.
25864 (CFLAGS-initgroups.c): Likewise.
25865 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25866 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25868 * inet/getnetgrent_r.c
25869 (nscd_setnetgrent): New function, broken out of ...
25870 (setnetgrent): ... here. Call it.
25871 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25872 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25873 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25874 * nscd/Makefile (routines, aux): Move definitions after include of
25875 Makeconfig. Conditionalize on [$(use-nscd) != no].
25876 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25877 Conditionalize on [USE_NSCD].
25878 (is_nscd, nscd_init_cb): Likewise.
25879 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25880 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25881 * nss/nss_db/db-init.c: Likewise.
25882 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25884 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25885 (make_request): Use it.
25886 (cache_valid_p): New function.
25887 (__check_pf): Use it.
25888 * NEWS: Add item for --disable-nscd.
25890 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25892 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25893 to support sed >= 4.2.1-20-ga9bf076.
25894 * configure: Regenerated.
25896 2012-08-22 Roland McGrath <roland@hack.frob.com>
25898 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25899 Conditionalize whole body on [IREL].
25901 2012-08-22 Jeff Law <law@redhat.com>
25904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25905 if the family is PF_UNSPEC.
25907 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25909 * Makerules (lib-version): Rename from V.
25910 (install-lib-nosubdir): Change V to lib-version.
25912 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25915 * powerpc32/power6/wcschr.c: New file.
25916 * powerpc32/power6/wcscpy.c: New file.
25917 * powerpc32/power6/wcsrchr.c: New file.
25918 * powerpc64/power6/wcschr.c: New file.
25919 * powerpc64/power6/wcscpy.c: New file.
25920 * powerpc64/power6/wcsrchr.c: New file.
25922 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25924 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25925 (two_way_short_needle): Use it.
25926 * string/strstr.c (AVAILABLE1_USES_J): Define.
25927 * string/strcasestr.c: Likewise.
25929 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25931 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25934 * NEWS: Add an entry.
25935 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25936 define their defaults.
25937 (two_way_short_needle): Detect end-of-string on-the-fly.
25938 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25939 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25940 * string/bug-strcasestr1.c: New test.
25941 * string/Makefile: Run it.
25943 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25946 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25947 the first character.
25949 2012-08-21 Roland McGrath <roland@hack.frob.com>
25951 * csu/elf-init.c (__libc_csu_irel): Function removed.
25952 * csu/libc-start.c (apply_irel): New function.
25953 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25955 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25957 * sysdeps/unix/sysv/linux/kernel-features.h
25958 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25959 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25960 <kernel-features.h>.
25961 [__NR_fadvise64_64]: Make code unconditional.
25962 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25963 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25964 !__NR_fadvise64_64)]: Likewise.
25965 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25966 !__NR_fadvise64_64))]: Likewise.
25967 [__NR_fadvise64]: Make code unconditional.
25968 [!__NR_fadvise64]: Remove conditional code.
25969 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25970 <kernel-features.h>.
25971 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25973 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25976 not include <kernel-features.h>.
25977 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25979 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25981 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25982 include <kernel-features.h>.
25983 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25985 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25988 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25991 slight instruction rearrangements per scrollpipe analysis.
25992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25994 2012-08-20 Roland McGrath <roland@hack.frob.com>
25996 * manual/syslog.texi (syslog; vsyslog, closelog):
25997 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25998 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26000 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26001 DSOCAPS to match condition on defining it.
26003 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26005 * sysdeps/unix/sysv/linux/kernel-features.h
26006 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26008 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26009 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26011 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26012 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26014 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26015 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26017 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26018 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26020 * sysdeps/unix/sysv/linux/kernel-features.h
26021 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26022 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26024 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26025 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26026 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26027 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26028 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26029 Make code unconditional.
26030 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26031 (__mmap64) [!__NR_mmap2]: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26033 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26034 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26035 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26036 [__NR_mmap2]: Make code unconditional.
26037 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26038 (__mmap64) [!__NR_mmap2]: Likewise.
26040 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26042 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26044 2012-08-18 Andreas Jaeger <aj@suse.de>
26046 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26048 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26050 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26051 * include/unistd.h (__have_sock_cloexec): Likewise.
26052 (__have_pipe2): Likewise.
26053 (__have_dup3): Likewise.
26055 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26058 * include/unistd.h (__have_pipe2): Change define into an extern int.
26059 (__have_dup3): Likewise.
26060 * socket/have_sock_cloexec.c: Include fcntl.h.
26061 (__have_pipe2): New variable.
26062 (__have_dup3): Likewise.
26064 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26066 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26068 2012-08-17 Marek Polacek <polacek@redhat.com>
26070 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26071 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26073 2012-08-17 Roland McGrath <roland@hack.frob.com>
26075 * configure.in: Add AC_SUBST for sysheaders.
26076 * configure: Regenerated.
26077 * config.make.in (sysheaders): New substituted variable.
26079 * sysdeps/unix/mkfifo.c: Moved ...
26080 * sysdeps/posix/mkfifo.c: ... here.
26081 * sysdeps/unix/mkfifoat.c: Moved ...
26082 * sysdeps/posix/mkfifoat.c: ... here.
26084 * sysdeps/unix/utime.c: Moved ...
26085 * sysdeps/posix/utime.c: ... here.
26087 * sysdeps/unix/time.c: Moved ...
26088 * sysdeps/posix/time.c: ... here.
26089 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26090 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26092 * sysdeps/unix/nice.c: Moved ...
26093 * sysdeps/posix/nice.c: ... here.
26095 * sysdeps/unix/alarm.c: Moved ...
26096 * sysdeps/posix/alarm.c: ... here.
26098 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26100 2012-08-17 Jeff Law <law@redhat.com>
26102 * intl/Makefile (codeset_mo): New variable.
26103 ($(codeset_mo)): New target.
26104 (tst-codeset.out): Depend on that. Remove explicit rule.
26105 (tst-gettext3.out, tst-gettext5.out): Likewise.
26106 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26107 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26108 * intl/tst-codeset.sh: Remove.
26109 * intl/tst-gettext3.sh: Likewise.
26110 * intl/tst-gettext5.sh: Likewise.
26112 2012-08-17 Roland McGrath <roland@hack.frob.com>
26114 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26115 * sysdeps/unix/syscalls.list: ... here.
26117 * sysdeps/posix/getaddrinfo.c
26118 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26119 (gaiconf_init, gaiconf_reload): Use them.
26120 [!_STATBUF_ST_NSEC]
26121 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26122 Define using time_t rather than struct timespec.
26124 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26125 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26127 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26129 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26130 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26133 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26134 __libc_cleanup_push argument.
26136 * bits/param.h: New file.
26137 * misc/sys/param.h: New file.
26138 * include/sys/param.h: New file.
26139 * misc/Makefile (headers): Add bits/param.h.
26140 * sysdeps/generic/sys/param.h: File removed.
26141 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26142 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26143 * sysdeps/mach/hurd/bits/param.h: New file.
26144 * sysdeps/mach/hurd/sys/param.h: File removed.
26146 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26149 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26151 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26152 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26155 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26156 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26157 rather than -D_IO_MTSAFE_IO conditionally.
26158 * stdio-common/Makefile (CPPFLAGS): Likewise.
26159 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26160 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26161 Use $(libio-mtsafe).
26162 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26163 of -D_IO_MTSAFE_IO.
26164 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26165 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26166 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26167 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26168 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26169 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26170 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26171 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26172 (CFLAGS-fread_u_chk.c): Likewise.
26173 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26174 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26175 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26176 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26177 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26178 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26179 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26180 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26181 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26183 * libio/Makefile: Test [$(libc-reentrant) = yes]
26184 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26187 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26188 * sysdeps/pthread/configure: File removed.
26189 * sysdeps/pthread/Makeconfig: New file.
26190 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26191 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26193 2012-08-16 Gary Benson <gbenson@redhat.com>
26195 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26196 unmapping the first object in a namespace.
26198 2012-08-16 Roland McGrath <roland@hack.frob.com>
26200 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26201 (__internal_setnetgrent): ... this. Add internal_function to
26202 definition. Add libc_hidden_def.
26203 (setnetgrent): Update caller.
26204 (internal_endnetgrent): Renamed to ...
26205 (__internal_endnetgrent): ... this. Add internal_function to
26206 definition. Add libc_hidden_def.
26207 (endnetgrent): Update caller.
26208 (internal_getnetgrent_r): Renamed to ...
26209 (__internal_getnetgrent_r): ... this. Add internal_function to
26210 definition. Add libc_hidden_def.
26211 (__getnetgrent_r): Update caller.
26212 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26214 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26216 * stdlib/longlong.h: Update from GCC.
26218 2012-08-16 Roland McGrath <roland@hack.frob.com>
26220 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26221 on _QL, which is set by umul_ppmm but never used.
26222 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26223 variables, which are set by GMP macros but never used.
26224 * stdio-common/_itowa.c (_itowa): Likewise.
26225 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26226 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26228 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26230 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26231 struct La_sh_regs is not constant.
26232 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26233 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26234 and struct La_sparc64_regs are not constant.
26236 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26238 * sysdeps/unix/sysv/linux/kernel-features.h
26239 (__ASSUME_POSIX_TIMERS): Remove.
26240 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26242 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26243 Make code unconditional.
26244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26245 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26246 Make code unconditional.
26247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26248 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26249 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26251 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26252 Make code unconditional.
26253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26254 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26255 (__libc_missing_posix_timers): Remove.
26257 2012-08-15 Roland McGrath <roland@hack.frob.com>
26259 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26260 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26262 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26264 * elf/dl-sym.c: Include <stdlib.h>.
26266 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26267 constants, which avoids warnings in 32-bit builds.
26269 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26270 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26272 * misc/lseek.c: File moved to ...
26273 * io/lseek.c: ... here.
26275 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26277 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26278 shifting LEN more than 31 bits at once.
26280 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26283 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26284 segmentation fault for a case of two empty input strings.
26285 * string/test-strncasecmp.c (check1): Renamed to...
26286 (bz12205): ...this.
26287 (bz14195): Add new testcase for two empty input strings and N > 0.
26288 (test_main): Call new testcase, adapt for renamed function.
26290 2012-08-15 Andreas Jaeger <aj@suse.de>
26293 * crypt/md5test2.c: New test, based on test supplied by Serge
26294 Belyshev <belyshev@depni.sinp.msu.ru>.
26295 * crypt/Makefile (xtests): Add md5test-giant..
26296 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26298 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26301 * crypt/md5.c (md5_process_block): Don't assume the buffer
26302 length is less than 2**32.
26303 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26304 length is less than 2**64.
26306 2012-08-15 Roland McGrath <roland@hack.frob.com>
26308 * string/str-two-way.h: Include <sys/param.h>.
26309 (MAX): Macro removed.
26311 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26312 Move #define and #undef of memmove to just before and after
26313 including <string.h>.
26315 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26316 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26317 and after including <string.h>. Move declarations of
26318 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26319 to before #include "string/memmove.c".
26321 * include/dirent.h: Declare __getdirentries.
26323 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26324 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26326 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26328 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26329 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26330 * sysdeps/i386/configure: Regenerated.
26331 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26332 STABS_CURRENT_FILE, and STABS_FUN.
26333 (END): Remove call to STABS_FUN_END.
26334 (STABS_CURRENT_FILE1): Delete.
26335 (STABS_CURRENT_FILE): Likewise.
26336 (STABS_FUN): Likewise.
26337 (STABS_FUN_END): Likewise.
26338 (STABS_FUN2): Likewise.
26339 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26340 * sysdeps/x86_64/configure: Regenerated.
26342 2012-08-14 Roland McGrath <roland@hack.frob.com>
26344 * elf/dl-open.c: Include <atomic.h>.
26345 * elf/dl-lookup.c: Likewise.
26347 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26349 * sysdeps/unix/sysv/linux/kernel-features.h
26350 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26351 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26353 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26355 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26356 condition on __ASSUME_CLONE_THREAD_FLAGS.
26358 2012-08-14 Andreas Jaeger <aj@suse.de>
26360 * sysdeps/i386/fpu/libm-test-ulps: Update.
26362 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26364 * include/atomic.h (atomic_exchange_and_add): Split into ...
26365 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26368 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26372 2012-08-13 Jeff Law <law@redhat.com>
26374 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26375 null byte in the output string.
26377 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26379 * sysdeps/unix/sysv/linux/kernel-features.h
26380 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26381 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26382 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26384 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26385 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26386 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26388 2012-08-09 Jeff Law <law@redhat.com>
26391 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26392 When avoid_arena is set, don't retry in the that arena. Pick the
26393 next one, whatever it might be.
26394 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26395 (arena_lock): Pass in new parameter to arena_get2.
26396 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26398 (__libc_malloc): Unify retrying after main arena failure with
26399 __libc_memalign version.
26400 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26402 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26405 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26406 to __redirect_strstr.
26407 (__strstr_sse42): Use typeof __redirect_strstr.
26408 (__strstr_ia32): Likewise.
26409 (__libc_strstr): New prototype.
26410 (strstr): Renamed to ...
26411 (__libc_strstr): This.
26412 (strstr): New strong alias of __libc_strstr.
26413 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26414 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26417 (__libc_time): New prototype.
26418 (time_ifunc): Replace time with __libc_time.
26419 (time): New strong alias and hidden definition of __libc_time.
26420 (__GI_time): Remove strong alias.
26421 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26422 Include <stddef.h>.
26423 (memmove): Redefined to __redirect_memmove.
26424 (__memmove_sse2): Use typeof __redirect_memmove.
26425 (__memmove_ssse3): Likewise.
26426 (__memmove_ssse3_back): Likewise.
26427 (__libc_memmove): New prototype.
26428 (memmove): Renamed to ...
26429 (__libc_memmove): This.
26430 (memmove): New strong alias of __libc_memmove.
26432 2012-08-08 Mark Salter <msalter@redhat.com>
26435 (R_MN10300_TLS_GD): Define.
26436 (R_MN10300_TLS_LD): Likewise.
26437 (R_MN10300_TLS_LDO): Likewise.
26438 (R_MN10300_TLS_GOTIE): Likewise.
26439 (R_MN10300_TLS_IE): Likewise.
26440 (R_MN10300_TLS_LE): Likewise.
26441 (R_MN10300_TLS_DTPMOD): Likewise.
26442 (R_MN10300_TLS_DTPOFF): Likewise.
26443 (R_MN10300_TLS_TPOFF): Likewise.
26444 (R_MN10300_SYM_DIFF): Likewise.
26445 (R_MN10300_ALIGN): Likewise.
26446 (R_MN10300_NUM): Update.
26448 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26453 2012-08-08 Roland McGrath <roland@hack.frob.com>
26455 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26457 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26458 sysdeps/unix -> sysdeps/posix move.
26459 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26461 2012-08-07 Allan McRae <allan@archlinux.org>
26464 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26465 (SUNOS_CPP): Likewise.
26466 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26468 (open_input): Call CPP using execvp.
26470 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26472 * sysdeps/unix/sysv/linux/kernel-features.h
26473 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26474 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26475 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26476 (__ASSUME_WAITID_SYSCALL): Likewise.
26477 * sysdeps/unix/sysv/linux/dl-execstack.c
26478 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26479 code unconditional.
26480 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26482 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26483 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26484 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26486 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26488 [__ASSUME_WAITID_SYSCALL]: Likewise.
26489 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26491 2012-08-07 Roland McGrath <roland@hack.frob.com>
26493 * sysdeps/unix/closedir.c: Renamed to ...
26494 * sysdeps/posix/closedir.c: ... here.
26495 * sysdeps/unix/dirfd.c: Renamed to ...
26496 * sysdeps/posix/dirfd.c: ... here.
26497 * sysdeps/unix/dirstream.h: Renamed to ...
26498 * sysdeps/posix/dirstream.h: ... here.
26499 * sysdeps/unix/fdopendir.c: Renamed to ...
26500 * sysdeps/posix/fdopendir.c: ... here.
26501 * sysdeps/unix/opendir.c: Renamed to ...
26502 * sysdeps/posix/opendir.c: ... here.
26503 * sysdeps/unix/readdir.c: Renamed to ...
26504 * sysdeps/posix/readdir.c: ... here.
26505 * sysdeps/unix/readdir_r.c: Renamed to ...
26506 * sysdeps/posix/readdir_r.c: ... here.
26507 * sysdeps/unix/rewinddir.c: Renamed to ...
26508 * sysdeps/posix/rewinddir.c: ... here.
26509 * sysdeps/unix/seekdir.c: Renamed to ...
26510 * sysdeps/posix/seekdir.c: ... here.
26511 * sysdeps/unix/telldir.c: Renamed to ...
26512 * sysdeps/posix/telldir.c: ... here.
26513 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26514 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26515 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26516 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26518 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26519 * bits/fcntl.h: ... here.
26521 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26523 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26524 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26525 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26526 (struct flock): Move l_start, l_len to the beginning.
26527 Use __pid_t for l_pid.
26528 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26529 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26530 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26531 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26532 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26533 [__USE_LARGEFILE64] (struct flock64): New type.
26534 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26536 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26537 * bits/dirent.h: ... here.
26539 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26540 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26542 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26545 Change from 2.6.0 to 2.6.16.
26546 * sysdeps/unix/sysv/linux/configure: Regenerated.
26547 * sysdeps/unix/sysv/linux/kernel-features.h
26548 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26549 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26551 (__ASSUME_UTIMES): Likewise.
26552 (__ASSUME_CLONE_STOPPED): Remove.
26553 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26554 architectures, not kernel version.
26555 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26556 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26557 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26558 (__ASSUME_WAITID_SYSCALL): Likewise.
26559 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26560 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26561 * README: State 2.6.16 as minimum Linux kernel version. Do not
26562 refer to older versions.
26564 2012-08-06 Roland McGrath <roland@hack.frob.com>
26566 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26567 Define alphasort64 as an alias.
26568 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26569 Define versionsort64 as an alias.
26570 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26571 Define scandir64 as an alias.
26572 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26573 Define scandirat64 as an alias.
26574 * dirent/alphasort64.c (alphasort64):
26575 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26576 * dirent/versionsort64.c: Likewise.
26577 * dirent/scandir64.c: Likewise.
26578 * dirent/scandirat64.c: Likewise.
26579 * sysdeps/wordsize-64/alphasort.c: File removed.
26580 * sysdeps/wordsize-64/alphasort64.c: File removed.
26581 * sysdeps/wordsize-64/scandir.c: File removed.
26582 * sysdeps/wordsize-64/scandir64.c: File removed.
26583 * sysdeps/wordsize-64/scandirat.c: File removed.
26584 * sysdeps/wordsize-64/scandirat64.c: File removed.
26585 * sysdeps/wordsize-64/versionsort.c: File removed.
26586 * sysdeps/wordsize-64/versionsort64.c: File removed.
26587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26596 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26598 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26600 [defined __arch64__ || defined __sparcv9]
26601 (__INO_T_MATCHES_INO64_T): New macro.
26602 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26603 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26604 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26605 * sysdeps/unix/sysv/linux/bits/dirent.h
26606 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26607 (_DIRENT_MATCHES_DIRENT64): New macro.
26609 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26610 Define lockf64 as an alias.
26611 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26612 Define fseeko64 as an alias.
26613 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26614 Define ftello64 as an alias.
26615 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26616 Define _IO_fgetpos64 and fgetpos64 as aliases.
26617 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26618 Define _IO_fsetpos64 and fsetpos64 as aliases.
26619 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26620 Conditionalize body on this.
26621 * libio/fseeko64.c: Likewise.
26622 * libio/ftello64.c: Likewise.
26623 * libio/iofgetpos64.c: Likewise.
26624 * libio/iofsetpos64.c: Likewise.
26625 * sysdeps/wordsize-64/lockf.c: File removed.
26626 * sysdeps/wordsize-64/lockf64.c: File removed.
26627 * sysdeps/wordsize-64/fseeko.c: File removed.
26628 * sysdeps/wordsize-64/fseeko64.c: File removed.
26629 * sysdeps/wordsize-64/ftello.c: File removed.
26630 * sysdeps/wordsize-64/ftello64.c: File removed.
26631 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26632 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26633 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26634 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26635 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26637 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26639 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26641 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26643 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26644 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26646 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26648 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26650 [defined __arch64__ || defined __sparcv9]
26651 (__OFF_T_MATCHES_OFF64_T): New macro.
26652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26653 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26655 (__OFF_T_MATCHES_OFF64_T): New macro.
26657 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26659 * stdlib/secure-getenv.c (__secure_getenv): Replace
26660 GLIBC_2_16 with GLIBC_2_17.
26662 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26664 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26667 2012-08-03 David S. Miller <davem@davemloft.net>
26669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26671 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26675 (__ASSUME_CORRECT_SI_PID): Likewise.
26676 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26677 (__ASSUME_TMPFS_NAME): Likewise.
26678 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26679 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26680 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26681 (HAVE_AUX_SECURE): Make definition unconditional.
26682 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26683 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26685 2012-08-03 Roland McGrath <roland@hack.frob.com>
26687 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26688 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26689 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26690 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26691 __eloop_threshold instead of SYMLOOP_MAX.
26693 * sysdeps/generic/eloop-threshold.h: New file.
26694 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26696 * elf/chroot_canon.c (chroot_canon): Likewise.
26698 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26701 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26702 Change to 2.6.0 everywhere.
26703 * sysdeps/unix/sysv/linux/configure: Regenerated.
26704 * sysdeps/unix/sysv/linux/kernel-features.h
26705 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26706 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26708 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26709 (__ASSUME_FUTEX_REQUEUE): Remove.
26710 (__ASSUME_STATFS64): Define unconditionally.
26711 (__ASSUME_AT_SECURE): Likewise.
26712 (__ASSUME_CORRECT_SI_PID): Likewise.
26713 (__ASSUME_TGKILL): Define without depending on kernel version for
26715 (__ASSUME_UTIMES): Likewise.
26716 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26718 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26719 (__ASSUME_TMPFS_NAME): Likewise.
26720 * README: Update reference to Linux kernel versions.
26722 2012-08-02 Marek Polacek <polacek@redhat.com>
26725 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26726 libc_cv_asm_type_prefix with %.
26727 * configure: Regenerated.
26728 * include/libc-symbols.h: Remove comment about
26729 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26730 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26731 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26732 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26733 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26734 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26735 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26736 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26737 * elf/tst-unique2mod1.c: Likewise.
26738 * elf/tst-unique1mod2.c: Likewise.
26739 * elf/tst-unique1mod1.c: Likewise.
26740 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26741 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26742 Replace ASM_TYPE_DIRECTIVE with .type.
26743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26744 * sysdeps/i386/sysdep.h: Likewise.
26745 * sysdeps/x86_64/sysdep.h: Likewise.
26746 * sysdeps/sh/sysdep.h: Likewise.
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26748 Do not define ASM_TYPE_DIRECTIVE.
26749 * sysdeps/powerpc/sysdep.h: Likewise.
26750 * sysdeps/powerpc/powerpc32/sysdep.h:
26751 Replace ASM_TYPE_DIRECTIVE with .type.
26752 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26754 * sysdeps/i386/fpu/e_powf.S: Likewise.
26755 * sysdeps/i386/fpu/e_expl.S: Likewise.
26756 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26757 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26758 * sysdeps/i386/fpu/e_pow.S: Likewise.
26759 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26760 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26761 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26762 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26763 * sysdeps/i386/fpu/e_log2.S: Likewise.
26764 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26765 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26766 * sysdeps/i386/fpu/e_powl.S: Likewise.
26767 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26768 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26769 * sysdeps/i386/fpu/e_logl.S: Likewise.
26770 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26771 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26772 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26774 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26775 * sysdeps/i386/fpu/e_log.S: Likewise.
26776 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26777 * sysdeps/i386/fpu/e_logf.S: Likewise.
26778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26779 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26780 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26781 * sysdeps/i386/fpu/e_log10.S: Likewise.
26782 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26783 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26784 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26785 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26787 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26788 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26789 * sysdeps/i386/i686/strtok.S: Likewise.
26790 * sysdeps/i386/i386-mcount.S: Likewise.
26791 * sysdeps/i386/strtok.S: Likewise.
26792 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26796 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26797 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26798 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26799 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26801 * sysdeps/x86_64/_mcount.S: Likewise.
26802 * sysdeps/x86_64/strtok.S: Likewise.
26803 * sysdeps/sh/_mcount.S: Likewise.
26805 2012-08-01 Roland McGrath <roland@hack.frob.com>
26807 * libio/iofopen.c: Include <fcntl.h>.
26808 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26809 (_IO_fopen64, fopen64): Define as aliases.
26810 * libio/iofopen64.c: Include <fcntl.h>.
26811 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26812 Conditionalize body on this.
26813 * sysdeps/wordsize-64/iofopen.c: File removed.
26814 * sysdeps/wordsize-64/iofopen64.c: File removed.
26816 2012-08-01 Marek Polacek <polacek@redhat.com>
26818 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26819 Use dlfcn directly instead of a variable.
26820 (binfmt-subdir): Do not define.
26823 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26826 Remove all definitions.
26827 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26828 <kernel-features.h>.
26829 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26830 (miss_F_GETOWN_EX): Remove all definitions.
26831 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26833 [!__ASSUME_FCNTL64]: Remove conditional code.
26834 [__ASSUME_FCNTL64]: Make code unconditional.
26835 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26836 <kernel-features.h>.
26837 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26838 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26839 (lockf64) [__NR_fcntl64]: Make code unconditional.
26840 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26842 * sysdeps/unix/sysv/linux/kernel-features.h
26843 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26844 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26845 Make code unconditional.
26846 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26847 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26849 [__NR_vfork]: Make code unconditional.
26850 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26851 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26853 [__NR_vfork]: Make code unconditional.
26854 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26855 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26857 2012-08-01 Roland McGrath <roland@hack.frob.com>
26859 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26860 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26862 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26863 Define mkstemp64 as an alias.
26864 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26865 Define mkstemps64 as an alias.
26866 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26867 Define mkostemp64 as an alias.
26868 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26869 Define mkostemps64 as an alias.
26870 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26871 Conditionalize body on this.
26872 * misc/mkostemp64.c: Likewise.
26873 * misc/mkostemps64.c: Likewise.
26874 * misc/mkstemps64.c: Likewise.
26875 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26876 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26877 * sysdeps/wordsize-64/mkostemp.c: File removed.
26878 * sysdeps/wordsize-64/mkstemp.c: File removed.
26879 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26880 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26881 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26882 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26885 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26886 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26887 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26888 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26890 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26891 compat_symbol macros from <shlib-compat.h> rather than the underlying
26892 default_symbol_version and symbol_version macros, so that DEFAULT
26893 lines in shlib-versions are respected.
26894 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26896 2012-08-01 Florian Weimer <fweimer@redhat.com>
26898 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26899 Declare with warn_unused_result.
26900 (setgid, setregid, setegid, setresgid): Likewise.
26901 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26903 * WUR-REPORT: Remove set*id functions.
26905 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26907 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26909 2012-07-31 Roland McGrath <roland@hack.frob.com>
26912 * include/sys/socket.h (__libc_accept, __libc_accept4):
26913 Add attribute_hidden.
26914 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26918 * inet/getnetgrent_r.c (setup): Likewise.
26920 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26922 2012-07-31 David S. Miller <davem@davemloft.net>
26924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26926 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26929 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26930 value between 1.0 and 2.0 and smaller part has absolute value less
26932 * math/s_clog10.c (__clog10): Likewise.
26933 * math/s_clog10f.c (__clog10f): Likewise.
26934 * math/s_clog10l.c (__clog10l): Likewise.
26935 * math/s_clogf.c (__clogf): Likewise.
26936 * math/s_clogl.c (__clogl): Likewise.
26937 * math/libm-test.inc (clog_test): Add more tests.
26938 (clog10_test): Likewise.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942 2012-07-31 Florian Weimer <fweimer@redhat.com>
26944 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26945 Exit with zero in case no suitable GID is found, and write a
26946 message to standard error.
26948 2012-07-30 Roland McGrath <roland@hack.frob.com>
26950 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26952 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26953 (MAXPATHLEN): Removed.
26954 (NOGROUP, NODEV): New macros.
26955 (setbit, clrbit, isset, isclr): New macros.
26956 (howmany, roundup, powerof2): New macros.
26957 (DEV_BSIZE): New macro.
26959 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26960 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26962 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26963 definition on [!__NO_LONG_DOUBLE_MATH].
26965 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26966 PTR_MANGLE and PTR_DEMANGLE.
26968 * socket/accept4.c (accept4): Rename to __libc_accept4.
26969 Define accept4 as a weak alias.
26971 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26972 on [_DIRENT_HAVE_D_TYPE].
26973 * io/ftw.c (ftw_dir): Likewise.
26975 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26977 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26979 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26980 Use the BSD numbers rather than the arbitrary ones we had.
26981 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26982 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26983 (SIGXCPU, SIGXFSZ): New macros.
26986 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26987 initializer on [_LIBC_REENTRANT].
26989 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26990 definitions inside [_POSIX_MAPPED_FILES].
26992 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26994 * dirent/opendir.c: Include <fcntl.h>.
26996 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26997 (__libc_getspecific): Likewise.
26998 (__libc_key_create): Likewise.
27000 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27001 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27002 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27003 (tmpfile64): Define as alias.
27004 * sysdeps/wordsize-64/tmpfile.c: File removed.
27005 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27009 * stdio-common/vfscanf.c: Include <stdbool.h>.
27010 * nss/makedb.c: Likewise.
27011 * stdio-common/_i18n_number.h: Likewise.
27012 * argp/argp-help.c: Likewise.
27013 * posix/wordexp.c: Likewise.
27014 * sysdeps/posix/spawni.c: Likewise.
27015 * nss/nss_files/files-initgroups.c: Likewise.
27016 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27017 * nss/nss_files/files-initgroups.c: Likewise.
27018 * nss/nss_db/db-netgrp.c: Likewise.
27019 * nss/nss_db/db-initgroups.c: Likewise.
27020 * io/fchmodat.c: Include <sys/stat.h>.
27022 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27023 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27025 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27028 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27029 Add multiple inclusion protection.
27031 2012-07-27 David S. Miller <davem@davemloft.net>
27033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27035 2012-07-27 Gary Benson <gbenson@redhat.com>
27038 * elf/rtld.c: Include <stap-probe.h>.
27039 (dl_main): Added static probes "init_start" and "init_complete".
27040 * elf/dl-load.c: Include <stap-probe.h>.
27041 (lose): Take new parameter "nsid".
27042 Added static probe "map_failed".
27043 (_dl_map_object_from_fd): Pass namespace id to lose.
27044 Added static probe "map_start".
27045 (open_verify): Pass namespace id to lose.
27046 * elf/dl-open.c: Include <stap-probe.h>.
27047 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27048 and "reloc_complete".
27049 * elf/dl-close.c: Include <stap-probe.h>.
27050 (_dl_close_worker): Added static probes "unmap_start" and
27052 * elf/rtld-debugger-interface.txt: New file documenting the above.
27054 2012-07-26 Roland McGrath <roland@hack.frob.com>
27056 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27057 rather than a string variable.
27058 * sunrpc/rpc_main.c (h_output): Likewise.
27059 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27061 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27063 * inet/check_native.c: New file.
27065 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27068 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27069 if larger part has absolute value 1.0.
27070 * math/s_clog10.c (__clog10): Likewise.
27071 * math/s_clog10f.c (__clog10f): Likewise.
27072 * math/s_clog10l.c (__clog10l): Likewise.
27073 * math/s_clogf.c (__clogf): Likewise.
27074 * math/s_clogl.c (__clogl): Likewise.
27075 * math/libm-test.inc (clog_test): Add more tests.
27076 (clog10_test): Likewise.
27077 * sysdeps/i386/fpu/libm-test-ulps: Update.
27078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27080 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27081 (pltexit): Likewise.
27082 (La_regs): Likewise.
27083 (La_retval): Likewise.
27084 (int_retval): Likewise.
27085 Update #error for removed macros to refer only to definitions in
27087 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27089 (pltexit): Likewise.
27090 (La_regs): Likewise.
27091 (La_retval): Likewise.
27092 (int_retval): Likewise.
27093 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27095 (pltexit): Likewise.
27096 (La_regs): Likewise.
27097 (La_retval): Likewise.
27098 (int_retval): Likewise.
27099 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27101 (pltexit): Likewise.
27102 (La_regs): Likewise.
27103 (La_retval): Likewise.
27104 (int_retval): Likewise.
27105 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27107 (pltexit): Likewise.
27108 (La_regs): Likewise.
27109 (La_retval): Likewise.
27110 (int_retval): Likewise.
27111 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27113 (pltexit): Likewise.
27114 (La_regs): Likewise.
27115 (La_retval): Likewise.
27116 (int_retval): Likewise.
27117 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27119 (pltexit): Likewise.
27120 (La_regs): Likewise.
27121 (La_retval): Likewise.
27122 (int_retval): Likewise.
27123 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27124 macro definitions in tst-audit.h.
27125 * sysdeps/i386/tst-audit.h: New file.
27126 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27127 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27128 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27129 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27130 * sysdeps/sh/tst-audit.h: Likewise.
27131 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27132 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27133 * sysdeps/x86_64/tst-audit.h: Likewise.
27135 2012-07-26 Andreas Jaeger <aj@suse.de>
27137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27140 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27141 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27142 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27144 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27145 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27146 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27148 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27151 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27153 (si_call_addr, si_syscall, si_arch): Define new macro.
27154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27156 (si_call_addr, si_syscall, si_arch): Define new marcro.
27157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27159 (si_call_addr, si_syscall, si_arch): Define new macro.
27160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27162 (si_call_addr, si_syscall, si_arch): Define new macro.
27164 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27168 Change to 2.4.21 where previously 2.4.1.
27169 * sysdeps/unix/sysv/linux/configure: Regenerated.
27170 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27171 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27172 Linux kernel version.
27173 (__ASSUME_STD_AUXV): Remove.
27174 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27176 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27177 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27178 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27179 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27180 (__ASSUME_NETLINK_SUPPORT): Likewise.
27181 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27182 (__no_netlink_support): Remove conditional definition.
27183 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27185 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27186 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27188 (if_nameindex_ioctl): Remove.
27189 (if_nameindex_netlink): Do not handle __no_netlink_support.
27190 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27192 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27193 Remove conditional code.
27194 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27196 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27198 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27199 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27200 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27203 [!__ASSUME_STD_AUXV]: Remove conditional code.
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27205 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27206 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27208 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27211 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27213 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27214 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27216 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27218 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27221 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27224 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27225 code unconditional.
27226 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27228 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27230 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27233 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27235 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27238 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27239 code unconditional.
27240 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27242 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27244 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27247 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27248 code unconditional.
27249 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27251 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27253 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27256 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27258 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27259 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27260 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27261 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27262 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27263 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27264 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27265 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27266 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27267 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27268 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27269 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27270 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27271 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27272 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27273 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27274 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27278 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27279 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27282 2012-07-25 Florian Weimer <fweimer@redhat.com>
27284 * Versions.def: Add GLIBC_2.17.
27285 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27286 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27287 Introduce __libc_secure_getenv.
27288 * stdlib/Versions (2.17): Add secure_getenv
27289 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27290 * stdlib/secure-getenv.c: Rename __secure_getenv to
27291 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27292 symbol __secure_getenv for GLIBC_2.0.
27293 * stdlib/tst-secure-getenv.c: New.
27294 * stdlib/Makefile (tests): Add testcase.
27295 * manual/startup.texi (Environment Access): Document
27297 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27298 __libc_secure_getenv.
27299 * inet/ruserpass.c (ruserpass): Likewise.
27300 * malloc/mtrace.c (mtrace): Likewise.
27301 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27302 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27303 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27304 * sysdeps/posix/tempname.c: Likewise. Evaluate
27305 HAVE_SECURE_GETENV.
27306 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27307 __secure_getenv to __libc_secure_getenv.
27308 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27321 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27323 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27324 (struct La_i86_retval): Likewise.
27325 (struct La_x86_64_regs): Likewise.
27326 (struct La_x86_64_retval): Likewise.
27327 (struct La_x32_regs): Likewise.
27328 (struct La_x32_retval): Likewise.
27329 (struct La_ppc32_regs): Likewise.
27330 (struct La_ppc32_retval): Likewise.
27331 (struct La_ppc64_regs): Likewise.
27332 (struct La_ppc64_retval): Likewise.
27333 (struct La_sh_regs): Likewise.
27334 (struct La_sh_retval): Likewise.
27335 (struct La_s390_32_regs): Likewise.
27336 (struct La_s390_32_retval): Likewise.
27337 (struct La_s390_64_regs): Likewise.
27338 (struct La_s390_64_retval): Likewise.
27339 (struct La_sparc32_regs): Likewise.
27340 (struct La_sparc32_retval): Likewise.
27341 (struct La_sparc64_regs): Likewise.
27342 (struct La_sparc64_retval): Likewise.
27343 (struct audit_ifaces): Remove architecture-specific pltenter and
27345 * sysdeps/i386/ldsodefs.h: New file.
27346 * sysdeps/powerpc/ldsodefs.h: Likewise.
27347 * sysdeps/s390/ldsodefs.h: Likewise.
27348 * sysdeps/sh/ldsodefs.h: Likewise.
27349 * sysdeps/sparc/ldsodefs.h: Likewise.
27350 * sysdeps/x86_64/ldsodefs.h: Likewise.
27352 2012-07-25 Marek Polacek <polacek@redhat.com>
27355 * math/libm-test.inc (yn_test): Add another test.
27356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27357 to ERANGE when the result is +-Inf.
27358 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27359 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27361 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27363 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27365 * conform/data/time.h-data (NULL): Use macro-constant. Require
27367 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27369 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27371 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27373 * configure.in <sysdeps resolving>: Correct printing
27375 * configure: Regenerate.
27377 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27379 * math/w_ilogb.c: Include <limits.h>.
27380 * math/w_ilogbl.c: Likewise.
27382 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27384 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27385 va_copy. Document allowing for unavailable va_copy only as
27386 pre-C99 compatibility.
27387 * manual/string.texi (Copying and Concatenation): Use va_copy
27388 instead of __va_copy in concat example.
27390 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27392 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27393 (__sendto): Use create_address_port. Initialize APORT and deallocate
27396 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27397 with O_NOLINK passed to __file_name_lookup.
27399 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27400 with O_NOLINK passed to __file_name_lookup.
27402 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27403 negative N or less than NGIDS.
27405 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27406 type to string_t. Set ERANGE as errno and return it if NAME is not big
27407 enough. Use memcpy instead of strncpy.
27409 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27411 * elf/Makefile (check-data): Remove.
27412 (localplt.data): New vpath directive.
27413 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27414 instead of $(check-data).
27415 * scripts/data/localplt-generic.data: Move to ...
27416 * sysdeps/generic/localplt.data: ... here.
27417 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27418 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27419 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27422 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27425 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27428 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27431 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27434 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27438 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27440 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27441 PPC32 and PPC64 files.
27442 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27443 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27445 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27447 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27448 __makecontext_ret to ...
27449 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27450 ... here and call exit if uc_link is NULL. New file.
27451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27452 __makecontext_ret.S.
27453 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27454 __makecontext_ret to ...
27455 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27456 ... here and call exit if uc_link is NULL. New file.
27457 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27458 __makecontext_ret.S.
27460 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27462 * elf/elf.h (R_390_IRELATIVE): New definition.
27463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27464 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27465 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27467 (elf_machine_lazy_rel): Likewise.
27468 * sysdeps/s390/dl-irel.h: New file.
27469 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27470 * sysdeps/s390/s390-64/memset.S: New asm code.
27471 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27472 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27473 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27474 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27475 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27476 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27477 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27478 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27479 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27480 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27481 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27482 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27483 * sysdeps/s390/s390-32/memset.S: New asm code.
27484 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27486 2012-07-17 Marek Polacek <polacek@redhat.com>
27489 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27490 * sysdeps/s390/s390-64/configure.in: Likewise.
27491 * sysdeps/sparc/configure.in: Likewise.
27492 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27493 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27494 * sysdeps/i386/configure.in: Likewise.
27495 * sysdeps/x86_64/configure.in: Likewise.
27496 * sysdeps/sh/configure.in: Likewise.
27497 * sysdeps/s390/s390-32/configure: Regenerated.
27498 * sysdeps/s390/s390-64/configure: Likewise.
27499 * sysdeps/x86_64/configure: Likewise.
27500 * sysdeps/sh/configure: Likewise.
27501 * sysdeps/powerpc/powerpc64/configure: Likewise.
27502 * sysdeps/powerpc/powerpc32/configure: Likewise.
27503 * sysdeps/sparc/configure: Likwise.
27504 * sysdeps/i386/configure: Likewise.
27506 * elf/dl-open.c: Comment fixes.
27508 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27510 * Makefile [CXX] (check-data): Remove.
27511 [CXX] (c++-types.data): New vpath directive.
27512 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27513 vpath. Do not allow for C++ type data being missing.
27514 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27515 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27516 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27517 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27518 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27519 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27520 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27523 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27526 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27529 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27532 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27535 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27538 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27541 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27544 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27545 definitions to architecture-specific files.
27546 (TLS_IE): Likewise.
27547 (TLS_LD): Likewise.
27548 (TLS_GD): Likewise.
27549 * sysdeps/i386/tls-macros.h: New file.
27550 * sysdeps/powerpc/tls-macros.h: Likewise.
27551 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27552 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27553 * sysdeps/sh/tls-macros.h: Likewise.
27554 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27555 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27556 * sysdeps/x86_64/tls-macros.h: Likewise.
27558 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27560 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27561 zero value for regular exit case.
27563 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27564 (__start_context): Preserve zero value for regular exit case.
27566 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27567 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27569 * manual/setjmp.texi (setcontext): Clarify normal process
27570 termination when uc_link is the null pointer.
27571 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27574 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27576 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27577 preprocessor. Test for each exception mask separately.
27579 2012-07-16 Andreas Jaeger <aj@suse.de>
27581 * po/ru.po: Update from translation team.
27583 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27585 * conform/data/string.h-data (NULL): Use macro-constant. Require
27587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27588 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27589 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27590 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27593 2012-07-13 Andreas Jaeger <aj@suse.de>
27595 * po/fr.po: Update from translation team.
27597 2012-07-12 Marek Polacek <polacek@redhat.com>
27600 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27604 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27608 Change to 2.4.1 where previously 2.4.0.
27609 * sysdeps/unix/sysv/linux/configure: Regenerated.
27610 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27611 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27613 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27614 (__ASSUME_AT_CLKTCK): Remove.
27615 (__ASSUME_AT_PAGESIZE): Likewise.
27616 (__ASSUME_AT_XID): Likewise.
27617 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27618 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27619 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27621 (HAVE_AUX_PAGESIZE): Likewise.
27622 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27623 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27624 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27626 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27630 the temporary buffer used to invoke __gethostbyname2_r,
27631 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27632 host_data / struct gaih_addrtuple.
27633 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27634 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27635 header file nss/nsswitch.h.
27636 * nss/nsswitch.h (global scope): Add definition of implementation
27637 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27638 resolv/nss_dns/dns-host.c).
27640 2012-07-11 Andreas Jaeger <aj@suse.de>
27642 * po/fr.po: Update from translation team.
27644 * po/sv.po: Update from translation team
27645 * po/fr.po: Another update from translation team.
27647 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27650 for subnormals or multiply small sinh result by itself.
27651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27654 2012-07-11 David S. Miller <davem@davemloft.net>
27656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27658 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27661 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27662 (INTERNAL_MARK): Shift it here.
27664 2012-07-10 Marek Polacek <polacek@redhat.com>
27667 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27668 libc_cv_asm_global_directive with .globl.
27669 * configure: Regenerated.
27670 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27672 * sysdeps/i386/configure: Regenerated.
27673 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27675 * sysdeps/x86_64/configure: Regenerated.
27676 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27677 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27678 * elf/tst-unique2mod2.c: Likewise.
27679 * elf/tst-unique2mod1.c: Likewise.
27680 * elf/tst-unique1mod2.c: Likewise.
27681 * elf/tst-unique1mod1.c: Likewise.
27682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27683 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27685 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27686 * sysdeps/mach/sysdep.h: Likewise.
27687 * sysdeps/i386/sysdep.h: Likewise.
27688 * sysdeps/i386/i386-mcount.S: Likewise.
27689 * sysdeps/x86_64/_mcount.S: Likewise.
27690 * sysdeps/x86_64/sysdep.h: Likewise.
27691 * sysdeps/sh/_mcount.S: Likewise.
27692 * sysdeps/sh/sysdep.h: Likewise.
27693 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27694 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27695 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27697 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27698 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27699 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27700 * locale/localeinfo.h: Likewise.
27701 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27702 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27704 2012-07-09 Roland McGrath <roland@hack.frob.com>
27707 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27709 * manual/message.texi (The Uniforum approach): Likewise.
27710 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27711 (glibc iconv Implementation): Likewise.
27713 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27716 * math/s_clog.c (__clog): Avoid scaling a value down where that
27717 could result in underflow.
27718 * math/s_clog10.c (__clog10): Likewise.
27719 * math/s_clog10f.c (__clog10f): Likewise.
27720 * math/s_clog10l.c (__clog10l): Likewise.
27721 * math/s_clogf.c (__clogf): Likewise.
27722 * math/s_clogl.c (__clogl): Likewise.
27723 * math/libm-test.inc (clog_test): Add more tests.
27724 (clog10_test): Likewise.
27725 * sysdeps/i386/fpu/libm-test-ulps: Update.
27726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27728 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27731 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27732 by 7 not 8 to examine high bit of fractional part.
27735 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27736 for call to __mcount_internal.
27737 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27738 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27739 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27741 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27744 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27745 approximation for values within 0x1p-13f of an odd multiple of
27747 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27748 exception. Add more tests.
27749 * sysdeps/i386/fpu/libm-test-ulps: Update.
27752 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27753 inputs and return -1 for them. Do not check for +Inf in case not
27754 reachable for +Inf.
27755 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27756 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27757 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27758 and return -1 for them. Do not check for +Inf in case not
27759 reachable for +Inf.
27760 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27763 and return -1 for them. Do not check for +Inf in case not
27764 reachable for +Inf.
27765 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27766 spurious underflow.
27767 * sysdeps/i386/fpu/libm-test-ulps: Update.
27768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27770 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27772 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27774 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27778 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27779 could result in spurious underflow. Scale down values above
27780 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27781 * math/s_csqrtf.c (__csqrtf): Likewise.
27782 * math/s_csqrtl.c (__csqrtl): Likewise.
27783 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27784 spurious underflow.
27785 * sysdeps/i386/fpu/libm-test-ulps: Update.
27786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27788 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27790 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27792 * catgets/xopen-msg.awk: New file.
27793 * catgets/xopen-msg.sed: Removed.
27795 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27797 * intl/po2test.awk: New file.
27798 * intl/po2test.sed: Removed.
27800 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27803 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27804 or multiply small sinh result by itself.
27805 * math/s_ctanf.c (__ctanf): Likewise.
27806 * math/s_ctanh.c (__ctanh): Likewise.
27807 * math/s_ctanhf.c (__ctanhf): Likewise.
27808 * math/s_ctanhl.c (__ctanhl): Likewise.
27809 * math/s_ctanl.c (__ctanl): Likewise.
27810 * math/libm-test.inc (ctan_test_tonearest): New function.
27811 (ctan_test_towardzero): Likewise.
27812 (ctan_test_downward): Likewise.
27813 (ctan_test_upward): Likewise.
27814 (ctanh_test_tonearest): Likewise.
27815 (ctanh_test_towardzero): Likewise.
27816 (ctanh_test_downward): Likewise.
27817 (ctanh_test_upward): Likewise.
27818 (main): Call these new functions.
27819 * sysdeps/i386/fpu/libm-test-ulps: Update.
27820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27822 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27824 * .gitignore: Delete /ports entry.
27826 2012-07-03 Andreas Jaeger <aj@suse.de>
27828 * po/bg.po: Update from translation team.
27829 * po/cs.po: Likewise.
27830 * po/de.po: Likewise.
27831 * po/hr.po: Likewise.
27832 * po/nl.pl: Likewise.
27833 * po/pl.po: Likewise.
27834 * po/vi.po: Likewise.
27836 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27838 * Makeconfig [!+link] (+link-before-libc): New variable.
27839 [!+link] (+link-after-libc): Likewise.
27840 [!+link] (+link-tests): Likewise.
27841 [!+link] (+link): Define in terms of $(+link-before-libc) and
27842 $(+link-after-libc).
27843 [!+link-static] (+link-static-before-libc): New variable.
27844 [!+link-static] (+link-static-after-libc): Likewise.
27845 [!+link-static] (+link-static-tests): Likewise.
27846 [!+link-static] (+link-static): Define in terms of
27847 $(+link-static-before-libc) and $(+link-static-after-libc).
27848 [build-shared] (link-libc-before-gnulib): New variable.
27849 [build-shared] (link-libc-tests): Likewise.
27850 [build-shared] (link-libc): Define in terms of
27851 $(link-libc-before-gnulib).
27852 [!build-shared] (link-libc-tests): New variable.
27853 (link-libc-static-tests): New variable.
27854 [!gnulib] (gnulib-arch): New variable.
27855 [!gnulib] (gnulib-tests): Likewise.
27856 [!gnulib] (static-gnulib-arch): Likewise.
27857 [!gnulib] (static-gnulib-tests): Likewise.
27858 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27859 Define with "=" instead of ":=".
27860 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27861 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27862 * Rules (binaries-all-notests): New variable.
27863 (binaries-all-tests): Likewise.
27864 (binaries-static-notests): Likewise.
27865 (binaries-static-tests): Likewise.
27866 (binaries-all): Define using $(binaries-all-notests) and
27867 $(binaries-all-tests).
27868 (binaries-static): Define using $(binaries-static-notests) and
27869 $(binaries-static-tests).
27870 (binaries-shared-tests): New variable.
27871 (binaries-shared-notests): Likewise.
27872 (binaries-shared): Remove variable.
27873 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27874 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27875 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27876 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27877 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27878 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27879 * elf/Makefile (sln-modules): New variable.
27880 (extra-objs): Add $(sln-modules:=.o).
27881 (ldconfig-modules): Add static-stubs.
27882 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27883 * elf/static-stubs.c: New file.
27886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27887 by 7 not 8 to examine high bit of fractional part. Use volatile
27888 variables when splitting into final array of floats if
27889 __FLT_EVAL_METHOD__ != 0.
27890 * math/libm-test.inc (cos_test): Add another test.
27891 (sin_test): Likewise.
27892 * sysdeps/i386/fpu/libm-test-ulps: Update.
27895 * math/libm-test.inc (cosh_test): Add more tests.
27897 * version.h (RELEASE): Set to "development".
27898 (VERSION): Set to "2.16.90".
27900 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27902 * NEWS: Update copyright. Remove last-updated date.
27903 Mention math library bug fixes and timezone data changes.
27904 * README: Mention GNU/Hurd, x32, and HPPA support status.
27906 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27908 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27910 2012-06-27 Andreas Jaeger <aj@suse.de>
27912 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27914 2012-06-25 Andreas Jaeger <aj@suse.de>
27916 * sysdeps/s390/fpu/libm-test-ulps: Update.
27918 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27919 Thomas Schwinge <thomas@codesourcery.com>
27921 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27922 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27926 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27928 * sysdeps/mach/start.c: Remove file.
27929 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27930 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27931 * sysdeps/sh/init-first.c: Likewise.
27933 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27934 registers for frame unwinding purposes, add CFI directives.
27935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27937 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27940 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27941 __fortify_fail returning.
27942 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27944 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27945 sysdeps/sh/____longjmp_chk.S.
27946 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27947 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27948 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27949 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27951 * sysdeps/sh/abort-instr.h: New file.
27952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27953 process in case exit returns.
27955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27956 initialize the GOT register before use.
27958 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27959 calculation of ARGC > 4.
27961 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27962 meaningful names to some local labels.
27964 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27965 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27967 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27968 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27969 (__arch_compare_and_exchange_val_16_acq): Likewise.
27970 (__arch_compare_and_exchange_val_32_acq): Likewise.
27971 (atomic_exchange_and_add): Fix gUSA sequence.
27972 (atomic_add): Likewise.
27973 (atomic_add_negative): Likewise.
27974 (atomic_add_zero): Likewise.
27975 (atomic_bit_test_set): Likewise.
27977 2012-06-22 Andreas Schwab <schwab@redhat.com>
27980 * include/link.h (struct link_map): Add l_free_initfini.
27981 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27983 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27984 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27985 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27988 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27990 * configure.in: Use AC_LANG_SOURCE.
27991 * configure: Regenerate.
27993 2012-06-22 Roland McGrath <roland@hack.frob.com>
27995 * configure.in (libc_cv_localstatedir): New substituted variable.
27996 * configure: Regenerated.
27997 * config.make.in (localstatedir): New variable, substituted from
27998 libc_cv_localstatedir.
27999 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28000 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28001 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28002 * sysdeps/gnu/configure: Regenerated.
28004 2012-06-21 Jeff Law <law@redhat.com>
28007 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28008 free. Simplify list management for _LIBC case.
28010 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28014 Clear sign bit of 64-bit integer value before comparing against
28017 * sysdeps/mach/configure: Regenerated.
28019 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28022 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28024 2012-06-21 Jeff Law <law@redhat.com>
28027 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28028 uint16_t for elements in the "seen" array to avoid char overflows.
28029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28030 * elf/dl-open.c (dl_open_worker): Likewise.
28032 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28034 * scripts/list-sources.sh: Scan PORTS for translations.
28035 * po/libc.pot: Regenerated.
28037 2012-06-21 Andreas Jaeger <aj@suse.de>
28040 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28042 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28043 * bits/byteswap-16.h (__bswap_16): Likewise.
28044 * bits/byteswap.h (__bswap_constant_16): Likewise.
28046 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28049 * sysdeps/i386/fpu_control.h: Removed.
28050 * sysdeps/x86_64/fpu_control.h: Moved to ...
28051 * sysdeps/x86/fpu_control.h: Here.
28053 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28054 (_FPU_SETCW): Likewise.
28056 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28059 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28060 * sysdeps/x86/fpu/bits/mathinline.h: This.
28061 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28065 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28066 functions if __x86_64__ is defined.
28068 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28070 * string/endian.h: Add !__ASSEMBLER__ condition for including
28071 conversion interfaces.
28073 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28077 of ABS(x) in calculating zero to negative powers other than odd
28079 * math/libm-test.inc (pow_test): Add more tests.
28081 2012-06-15 Andreas Jaeger <aj@suse.de>
28083 * manual/contrib.texi (Contributors): Update entry of Liubov
28084 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28087 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28089 * string/string.h: Add __wur to GNU version of strerror_r.
28091 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28094 * string/Makefile (tests): Add tst-strtok_r.
28095 * string/tst-strtok_r.c: New file.
28096 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28097 RAX_LP/RDX_LP on SAVE_PTR.
28099 2012-06-14 Roland McGrath <roland@hack.frob.com>
28101 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28103 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28105 * libm_test.inc (csqrt_test): Allow more spurious underflow
28107 (j0_test): Likewise.
28108 (j1_test): Likewise.
28109 (y0_test): Likewise.
28110 (y1_test): Likewise.
28112 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28114 * po/Makefile (libc.pot): Use UTF-8 charset.
28116 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28119 Suppress sign-conversion warning from FD_SET.
28120 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28121 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28122 not unsigned long int.
28123 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28125 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28129 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28130 __extern_always_inline instead of __extern_inline.
28131 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28132 (__signbit): Likewise.
28133 (__signbitl): Support C++ namespace.
28134 (lrintf): New inline function.
28136 (llrintf): Likewise.
28137 (llrint): Likewise.
28147 (floorf): Likewise.
28148 (nearbyint): Likewise.
28149 (nearbyintf): Likewise.
28151 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28154 non-default versions.
28156 2012-06-11 Roland McGrath <roland@hack.frob.com>
28159 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28161 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28163 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28164 (FE_UPWARD, FE_DOWNWARD): Don't define.
28165 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28168 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28171 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28173 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28175 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28178 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28180 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28183 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28184 * sysdeps/i386/fpu/Implies: New file.
28185 * sysdeps/x86_64/fpu/Implies: Likewise.
28186 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28187 * sysdeps/x86/fpu/bits/fenv.h: This.
28189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28192 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28195 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28196 character 0xffff that matches the last element of the
28199 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28204 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28207 values higher than 25.6283.
28209 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28212 subnormal exponent extraction and add some __builtin_expect.
28213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28214 Fix for subnormal mantissa calculation.
28216 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28218 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28219 cpu2 is -1 and errno is not ENOSYS.
28221 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28224 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28225 * sysdeps/x86/bits/string.h: This.
28226 * sysdeps/x86_64/bits/string.h: Removed.
28228 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28229 if not compiling for x86-64, but compiling for >= i486.
28231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28232 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28234 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28235 New macro from Linux kernel 3.4.0.
28236 (FP_XSTATE_MAGIC2): Likewise.
28237 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28238 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28239 (struct _fpx_sw_bytes): New struct.
28240 (struct _xsave_hdr): Likewise.
28241 (struct _ymmh_state): Likewise.
28242 (struct _xstate): Likewise.
28244 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28245 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28246 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28247 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28248 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28249 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28251 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28253 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28254 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28255 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28256 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28258 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28261 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28262 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28263 (sysdep_headers): Include sys/platform/ppc.h.
28264 * sysdeps/powerpc/test-gettimebase.c: Test for
28265 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28266 * manual/Makefile (appendices): Include platform.texi.
28267 * manual/contrib.texi (Contributors): Update @node pointers.
28268 * manual/maint.texi (Maintenance): Likewise.
28269 (Platform): New node.
28270 * manual/platform.texi: New file. Document the new features.
28272 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28273 Jakub Jelinek <jakub@redhat.com>
28276 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28277 where __builtin_expect is unavailable.
28279 2012-06-03 David S. Miller <davem@davemloft.net>
28281 * stdlib/longlong.h: Updated from GCC.
28283 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28286 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28287 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28290 (GLIBC_2.16): Likewise.
28292 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28294 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28296 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28299 (default-abi): New variable.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28301 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28303 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28305 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28307 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28310 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28311 definition. Document in comment.
28313 2012-06-01 David S. Miller <davem@davemloft.net>
28315 * stdlib/longlong.h: Updated from GCC.
28317 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28320 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28321 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28322 sys/debugreg.h sys/io.h here.
28323 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28324 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28326 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28327 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28328 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28329 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28330 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28331 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28334 Define only if __x86_64__ is defined.
28336 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28340 Use int64_t for variable i.
28341 * math/libm-test.inc (fmod_test): Add more tests.
28343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28344 z computation is not scheduled after fetestexcept.
28345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28346 Use math_force_eval instead of asm to ensure calculation scheduled
28347 before exception test.
28348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28349 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28351 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28354 computation is not scheduled after fetestexcept.
28356 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28359 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28360 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28362 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28364 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28365 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28367 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28370 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28372 (__WCHAR_MIN): Support __WORDSIZE == 64.
28373 (__WCHAR_MAX): Likewise.
28375 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28376 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28380 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28383 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28384 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28386 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28387 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28389 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28390 Defined to 1 if __x86_64__ isn't defined.
28391 (_STAT_VER_LINUX_OLD): New.
28392 (st_atime): Remove duplicate.
28393 (st_mtime): Likewise.
28394 (st_ctime): Likewise.
28396 2012-05-31 David S. Miller <davem@davemloft.net>
28398 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28401 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28403 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28407 * elf/dl-reloc.c: Include <_itoa.h>.
28408 (_dl_reloc_bad_type): Remove use of INTUSE.
28409 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28410 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28411 * stdio-common/psiginfo.c (psiginfo): Likewise.
28412 * stdio-common/psignal.c (psignal): Likewise.
28413 * string/strsignal.c (strsignal): Likewise.
28414 * include/signal.h (_sys_siglist): Declare hidden proto.
28415 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28416 INTVARDEF with libc_hidden_data_def.
28417 * stdio-common/itoa-udigits.c: Likewise.
28418 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28419 (_itoa_lower_digits_internal): Remove declaration.
28420 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28421 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28422 (_sys_sigabbrev_internal): Remove aliases.
28423 (_sys_siglist): Define hidden alias.
28425 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28430 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28433 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28434 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28436 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28437 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28438 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28439 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28441 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28443 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28445 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28457 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28459 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28460 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28462 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28463 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28464 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28467 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28470 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28476 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28477 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28479 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28481 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28483 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28485 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28487 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28489 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28491 * math/math.h (M_El): Use two more decimal places.
28492 (M_LOG2El): Likewise.
28493 (M_LOG10El): Likewise.
28494 (M_LN2l): Likewise.
28495 (M_LN10l): Likewise.
28497 (M_PI_2l): Likewise.
28498 (M_PI_4l): Likewise.
28499 (M_1_PIl): Likewise.
28500 (M_2_PIl): Likewise.
28501 (M_2_SQRTPIl): Likewise.
28502 (M_SQRT2l): Likewise.
28503 (M_SQRT1_2l): Likewise.
28505 2012-05-31 David S. Miller <davem@davemloft.net>
28507 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28508 values between float registers.
28509 * sysdeps/sparc/sparc64/memset.S: Likewise.
28510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28512 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28514 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28515 -D_FORTIFY_SOURCE=1.
28516 (CPPFLAGS-tst-longjmp_chk.c): Define.
28517 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28518 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28519 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28520 CFLAGS-tst-wchar-h.c.
28522 2012-05-31 Marek Polacek <polacek@redhat.com>
28525 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28526 __endmntent_internal): Remove declaration.
28527 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28528 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28529 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28531 2012-05-30 David S. Miller <davem@davemloft.net>
28533 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28534 (___Q_simulate_exceptions): Use real FP ops rather than writing
28536 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28539 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28542 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28543 * sysdeps/x86/bits/xtitypes.h: This.
28545 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28546 * sysdeps/x86/bits/wordsize.h: This.
28548 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28549 * sysdeps/x86/bits/huge_vall.h: This.
28551 * sysdeps/i386/bits/select.h: Removed.
28552 * sysdeps/x86_64/bits/select.h: Renamed to ...
28553 * sysdeps/x86/bits/select.h: This.
28555 * sysdeps/i386/bits/setjmp.h: Removed.
28556 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28557 * sysdeps/x86/bits/setjmp.h: This.
28559 * sysdeps/i386/bits/mathdef.h: Removed.
28560 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28561 * sysdeps/x86/bits/mathdef.h: This.
28563 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28566 * include/sys/socket.h (__connect_internal)
28567 (__libc_sa_len_internal): Remove declaration.
28568 (__connect, __libc_sa_len): Declare hidden_proto.
28569 (SA_LEN): Remove use of INTUSE.
28570 * socket/connect.c: Add libc_hidden_def.
28571 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28572 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28573 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28575 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28576 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28577 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28578 of adding _internal alias.
28580 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28583 * sysdeps/i386/bits/link.h: Removed.
28584 * sysdeps/i386/bits/linkmap.h: Likewise.
28585 * sysdeps/x86_64/bits/link.h: Renamed to ...
28586 * sysdeps/x86/bits/link.h: This.
28587 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28588 * sysdeps/x86/bits/linkmap.h: This.
28590 * sysdeps/i386/bits/endian.h: Removed.
28591 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28592 * sysdeps/x86/bits/endian.h: This.
28594 * sysdeps/i386/bits/byteswap.h: Removed.
28595 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28596 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28597 * sysdeps/x86/bits/byteswap.h: This.
28598 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28599 * sysdeps/x86/bits/byteswap-16.h: This.
28600 * sysdeps/i386/Implies: Add x86.
28601 * sysdeps/x86_64/Implies: Likewise.
28603 2012-05-30 David S. Miller <davem@davemloft.net>
28605 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28606 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28607 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28608 (FP_TRAPPING_EXCEPTIONS): Define.
28609 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28610 (FP_TRAPPING_EXCEPTIONS): Define.
28611 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28612 subnormals only when inexact has been signalled or underflow
28613 exceptions are enabled.
28614 (_FP_PACK_CANONICAL): Likewise.
28616 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28620 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28622 2012-05-30 Richard Henderson <rth@twiddle.net>
28624 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28625 with #ifndef NOT_IN_libc.
28627 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28628 marked to avoid plt entry.
28630 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28633 * Makeconfig (default-abi): New macro.
28634 (abi-includes): Likewise.
28635 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28636 $(abi-$(default-abi)-lib-soname) for soname if defined.
28637 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28639 * Makefile (installed-stubs): Likewise.
28640 * include/stubs-biarch.h: Removed.
28641 * scripts/lib-names.awk: Only handle one library at a time.
28642 * scripts/soversions.awk: Remove WORDSIZE support.
28643 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28647 (syscall-list-default-condition): Likewise.
28648 (syscall-list-default-condition): Likewise.
28649 (syscall-list-includes): Likewise.
28650 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28651 syscall-list-* with abi-*. Handle undefined abi-variants.
28652 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28653 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28654 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28655 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28656 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28657 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28659 (syscall-list-32-options): Likewise.
28660 (syscall-list-32-condition): Likewise.
28661 (syscall-list-64-options): Likewise.
28662 (syscall-list-64-condition): Likewise.
28663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28665 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28668 (abi-64-ld-soname): New macro.
28669 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28670 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28673 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28674 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28676 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28678 * sysdeps/unix/sysv/linux/kernel-features.h
28679 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28680 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28681 include <kernel-features.h>.
28682 [!__NR_ftruncate64]: Remove conditional code.
28683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28684 [__NR_ftruncate64]: Make code unconditional.
28685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28686 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28687 include <kernel-features.h>.
28688 [!__NR_ftruncate64]: Remove conditional code.
28689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28690 [__NR_ftruncate64]: Make code unconditional.
28691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28693 include <kernel-features.h>.
28694 [!__NR_ftruncate64]: Remove conditional code.
28695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28696 [__NR_ftruncate64]: Make code unconditional.
28697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28699 include <kernel-features.h>.
28700 [!__NR_ftruncate64]: Remove conditional code.
28701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28702 [__NR_ftruncate64]: Make code unconditional.
28703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28705 * configure.in (libc_cv_fpie): Weaken to a compile test using
28706 LIBC_TRY_CC_OPTION.
28707 * configure: Regenerated.
28709 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28724 2012-05-27 David S. Miller <davem@davemloft.net>
28726 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28728 (__Q_simulate_exceptions): Return void. Change to simulate
28729 exceptions by writing into the %fsr.
28730 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28731 (__Qp_handle_exceptions): Likewise.
28733 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28734 __Qp_handle_exceptions.
28735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28736 __Qp_handle_exceptions.
28737 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28738 as unused and give dummy FP_RND_NEAREST initializer.
28739 (FP_INHIBIT_RESULTS): Define.
28740 (___Q_simulate_exceptions): Update declaration.
28741 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28743 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28744 as unused and give dummy FP_RND_NEAREST initializer.
28745 (__Qp_handle_exceptions): Update declaration.
28746 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28749 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28751 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28752 the temporary FPU control word.
28753 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28754 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28756 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28757 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28758 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28759 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28761 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28762 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28765 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28767 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28770 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28772 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28773 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28774 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28775 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28777 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28778 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28781 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28783 * po/h.po: Update from translation team.
28785 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28787 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28790 handling of denormals.
28791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28792 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28793 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28794 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28800 2012-05-26 Marek Polacek <polacek@redhat.com>
28803 * math/libm-test.inc (fma_test): Don't always expect underflow
28806 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28809 * elf/tst-execstack.c: Include stackinfo.h.
28810 (do_test): Adjust test case to ensure that pthread_getattr_np
28811 behaviour remains the same after marking stack executable.
28813 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28815 * sysdeps/unix/sysv/linux/kernel-features.h
28816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28817 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28819 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28820 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28821 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28826 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28828 * configure.in: Define the default includes to being none.
28829 * configure: Regenerated.
28831 2012-05-25 Roland McGrath <roland@hack.frob.com>
28833 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28834 * sysdeps/x86_64/setjmp.S: Likewise.
28835 * sysdeps/i386/bsd-setjmp.S: Likewise.
28836 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28837 * sysdeps/i386/setjmp.S: Likewise.
28838 * sysdeps/i386/__longjmp.S: Likewise.
28839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28840 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28842 * include/stap-probe.h: New file.
28843 * configure.in: Handle --enable-systemtap.
28844 * configure: Regenerated.
28845 * config.h.in (USE_STAP_PROBE): New #undef.
28846 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28847 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28848 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28850 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28854 to 2.4.0 where earlier.
28855 * sysdeps/unix/sysv/linux/configure: Regenerated.
28856 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
28865 [__ASSUME_32BITUIDS]: Make code unconditional.
28866 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28867 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28868 <kernel-features.h>.
28869 [__ASSUME_32BITUIDS]: Make code unconditional.
28870 [!__ASSUME_32BITUIDS]: Remove conditional code.
28871 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28872 <kernel-features.h>.
28873 [__ASSUME_32BITUIDS]: Make code unconditional.
28874 [!__ASSUME_32BITUIDS]: Remove conditional code.
28875 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28876 <kernel-features.h>.
28877 [__ASSUME_32BITUIDS]: Make code unconditional.
28878 [!__ASSUME_32BITUIDS]: Remove conditional code.
28879 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28880 <kernel-features.h>.
28881 [__ASSUME_32BITUIDS]: Make code unconditional.
28882 [!__ASSUME_32BITUIDS]: Remove conditional code.
28883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28884 <kernel-features.h>.
28885 [__ASSUME_32BITUIDS]: Make code unconditional.
28886 [!__ASSUME_32BITUIDS]: Remove conditional code.
28887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28888 <kernel-features.h>.
28889 [__ASSUME_32BITUIDS]: Make code unconditional.
28890 [!__ASSUME_32BITUIDS]: Remove conditional code.
28891 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28892 <kernel-features.h>.
28893 [__ASSUME_32BITUIDS]: Make code unconditional.
28894 [!__ASSUME_32BITUIDS]: Remove conditional code.
28895 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28896 <kernel-features.h>.
28897 [__ASSUME_32BITUIDS]: Make code unconditional.
28898 [!__ASSUME_32BITUIDS]: Remove conditional code.
28899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28900 <kernel-features.h>.
28901 [__ASSUME_32BITUIDS]: Make code unconditional.
28902 [!__ASSUME_32BITUIDS]: Remove conditional code.
28903 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28904 <kernel-features.h>.
28905 [__ASSUME_32BITUIDS]: Make code unconditional.
28906 [!__ASSUME_32BITUIDS]: Remove conditional code.
28907 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28908 <kernel-features.h>.
28909 [__NR_setresgid] (__setresgid): Do not declare.
28910 [__ASSUME_32BITUIDS]: Make code unconditional.
28911 [!__ASSUME_32BITUIDS]: Remove conditional code.
28912 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28913 <kernel-features.h>.
28914 [__NR_setresuid] (__setresuid): Do not declare.
28915 [__ASSUME_32BITUIDS]: Make code unconditional.
28916 [!__ASSUME_32BITUIDS]: Remove conditional code.
28917 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28918 <kernel-features.h>.
28919 [__ASSUME_32BITUIDS]: Make code unconditional.
28920 [!__ASSUME_32BITUIDS]: Remove conditional code.
28921 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28922 <kernel-features.h>.
28923 [__ASSUME_32BITUIDS]: Make code unconditional.
28924 [!__ASSUME_32BITUIDS]: Remove conditional code.
28925 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28926 <kernel-features.h>.
28927 [__ASSUME_32BITUIDS]: Make code unconditional.
28928 [!__ASSUME_32BITUIDS]: Remove conditional code.
28929 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28930 <kernel-features.h>.
28931 [__ASSUME_32BITUIDS]: Make code unconditional.
28932 [!__ASSUME_32BITUIDS]: Remove conditional code.
28933 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28934 <kernel-features.h>.
28935 [__ASSUME_32BITUIDS]: Make code unconditional.
28936 [!__ASSUME_32BITUIDS]: Remove conditional code.
28937 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28938 <kernel-features.h>.
28939 [__ASSUME_32BITUIDS]: Make code unconditional.
28940 [!__ASSUME_32BITUIDS]: Remove conditional code.
28941 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28942 <kernel-features.h>.
28943 [__ASSUME_32BITUIDS]: Make code unconditional.
28944 [!__ASSUME_32BITUIDS]: Remove conditional code.
28945 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28946 <kernel-features.h>.
28947 [__ASSUME_32BITUIDS]: Make code unconditional.
28948 [!__ASSUME_32BITUIDS]: Remove conditional code.
28949 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28950 <kernel-features.h>.
28951 [__ASSUME_32BITUIDS]: Make code unconditional.
28952 [!__ASSUME_32BITUIDS]: Remove conditional code.
28953 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28954 <kernel-features.h>.
28955 [__ASSUME_32BITUIDS]: Make code unconditional.
28956 [!__ASSUME_32BITUIDS]: Remove conditional code.
28957 * sysdeps/unix/sysv/linux/kernel-features.h
28958 (__ASSUME_SETRESUID_SYSCALL): Remove.
28959 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28960 (__ASSUME_32BITUIDS): Likewise.
28961 (__ASSUME_LDT_WORKS): Likewise.
28962 (__ASSUME_O_DIRECTORY): Likewise.
28963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28964 architecture but not kernel version.
28965 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28966 (__ASSUME_MMAP2_SYSCALL): Likewise.
28967 (__ASSUME_STAT64_SYSCALL): Likewise.
28968 (__ASSUME_IPC64): Likewise.
28969 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28970 <kernel-features.h>.
28971 [__ASSUME_32BITUIDS]: Make code unconditional.
28972 [!__ASSUME_32BITUIDS]: Remove conditional code.
28973 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28974 <kernel-features.h>.
28975 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28976 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28977 132096]: Remove conditional code.
28978 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28980 <kernel-features.h>.
28981 [__ASSUME_32BITUIDS]: Make code unconditional.
28982 [!__ASSUME_32BITUIDS]: Remove conditional code.
28983 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28984 <kernel-features.h>.
28985 [__ASSUME_32BITUIDS]: Make code unconditional.
28986 [!__ASSUME_32BITUIDS]: Remove conditional code.
28987 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28988 <kernel-features.h>.
28989 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28991 (__setresgid): Do not declare.
28992 [__ASSUME_32BITUIDS]: Make code unconditional.
28993 [!__ASSUME_32BITUIDS]: Remove conditional code.
28994 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28995 <kernel-features.h>.
28996 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28998 (__setresuid): Do not declare.
28999 [__ASSUME_32BITUIDS]: Make code unconditional.
29000 [!__ASSUME_32BITUIDS]: Remove conditional code.
29001 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29002 <kernel-features.h>.
29003 [__ASSUME_32BITUIDS]: Make code unconditional.
29004 [!__ASSUME_32BITUIDS]: Remove conditional code.
29005 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29006 <kernel-features.h>.
29007 [__ASSUME_32BITUIDS]: Make code unconditional.
29008 [!__ASSUME_32BITUIDS]: Remove conditional code.
29010 2012-05-25 Richard Henderson <rth@twiddle.net>
29012 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29013 dl_hwcap to ifunc resolver.
29014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29016 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29017 dl_hwcap to ifunc resolver.
29018 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29020 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29024 for |x| <= 2**-26, not 2**-57.
29025 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29028 2012-05-24 Jeff Law <law@redhat.com>
29030 * stdio-common/Makefile (tests): Add bug25.
29031 * stdio-common/bug25.c: New test.
29033 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29036 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29037 multiple of MALLOC_ALIGNMENT in size.
29038 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29040 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29042 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29044 (FILENAME_MAX): Use macro-int-constant.
29045 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29046 (_IOFBF): Use macro-int-constant.
29047 (_IOLBF): Likewise.
29048 (_IONBF): Likewise.
29049 (SEEK_CUR): Likewise.
29050 (SEEK_END): Likewise.
29051 (SEEK_SET): Likewise.
29052 (TMP_MAX): Likewise.
29053 (EOF): Use macro-int-constant. Require < 0.
29054 (NULL): Use macro-constant. Require == 0.
29055 (stdin): Require type to be FILE *.
29056 (stdout): Likewise.
29057 (stderr): Likewise.
29058 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29059 macro-int-constant.
29060 (EXIT_SUCCESS): Likewise.
29061 (NULL): Use macro-constant. Require == 0.
29062 (RAND_MAX): Use macro-int-constant.
29063 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29064 [C99-based standards] (strtof): Require function.
29065 [C99-based standards] (strtold): Likewise.
29066 [C99-based standards] (strtoll): Likewise.
29067 [C99-based standards] (strtoull): Likewise.
29068 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29069 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29070 [ISO || ISO99 || ISO11] (math.h): Likewise.
29071 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29075 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29078 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29079 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29080 * intl/dgettext.c (DCGETTEXT): Likewise.
29081 * intl/gettext.c (DCGETTEXT): Likewise.
29082 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29083 * posix/regex_internal.h (gettext): Likewise.
29084 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29085 Remove declaration.
29086 * include/argz.h (__argz_count_internal)
29087 (__argz_stringify_internal): Remove declaration.
29088 (__argz_count, __argz_stringify): Declare hidden proto.
29089 * intl/dcgettext.c: Remove use of INTDEF.
29090 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29091 * string/argz-stringify.c: Likewise.
29092 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29093 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29094 Declare hidden proto.
29095 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29096 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29097 Declare hidden proto.
29098 * include/stdio.h (__asprintf_internal): Don't declare.
29099 (__asprintf): Don't define as macro. Declare hidden proto.
29100 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29101 (__fsetlocking): Declare hidden proto.
29102 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29103 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29105 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29106 (_IO_setlinebuf): Remove use of INTUSE.
29107 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29108 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29109 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29110 Remove declaration.
29111 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29112 (_IO_do_flush): Remove use of INTUSE.
29113 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29114 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29115 (_IO_adjust_column, _IO_least_wmarker)
29116 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29117 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29118 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29119 (_IO_default_doallocate, _IO_wdefault_doallocate)
29120 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29121 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29122 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29123 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29124 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29125 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29126 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29127 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29128 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29129 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29130 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29131 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29132 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29134 (_IO_flush_all_internal, _IO_adjust_column_internal)
29135 (_IO_default_uflow_internal, _IO_default_finish_internal)
29136 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29137 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29138 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29139 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29140 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29141 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29142 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29143 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29144 (_IO_file_close_internal, _IO_file_close_it_internal)
29145 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29146 (_IO_file_init_internal, _IO_file_attach_internal)
29147 (_IO_file_fopen_internal, _IO_file_read_internal)
29148 (_IO_file_sync_internal, _IO_file_seek_internal)
29149 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29150 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29151 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29152 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29153 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29154 (_IO_list_all_internal, _IO_link_in_internal)
29155 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29156 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29157 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29158 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29159 (_IO_do_write_internal, _IO_padn_internal)
29160 (_IO_getline_info_internal, _IO_getline_internal)
29161 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29162 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29163 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29164 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29165 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29166 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29167 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29168 with libc_hidden_ver, remove use of INTUSE.
29169 * libio/genops.c: Likewise.
29170 * libio/freopen.c: Likewise.
29171 * libio/freopen64.c: Likewise.
29172 * libio/iofclose.c: Likewise.
29173 * libio/iofdopen.c: Likewise.
29174 * libio/iofflush.c: Likewise.
29175 * libio/iofflush_u.c: Likewise.
29176 * libio/iofgets.c: Likewise.
29177 * libio/iofgets_u.c: Likewise.
29178 * libio/iofopen.c: Likewise.
29179 * libio/iofopncook.c: Likewise.
29180 * libio/iofread.c: Likewise.
29181 * libio/iofread_u.c: Likewise.
29182 * libio/ioftell.c: Likewise.
29183 * libio/iofwrite.c: Likewise.
29184 * libio/iogetline.c: Likewise.
29185 * libio/iogets.c: Likewise.
29186 * libio/iogetwline.c: Likewise.
29187 * libio/iopadn.c: Likewise.
29188 * libio/iopopen.c: Likewise.
29189 * libio/ioseekoff.c: Likewise.
29190 * libio/ioseekpos.c: Likewise.
29191 * libio/iosetbuffer.c: Likewise.
29192 * libio/iosetvbuf.c: Likewise.
29193 * libio/ioungetc.c: Likewise.
29194 * libio/ioungetwc.c: Likewise.
29195 * libio/iovdprintf.c: Likewise.
29196 * libio/iovsprintf.c: Likewise.
29197 * libio/iovsscanf.c: Likewise.
29198 * libio/memstream.c: Likewise.
29199 * libio/obprintf.c: Likewise.
29200 * libio/oldfileops.c: Likewise.
29201 * libio/oldiofclose.c: Likewise.
29202 * libio/oldiofdopen.c: Likewise.
29203 * libio/oldiofopen.c: Likewise.
29204 * libio/oldiopopen.c: Likewise.
29205 * libio/oldstdfiles.c: Likewise.
29206 * libio/putc.c: Likewise.
29207 * libio/setbuf.c: Likewise.
29208 * libio/setlinebuf.c: Likewise.
29209 * libio/stdfiles.c: Likewise.
29210 * libio/strops.c: Likewise.
29211 * libio/vasprintf.c: Likewise.
29212 * libio/vscanf.c: Likewise.
29213 * libio/vsnprintf.c: Likewise.
29214 * libio/vswprintf.c: Likewise.
29215 * libio/wfiledoalloc.c: Likewise.
29216 * libio/wfileops.c: Likewise.
29217 * libio/wgenops.c: Likewise.
29218 * libio/wmemstream.c: Likewise.
29219 * libio/wstrops.c: Likewise.
29220 * libio/__fpurge.c: Likewise.
29221 * libio/__fsetlocking.c: Likewise.
29222 * assert/assert.c: Likewise.
29223 * debug/fgets_chk.c: Likewise.
29224 * debug/fgets_u_chk.c: Likewise.
29225 * debug/fread_chk.c: Likewise.
29226 * debug/fread_u_chk.c: Likewise.
29227 * debug/gets_chk.c: Likewise.
29228 * debug/obprintf_chk.c: Likewise.
29229 * debug/vasprintf_chk.c: Likewise.
29230 * debug/vdprintf_chk.c: Likewise.
29231 * debug/vsnprintf_chk.c: Likewise.
29232 * debug/vsprintf_chk.c: Likewise.
29233 * malloc/mtrace.c: Likewise.
29234 * misc/error.c: Likewise.
29235 * misc/syslog.c: Likewise.
29236 * stdio-common/asprintf.c: Likewise.
29237 * stdio-common/fxprintf.c: Likewise.
29238 * stdio-common/getw.c: Likewise.
29239 * stdio-common/isoc99_fscanf.c: Likewise.
29240 * stdio-common/isoc99_scanf.c: Likewise.
29241 * stdio-common/isoc99_vfscanf.c: Likewise.
29242 * stdio-common/isoc99_vscanf.c: Likewise.
29243 * stdio-common/isoc99_vsscanf.c: Likewise.
29244 * stdio-common/printf-prs.c: Likewise.
29245 * stdio-common/printf_fp.c: Likewise.
29246 * stdio-common/printf_fphex.c: Likewise.
29247 * stdio-common/printf_size.c: Likewise.
29248 * stdio-common/putw.c: Likewise.
29249 * stdio-common/scanf.c: Likewise.
29250 * stdio-common/sprintf.c: Likewise.
29251 * stdio-common/tmpfile.c: Likewise.
29252 * stdio-common/vfprintf.c: Likewise.
29253 * stdio-common/vfscanf.c: Likewise.
29254 * stdlib/strfmon_l.c: Likewise.
29255 * sunrpc/openchild.c: Likewise.
29256 * sunrpc/xdr_stdio.c: Likewise.
29257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29258 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29260 2012-05-24 Roland McGrath <roland@hack.frob.com>
29262 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29264 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29265 in the third column, to generate for the shared library an IFUNC
29266 that uses _dl_vdso_vsym.
29267 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29268 * Makeconfig (object-suffixes-noshared): New variable.
29270 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29271 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29272 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29273 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29276 * include/sys/time.h (__gettimeofday): Remove macro.
29277 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29278 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29280 (__gettimeofday): Add libc_hidden_def.
29281 (gettimeofday): Add libc_hidden_weak.
29282 * sysdeps/mach/gettimeofday.c: Likewise.
29283 * sysdeps/posix/gettimeofday.c: Likewise.
29284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29285 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29287 (__gettimeofday_internal): Remove strong_alias.
29288 (__gettimeofday): Add libc_hidden_def.
29289 (gettimeofday): Add libc_hidden_weak.
29290 * sysdeps/unix/syscalls.list (gettimeofday):
29291 Remove __gettimeofday_internal alias.
29293 2012-05-24 Daniel Jacobowitz <drow@false.org>
29294 H.J. Lu <hongjiu.lu@intel.com>
29297 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29298 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29299 (largebin_index_32_big): New.
29300 (largebin_index): Use it for 16-byte alignment.
29301 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29302 correction with front_misalign.
29304 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29332 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29333 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29335 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29339 * math/libm-test.inc (exp_test): Add test from bug 14036.
29340 (pow_test): Add test from bug 10846.
29342 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29344 (special_function): Do not include flags in test name.
29345 (parse_args): Likewise.
29346 * sysdeps/i386/fpu/libm-test-ulps: Update.
29347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29349 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29352 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29354 * math/libm-test.inc ("Philosophy"): Update comment about
29356 (UNDERFLOW_EXCEPTION): New macro.
29357 (UNDERFLOW_EXCEPTION_OK): Likewise.
29358 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29359 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29360 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29361 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29362 (INVALID_EXCEPTION_OK): Update value.
29363 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29364 (OVERFLOW_EXCEPTION_OK): Likewise.
29365 (IGNORE_ZERO_INF_SIGN): Likewise.
29366 (test_exceptions): Handle underflow exceptions.
29367 (acos_test): Update for underflow exception expectations.
29368 (cexp_test): Likewise.
29369 (clog_test): Likewise.
29370 (clog10_test): Likewise.
29371 (csqrt_test): Likewise.
29372 (ctan_test): Likewise.
29373 (ctanh_test): Likewise.
29374 (exp_test): Likewise.
29375 (exp10_test): Likewise.
29376 (exp2_test): Likewise.
29377 (expm1_test): Likewise.
29378 (fma_test): Likewise.
29379 (j0_test): Likewise.
29380 (jn_test): Likewise.
29381 (nexttoward_test): Likewise.
29382 (pow_test): Likewise.
29383 (scalbn_test): Likewise.
29384 (scalbln_test): Likewise.
29385 (tan_test): Likewise.
29386 (y1_test): Likewise.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29390 2012-05-23 David S. Miller <davem@davemloft.net>
29392 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29393 (__libc_sigaction): Remove unused local variables.
29395 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29397 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29399 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29401 mktime: avoid signed integer overflow
29402 * time/mktime.c (__mktime_internal): Do not mishandle the case
29403 where diff == INT_MIN.
29405 mktime: simplify computation of average
29406 * time/mktime.c (ranged_convert): Use new time_t_avg function
29407 instead of rolling our own (probably-slower) code.
29409 mktime: do not assume signed right shift propagates sign bit
29410 * time/mktime.c (isdst_differ): New static function.
29411 (__mktime_internal): No need to normalize tm_isdst now.
29412 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29415 mktime: merge another wrapv change from gnulib
29416 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29417 from some compilers.
29419 mktime: remove incorrect attempt at unusual arithmetics
29420 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29421 The code didn't really work on such machines anyway.
29422 (TYPE_MINIMUM): Assume two's complement.
29423 (twos_complement_arithmetic): Verify that long_int and time_t
29424 are two's complement (or unsigned, in the latter case).
29426 mktime: check signed shifts on long_int and time_t, too
29427 * time/mktime.c (SHR): Check that shifts work as desired
29428 on the types long_int and time_t too, as SHR is used on
29431 mktime: do not assume 'long' is wide enough
29432 * time/mktime.c (verify): Move decl up.
29433 (long_int): New type.
29434 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29435 to remove assumption in the code that 'long' is wide enough to
29436 store year values. This assumption is not true on x32 and on
29437 some non-glibc platforms.
29439 mktime: merge wrapv change from gnulib
29440 * time/mktime.c (WRAPV): New macro.
29441 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29442 (guess_time_tm, __mktime_internal): Do not assume that signed
29443 integer overflow wraps around; modern compilers generate code
29444 where this assumption is no longer valid.
29446 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29448 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29449 Replace "jmp L(pseudo_end)" with "ret".
29450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29453 2012-05-23 Andreas Jaeger <aj@suse.de>
29455 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29456 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29458 2012-05-23 Andreas Jaeger <aj@suse.de>
29459 Maximilian Attems <max@stro.at>
29461 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29464 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29466 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29467 code so that pseudo_end is just ret and the stack pointer is
29468 correct also for static library in error case.
29470 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29472 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29473 move to syscalls.list.
29474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29479 * manual/install.texi (Running make install): Do not mention Linux
29480 kernel version for which pt_chown is not needed.
29481 (Linux): Do not mention problems with nscd with 2.0 kernels.
29482 * INSTALL: Regenerated.
29484 2012-05-23 Andreas Jaeger <aj@suse.de>
29486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29487 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29489 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29490 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29491 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29492 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29493 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29499 * sysdeps/unix/sysv/linux/bits/in.h
29500 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29502 2012-05-22 Roland McGrath <roland@hack.frob.com>
29504 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29505 (PREPARE_VERSION): Just use assert instead, it will be elided
29506 under [NDEBUG] anyway.
29508 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29510 * sysdeps/unix/sysv/linux/Makefile: Include
29511 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29512 (sysdep_routines): Remove sysctl.
29513 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29514 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29516 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29517 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29519 2012-05-22 Andreas Jaeger <aj@suse.de>
29521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29522 that pseudo_end is just ret and the stack pointer is correct also
29523 for static library in error case.
29525 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29528 * nss/nsswitch.c (defconfig_entries): New variable.
29529 (__nss_database_lookup): Don't leak defconfig entries.
29530 (nss_parse_service_list): Don't leak on error paths.
29531 (free_database_entries): New function.
29532 (free_defconfig): New function.
29533 (free_mem): Move common code to free_database_entries.
29535 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29537 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29539 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29541 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29542 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29545 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29546 (INTERNAL_SYSCALL_TYPES): Likewise.
29547 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29548 (LOAD_REGS_TYPES_[1-6]): Likewise.
29549 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29550 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29552 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29555 copysignl for GLIBC_2_0.
29556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29557 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29559 logbl for GLIBC_2_0.
29560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29561 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29563 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29568 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29571 * time/mktime.c: Update copyright years.
29573 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29575 mktime: merge comment-quoting-style change from gnulib
29576 * time/mktime.c: Quote 'like this' in comments.
29577 The GNU coding standards suggest that we no longer quote `like this',
29578 as "`" and "'" are typically rendered asymmetrically nowadays.
29579 The typical gnulib style is to quote 'like this' when quoting
29580 code, and "like this" when quoting English.
29582 * time/mktime.c (compile-command): Add "-I.".
29584 mktime: merge mktime-internal.h change from gnulib
29585 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29587 mktime: merge time_r change from gnulib
29588 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29590 mktime: merge DEBUG change from gnulib
29591 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29592 case system <time.h> has a #define.
29594 mktime: merge <sys/types.h> change from gnulib
29595 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29596 since <time.t> is now guaranteed to define time_t.
29598 mktime: merge HAVE_CONFIG_H change from gnulib
29599 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29601 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29606 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29608 (struct rusage): Use anonymous union to pad each field to
29611 2012-05-21 David S. Miller <davem@davemloft.net>
29613 * Makefules (o-iterator): Remove .s cases.
29614 (compile-command.s): Delete.
29615 (COMPILE.s): Delete.
29616 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29618 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29620 * configure.in (libc_cv_predef_stack_protector): Only consider
29621 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29622 * configure: Regenerated.
29624 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29627 New macro. Use R*LP on int and pointer.
29628 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29629 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29630 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29631 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29633 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29634 [__WORDSIZE_TIME64_COMPAT32] instead of
29635 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29636 (struct utmp): Likewise.
29637 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29638 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29640 (__WORDSIZE_TIME64_COMPAT32): This.
29641 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29642 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29643 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29644 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29645 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29646 (__WORDSIZE_TIME64_COMPAT32): New macro.
29648 2012-05-21 Andreas Jaeger <aj@suse.de>
29650 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29651 only if [SHARED]. Add prototype for __wcschr_ia32.
29653 2012-05-21 Roland McGrath <roland@hack.frob.com>
29655 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29656 of %rbp unmolested in the jmp_buf while mangling the low bits.
29657 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29658 unmolested high bits of %rbp while demangling the low bits.
29659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29661 2012-05-21 Andreas Jaeger <aj@suse.de>
29663 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29664 * sunrpc/svc_simple.c: Use it for registerrpc.
29665 * sunrpc/xcrypt.c: Use it for passwd2des.
29667 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29669 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29671 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29672 Don't define if [__SYSCALL_WORDSIZE != 32].
29673 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29676 2012-05-21 Bruno Haible <bruno@clisp.org>
29677 Andreas Jaeger <aj@suse.de>
29679 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29680 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29681 inptr and inend for must_buffer_ch.
29682 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29683 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29684 * stdio-common/Makefile (tests): Remove bug15.
29685 (bug15-ENV): Remove macro.
29686 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29689 2012-05-19 Andreas Jaeger <aj@suse.de>
29690 Roland McGrath <roland@hack.frob.com>
29692 * manual/contrib.texi: Completely rewritten. It contains now an
29693 alphabetical list of contributors and their contributions.
29695 2012-05-21 Richard Henderson <rth@twiddle.net>
29697 * misc/getauxval.c (__getauxval): Use unsigned long int.
29698 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29699 (getauxval): Use unsigned long int.
29701 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29703 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29705 2012-05-21 Roland McGrath <roland@hack.frob.com>
29707 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29708 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29709 __alignof__ (long double).
29711 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29715 2012-05-20 Richard Henderson <rth@twiddle.net>
29717 * misc/getauxval.c: New file.
29718 * misc/sys/auxv.h: New file.
29719 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29720 (routines): Add getauxval.
29721 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29723 * elf/dl-sysdep.c (_dl_auxv): Remove.
29724 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29725 * elf/dl-support.c (_dl_auxv): New variable.
29726 (_dl_aux_init): Initialize it.
29727 * manual/startup.texi (Auxiliary Vector): New node.
29728 * sysdeps/generic/bits/hwcap.h: New file.
29729 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29730 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29731 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29732 * sysdeps/sparc/sysdep.h: ... here. Include it.
29733 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29746 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29750 2012-05-19 David S. Miller <davem@davemloft.net>
29752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29754 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29757 * math/s_ccosh.c: Include <float.h>
29758 (__ccosh): Avoid internal overflow calculating sinh and cosh
29759 values before multiplying by sin and cos values.
29760 * math/s_ccoshf.c: Likewise.
29761 * math/s_ccoshl.c: Likewise.
29762 * math/s_csin.c: Likewise.
29763 * math/s_csinf.c: Likewise.
29764 * math/s_csinl.c: Likewise.
29765 * math/s_csinh.c: Likewise.
29766 * math/s_csinhf.c: Likewise.
29767 * math/s_csinhl.c: Likewise.
29768 * math/libm-test.inc (ccos_test): Add more tests.
29769 (ccosh_test): Likewise.
29770 (csin_test): Likewise.
29771 (csinh_test): Likewise.
29772 * sysdeps/i386/fpu/libm-test-ulps: Update.
29773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29775 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29777 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29778 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29780 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29782 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29784 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29785 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29786 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29787 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29788 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29789 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29790 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29791 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29792 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29793 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29794 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29795 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29796 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29797 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29798 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29799 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29800 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29801 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29802 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29803 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29804 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29805 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29806 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29807 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29808 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29809 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29810 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29811 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29812 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29813 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29814 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29816 2012-05-18 Andreas Jaeger <aj@suse.de>
29818 * csu/.gitignore: Delete.
29820 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29822 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29823 (timex): Use __syscall_slong_t.
29825 2012-05-18 Andreas Jaeger <aj@suse.de>
29826 Carlos O'Donell <carlos_odonell@mentor.com>
29828 * manual/install.texi (Configuring and compiling): Update
29829 description about files modified in the source directory.
29830 * INSTALL: Regenerated.
29832 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29834 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29835 value. Use "or" to set return value to -1.
29836 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29837 negate return value.
29839 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29841 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29842 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29843 failure if the compiler has Graphite support disabled.
29844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29846 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29847 (CFLAGS-memmove.c): Likewise.
29848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29851 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29853 * sysdeps/x86_64/x32/_itoa.h: New file.
29855 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29856 getdents system call only if kernel and user dirents have the
29857 same d_ino and d_off.
29859 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29860 LLONG_MAX != LONG_MAX.
29861 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29862 (_fitoa_word): Likewise.
29864 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29866 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29867 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29868 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29871 include <bits/wordsize.h>. Check __x86_64__ instead of
29873 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29874 if __x86_64__ is defined. Use anonymous union on fpstate.
29876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29879 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29881 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29882 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29883 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29884 Refer to _rtld_local_ro instead of _rtld_global_ro.
29885 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29887 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29889 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29891 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29892 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29893 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29895 * sysdeps/powerpc/powerpc32/dl-machine.c
29896 (__elf_machine_runtime_setup) [PROF]: Don't reference
29899 2012-05-18 Andreas Jaeger <aj@suse.de>
29901 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29902 function only available for GCCs before 3.4 since GCC 3.4
29903 introduced a builtin.
29905 (llrintf): Likewise.
29906 (llrint): Likewise.
29913 (nearbyint): Likewise.
29914 (nearbyintf): Likewise.
29918 (floorf): Likewise.
29920 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29922 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29923 on both fields and cast pointer to __syscall_ulong_t.
29925 * bits/types.h (__fsword_t): New type.
29926 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29927 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29929 (__FSWORD_T_TYPE): Likewise.
29930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29931 (__FSWORD_T_TYPE): Likewise.
29932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29933 (__FSWORD_T_TYPE): Likewise.
29934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29935 (__FSWORD_T_TYPE): Likewise.
29936 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29937 __SWORD_TYPE with __fsword_t.
29938 (statfs64): Likewise.
29940 2012-05-17 David S. Miller <davem@davemloft.net>
29942 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29944 2012-05-17 Andreas Jaeger <aj@suse.de>
29946 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29949 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29951 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29953 2012-05-17 Andreas Jaeger <aj@suse.de>
29955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29958 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29960 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29962 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29964 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29965 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29967 2012-05-17 Andreas Jaeger <aj@suse.de>
29968 Carlos O'Donell <carlos_odonell@mentor.com>
29971 * sysdeps/x86_64/multiarch/init-arch.h
29972 (bit_YMM_Usable): Rename to...
29973 (bit_AVX_Usable): ... this.
29974 (bit_FMA4_Usable): New macro.
29975 (bit_XMM_state): New macro.
29976 (bit_YMM_state): New macro.
29977 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29978 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29979 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29980 (CPUID_OSXSAVE): New macro.
29981 (CPUID_AVX): New macro.
29982 (CPUID_FMA4): New macro.
29983 (index_YMM_Usable): Rename to...
29984 (index_AVX_Usable): ... this.
29985 (HAS_AVX): Use HAS_ARCH_FEATURE.
29986 (HAS_FMA4): Likewise.
29987 (HAS_YMM_USABLE): Remove.
29988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29989 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29991 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29992 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29993 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29994 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29995 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29997 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29999 * math/libm-test.c: Support platforms without multiple rounding modes.
30000 * math/bug-nextafter.c: Support platforms without FP exceptions.
30001 * math/bug-nexttoward.c: Likewise.
30002 * math/test-fenv.c: Likewise.
30003 * math/test-misc.c: Likewise.
30004 * stdlib/bug-getcontext.c: Likewise.
30006 2012-05-17 Andreas Jaeger <aj@suse.de>
30008 * manual/examples/search.c (critter_cmp): Change signature to
30010 * manual/string.texi (Collation Functions): Likewise.
30012 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30014 * bits/types.h: Fold copyright years.
30015 * bits/typesizes.h: Likewise.
30016 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30020 * time/time.h: Likewise.
30022 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30025 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30026 in instead of returning them. Return void.
30027 (__libc_mallinfo): Accumulate over all arenas.
30028 (__malloc_stats): Adjust for change in int_mallinfo interface.
30030 2012-05-16 Roland McGrath <roland@hack.frob.com>
30033 * configure.in (NM): Add AC_CHECK_TOOL for it.
30034 (libc_extra_cflags): New substituted variable.
30035 Check for -fstack-protector being used implicitly.
30036 * configure: Regenerated.
30037 * config.make.in (config-extra-cflags): New variable,
30038 gets @libc_extra_cflags@.
30039 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30042 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30043 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30044 * configure: Regenerated.
30045 * config.make.in (CPPUNDEFS): New substituted variable.
30046 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30047 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30048 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30050 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30052 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30053 (mq_attr): Use __syscall_slong_t.
30055 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30058 Check __x86_64__ instead of __WORDSIZE.
30059 (_STAT_VER_LINUX): Likewise.
30060 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30061 __syscall_ulong_t and __syscall_slong_t.
30062 (stat64): Likewise.
30064 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30068 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30072 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30074 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30077 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30078 include <bits/wordsize.h>. Check __x86_64__ instead of
30080 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30082 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30085 include <bits/wordsize.h>. Check __x86_64__ instead of
30087 (user_regs_struct): Use "__extension__ unsigned long long"
30088 instead of "unsigned long" if __x86_64__ is defined.
30089 (user): Likewise. Pad after pointer field if __ILP32__ is
30092 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30094 * configure.in (makeinfo): Require version 4.5 or later. Allow
30096 * configure: Regenerated.
30097 * manual/install.texi (texinfo): Increase version requirement to
30099 * INSTALL: Regenerated.
30101 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30105 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30107 * sysdeps/x86_64/x32/ffs.c: New file.
30109 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30111 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30112 defined. Use __syscall_ulong_t.
30113 (shminfo): Use __syscall_ulong_t.
30114 (shm_info): Likewise.
30116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30119 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30121 (msgqnum_t): Use __syscall_ulong_t.
30122 (msglen_t): Likewise.
30123 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30127 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30129 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30131 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30132 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30134 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30138 include <bits/wordsize.h>. Check __x86_64__ instead of
30141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30142 "unsigned long long int" if __x86_64__ is defined.
30143 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30147 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30149 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30151 (GET_PC): Cast to uintptr_t first.
30152 (GET_FRAME): Likewise.
30153 (GET_STACK): Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30157 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30159 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30160 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30162 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30163 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30164 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30166 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30167 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30170 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30175 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30180 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30182 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30185 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30187 * Makerules (+depfiles): Also collect depfiles from .oS in
30189 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30190 .oS, $(libnldbl-routines)).
30192 * Makerules (native-compile-mkdep-flags): Define.
30193 * sunrpc/Makefile (extra-objs): Add $(addprefix
30194 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30195 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30196 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30197 calling $(make-target-directory).
30199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30201 * bits/types.h (__snseconds_t): Removed.
30202 * time/time.h (struct timespec): Replace __snseconds_t with
30204 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30205 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30208 (__SNSECONDS_T_TYPE): Likewise.
30209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30210 (__SNSECONDS_T_TYPE): Likewise.
30211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30212 (__SNSECONDS_T_TYPE): Likewise.
30214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30216 * sysdeps/mach/hurd/bits/typesizes.h
30217 (__SYSCALL_SLONG_TYPE): New macro.
30218 (__SYSCALL_ULONG_TYPE): Likewise.
30220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30222 * bits/types.h (__syscall_slong_t): New type.
30223 (__syscall_ulong_t): Likewise.
30225 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30226 (__SYSCALL_ULONG_TYPE): Likewise.
30227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30228 (__SYSCALL_SLONG_TYPE): Likewise.
30229 (__SYSCALL_ULONG_TYPE): Likewise.
30230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30231 (__SYSCALL_SLONG_TYPE): Likewise.
30232 (__SYSCALL_ULONG_TYPE): Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30234 (__SYSCALL_SLONG_TYPE): Likewise.
30235 (__SYSCALL_ULONG_TYPE): Likewise.
30237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30239 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30240 Add sigaltstack-offsets.sym.
30241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30242 <sigaltstack-offsets.h>.
30243 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30244 longjmp_msg pointer.
30245 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30246 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30248 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30250 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30252 * elf/stackguard-macros.h: Remove file.
30253 * sysdeps/generic/stackguard-macros.h: New file.
30254 * sysdeps/i386/stackguard-macros.h: Likewise.
30255 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30256 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30257 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30258 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30259 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30260 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30261 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30262 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30263 <elf/stackguard-macros.h>.
30266 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30267 __aligned__ in attribute.
30268 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30269 (gregset_t): Likewise.
30271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30273 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30274 * sysdeps/x86_64/64/Implies-after: Here. New file.
30275 * sysdeps/x86_64/x32/Implies-after: New file.
30277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30279 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30280 and access return value for _dl_profile_fixup. Use R10_LP to
30283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30285 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30289 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30290 * sysdeps/x86_64/x32/sysdep.h: New file.
30292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30294 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30295 * sysdeps/x86_64/setjmp.S: Likewise.
30297 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30299 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30301 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30302 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30303 remove unused global constant.
30305 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30307 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30308 include of <not-cancel.h>.
30310 2012-05-15 Roland McGrath <roland@hack.frob.com>
30312 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30314 2012-05-15 Jeff Law <law@redhat.com>
30315 Andreas Jaeger <aj@suse.de>
30318 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30320 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30321 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30322 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30323 code changing __hst_map_handle.map.
30325 2012-05-15 Roland McGrath <roland@hack.frob.com>
30327 * configure.in (sysnames): Look for Implies-before and Implies-after
30329 * configure: Regenerated.
30331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30333 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30334 8-byte data alignment with LP_SIZE alignment.
30336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30338 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30343 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30347 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30348 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30355 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30356 (stackinfo_sub_sp): Likewise.
30358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30379 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30380 into R11_LP and load __x86_64_shared_cache_size_half into
30383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30388 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30397 powerpc32/power7/fpu/s_logb.c via #include.
30398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30399 powerpc32/power7/fpu/s_logbf.c via #include.
30400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30401 powerpc32/power7/fpu/s_logbl.c via #include.
30403 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30405 * README.libm: Remove file.
30407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30409 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30410 count for x32. Use R*_LP and omit operand-size suffix.
30412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30414 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30415 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30416 * sysdeps/x86_64/x32/shlib-versions: New file.
30418 2012-05-14 Roland McGrath <roland@hack.frob.com>
30420 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30421 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30422 Use _dl_fatal_printf instead.
30424 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30426 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30427 set if not set by the user. Do not allow for being unset.
30428 * sysdeps/unix/sysv/linux/configure: Regenerated.
30430 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30432 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30433 the `q' suffix from lea and replace .quad with ASM_ADDR.
30435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30438 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30440 (PTR_DEMANGLE): Likewise.
30442 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30444 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30446 (ASM_ADDR): Likewise.
30447 (RAX_LP): Likewise.
30448 (RBP_LP): Likewise.
30449 (RBX_LP): Likewise.
30450 (RCX_LP): Likewise.
30451 (RDI_LP): Likewise.
30452 (RSI_LP): Likewise.
30453 (RSP_LP): Likewise.
30456 (R10_LP): Likewise.
30457 (R10_LP): Likewise.
30458 (R11_LP): Likewise.
30459 (R12_LP): Likewise.
30460 (R13_LP): Likewise.
30461 (R14_LP): Likewise.
30462 (R15_LP): Likewise.
30464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30466 * sysdeps/x86_64/x32/dl-machine.h: New file.
30468 2012-05-14 Andreas Jaeger <aj@suse.de>
30470 * manual/Makefile (subdir): Remove export of subdir.
30471 (all): Remove target.
30472 (.PHONY): Remove all from list.
30473 (mkinstalldirs): Remove.
30474 (.PHONY): Remove installdirs from list.
30475 ($(inst_infodir)/libc.info): Use make-target-directory.
30476 (installdirs): Remove.
30477 (subdir_%): Remove.
30478 (glibc-targets): Remove.
30481 ($(objpfx)stubs ../po/manual.pot): Remove.
30482 ($(objpfx)stamp%): Remove.
30483 (make-target-directory): Remove.
30484 (subdir_install): Remove.
30485 (routines): Remove.
30492 * manual/.gitignore: Remove, it's not needed anymore.
30493 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30495 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30497 (texis): Renamed to $(objpfx)texis.
30498 (texis-path): New, contains path to generated files.
30499 (chapters.%): Use texis-path for complete path, add extra argument
30501 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30502 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30503 (summary,texi, stamp-summary): Use complete path of
30504 files. Generate files in build dir.
30505 (dir-add.texi): Build in build dir.
30506 (libm-err.texi,stamp-libm-err): Likewise.
30507 (version.texi, stamp-version): Likewise.
30508 (.%c.texi): Likewise.
30509 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30510 (mostlyclean): Remove target.
30511 (realclean): Remove target.
30512 (generated): Add new variable with contents from mostlyclean and
30513 realclean, remove entries duplicated in common-mostlyclean, add
30514 stamp-libm-err and stamp-version.
30515 (generated-dirs): Add libc directory.
30516 ($(inst_infodir)/libc.info): Install files from build dir.
30518 * manual/install.texi (Configuring and compiling): Adjust since
30519 the info files are not part of the tar ball anymore.
30521 2012-05-14 Andreas Jaeger <aj@suse.de>
30523 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30526 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30530 to 2.2.0 where earlier.
30531 * sysdeps/unix/sysv/linux/configure: Regenerated.
30532 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30533 Remove conditional code.
30534 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30535 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30536 Remove conditional code.
30537 [!__NR_lchown]: Likewise.
30538 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30539 [__NR_lchown]: Likewise.
30540 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30541 comment referencing __ASSUME_LCHOWN_SYSCALL.
30542 * sysdeps/unix/sysv/linux/i386/sigaction.c
30543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30545 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30546 Remove conditional code.
30547 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30548 (__protocol_available): Remove #if 0 code.
30549 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30551 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30552 * sysdeps/unix/sysv/linux/kernel-features.h
30553 (__ASSUME_GETCWD_SYSCALL): Don't define.
30554 (__ASSUME_REALTIME_SIGNALS): Likewise.
30555 (__ASSUME_PREAD_SYSCALL): Likewise.
30556 (__ASSUME_PWRITE_SYSCALL): Likewise.
30557 (__ASSUME_POLL_SYSCALL): Likewise.
30558 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30559 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30561 (__ASSUME_SIOCGIFNAME): Don't define.
30562 (__ASSUME_MSG_NOSIGNAL): Likewise.
30563 (__ASSUME_SENDFILE): Define unconditionally.
30564 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30565 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30567 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30568 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30569 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30570 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30571 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30572 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30573 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30598 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30599 Remove conditional code.
30600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30601 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30602 Remove conditional code.
30603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30604 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30605 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30606 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30607 Remove conditional code.
30608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30609 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30610 Remove conditional code.
30611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30612 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30613 Remove conditional code.
30614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30615 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30616 Remove conditional code.
30617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30618 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30619 Remove conditional code.
30620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30621 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30624 * sysdeps/unix/sysv/linux/sigaction.c
30625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30627 * sysdeps/unix/sysv/linux/sigpending.c
30628 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30629 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30630 * sysdeps/unix/sysv/linux/sigprocmask.c
30631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30633 * sysdeps/unix/sysv/linux/sigsuspend.c
30634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30636 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30637 (__libc_missing_rt_sigs): Remove.
30638 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30639 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30640 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30641 Remove conditional code.
30642 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30646 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30648 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30650 2012-05-14 Andreas Jaeger <aj@suse.de>
30652 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30653 it's not used in glibc.
30654 (__coshm1): Likewise.
30655 (__acosh1p): Likewise.
30658 * manual/string.texi (Copying and Concatenation): Add missing
30659 variable in concat example.
30660 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30662 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30666 __builtin_clzl with __builtin_clzll.
30668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30671 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30674 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30676 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30677 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30678 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30681 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30683 * NEWS: Update ia64 info.
30685 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30687 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30690 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30692 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30693 * sysdeps/unix/syscalls.list (dup3): Likewise.
30694 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30695 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30697 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30699 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30700 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30702 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30704 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30706 (TLS_IE): Use mov/add instead of movq/addq to load thread
30708 (TLS_GD_PREFIX): New.
30711 2012-05-11 David S. Miller <davem@davemloft.net>
30713 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30714 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30715 (_FPU_SETCW): Likewise.
30717 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30719 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30720 is 32-byte aligned.
30722 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30725 * iconvdata/gb18030.c: Update tables.
30726 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30727 characters specially.
30728 (BODY for TO_LOOP): Add encoding of missing ranges.
30730 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30733 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30734 * sysdeps/mach/hurd/dup3.c: Likewise.
30735 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30736 * sysdeps/powerpc/memmove.c:: Likewise.
30738 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30741 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30743 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30745 * elf/elf.h (R_X86_64_RELATIVE64): New.
30746 (R_X86_64_NUM): Updated.
30747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30748 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30749 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30750 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30751 tst-quad1pie tst-quad2pie
30752 (modules-names): Add tst-quadmod1 tst-quadmod2.
30753 ($(objpfx)tst-quad1): New dependency.
30754 ($(objpfx)tst-quad2): Likewise.
30755 ($(objpfx)tst-quad1pie): Likewise.
30756 ($(objpfx)tst-quad2pie): Likewise.
30757 * sysdeps/x86_64/tst-quad1.c: New file.
30758 * sysdeps/x86_64/tst-quad1pie.c: New file.
30759 * sysdeps/x86_64/tst-quad2.c: Likewise.
30760 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30761 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30762 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30763 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30764 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30768 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30769 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30770 * streams/stropts.h (t_scalar_t): Define type.
30772 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30773 (_PATH_PRESERVE): Set to "/var/lib".
30774 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30776 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30779 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30780 if __dir_mkfile succeeded.
30782 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30783 checking for _hurd_dtablesize. Unlock it right after having
30784 finished _hurd_dtable allocation.
30786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30788 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30789 * sysdeps/mach/hurd/configure: Regenerated.
30790 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30791 special-casing to...
30792 * sysdeps/gnu/configure.in: ... this new file.
30793 * sysdeps/unix/sysv/linux/configure: Regenerated.
30794 * sysdeps/gnu/configure: New generated file.
30796 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30797 for Linux: use nsec instead of usec, as well as:
30798 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30799 members of type struct timespec.
30800 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30802 (struct stat64): Likewise.
30803 (_STATBUF_ST_NSEC): New macro.
30804 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30806 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30807 __strtoul_internal rather than strtoul.
30809 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30811 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30816 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30817 which preserves existing values.
30818 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30820 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30822 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30823 TIMEOUT values. Return EINVAL for NFDS values either negative or
30824 greater than FD_SETSIZE.
30826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30828 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30829 allocated, call __vm_protect to finish enabling the existing space, and
30830 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30831 allocate the remainder.
30833 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30835 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30836 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30840 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30841 sysdeps/mach/hurd/readlink.c.
30843 * posix/tst-sysconf.c (posix_options): Only use
30844 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30845 _POSIX_SYNCHRONIZED_IO when they are defined
30846 * sysdeps/mach/hurd/bits/posix_opt.h:
30847 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30848 (_XOPEN_REALTIME): Undefine macro.
30849 (_XOPEN_REALTIME_THREADS): Undefine macro.
30850 (_XOPEN_SHM): Undefine macro.
30851 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30853 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30855 (_POSIX_ASYNC_IO): Undefine macro.
30856 (_POSIX_PRIORITIZED_IO): Undefine macro.
30857 (_POSIX_SPIN_LOCKS): Define macro to -1.
30859 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30860 SA_NODEFER, SA_RESETHAND.
30861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30862 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30865 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30867 * elf/Makefile (pldd-modules): Define unconditionally.
30869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30871 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30875 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30876 Return ENOENT when name is empty.
30877 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30881 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30883 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30887 Fix mlock in all cases except non-readable pages.
30888 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30889 instead of VM_PROT_ALL as parameter to __vm_wire function.
30891 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30892 (__mkdir): When path is `/', just fail with EEXIST.
30893 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30895 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30897 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30898 <sys/uio.h> (for writev).
30899 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30900 and <sys/param.h> (for MIN).
30902 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30904 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30905 REQUESTED_TIME. Properly set the remaining time and return EINTR
30908 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30910 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30911 Depend on against $(link-rpcuserlibs).
30913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30915 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30916 (__libc_stack_end): Do not use attribute_relro.
30917 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30918 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30919 to libthread-provided value.
30920 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30926 * bits/libc-lock.h (__libc_once_get): New macro.
30927 * sysdeps/mach/bits/libc-lock.h: Likewise.
30928 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30930 instead of using implementation details.
30932 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30933 * libio/freopen.c: Likewise.
30934 * libio/freopen64.c: Likewise.
30935 * misc/syslog.c: Likewise.
30936 * nscd/connections.c: Likewise.
30937 * nscd/netgroupcache.c: Likewise.
30938 * sysdeps/posix/getcwd.c: Likewise.
30940 2012-05-10 Roland McGrath <roland@hack.frob.com>
30942 * math/w_ilogbf.c: Add #include <limits.h>.
30944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30946 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30947 path instead of returning without unlocking.
30949 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30950 immediate-write ioctls.
30951 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30955 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30956 __builtin_frame_address instead of making assumptions about the
30957 location of the return address relative to DATA. Force early load of
30958 the return address.
30959 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30960 __builtin_frame_address.
30963 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30964 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30965 implement dup3 and do some further code clean-ups.
30966 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30971 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30973 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30974 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30975 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30976 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30977 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30980 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30981 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30982 when handler == SIG_ERR, not when handler != SIG_ERR.
30984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30986 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30987 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30990 accept4 for GNU Hurd.
30991 * include/sys/socket.h (__libc_accept4): New prototype.
30992 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30993 to implement __libc_accept4.
30994 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30996 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30998 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30999 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31000 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31001 signal-defines.sym.
31003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31005 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31007 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31009 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31010 assertion on O_CLOEXEC flag.
31011 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31012 * hurd/intern-fd.c: Likewise.
31013 * hurd/port2fd.c: Likewise.
31015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31018 * bits/in.h (IPV6_PKTINFO): Define new macro.
31019 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31021 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31026 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31028 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31032 * math/libm-test.inc (logb_test) : Additional logb tests.
31034 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31035 Andreas Jaeger <aj@suse.de>
31037 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31038 * configure: Regenerated.
31039 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31040 * config.make.in (link-obsolete-rpc): New substituted variable.
31041 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31042 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31043 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31044 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31045 so that libc.a contains the symbols.
31046 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31047 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31048 * sunrpc/auth_none.c: Likewise.
31049 * sunrpc/auth_unix.c: Likewise.
31050 * sunrpc/authdes_prot.c: Likewise.
31051 * sunrpc/authuxprot.c: Likewise.
31052 * sunrpc/clnt_gen.c: Likewise.
31053 * sunrpc/clnt_perr.c: Likewise.
31054 * sunrpc/clnt_raw.c: Likewise.
31055 * sunrpc/clnt_simp.c: Likewise.
31056 * sunrpc/clnt_tcp.c: Likewise.
31057 * sunrpc/clnt_udp.c: Likewise.
31058 * sunrpc/clnt_unix.c: Likewise.
31059 * sunrpc/des_crypt.c: Likewise.
31060 * sunrpc/des_soft.c: Likewise.
31061 * sunrpc/get_myaddr.c: Likewise.
31062 * sunrpc/key_call.c: Likewise.
31063 * sunrpc/key_prot.c: Likewise.
31064 * sunrpc/netname.c: Likewise.
31065 * sunrpc/pm_getmaps.c: Likewise.
31066 * sunrpc/pm_getport.c: Likewise.
31067 * sunrpc/pmap_clnt.c: Likewise.
31068 * sunrpc/pmap_prot.c: Likewise.
31069 * sunrpc/pmap_prot2.c: Likewise.
31070 * sunrpc/pmap_rmt.c: Likewise.
31071 * sunrpc/publickey.c: Likewise.
31072 * sunrpc/rpc_cmsg.c: Likewise.
31073 * sunrpc/rpc_common.c: Likewise.
31074 * sunrpc/rpc_dtable.c: Likewise.
31075 * sunrpc/rpc_prot.c: Likewise.
31076 * sunrpc/rpc_thread.c: Likewise.
31077 * sunrpc/rtime.c: Likewise.
31078 * sunrpc/svc.c: Likewise.
31079 * sunrpc/svc_auth.c: Likewise.
31080 * sunrpc/svc_raw.c: Likewise.
31081 * sunrpc/svc_run.c: Likewise.
31082 * sunrpc/svc_tcp.c: Likewise.
31083 * sunrpc/svc_udp.c: Likewise.
31084 * sunrpc/svc_unix.c: Likewise.
31085 * sunrpc/svcauth_des.c: Likewise.
31086 * sunrpc/xcrypt.c: Likewise.
31087 * sunrpc/xdr.c: Likewise.
31088 * sunrpc/xdr_array.c: Likewise.
31089 * sunrpc/xdr_float.c: Likewise.
31090 * sunrpc/xdr_intXX_t.c: Likewise.
31091 * sunrpc/xdr_mem.c: Likewise.
31092 * sunrpc/xdr_rec.c: Likewise.
31093 * sunrpc/xdr_ref.c: Likewise.
31094 * sunrpc/xdr_sizeof.c: Likewise.
31095 * sunrpc/xdr_stdio.c: Likewise.
31097 2012-05-10 Roland McGrath <roland@hack.frob.com>
31099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31100 change. Update copyright years.
31102 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31104 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31106 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31107 Joseph Myers <joseph@codesourcery.com>
31108 Paul Pluzhnikov <ppluzhnikov@google.com>
31111 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31113 [cross-compiling] (extra-libs): Likewise.
31114 [cross-compiling] (extra-libs-others): Likewise.
31115 [cross-compiling] (librpcsvc-routines): Likewise.
31116 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31117 [cross-compiling] (omit-deps): Likewise.
31118 (sunrpc-CPPFLAGS): New variable.
31119 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31120 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31121 (cross-rpcgen-objs): New variable.
31122 (extra-objs): Append $(cross-rpcgen-objs).
31123 ($(cross-rpcgen-objs)): New rule.
31124 ($(objpfx)cross-rpcgen): Likewise.
31125 (rpcgen-cmd): Define to use $(built-program-file). Expand
31127 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31128 ($(objpfx)x%.stmp): Likewise.
31129 * sunrpc/proto.h [IS_IN_build] (_): Define.
31130 [IS_IN_build] (_libc_intl_domainname): Likewise.
31132 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31135 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31136 and R_X86_64_TPOFF64.
31138 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31140 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31141 sysdeps/unix/sysv/syscalls.list.
31144 * sysdeps/unix/sysv/syscalls.list: Remove file.
31146 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31149 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31150 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31151 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31152 (__LC_IDENTIFICATION): Make these macros useful in #if
31153 expressions, as required by C99.
31155 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31157 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31158 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31161 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31163 * stdlib/longlong.h: Updated from GCC.
31165 2012-05-09 Andreas Jaeger <aj@suse.de>
31167 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31168 default is first entry.
31169 (run_mode): Set type.
31170 (main): Remove informal message about syslog.
31171 (options): Fix typo.
31174 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31177 (llrintf): Likewise.
31178 (llrint): Likewise.
31181 (nearbyint): Likewise.
31182 (nearbyintf): Likewise.
31184 2012-05-09 Andreas Jaeger <aj@suse.de>
31185 Pedro Alves <palves@redhat.com>
31187 * nscd/nscd.c (run_mode): Use enum.
31188 (main): Cleanup coding style issue.
31190 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31191 Andreas Jaeger <aj@suse.de>
31193 * nscd/nscd.c (go_background): Replaced with...
31194 (run_mode): ... this.
31195 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31196 (options): Add -F --foreground.
31197 (main): Implement it.
31198 (parse_opt): Parse it.
31200 2012-05-09 Andreas Jaeger <aj@suse.de>
31203 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31204 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31205 -Wconversion warning.
31206 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31209 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31211 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31213 (LC_ALL): Use macro-int-constant.
31214 (LC_COLLATE): Likewise.
31215 (LC_CTYPE): Likewise.
31216 (LC_MESSAGES): Likewise.
31217 (LC_MONETARY): Likewise.
31218 (LC_NUMERIC): Likewise.
31219 (LC_TIME): Likewise.
31220 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31221 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31223 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31225 [C99-based standards] (float_t): Expect type.
31226 [C99-based standards] (double_t): Expect type.
31227 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31229 [C99-based standards] (HUGE_VALL): Likewise.
31230 [C99-based standards] (INFINITY): Likewise.
31231 [C99-based standards] (NAN): Likewise.
31232 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31233 [C99-based standards] (FP_NAN): Likewise.
31234 [C99-based standards] (FP_NORMAL): Likewise.
31235 [C99-based standards] (FP_SUBNORMAL): Likewise.
31236 [C99-based standards] (FP_ZERO): Likewise.
31237 [C99-based standards] (FP_FAST_FMA): Use
31238 optional-macro-int-constant. Specify type. Require == 1.
31239 [C99-based standards] (FP_FAST_FMAF): Likewise.
31240 [C99-based standards] (FP_FAST_FMAL): Likewise.
31241 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31242 [C99-based standards] (FP_ILOGBNAN): Likewise.
31243 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31245 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31246 [C99-based standards] (math_errhandling): Specify type.
31247 [ISO99 || ISO11] (signgam): Do not allow.
31248 [non-C99-based standards] (copysignf): Do not allow.
31249 [non-C99-based standards] (exp2f): Likewise.
31250 [non-C99-based standards] (log2f): Likewise.
31251 [non-C99-based standards] (modff): Allow.
31252 [non-C99-based standards] (erff): Do not allow.
31253 [non-C99-based standards] (erfcf): Likewise.
31254 [non-C99-based standards] (gammaf): Likewise.
31255 [non-C99-based standards] (hypotf): Likewise.
31256 [non-C99-based standards] (j0f): Likewise.
31257 [non-C99-based standards] (j1f): Likewise.
31258 [non-C99-based standards] (jnf): Likewise.
31259 [non-C99-based standards] (lgammaf): Likewise.
31260 [non-C99-based standards] (tgammaf): Likewise.
31261 [non-C99-based standards] (y0f): Likewise.
31262 [non-C99-based standards] (y1f): Likewise.
31263 [non-C99-based standards] (ynf): Likewise.
31264 [non-C99-based standards] (isnanf): Likewise.
31265 [non-C99-based standards] (acoshf): Likewise.
31266 [non-C99-based standards] (asinhf): Likewise.
31267 [non-C99-based standards] (atanhf): Likewise.
31268 [non-C99-based standards] (cbrtf): Likewise.
31269 [non-C99-based standards] (expm1f): Likewise.
31270 [non-C99-based standards] (ilogbf): Likewise.
31271 [non-C99-based standards] (log1pf): Likewise.
31272 [non-C99-based standards] (logbf): Likewise.
31273 [non-C99-based standards] (nextafterf): Likewise.
31274 [non-C99-based standards] (remainderf): Likewise.
31275 [non-C99-based standards] (rintf): Likewise.
31276 [non-C99-based standards] (scalbf): Likewise.
31277 [non-C99-based standards] (copysignl): Likewise.
31278 [non-C99-based standards] (exp2l): Likewise.
31279 [non-C99-based standards] (log2l): Likewise.
31280 [non-C99-based standards] (modfl): Allow.
31281 [non-C99-based standards] (erfl): Do not allow.
31282 [non-C99-based standards] (erfcl): Likewise.
31283 [non-C99-based standards] (gammal): Likewise.
31284 [non-C99-based standards] (hypotl): Likewise.
31285 [non-C99-based standards] (j0l): Likewise.
31286 [non-C99-based standards] (j1l): Likewise.
31287 [non-C99-based standards] (jnl): Likewise.
31288 [non-C99-based standards] (lgammal): Likewise.
31289 [non-C99-based standards] (tgammal): Likewise.
31290 [non-C99-based standards] (y0l): Likewise.
31291 [non-C99-based standards] (y1l): Likewise.
31292 [non-C99-based standards] (ynl): Likewise.
31293 [non-C99-based standards] (isnanl): Likewise.
31294 [non-C99-based standards] (acoshl): Likewise.
31295 [non-C99-based standards] (asinhl): Likewise.
31296 [non-C99-based standards] (atanhl): Likewise.
31297 [non-C99-based standards] (cbrtl): Likewise.
31298 [non-C99-based standards] (expm1l): Likewise.
31299 [non-C99-based standards] (ilogbl): Likewise.
31300 [non-C99-based standards] (log1pl): Likewise.
31301 [non-C99-based standards] (logbl): Likewise.
31302 [non-C99-based standards] (nextafterl): Likewise.
31303 [non-C99-based standards] (remainderl): Likewise.
31304 [non-C99-based standards] (rintl): Likewise.
31305 [non-C99-based standards] (scalbl): Likewise.
31306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31307 [non-C99-based standards] (FP_*): Do not allow.
31308 [C99-based standards] (FP_*): Change to
31309 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31310 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31312 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31313 (SIG_ERR): Likewise.
31314 [X/Open-based standards] (SIG_HOLD): Likewise.
31315 (SIG_IGN): Likewise.
31316 (SIGABRT): Use macro-int-constant. Specify type. Require
31318 (SIGFPE): Likewise.
31319 (SIGILL): Likewise.
31320 (SIGINT): Likewise.
31321 (SIGSEGV): Likewise.
31322 (SIGTER): Likewise.
31323 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31328 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31329 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31330 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31331 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31334 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31335 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31336 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31337 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31338 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31341 [X/Open-based standards] (SIGTRAP): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31343 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31344 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31345 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31346 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31349 2012-05-08 Ian Wienand <ianw@vmware.com>
31352 * time/tzset.c (__tzset_parse_tz): Update default rules for
31353 daylight time changes in the Energy Policy Act of 2005.
31355 2012-05-09 Andreas Jaeger <aj@suse.de>
31358 * elf/ldconfig.c (parse_conf): Change string to make clear that
31359 ldconfig only issued a warning if ld.so.conf does not exist.
31361 2012-05-08 David S. Miller <davem@davemloft.net>
31363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31364 movxtod instead of popping the value on the stack.
31366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31368 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31370 * config.h.in: Add HAVE_ARM_PCS_VFP.
31372 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31375 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31376 checking but the checks are disabled for any reason.
31378 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31380 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31381 and ELF64_R_TYPE with ELFW(R_TYPE).
31383 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31385 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31386 (ulimit): Likewise.
31388 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31389 (settimeofday): Likewise.
31391 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31393 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31394 a struct th_u2 inside the union, and move tu_block/tu_code into
31395 a new th_u3 union of tu_block/tu_code inside of that. Move
31396 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31397 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31398 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31399 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31400 (th_stuff): Change to th_u1.tu_stuff.
31402 (th_msg): Change to th_u1.th_u2.tu_data.
31404 2012-05-07 David S. Miller <davem@davemloft.net>
31406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31409 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31410 (SETUP_PIC_REG): Use it.
31411 (SETUP_PIC_REG_LEAF): Use it.
31413 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31419 (EXPL_FINITE): Likewise.
31420 (FLDLOG): Likewise.
31421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31422 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31426 (EXPL_FINITE): Likewise.
31427 (FLDLOG): Likewise.
31428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31429 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31431 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31432 test of -max_value argument for long double.
31433 * sysdeps/i386/fpu/libm-test-ulps: Update.
31434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31436 2012-05-06 David S. Miller <davem@davemloft.net>
31438 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31439 quad soft-float symbols whose references which are compiler
31441 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31443 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31449 (EXPL_FINITE): Likewise.
31450 (FLDLOG): Likewise.
31453 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31454 Adjust comments for base varying.
31455 (__expl_finite): Change alias to EXPL_FINITE.
31456 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31458 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31459 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31461 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31462 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31464 (EXPL_FINITE): Likewise.
31465 (FLDLOG): Likewise.
31468 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31469 Adjust comments for base varying.
31470 (__expl_finite): Change alias to EXPL_FINITE.
31471 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31476 * math/libm-test.inc (check_float_internal): Correct ulp
31477 calculation for subnormal expected results.
31479 2012-05-06 Andreas Jaeger <aj@suse.de>
31481 * Makeconfig (+math-flags): New, set to -frounding-math.
31482 (+cflags): Add +math-flags so that all of glibc gets compiled with
31485 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31487 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31489 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31495 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31496 (__ieee754_expl): Allow for and saturate large arguments.
31497 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31498 (u_threshold): Likewise.
31499 (__exp): Call __ieee754_exp before checking for overflow and
31501 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31502 (u_threshold): Likewise.
31503 (__expf): Call __ieee754_expf before checking for overflow and
31505 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31506 (u_threshold): Likewise.
31507 (__expl): Call __ieee754_expl before checking for overflow and
31509 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31510 (__ieee754_expl): Allow for and saturate large arguments.
31511 * math/libm-test.inc (exp_test): Add another test. Do not allow
31512 missing overflow exception on overflow.
31513 (expm1_test): Do not allow missing overflow exception on overflow.
31515 * sysdeps/i386/fpu/e_expl.c: Move to ...
31516 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31517 rather than using inline asm.
31518 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31519 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31520 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31522 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31525 (signal): Likewise.
31529 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31531 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31532 sysdeps/unix/common/syscalls.list.
31533 (fchmod): Likewise.
31534 (fchown): Likewise.
31535 (ftruncate): Likewise.
31536 (getrusage): Likewise.
31537 (gettimeofday): Likewise.
31538 (setpgid): Likewise.
31539 (setregid): Likewise.
31540 (setreuid): Likewise.
31541 (sigaction): Likewise.
31542 (truncate): Likewise.
31543 (vhangup): Likewise.
31544 * sysdeps/unix/common/syscalls.list: Remove file.
31545 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31546 * sysdeps/unix/sysv/linux/Implies: Likewise.
31548 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31556 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31559 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31562 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31565 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31568 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31574 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31578 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31589 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31593 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31595 * sysdeps/unix/common/bits/dirent.h: Remove file.
31596 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31598 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31599 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31600 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31601 * sysdeps/unix/bsd/isatty.c: Likewise.
31602 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31603 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31604 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31606 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31610 long double comparison inaccuracies.
31611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31614 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31616 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31619 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31623 nonzero digits before rounding a hex value.
31624 * stdlib/tst-strtod.c (tests): Add another test.
31626 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31628 * sysdeps/s390/fpu/libm-test-ulps: Update.
31630 2012-05-03 Andreas Jaeger <aj@suse.de>
31632 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31633 does not get optimized out.
31634 (malloc_opt_barrier): New.
31636 2012-05-03 Andreas Jaeger <aj@suse.de>
31637 Roland McGrath <roland@hack.frob.com>
31639 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31640 intermediate file deletion.
31641 (generated): Add .symlist files.
31643 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31646 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31647 Redirect under this condition.
31648 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31649 [__USE_GNU] (__dprintf_chk): Not under this condition.
31650 [__USE_GNU] (__vdprintf_chk): Likewise.
31651 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31652 under this condition.
31653 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31654 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31655 [__USE_XOPEN2K8] (vdprintf): Likewise.
31656 [__USE_GNU] (__dprintf_chk): Not under this condition.
31657 [__USE_GNU] (__vdprintf_chk): Likewise.
31658 [__USE_GNU] (dprintf): Likewise.
31659 [__USE_GNU] (vdprintf): Likewise.
31661 2012-05-03 Roland McGrath <roland@hack.frob.com>
31663 * elf/Makefile (common-generated): Set this instead of generated for
31664 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31665 $(all-built-dso)-derived lists.
31667 2012-05-03 Andreas Jaeger <aj@suse.de>
31669 * sysdeps/i386/fpu/libm-test-ulps: Update.
31672 * FAQ.in: Likewise.
31673 * scripts/gen-FAQ.pl: Likewise.
31674 * manual/install.texi (Installation): Point to online location of
31676 * Makefile (files-for-dist): Remove FAQ.
31679 2012-05-02 Allan McRae <allan@archlinux.org>
31681 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31682 (LDFLAGS-reldepmod5.so): Likewise.
31683 (LDFLAGS-reldep6mod1.so): Likewise.
31684 (LDFLAGS-reldep6mod4.so): Likewise.
31685 (LDFLAGS-reldep8mod3.so): Likewise.
31686 (LDFLAGS-unload4mod1.so): Likewise.
31687 (LDFLAGS-unload4mod2.so): Likewise.
31688 (LDFLAGS-tst-initorder): Likewise.
31689 (LDFLAGS-tst-initordera2.so): Likewise.
31690 (LDFLAGS-tst-initordera3.so): Likewise.
31691 (LDFLAGS-tst-initordera4.so): Likewise.
31692 (LDFLAGS-tst-initorderb2.so): Likewise.
31693 (LDFLAGS-noload): Likewise.
31694 (LDFLAGS-next): Likewise.
31695 (LDFLAGS-order2mod1.so): Likewise.
31696 (LDFLAGS-order2mod2.so): Likewise.
31697 (LDFLAGS-tst-initorder2): Likewise.
31698 (LDFLAGS-tst-initorder2a.so): Likewise.
31699 (LDFLAGS-tst-initorder2b.so): Likewise.
31700 (LDFLAGS-tst-initorder2c.so): Likewise.
31701 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31703 2012-05-02 David S. Miller <davem@davemloft.net>
31705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31707 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31710 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31712 2012-05-02 Andreas Jaeger <aj@suse.de>
31714 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31715 since we manipulate rounding mode.
31716 (CPPFLAGS-test-idouble.c): Likewise.
31717 (CPPFLAGS-test-ifloat.c): Likewise.
31718 (CFLAGS-test-ldouble.c): Likewise.
31719 (CFLAGS-test-double.c): Likewise.
31720 (CFLAGS-test-float.c): Likewise.
31721 (CFLAGS-test-misc.c): Likewise.
31722 (CFLAGS-test-test-fenv.c): Likewise.
31724 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31728 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31729 comparisons to determine direction to adjust input.
31731 2012-05-01 Roland McGrath <roland@hack.frob.com>
31733 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31734 output to the target.
31736 * scripts/localplt.awk: New file.
31737 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31738 (check-localplt-CFLAGS): Variable removed.
31739 ($(all-built-dso:=.jmprel)): New static pattern rule.
31740 (generated): Add those targets.
31741 (localplt-built-dso): New variable.
31742 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31744 * elf/check-localplt.c: File removed.
31746 * scripts/check-execstack.awk: New file.
31747 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31748 (check-execstack-CFLAGS): Variable removed.
31749 ($(objpfx)check-execstack.h): Target removed.
31750 ($(objpfx)execstack-default): New target.
31751 (generated): Add that instead of check-execstack.h.
31752 ($(all-built-dso:=.phdr)): New static pattern rule.
31753 (generated): Add those targets.
31754 * elf/check-execstack.c: File removed.
31756 * scripts/check-textrel.awk: New file.
31757 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31758 (check-textrel-CFLAGS): Variable removed.
31759 (all-built-dso): Use := to define.o
31760 ($(all-built-dso:=.dyn)): New static pattern rule.
31761 (generated): Add those targets.
31762 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31763 * config.make.in (READELF): New substituted variable.
31764 * elf/check-textrel.c: File removed.
31766 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31768 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31770 * conform/data/ctype.h-data [C99-based standards] (isblank):
31772 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31773 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31775 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31776 Specify type. Require positive value.
31777 (EILSEQ): Likewise.
31778 (ERANGE): Likewise.
31779 [ISO || POSIX] (EILSEQ): Do not expect.
31780 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31781 Specify type. Require positive value.
31782 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31784 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31786 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31787 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31788 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31789 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31790 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31791 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31792 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31793 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31794 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31795 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31796 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31797 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31798 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31849 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31856 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31857 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31858 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31860 (FLT_ROUNDS): Expect as macro, not constant.
31861 (FLT_MANT_DIG): Use macro-int-constant.
31862 (DBL_MANT_DIG): Likewise.
31863 (LDBL_MANT_DIG): Likewise.
31864 (FLT_DIG): Likewise.
31865 (DBL_DIG): Likewise.
31866 (LDBL_DIG): Likewise.
31867 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31868 (DBL_MIN_EXP): Likewise.
31869 (LDBL_MIN_EXP): Likewise.
31870 (FLT_MAX_EXP): Use macro-int-constant.
31871 (DBL_MAX_EXP): Likewise.
31872 (LDBL_MAX_EXP): Likewise.
31873 (FLT_MAX_10_EXP): Likewise.
31874 (DBL_MAX_10_EXP): Likewise.
31875 (LDBL_MAX_10_EXP): Likewise.
31876 (FLT_MAX): Use macro-constant.
31877 (DBL_MAX): Likewise.
31878 (LDBL_MAX): Likewise.
31879 (FLT_EPSILON): Use macro-constant. Give upper bound.
31880 (DBL_EPSILON): Likewise.
31881 (LDBL_EPSILON): Likewise.
31882 (FLT_MIN): Likewise.
31883 (DBL_MIN): Likewise.
31884 (LDBL_MIN): Likewise.
31885 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31886 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31887 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31888 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31889 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31890 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31891 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31892 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31893 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31894 [ISO11] (FLT_TRUE_MIN): Likewise.
31895 [ISO11] (LDBL_TRUE_MIN): Likewise.
31896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31897 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31898 (SCHAR_MIN): Use macro-int-constant. Specify type.
31899 (SCHAR_MAX): Likewise.
31900 (UCHAR_MAX): Likewise.
31901 (CHAR_MIN): Likewise.
31902 (CHAR_MAX): Likewise.
31903 (MB_LEN_MAX): Use macro-int-constant.
31904 (SHRT_MIN): Use macro-int-constant. Specify type.
31905 (SHRT_MAX): Likewise.
31906 (USHRT_MAX): Likewise.
31907 (INT_MAX): Likewise.
31908 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31910 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31912 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31914 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31915 bound negative. Suffix upper bound with "L".
31916 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31918 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31920 [C99-based standards] (LLONG_MAX): Likewise.
31921 [C99-based standards] (ULLONG_MAX): Likewise.
31922 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31924 [ISO11] (max_align_t): Require type.
31925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31927 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31928 from $CFLAGS, without defining away __attribute__ calls.
31929 (checknamespace): Use $CFLAGS_namespace.
31931 * conform/conformtest.pl (@keywords): Only include C99 keywords
31932 for standards based on C99 or C11.
31934 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31936 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31939 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31940 usability of symbols in #if.
31942 * conform/conformtest.pl: If macro or constant types start
31943 "promoted:", expect the symbol to be of the following type
31944 promoted by the integer promotions.
31946 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31947 in one place. Also handle "macro-constant".
31949 * conform/conformtest.pl: Only accept expected macro values with
31950 "==". Parse all "macro" lines in one place.
31951 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31953 * conform/conformtest.pl: Handle braced types on "constant" lines
31954 instead of handling "typed-constant".
31955 * conform/data/signal.h-data: Use "constant" instead of
31958 * conform/conformtest.pl: Handle "optional-" at start of lines in
31959 one place rather than duplicating several cases. Handle each
31960 format of "macro" line with initial "optional-".
31962 * conform/conformtest.pl: Only accept expected constant or
31963 optional-constant values with "==". Parse all "constant" lines in
31964 one place. Parse all "optional-constant" lines in one place.
31965 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31966 * conform/data/fmtmsg.h-data: Likewise.
31967 * conform/data/netinet/in.h-data: Likewise.
31968 * conform/data/tar.h-data: Likewise.
31969 * conform/data/limits.h-data: Use "==" form on "constant" and
31970 "optional-constant" lines.
31972 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31973 Use -std=c99 for XOPEN2K.
31974 (@knownproblems): Remove.
31975 (newtoken): Don't check %isknown.
31977 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31978 Do not expect macro.
31979 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31985 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31991 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31992 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32007 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32009 [XPG3] (acosh): Likewise.
32010 [XPG3] (asinh): Likewise.
32011 [XPG3] (atanh): Likewise.
32012 [XPG3] (cbrt): Likewise.
32013 [XPG3] (expm1): Likewise.
32014 [XPG3] (ilogb): Likewise.
32015 [XPG3] (log1p): Likewise.
32016 [XPG3] (logb): Likewise.
32017 [XPG3] (nextafter): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32020 [XPG3] (remainder): Likewise.
32021 [XPG3] (rint): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32029 [UNIX98 || XOPEN2K] (scalb): Expect.
32030 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32031 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32168 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32169 _XOPEN_SOURCE_EXTENDED for XPG4.
32171 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32173 * Makeconfig (localtime): Remove variable.
32174 (inst_localtime-file): Likewise.
32176 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32197 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32201 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32202 comparisons to determine direction to adjust input.
32203 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32204 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32205 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32214 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32216 * math/libm-test.inc (nexttoward_test): Add more tests.
32218 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32222 in version GLIBC_2.1, not GLIBC_2.0.
32223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32226 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32229 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32232 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32233 * math/libm-test.inc (acos_test): Add more tests.
32234 (asin_test): Likewise.
32235 * sysdeps/i386/fpu/libm-test-ulps: Update.
32236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32239 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32241 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32242 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32243 * math/libm-test.inc (acos_test_tonearest): New function.
32244 (acos_test_towardzero): Likewise.
32245 (acos_test_downward): Likewise.
32246 (acos_test_upward): Likewise.
32247 (asin_test_tonearest): Likewise.
32248 (asin_test_towardzero): Likewise.
32249 (asin_test_downward): Likewise.
32250 (asin_test_upward): Likewise.
32251 (main): Call the new functions.
32252 * sysdeps/i386/fpu/libm-test-ulps: Update.
32253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32257 * math/e_exp10.c: Include <float.h>.
32258 (__ieee754_exp10): Handle underflow here rather than multiplying
32259 large negative argument by M_LN10.
32260 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32262 * math/e_exp10l.c: Include <float.h>.
32263 (__ieee754_exp10l): Handle underflow here rather than multiplying
32264 large negative argument by M_LN10l.
32265 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32266 spurious overflow exception on underflow.
32268 2012-04-29 Marek Polacek <polacek@redhat.com>
32270 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32271 (__fortify_function): New macro.
32272 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32273 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32274 __extern_always_inline.
32275 * libio/bits/stdio2.h: Likewise.
32276 * libio/bits/stdio.h: Likewise.
32277 * string/string.h: Likewise.
32278 * string/bits/string3.h: Likewise.
32279 * include/stdio.h: Likewise.
32280 * stdlib/bits/stdlib.h: Likewise.
32281 * stdlib/stdlib.h: Likewise.
32282 * rt/bits/mqueue2.h: Likewise.
32283 * rt/mqueue.h: Likewise.
32284 * posix/bits/unistd.h: Likewise.
32285 * posix/unistd.h: Likewise.
32286 * io/bits/poll2.h: Likewise.
32287 * io/bits/fcntl2.h: Likewise.
32288 * io/fcntl.h: Likewise.
32289 * io/sys/poll.h: Likewise.
32290 * misc/bits/syslog.h: Likewise.
32291 * misc/bits/syslog-ldbl.h: Likewise.
32292 * misc/sys/syslog.h: Likewise.
32293 * socket/bits/socket2.h: Likewise.
32294 * socket/sys/socket.h: Likewise.
32295 * debug/tst-chk1.c: Likewise.
32296 * wcsmbs/bits/wchar2.h: Likewise.
32297 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32298 * wcsmbs/wchar.h: Likewise.
32300 2012-04-29 Andreas Jaeger <aj@suse.de>
32302 * Makerules (tests): Remove enable-check-abi protection.
32303 (check-abi-warn): Remove.
32304 (check-abi-%): Remove check-abi-warn usage.
32306 * configure.in: Remove check-abi configure option.
32307 * configure: Regenerated.
32308 * config.make.in (enable-check-abi): Remove.
32310 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32313 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32314 double functions to double *_finite functions.
32317 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32318 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32320 * stdio-common/Makefile (tests): Add tst-sprintf3.
32321 * stdio-common/tst-sprintf3.c: New file.
32323 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32324 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32326 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32328 * conform/conformtest.pl: Remove duplicate typed-constant
32331 2012-04-28 David S. Miller <davem@davemloft.net>
32333 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32334 (check-abi-%): Remove AWK script prerequisite and explicit
32336 (check-abi): Rewrite to just diff the symlist with the abilist.
32337 (config-tls, config-abi-config): Delete, no longer used.
32338 (update-abi-%): Remove AWK script and explicit abilist directory.
32339 (update-abi): Rewrite to simply compare and conditionally copy the
32340 symlist and the sysdep abilist file. Remove update-abi-config
32342 * abilist/ld.abilist: Remove.
32343 * abilist/libBrokenLocale.abilist: Remove.
32344 * abilist/libanl.abilist: Remove.
32345 * abilist/libcrypt.abilist: Remove.
32346 * abilist/libdl.abilist: Remove.
32347 * abilist/librt.abilist: Remove.
32348 * abilist/libthread_db.abilist: Remove.
32349 * abilist/libutil.abilist: Remove.
32350 * scripts/extract-abilist.awk: Remove.
32351 * scripts/merge-abilist.awk: Remove.
32352 * sysdeps/generic/libcidn.abilist: New file.
32353 * sysdeps/generic/libnss_compat.abilist: New file.
32354 * sysdeps/generic/libnss_db.abilist: New file.
32355 * sysdeps/generic/libnss_dns.abilist: New file.
32356 * sysdeps/generic/libnss_files.abilist: New file.
32357 * sysdeps/generic/libnss_hesiod.abilist: New file.
32358 * sysdeps/generic/libnss_nis.abilist: New file.
32359 * sysdeps/generic/libnss_nisplus.abilist: New file.
32360 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32361 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32362 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32365 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32366 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32367 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32368 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32369 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32370 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32371 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32372 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32374 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32375 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32376 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32377 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32379 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32380 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32381 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32382 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32383 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32384 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32386 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32387 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32388 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32390 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32493 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32494 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32495 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32498 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32499 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32500 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32501 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32502 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32503 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32504 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32505 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32506 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32558 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32560 * conform/conformtest.pl: Fix typo in handling typed-constant from
32563 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32565 * README: Cut down references to pre-2.6 Linux kernels and
32566 Linuxthreads. Update lists of configurations in libc and ports
32567 and sort alphabetically. Say "or newer" with Linux kernel version
32570 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32572 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32575 * math/libm-test.inc (logb_test_downward): New test to expose
32576 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32579 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32582 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32584 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32585 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32587 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32589 * sysdeps/unix/i386/brk.S: Remove file.
32590 * sysdeps/unix/i386/dl-brk.S: Likewise.
32591 * sysdeps/unix/i386/pipe.S: Likewise.
32592 * sysdeps/unix/i386/sigreturn.S: Likewise.
32593 * sysdeps/unix/i386/syscall.S: Likewise.
32594 * sysdeps/unix/i386/vfork.S: Likewise.
32595 * sysdeps/unix/i386/wait.S: Likewise.
32597 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32598 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32600 * configure.in (arm*-none*): Do not allow without
32601 --enable-hacker-mode.
32602 (netbsd*): Remove case setting base_os.
32603 (386bsd*): Likewise.
32604 (freebsd*): Likewise.
32607 (sunos*): Likewise.
32608 (ultrix*): Likewise.
32609 (newsos*): Likewise.
32610 (dynix*): Likewise.
32616 (minix*): Likewise.
32617 (irix4*): Likewise.
32618 (irix6*): Likewise.
32619 (solaris[2-9]*): Likewise.
32621 * configure: Regenerated.
32623 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32627 overflow or cancellation in calculating denominator.
32628 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32630 down expression to avoid unexpected rounding in newer GCCs.
32631 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32633 2012-04-26 David S. Miller <davem@davemloft.net>
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32636 long-double compat symbols.
32637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32651 2012-04-25 David S. Miller <davem@davemloft.net>
32653 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32654 HWCAP_* values only after the memory barriers have been defined.
32655 (atomic_full_barrier): Define.
32656 (atomic_read_barrier): Define.
32657 (atomic_write_barrier): Define.
32659 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32661 * shlib-versions: Add libgcc_s version information.
32662 * sysdeps/generic/libgcc_s.h: Remove.
32663 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32665 * sysdeps/gnu/unwind-resume.c: Likewise.
32666 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32668 2012-04-25 David S. Miller <davem@davemloft.net>
32670 * sysdeps/unix/sparc/brk.S: Delete.
32671 * sysdeps/unix/sparc/dl-brk.S: Delete.
32672 * sysdeps/unix/sparc/pipe.S: Delete.
32673 * sysdeps/unix/sparc/sysdep.S: Delete.
32674 * sysdeps/unix/sparc/sysdep.h: Delete.
32675 * sysdeps/unix/sparc/vfork.S: Delete.
32676 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32677 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32679 (ret_ERRVAL, r0, r1, MOVE): Define.
32680 (JUMPTARGET): Remove.
32681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32682 sysdeps/unix/sparc/sysdep.h
32683 (ENTRY, END): Remove.
32684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32686 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32688 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32689 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32692 * timezone/README: Update upstream location and email address for
32694 * timezone/zdump.c: Update from tzcode 2012b.
32695 * timezone/zic.c: Likewise.
32697 * configure.in (libc_cv_as_needed): Remove test.
32698 * configure: Regenerated.
32699 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32700 conditional definition.
32701 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32702 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32703 * config.make.in (have-as-needed): Remove variable.
32705 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32706 Paul Pluzhnikov <ppluzhnikov@google.com>
32708 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32711 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32713 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32714 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32715 * sysdeps/sh/strlen.S: Likewise.
32717 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32719 * sysdeps/unix/fork.S: Remove file.
32720 * sysdeps/unix/i386/fork.S: Likewise.
32721 * sysdeps/unix/sparc/fork.S: Likewise.
32723 * sysdeps/unix/system.c: Remove file.
32724 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32726 * sysdeps/unix/getegid.S: Remove file.
32727 * sysdeps/unix/geteuid.S: Likewise.
32729 2012-04-24 Roland McGrath <roland@hack.frob.com>
32731 * scripts/check-localplt.awk: New file.
32732 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32734 * scripts/data/localplt-generic.data: Add a comment.
32736 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32737 NODE when __dir_mkfile failed.
32738 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32739 Reported by Ludovic Courtès <ludo@gnu.org>.
32741 2012-04-24 Andreas Jaeger <aj@suse.de>
32743 * Makerules (common-clean): Also remove gen-as-const-headers
32746 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32748 * Makerules (native-compile): Do not change working directory for
32749 build. Use $(OUTPUT_OPTION) in command.
32750 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32752 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32755 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32756 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32757 * math/libm-test.inc (floor_test): Add more tests.
32758 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32760 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32762 * sysdeps/unix/getdents.c: Remove file.
32763 * sysdeps/unix/sysv/getdents.c: Likewise.
32764 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32766 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32767 sysdeps/unix/mman/syscalls.list.
32769 (mprotect): Likewise.
32771 (munmap): Likewise.
32772 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32773 * sysdeps/unix/mman/syscalls.list: Remove.
32774 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32776 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32777 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32778 * configure: Regenerated.
32779 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32780 $(libgcc_s_suffix).
32781 * config.make.in (libgcc_s_suffix): Remove variable.
32783 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32785 * sysdeps/unix/sysv/gethostname.c: Move to ...
32786 * sysdeps/posix/gethostname.c: ... here.
32788 * sysdeps/unix/execve.S: Remove file.
32790 * sysdeps/unix/_exit.S: Remove file.
32792 2012-04-23 Andreas Jaeger <aj@suse.de>
32795 * manual/Makefile: Remove make dist support, there's no
32796 need for a stand-alone documentation tar ball.
32797 (TEXI2DVI): Define always, it's not in Makeconfig.
32800 (edition): Removed.
32801 (glibc-doc-$(edition).tar): Removed
32805 (ETAGS): Remove, it's in Makeconfig.
32806 (move-if-change): Remove, it's in Makeconfig.
32808 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32811 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32812 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32813 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32814 (strtod_l, strtof_l, strtold_l): Remove __wur.
32815 It is not necessarily an error to ignore strtol's return value.
32816 One can reliably look at the stored endptr to decide whether
32817 the number had valid syntax.
32819 2012-04-21 Andreas Jaeger <aj@suse.de>
32822 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32824 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32826 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32827 * sysdeps/unix/sysv/Versions: Remove file.
32829 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32834 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32838 version from __vm86.
32840 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32842 * sysdeps/unix/common/lxstat.c: Remove file.
32843 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32845 * sysdeps/unix/sysv/Makefile: Remove file.
32847 * sysdeps/unix/sysv/direct.h: Remove file.
32849 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32850 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32851 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32852 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32853 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32854 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32855 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32857 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32859 * sysdeps/unix/xmknod.c: Remove file.
32860 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32862 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32864 * sysdeps/unix/sysv/i386/time.S: Remove file.
32866 * sysdeps/unix/fxstat.c: Remove file.
32867 * sysdeps/unix/xstat.c: Likewise.
32868 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32870 * sysdeps/unix/sysv/sigaction.c: Remove file.
32872 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32873 (sysdep_headers): Remove variable.
32874 [termio.h not in sysdep_headers] (generated): Likewise.
32875 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32876 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32877 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32878 * sysdeps/unix/sysv/tcflow.c: Likewise.
32879 * sysdeps/unix/sysv/tcflush.c: Likewise.
32880 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32881 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32882 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32883 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32884 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32886 * sysdeps/unix/siglist.c: Remove file.
32888 * sysdeps/unix/getppid.S: Remove file.
32890 * sysdeps/unix/mkdir.c: Remove file.
32891 * sysdeps/unix/rmdir.c: Likewise.
32893 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32895 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32898 errlist-compat value.
32900 2012-04-18 David S. Miller <davem@davemloft.net>
32902 * sysdeps/generic/memcopy.h (reg_char): Delete.
32903 * debug/strcat_chk.c: Use char, not reg_char.
32904 * debug/strcpy_chk.c: Likewise.
32905 * debug/strncat_chk.c: Likewise.
32906 * debug/strncpy_chk.c: Likewise.
32907 * string/memchr.c: Likewise.
32908 * string/memrchr.c: Likewise.
32909 * string/rawmemchr.c: Likewise.
32910 * string/strcat.c: Likewise.
32911 * string/strchr.c: Likewise.
32912 * string/strchrnul.c: Likewise.
32913 * string/strcmp.c: Likewise.
32914 * string/strcpy.c: Likewise.
32915 * string/strncat.c: Likewise.
32916 * string/strncmp.c: Likewise.
32917 * string/strncpy.c: Likewise.
32919 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32921 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32922 __builtin_memcopy is called when src and dest ranges are known to not
32925 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32928 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32929 fwd_align_merge macro call.
32930 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32931 bwd_align_merge macro call.
32932 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32934 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32937 bwd_align_merge macros.
32938 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32939 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32940 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32942 2012-04-18 David S. Miller <davem@davemloft.net>
32944 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32946 2012-04-18 Andreas Jaeger <aj@suse.de>
32949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32950 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32951 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32954 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32957 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32958 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32959 Adjust for changed ldbl-128 files.
32961 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32962 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32965 2012-04-17 David S. Miller <davem@davemloft.net>
32967 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32969 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32971 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32972 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32973 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32974 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32975 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32976 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32978 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32981 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32982 * math/libm-test.inc: Add ilogb errno and exception tests.
32983 * math/w_ilogb.c: New file: ilogb wrapper.
32984 * math/w_ilogbf.c: New file: ilogbf wrapper.
32985 * math/w_ilogbl.c: New file: ilogbl wrapper.
32986 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32987 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32988 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32989 exception being thrown with 0.0 as argument.
32990 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32991 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32992 exception being thrown with 0.0 as argument.
32993 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32994 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32995 exception being thrown with 0.0 as argument.
32996 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32997 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32998 exception being thrown with 0.0 as argument.
32999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33000 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33002 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33004 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33005 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33006 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33007 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33009 2012-04-17 Petr Baudis <pasky@ucw.cz>
33011 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33014 2012-04-16 Marek Polacek <polacek@redhat.com>
33016 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33018 2012-04-16 Marek Polacek <polacek@redhat.com>
33020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33021 operands of fdivp instruction.
33023 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33025 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33026 * elf/tst-auditmod3b.c: Likewise.
33027 * elf/tst-auditmod4b.c: Likewise.
33028 * elf/tst-auditmod5b.c: Likewise.
33029 * elf/tst-auditmod6b.c: Likewise.
33030 * elf/tst-auditmod6c.c: Likewise.
33031 * elf/tst-auditmod7b.c: Likewise.
33032 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33033 * sysdeps/x86_64/preconfigure.in: Likewise.
33034 * sysdeps/x86_64/preconfigure: Regenerated.
33036 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33041 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33044 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33046 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33049 * locale/iso-639.def: Fix gl language name. Spotted by
33052 2012-04-12 Roland McGrath <roland@hack.frob.com>
33055 * libio/libio.h (__io_write_fn): Update comment.
33057 2012-04-12 Petr Baudis <pasky@ucw.cz>
33060 * stdio.texi (Hook Functions): The user provided writer function
33061 is not allowed to return -1.
33063 2012-04-11 David S. Miller <davem@davemloft.net>
33065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33067 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33069 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33070 Add a leading slash to rtkaio.
33072 2012-04-11 Jim Meyering <meyering@redhat.com>
33075 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33076 It is not necessarily an error to ignore fwrite's return
33077 value. One can reliably use ferror to test for errors after
33080 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33082 * bits/types.h (__snseconds_t): New type.
33083 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33085 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33087 (__SNSECONDS_T_TYPE): Likewise.
33088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33089 (__SNSECONDS_T_TYPE): Likewise.
33090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33091 (__SNSECONDS_T_TYPE): Likewise.
33093 2012-04-10 Andreas Jaeger <aj@suse.de>
33096 * manual/time.texi (Processor Time): Return type of times is
33097 elapsed real time since an arbitrary point in the past.
33098 (CPU Time): Move CLK_TCK from here...
33099 (Processor Time): ...to here. Correct description.
33100 * manual/conf.texi (Constants for Sysconf): Correct description of
33103 2012-04-10 David S. Miller <davem@davemloft.net>
33106 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33107 where the is a gap between DT_REL(A) and DT_JMPREL.
33109 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33111 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33112 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33113 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33115 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33117 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33118 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33119 (dl_main): Handle --inhibit-cache.
33120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33122 * elf/dl-load.c (_dl_map_object): Use it.
33123 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33125 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33128 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33129 (__ieee754_powl): Saturate large exponents rather than testing for
33130 overflow of y*log2(x).
33131 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33132 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33136 * math/s_ctan.c: Include <float.h>.
33137 (__ctan): Avoid internal overflow or cancellation in calculating
33139 * math/s_ctanf.c: Likewise.
33140 * math/s_ctanl.c: Likewise.
33141 * math/s_ctanh.c: Likewise.
33142 * math/s_ctanhf.c: Likewise.
33143 * math/s_ctanhl.c: Likewise.
33144 * math/libm-test.inc (ctan_test): Add more tests.
33145 (ctanh_test): Likewise.
33146 * sysdeps/i386/fpu/libm-test-ulps: Update.
33147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33149 2012-04-09 Andreas Jaeger <aj@suse.de>
33152 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33153 is an optional BSD extension.
33156 * manual/stdio.texi (Opening Streams): Document additional fopen
33159 2012-04-09 Roland McGrath <roland@hack.frob.com>
33161 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33162 %eax without telling the compiler.
33164 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33167 * manual/install.texi: Use sourceware.org.
33169 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33172 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33173 (__ieee754_pow): Generate overflow and underflow using huge*huge
33174 and tiny*tiny rather than just returning constant infinity or zero
33175 for large exponents.
33176 * math/libm-test.inc (pow_test): Require overflow exceptions for
33177 applicable cases of large exponents.
33180 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33181 (__ieee754_pow): Use iterative multiplication algorithm only for
33182 integer exponents with absolute value below 1024. Check for odd
33183 integer exponents when using algorithm for real exponents.
33184 * math/libm-test.inc (pow_test): Add more tests.
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33187 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33190 * math/libm-test.inc (exp_test): Do not allow overflow exception
33193 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33196 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33197 instead of __kernel_standard_f.
33199 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33201 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33202 * sysdeps/x86_64/memset_chk.S: Likewise.
33204 2012-04-08 Andreas Jaeger <aj@suse.de>
33207 * manual/startup.texi (Environment Access): Describe return value
33208 for putenv and setenv.
33211 * manual/filesys.texi (Directory Entries): Add description for
33215 * manual/filesys.texi (Directory Entries): Clarify that it's file
33216 system not operating system in the description of DT_UNKNOWN.
33219 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33221 2012-04-08 Stephen Compall <s11@member.fsf.org>
33224 * manual/llio.texi (Opening and Closing Files): Add cross
33225 reference to explain mode argument.
33227 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33229 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33230 * sysdeps/x86_64/memset_chk.S: Likewise.
33232 2012-04-07 David S. Miller <davem@davemloft.net>
33234 * elf/elf.h (R_SPARC_WDISP10): Define.
33235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33238 R_SPARC_SIZE64 and R_SPARC_H34.
33240 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33243 conditions and remove no longer applicable assertion.
33245 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33247 * bits/byteswap.h: Include <features.h>.
33248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33251 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33253 * bits/byteswap.h (__bswap_16): Removed.
33254 Include <bits/byteswap-16.h> to get __bswap_16.
33255 * sysdeps/i386/bits/byteswap.h: Likewise.
33256 * sysdeps/s390/bits/byteswap.h: Likewise.
33257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33258 * bits/byteswap-16.h: New file.
33259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33260 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33261 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33262 * string/Makefile (headers): Add bits/byteswap-16.h.
33264 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33267 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33269 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33270 * nss/tst-nss-static.c: New.
33272 2012-04-06 Robert Millan <rmh@gnu.org>
33275 * manual/llio.texi (File Position Primitive): lseek
33276 refers to WHENCE when it really means OFFSET.
33278 2012-04-06 Andreas Jaeger <aj@suse.de>
33280 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33281 strncmp declarations.
33283 * abilist/libc.abilist: Add __poll and __ppoll.
33285 2012-04-05 David S. Miller <davem@davemloft.net>
33287 * scripts/check-local-headers.sh: Accept a host triplet in the
33288 path matched by the exclude regexp.
33290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33292 * sysdeps/powerpc/powerpc32/dl-machine.h
33293 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33294 * sysdeps/s390/s390-32/dl-machine.h
33295 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33296 * sysdeps/sparc/sparc32/dl-machine.h
33297 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33298 * sysdeps/sparc/sparc64/dl-machine.h
33299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33301 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33304 undefined symbol errors.
33306 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33309 2012-04-05 Michael Matz <matz@suse.de>
33312 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33314 2012-04-05 Andreas Jaeger <aj@suse.de>
33317 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33320 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33322 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33323 which ROUND is no valid rounding mode.
33325 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33327 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33329 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33331 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33333 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33334 an exception using FPU order intentionally.
33336 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33338 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33339 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33340 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33341 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33343 2012-04-05 Simon Josefsson <simon@josefsson.org>
33346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33347 EINVAL when BUFLEN is too smal.
33349 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33352 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33353 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33355 2012-04-03 Andreas Jaeger <aj@suse.de>
33358 * manual/setjmp.texi (System V contexts): Fix sentence.
33361 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33362 New macro for this case.
33363 [!__GNUC__] (__bswap_64): New inline function for this case.
33364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33365 * bits/byteswap.h: Likewise.
33366 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33367 ull, guard with __GLIBC_HAVE_LONG_LONG.
33369 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33370 __GLIBC_HAVE_LONG_LONG.
33372 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33373 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33375 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33379 inptr and inend, rather than using last_ch.
33381 2012-04-02 David S. Miller <davem@davemloft.net>
33383 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33384 * stdio-common/printf-parse.h (read_int): Change return type to
33385 'int', return -1 on INT_MAX overflow.
33386 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33387 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33388 overflows INT_MAX. Check for overflow of in-format-string precision
33389 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33390 SIZE_MAX not INT_MAX for integer overflow test.
33391 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33392 skip the construct in the format string but do not record anything.
33393 * stdio-common/bug22.c: Adjust to test both width/prevision
33394 INT_MAX overflow as well as total length INT_MAX overflow. Check
33395 explicitly for proper errno values.
33397 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33399 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33401 * string/test-strcmp.c [! WIDE]: Likewise.
33402 * time/tst-mktime2.c: Likewise for INT_MAX.
33403 * string/test-string.h: #include <sys/param.h> for MIN.
33405 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33406 * sysdeps/i386/init-first.c (init): Likewise.
33407 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33408 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33409 * sysdeps/sh/init-first.c (init): Likewise.
33411 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33413 * po/ru.po: Update from translation team.
33414 * po/vi.po: Likewise.
33416 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33418 * resolv/nss_dns/dns-host.c: Merge copyright years.
33420 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33423 Optimize memcpy with prefetch if
33424 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33425 src, dst pointers have unequal 16 byte alignments.
33427 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33430 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33431 from a CNAME entry and return the minimum ttl for the query.
33432 (gaih_getanswer_slice): Likewise.
33434 2012-03-30 Jeff Law <law@redhat.com>
33436 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33438 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33439 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33441 * resolv/nss_dns/dns-host.c: Update copyright year.
33443 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33445 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33446 requests to save a system call. Fix check that all bytes are sent.
33448 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33449 comments for sendmmsg.
33451 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33455 with only 1 character between 0x0041 and 0x01b0.
33456 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33457 * wcsmbs/tst-mbsnrtowcs.c: New file.
33459 2012-03-29 David S. Miller <davem@davemloft.net>
33461 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33462 small copies by hand.
33464 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33467 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33468 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33471 2012-03-28 David S. Miller <davem@davemloft.net>
33473 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33474 that branches into memcpy.
33475 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33478 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33481 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33482 implementation too.
33483 * sysdeps/sparc/mempcpy.S: New file.
33485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33486 the IFUNC routine in the libc case.
33487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33489 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33490 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33491 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33492 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33493 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33494 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33495 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33496 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33498 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33499 loop to 256 bytes instead of 64 bytes and fix test signedness.
33501 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33502 * sysdeps/sparc/sparc32/Makefile: rather than here...
33503 * sysdeps/sparc/sparc64/Makefile: and here.
33505 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33507 * malloc/mallocbug.c: Avoid warnings about unused variables.
33509 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33512 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33513 in the right place. Discard and retry query if response is
33514 larger than input buffer size.
33516 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33522 x for large integer exponent.
33523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33524 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33525 sign of result as needed afterwards.
33526 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33527 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33528 result for underflowing pow the same as for overflow.
33529 (__kernel_standard_l): Handle powl overflow and underflow here
33530 rather than calling __kernel_standard.
33531 * math/libm-test.inc (pow_test): Add more tests.
33546 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33547 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33548 (__kernel_standard_l): New function.
33549 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33551 * math/w_acosl.c (__acosl): Likewise.
33552 * math/w_asinl.c (__asinl): Likewise.
33553 * math/w_atan2l.c (__atan2l): Likewise.
33554 * math/w_atanhl.c (__atanhl): Likewise.
33555 * math/w_coshl.c (__coshl): Likewise.
33556 * math/w_exp10l.c (__exp10l): Likewise.
33557 * math/w_exp2l.c (__exp2l): Likewise.
33558 * math/w_fmodl.c (__fmodl): Likewise.
33559 * math/w_hypotl.c (__hypotl): Likewise.
33560 * math/w_j0l.c (__j0l, __y0l): Likewise.
33561 * math/w_j1l.c (__j1l, __y1l): Likewise.
33562 * math/w_jnl.c (__jnl, __ynl): Likewise.
33563 * math/w_lgammal.c (__lgammal): Likewise.
33564 * math/w_log10l.c (__log10l): Likewise.
33565 * math/w_log2l.c (__log2l): Likewise.
33566 * math/w_logl.c (__logl): Likewise.
33567 * math/w_powl.c (__powl): Likewise.
33568 * math/w_remainderl.c (__remainderl): Likewise.
33569 * math/w_scalbl.c (sysv_scalbl): Likewise.
33570 * math/w_sinhl.c (__sinhl): Likewise.
33571 * math/w_sqrtl.c (__sqrtl): Likewise.
33572 * math/w_tgammal.c (__tgammal): Likewise.
33573 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33574 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33575 * math/libm-test.inc (acos_test): Add more tests.
33576 (acosh_test): Likewise.
33577 (asin_test): Likewise.
33578 (atanh_test): Likewise.
33579 (exp_test): Likewise.
33580 (exp10_test): Likewise.
33581 (exp2_test): Likewise.
33582 (expm1_test): Likewise.
33583 (lgamma_test): Likewise.
33584 (log_test): Likewise.
33585 (log10_test): Likewise.
33586 (log1p_test): Likewise.
33587 (log2_test): Likewise.
33588 (pow_test): Do not allow some spurious overflow exceptions.
33589 (sqrt_test): Add more tests.
33590 (tgamma_test): Likewise.
33591 (y0_test): Likewise.
33592 (y1_test): Likewise.
33593 (yn_test): Likewise.
33595 2012-03-27 Anton Blanchard <anton@samba.org>
33597 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33599 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33603 2012-03-27 David S. Miller <davem@davemloft.net>
33605 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33607 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33608 have-as-vis3 check.
33610 2012-03-27 Andreas Jaeger <aj@suse.de>
33612 * sysdeps/x86_64/elf/configure.in: Moved to ...
33613 * sysdeps/x86_64/configure.in: ... here.
33614 * sysdeps/x86_64/elf/start.S: Moved to ...
33615 * sysdeps/x86_64/start.S: ... here.
33616 * sysdeps/x86_64/elf/configure: Delete.
33618 * sysdeps/x86_64/configure.in: Merge contents from
33619 sysdeps/i386/configure.in (without i686 check).
33621 * sysdeps/i386/elf/Versions: Merge into ...
33622 * sysdeps/i386/Versions: ... this.
33623 * sysdeps/i386/elf/Versions: Delete file.
33624 * sysdeps/i386/elf/start.S: Moved to ...
33625 * sysdeps/i386/start.S: ...here.
33626 * sysdeps/i386/elf/configure.in: Merge into...
33627 * sysdeps/i386/configure.in: ...here.
33628 * sysdeps/i386/elf/configure.in: Delete file.
33629 * sysdeps/i386/elf/configure: Delete file.
33631 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33632 * debug/backtracesyms.c: ... here.
33633 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33634 * debug/backtracesymsfd.c: ... here.
33635 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33636 * sysdeps/generic/ifunc-sel.h: ... here.
33638 * sysdeps/unix/i386/start.c: Delete file.
33639 * sysdeps/unix/sparc/start.c: Delete file.
33640 * sysdeps/unix/start.c: Delete file.
33642 * sysdeps/sh/elf/configure.in: Moved to ...
33643 * sysdeps/sh/configure.in: ... here.
33644 * sysdeps/sh/elf/start.S: Moved to ...
33645 * sysdeps/sh/start.S: ... here.
33646 * sysdeps/sh/elf/configure: Delete file.
33648 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33649 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33650 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33651 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33652 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33653 * sysdeps/powerpc/powerpc64/start.S: here.
33654 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33655 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33656 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33657 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33658 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33660 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33661 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33662 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33663 * sysdeps/powerpc/powerpc32/start.S: ... here.
33664 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33665 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33666 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33668 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33669 * sysdeps/powerpc/ifunc-sel.h: ... here.
33670 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33671 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33673 * sysdeps/sparc/elf/configure.in: Moved to ...
33674 * sysdeps/sparc/configure.in: ... here.
33675 * sysdeps/sparc/elf/configure: Delete file.
33676 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33677 * sysdeps/sparc/sparc32/start.S: ... here.
33678 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33679 * sysdeps/sparc/sparc64/start.S: ... here.
33680 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33681 * sysdeps/sparc/sparc32/Makefile: ... this.
33682 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33683 * sysdeps/sparc/sparc64/Makefile: ... this.
33685 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33686 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33687 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33688 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33689 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33690 * sysdeps/s390/s390-32/setjmp.S: ... here.
33691 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33692 * sysdeps/s390/s390-32/configure.in: ... here.
33693 * sysdeps/s390/s390-32/elf/configure: Delete file.
33694 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33695 * sysdeps/s390/s390-32/start.S: ... here.
33697 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33698 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33699 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33700 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33701 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33702 * sysdeps/s390/s390-64/setjmp.S: ... here.
33703 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33704 * sysdeps/s390/s390-64/configure.in: ... here
33705 * sysdeps/s390/s390-64/elf/configure: Delete file.
33706 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33707 * sysdeps/s390/s390-64/start.S: ... here.
33708 * sysdeps/s390/s390-64/elf/configure: Delete.
33710 * configure.in: Remove support for elf directories in sysdeps.
33712 * configure: Regenerated.
33713 * sysdeps/i386/configure: Regenerated.
33714 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33715 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33716 * sysdeps/s390/s390-32/configure: Regenerated.
33717 * sysdeps/s390/s390-64/configure: Regenerated.
33718 * sysdeps/sh/configure: Regenerated.
33719 * sysdeps/sparc/configure: Regenerated.
33720 * sysdeps/x86_64/configure: Regenerated.
33722 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33727 denormal result into account.
33729 2012-03-25 Roland McGrath <roland@hack.frob.com>
33731 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33732 Reported by Allan McRae <allan@archlinux.org>.
33734 2012-03-23 Jeff Law <law@redhat.com>
33736 * nss/getnssent.c (__nss_getent): Fix typo.
33738 2012-03-23 David S. Miller <davem@davemloft.net>
33740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33742 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33744 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33745 to pad to uint64_t for each field.
33746 (dl_tls_index): Replace unsigned long with uint64_t.
33748 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33749 Paul Pluzhnikov <ppluzhnikov@google.com>
33752 * grp/Makefile (otherlibs): Don't set it.
33753 * inet/Makefile (otherlibs): Likewise.
33754 * login/Makefile (otherlibs): Likewise.
33755 * nscd/Makefile (otherlibs): Likewise.
33756 * posix/Makefile (otherlibs): Likewise.
33757 * pwd/Makefile (otherlibs): Likewise.
33758 * rt/Makefile (otherlibs): Likewise.
33759 * sunrpc/Makefile (otherlibs): Likewise.
33760 * nss/Makefile (otherlibs): Likewise.
33761 Add libnss_files to routines and static-only-routines.
33762 ($(objpfx)getent): Remove rule.
33763 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33764 static-only-routines.
33766 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33769 * math/s_cexp.c: Include <float.h>.
33770 (__cexp): Handle exp result overflowing not necessarily
33771 overflowing both real and imaginary parts of result.
33772 * math/s_cexpf.c: Likewise.
33773 * math/s_cexpl.c: Likewise.
33774 * math/libm-test.inc (cexp_test): Add more tests.
33775 * sysdeps/i386/fpu/libm-test-ulps: Update.
33776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33778 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33780 * include/link.h (ELFW): New macro.
33781 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33782 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33784 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33786 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33789 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33791 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33793 (struct La_x32_retval): Likewise.
33795 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33797 * sysdeps/x86_64/preconfigure.in: New file.
33798 * sysdeps/x86_64/preconfigure: New generated file.
33800 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33803 * math/e_exp2l.c: Include <float.h>.
33804 (__ieee754_exp2l): Handle overflow and underflow cases
33805 separately. Only pass fractional part of argument to
33807 * math/libm-test.inc (exp2_test): Add more tests.
33809 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33810 negating x to take absolute value.
33811 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33813 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33814 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33816 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33817 computing low part if x was negated.
33818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33820 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33822 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33823 la_x32_gnu_pltexit.
33824 (pltexit): Cast int_retval to ptrdiff_t.
33825 * elf/tst-auditmod3b.c: Likewise.
33826 * elf/tst-auditmod4b.c: Likewise.
33827 * elf/tst-auditmod5b.c: Likewise.
33828 * elf/tst-auditmod6b.c: Likewise.
33829 * elf/tst-auditmod6c.c: Likewise.
33830 * elf/tst-auditmod7b.c: Likewise.
33832 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33833 and x32_gnu_pltexit.
33835 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33836 __ELF_NATIVE_CLASS.
33837 (La_x32_regs): New macro.
33838 (La_x32_retval): Likewise.
33839 (la_x32_gnu_pltenter): New function prototype.
33840 (la_x32_gnu_pltexit): Likewise.
33842 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33849 * configure.in (libc_cv_cc_nofma): Check for option to disable
33850 generation of FMA instructions.
33851 * configure: Regenerate.
33852 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33853 * sysdeps/ieee754/dbl-64/Makefile: New file.
33854 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33855 Remove brandred-fma4.
33856 (CFLAGS-brandred-fma4.c): Remove.
33857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33863 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33866 LLONG_MAX != LONG_MAX.
33867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33868 (_fitoa_word): Likewise.
33869 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33870 LLONG_MAX != LONG_MAX.
33871 * stdio-common/_itowa.h: Include <_itoa.h>.
33872 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33873 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33874 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33875 only if not defined.
33876 (_ITOA_WORD_TYPE): Likewise.
33877 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33878 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33880 2012-03-21 David S. Miller <davem@davemloft.net>
33882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33887 of x86_64 when setting libc_cv_slibdir, libdir and
33889 * sysdeps/unix/sysv/linux/configure: Regenerated.
33891 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33893 * manual/lang.texi (Old Varargs): Remove section.
33894 (How Variadic): Update menu.
33895 (va_start): Do not mention varargs.h.
33897 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33898 Joseph Myers <joseph@codesourcery.com>
33900 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33902 * configure: Regenerated.
33904 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33906 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33907 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33910 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33913 * Makefile (files-for-dist): Remove NOTES.
33914 (NOTES): Remove rule.
33915 * README: Don't refer to NOTES.
33916 * manual/creature.texi: Don't include macros.texi.
33917 * manual/intro.texi (creature.texi): Remove comment referring to
33920 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33921 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33922 * configure: Regenerated.
33923 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33924 LIBC_TRY_CC_OPTION.
33925 (libc_cv_as_i686): Likewise.
33926 (libc_cv_cc_avx): Likewise.
33927 (libc_cv_cc_sse2avx): Likewise.
33928 (libc_cv_cc_fma4): Likewise.
33929 (libc_cv_cc_novzeroupper): Likewise.
33930 * sysdeps/i386/configure: Regenerated.
33933 * sysdeps/i386/fpu/s_cexp.S: Remove.
33934 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33935 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33936 * math/libm-test.inc (cexp_test): Add more tests.
33937 * sysdeps/i386/fpu/libm-test-ulps: Update.
33938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940 2012-03-21 Allan McRae <allan@archlinux.org>
33942 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33944 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33947 * math/w_exp2.c: Do not include <float.h>.
33948 (o_threshold, u_threshold): Remove.
33949 (__exp2): Calculate result before checking finiteness and calling
33951 * math/w_exp2f.c: Likewise.
33952 * math/w_exp2l.c: Likewise.
33953 * math/libm-test.inc (exp2_test): Require overflow exception for
33957 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33958 range of signed 64-bit integers before using fistpll. Remove
33959 checks for whether integers fit in mantissa bits.
33960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33961 the range of signed 32-bit integers before using fistpl. Remove
33962 checks for whether integers fit in mantissa bits.
33963 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33964 (__ieee754_powl): Test for y outside the range of signed 64-bit
33965 integers before using fistpll. Reduce 64-bit values to 63-bit
33967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33968 divide-by-zero is raised for zero to large negative powers.
33969 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33970 (__ieee754_powl): Test for y outside the range of signed 64-bit
33971 integers before using fistpll. Reduce 64-bit values to 63-bit
33973 * math/libm-test.inc (pow_test): Add more tests.
33975 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33977 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33978 <stdio-common/_itoa.h>.
33979 * debug/segfault.c: Likewise.
33980 * elf/dl-cache.c: Likewise.
33981 * elf/dl-minimal.c: Likewise.
33982 * elf/dl-misc.c: Likewise.
33983 * elf/dl-sysdep.c: Likewise.
33984 * elf/dl-version.c: Likewise.
33985 * elf/rtld.c: Likewise.
33986 * hurd/hurdsock.c: Likewise.
33987 * hurd/lookup-retry.c: Likewise.
33988 * malloc/malloc.c: Likewise.
33989 * malloc/mtrace.c: Likewise.
33990 * nscd/nscd_getgr_r.c: Likewise.
33991 * nscd/nscd_getpw_r.c: Likewise.
33992 * nscd/nscd_getserv_r.c: Likewise.
33993 * posix/getopt_init.c: Likewise.
33994 * posix/wordexp.c: Likewise.
33995 * stdio-common/_itoa.c: Likewise.
33996 * stdio-common/printf_fphex.c: Likewise.
33997 * stdio-common/vfprintf.c: Likewise.
33998 * string/_strerror.c: Likewise.
33999 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34000 * sysdeps/i386/i686/hp-timing.h: Likewise.
34001 * sysdeps/mach/_strerror.c: Likewise.
34002 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34003 * sysdeps/mach/hurd/sethostid.c: Likewise.
34004 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34005 * sysdeps/mach/xpg-strerror.c: Likewise.
34006 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34008 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34009 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34011 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34012 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34013 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34014 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34015 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34016 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34017 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34018 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34019 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34020 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34021 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34022 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34023 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34024 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34025 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34026 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34028 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34030 * stdio-common/_itoa.h: Moved to ...
34031 * sysdeps/generic/_itoa.h: Here.
34033 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34035 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34036 instead of "_itoa.h" and "_itowa.h".
34037 * stdio-common/vfprintf.: Likewise.
34039 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34043 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34044 (__signbit): Likwise.
34045 (llrintf): Likwise.
34048 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34050 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34053 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34055 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34056 OVERFLOW_EXCEPTION_OK.
34057 * math/libm-test.inc ("Philosophy"): Update comment about
34059 (OVERFLOW_EXCEPTION): Define.
34060 (OVERFLOW_EXCEPTION_OK): Likewise.
34061 (INVALID_EXCEPTION_OK): Renumber.
34062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34063 (IGNORE_ZERO_INF_SIGN): Likewise.
34064 (test_exceptions): Handle FE_OVERFLOW.
34065 (exp10_test): Expect overflow exceptions.
34066 (exp2_test): Likewise.
34067 (expm1_test): Likewise.
34068 (nextafter_test): Likewise.
34069 (pow_test): Likewise.
34070 (scalbn_test): Likewise.
34071 (scalbln_test): Likewise.
34073 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34075 * sysdeps/x86_64/bits/atomic.h
34076 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34078 (atomic_exchange_acq): Likewise.
34079 (__arch_exchange_and_add_body): Likewise.
34080 (__arch_add_body): Likewise.
34081 (atomic_add_negative): Likewise.
34082 (atomic_add_zero): Likewise.
34084 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34086 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34087 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34092 Check __x86_64__ instead of __WORDSIZE.
34094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34098 2012-03-19 David S. Miller <davem@davemloft.net>
34100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34102 * sysdeps/sparc/fpu/fenv_private.h: New file.
34103 * sysdeps/sparc/fpu/math_private.h: Use it.
34104 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34106 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34107 (libc_feholdexcept_setroundl): Remove.
34108 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34110 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34111 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34113 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34116 int64_t instead of long int.
34117 (INSERT_WORDS64): Likwise.
34119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34121 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34122 _Unwind_GetCFA return to _Unwind_Ptr first.
34124 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34127 * math/s_clog.c: Include <float.h>.
34128 (__clog): Scale large or subnormal inputs.
34129 * math/s_clogf.c: Likewise.
34130 * math/s_clogl.c: Likewise.
34131 * math/s_clog10.c: Include <float.h>.
34132 (M_LOG10_2): Define.
34133 (__clog10): Scale large or subnormal inputs.
34134 * math/s_clog10f.c: Likewise.
34135 * math/s_clog10l.c: Likewise.
34136 * math/libm-test.inc (clog_test): Add more tests.
34137 (clog10_test): Likewise.
34138 * sysdeps/i386/fpu/libm-test-ulps: Update.
34139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34142 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34144 * math/libm-test.inc (atan2_test): Add another test.
34146 * Makerules (common-objdir-compile): Remove.
34147 * sysdeps/unix/Makefile (config-generated): Do not add
34148 $(unix-generated) to variable.
34149 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34150 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34152 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34154 [generic bits/local_lim.h] (before-compile): Do not append to
34156 [generic bits/local_lim.h] (common-generated): Likewise.
34157 [generic sys/param.h] (before-compile): Do not append to variable.
34158 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34159 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34160 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34161 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34163 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34164 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34165 [generic sys/param.h] ($(addprefix
34166 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34167 [generic sys/param.h] (common-generated): Do not append to
34169 [generic sys/param.h] (sysdep_headers): Likewise.
34170 [generic bits/errno.h] (before-compile): Do not append to
34172 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34174 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34175 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34176 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34177 [generic bits/errno.h] (common-generated): Do not append to
34179 [generic bits/ioctls.h] (before-compile): Do not append to
34181 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34183 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34184 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34185 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34187 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34188 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34189 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34190 [generic bits/ioctls.h] (common-generated): Do not append to
34192 [generic sys/syscall.h] (syscall.h): Remove variable.
34193 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34195 [generic sys/syscall.h] (before-compile): Do not append to
34197 [generic sys/syscall.h] (common-generated): Likewise.
34198 * sysdeps/unix/errnos-tmpl.c: Remove file.
34199 * sysdeps/unix/errnos.awk: Likewise.
34200 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34201 * sysdeps/unix/ioctls.awk: Likewise.
34202 * sysdeps/unix/mk-local_lim.c: Likewise.
34203 * sysdeps/unix/snarf-ioctls: Likewise.
34205 2012-03-19 Richard Henderson <rth@twiddle.net>
34207 * sysdeps/i386/fpu/fenv_private.h: New file.
34208 * sysdeps/i386/fpu/math_private.h: Use it.
34209 (math_opt_barrier, math_force_eval): Remove.
34210 (libc_feholdexcept_setround_53bit): Remove.
34211 (libc_feupdateenv_53bit): Remove.
34212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34213 (math_opt_barrier, math_force_eval): Remove.
34214 (libc_feholdexcept): Remove.
34215 (libc_feholdexcept_setround): Remove.
34216 (libc_fetestexcept, libc_fesetenv): Remove.
34217 (libc_feupdateenv_test): Remove.
34218 (libc_feupdateenv, libc_feholdsetround): Remove.
34219 (libc_feresetround): Remove.
34221 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34222 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34224 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34225 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34226 (libc_feupdateenv_testl): New.
34227 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34228 (libc_feupdateenv_testf): New.
34229 (libc_feupdateenv): Use libc_feupdateenv_test.
34230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34233 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34234 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34235 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34236 (libc_feresetround_noex): New.
34237 (libc_feresetround_noexf): New.
34238 (libc_feresetround_noexl): New.
34239 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34240 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34241 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34242 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34247 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34248 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34249 SET_RESTORE_ROUND_NOEX.
34250 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34251 SET_RESTORE_ROUND_NOEXF.
34252 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34253 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34254 (libc_feholdsetroundf): New.
34255 (libc_feresetround, libc_feresetroundf): New.
34257 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34258 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34259 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34261 * sysdeps/generic/math_private.h: Include <fenv.h>.
34262 (default_libc_feholdexcept): New.
34263 (default_libc_feholdexcept_setround): New.
34264 (default_libc_fesetenv, default_libc_feupdateenv): New.
34265 (libc_feholdexcept): Only define if undefined.
34266 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34267 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34268 (libc_feholdexcept_setroundl): Likewise.
34269 (libc_feholdexcept_setround_53bit): Likewise.
34270 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34271 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34272 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34273 (libc_feupdateenv_53bit): Likewise.
34274 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34275 (libc_feholdexcept): Convert from macro to inline function.
34276 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34277 (libc_fesetenv, libc_feupdateenv): Likewise.
34279 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34280 not previously defined.
34281 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34282 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34283 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34284 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34285 * sysdeps/ieee754/flt-32/math_private.h: New file.
34286 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34287 math_private.h below SET_FLOAT_WORD.
34288 (__isnan, __isinf_ns, __finite): Remove.
34289 (__isnanf, __isinf_nsf, __finitef): Remove.
34291 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34295 2012-03-17 David S. Miller <davem@davemloft.net>
34298 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34301 2012-03-16 David S. Miller <davem@davemloft.net>
34303 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34309 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34310 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34311 sysdep_routines when subdir is sysvipc.
34312 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34313 __getshmlba helper.
34315 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34317 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34319 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34322 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34325 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34326 (__lround): Renamed to ...
34327 (__llround): This. Replace long int with long long int.
34328 Define lround functions as aliases of llround functions.
34329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34331 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34333 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34334 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34335 adresses to uintptr_t. Replace "long int" and "unsigned long
34336 int" with "greg_t" on va_arg.
34338 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34340 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34341 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34343 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34344 Move e_machine check before EI_CLASS check. Handle x32
34345 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34346 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34347 SKIP_EM_IA_64 and include
34348 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34350 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34351 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34352 (add_system_dir): New macro.
34354 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34355 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34357 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34368 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34370 * math/w_j0f.c (j0f): Likewise.
34372 * math/w_j0l.c (__j0l): Likewise.
34374 * math/w_j1.c (j1): Likewise.
34376 * math/w_j1f.c (j1f): Likewise.
34378 * math/w_j1l.c (__j1l): Likewise.
34380 * math/w_jn.c (jn): Likewise.
34382 * math/w_jnf.c (jnf): Likewise.
34384 * math/w_jnl.c (__jnl): Likewise.
34386 * math/libm-test.inc (j0_test): Add more tests.
34387 (j1_test): Likewise.
34388 (jn_test): Likewise. Add trailing semicolon to existing test.
34389 (y0_test): Likewise.
34390 (y1_test): Likewise.
34391 * sysdeps/i386/fpu/libm-test-ulps: Update.
34392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34397 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34398 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34400 (__tanl): Set errno for infinite argument.
34401 * sysdeps/i386/fpu/mptan.c: Remove.
34402 * sysdeps/i386/fpu/s_tan.S: Likewise.
34403 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34404 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34405 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34406 * math/libm-test.inc (tan_test): Add more tests and enable more
34407 tests for double and long double.
34408 * sysdeps/i386/fpu/libm-test-ulps: Update.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34411 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34413 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34414 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34416 2012-03-16 Roland McGrath <roland@hack.frob.com>
34418 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34419 * configure.in: Use it for both main tree and add-ons.
34420 * configure: Regenerated.
34422 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34424 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34426 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34428 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34432 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34433 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34434 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34435 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34436 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34438 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34440 != 0 for prec == 2.
34441 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34442 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34443 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34444 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34445 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34446 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34447 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34448 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34449 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34450 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34451 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34452 * math/libm-test.inc (cos_test): Add more tests and enable more
34453 tests for long double.
34454 (sin_test): Likewise.
34455 (sincos_test): Likewise.
34456 * sysdeps/i386/fpu/libm-test-ulps: Update.
34457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34459 2012-03-16 David S. Miller <davem@davemloft.net>
34461 * sysdeps/sparc/fpu/math_private.h: New file.
34463 2012-03-15 David S. Miller <davem@davemloft.net>
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34479 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34482 * sysdeps/sparc/sparc-ifunc.h: New file.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34528 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34530 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34534 2012-03-15 Andreas Jaeger <aj@suse.de>
34537 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34538 ieee754/flt-32 implementation for sin, cos and sincos.
34539 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34540 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34541 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34542 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34543 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34544 ieee754/flt-32 implementation for tan.
34546 * math/libm-test.inc (cos_test): Enable some large input tests for
34548 (sin_test): Likewise.
34549 (sincos_test): Likewise.
34550 (tan_test): Add tests for large input.
34552 * sysdeps/i386/fpu/libm-test-ulps: Update.
34554 2012-03-15 Andreas Jaeger <aj@suse.de>
34557 * math/libm-test.inc (cos_test): Add more test cases.
34558 (sin_test): Likewise.
34559 (sincos_test): Likewise.
34561 2012-03-15 Andreas Jaeger <aj@suse.de>
34564 * math/libm-test.inc (cos_test): Add a test case for large input
34566 (sin_test): Likewise.
34567 (sincos_test): Likewise.
34569 2012-03-15 Andreas Jaeger <aj@suse.de>
34570 Joseph Myers <joseph@codesourcery.com>
34573 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34574 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34575 * sysdeps/i386/fpu/branred.c: Likewise.
34576 * sysdeps/i386/fpu/dosincos.c: Likewise.
34577 * sysdeps/i386/fpu/mpa.c: Likewise.
34578 * sysdeps/i386/fpu/s_cos.S: Likewise.
34579 * sysdeps/i386/fpu/s_sin.S: Likewise.
34580 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34581 * sysdeps/i386/fpu/sincos32.c: Likewise.
34583 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34585 (libc_feupdateenv_53bit): Define.
34586 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34588 (libc_feupdateenv_53bit): Define.
34590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34591 53 bit (without extend i386 double precision).
34593 * math/libm-test.inc (sincos_test): Add tests for large input.
34597 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34599 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34603 2012-03-15 David S. Miller <davem@davemloft.net>
34605 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34606 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34633 fmin/fmax sysdep routines.
34634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34636 2012-03-14 David S. Miller <davem@davemloft.net>
34638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34710 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34715 * sysdeps/sparc/configure.in: New file.
34716 * sysdeps/sparc/configure: Generate.
34717 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34718 * configure: Regenerate.
34719 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34720 * config.make.in (have-as-vis3): New.
34721 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34722 available use -Av9d instead of -Av9a.
34723 * sysdeps/sparc/sparc64/Makefile: Likewise.
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34739 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34740 fzeros/fnegs to load 0x80000000 into a float register instead of
34742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34744 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34748 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34749 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34750 ($(inst_includedir)/bits/syscall.h): Remove rule.
34751 ($(objpfx)bits/syscall.d): Include instead of
34752 $(objpfx)syscall-list.d.
34753 (generated): Change syscall-list.h and syscall-list.d to
34754 bits/syscall.h and bits/syscall.d.
34756 2012-03-14 Roland McGrath <roland@hack.frob.com>
34759 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34761 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34764 * math/s_csqrt.c: Include <float.h>.
34765 (__csqrt): Scale large or subnormal inputs.
34766 * math/s_csqrtf.c: Likewise.
34767 * math/s_csqrtl.c: Likewise.
34768 * math/libm-test.inc (csqrt_test): Add more tests.
34769 * sysdeps/i386/fpu/libm-test-ulps: Update.
34770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34773 * math/libm-test.inc (hypot_test): Add more tests.
34775 2012-03-13 David S. Miller <davem@davemloft.net>
34778 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34779 double-precision for the calculation instead of scaling.
34781 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34784 manipulate bits before adding and subtracting TWO52[sx].
34785 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34788 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34790 2012-03-13 David S. Miller <davem@davemloft.net>
34792 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34793 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34795 rtld-global-offsets.h
34796 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34798 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34801 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34803 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34804 'err' in the ifdef scope in which it is actually used.
34806 * nss/nss_db/db-init.c: Include string.h
34808 2012-03-12 David S. Miller <davem@davemloft.net>
34810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34811 masking out of the most significant byte of random value used.
34812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34813 Fix coding style in previous change.
34815 * sysdeps/unix/sysv/linux/kernel-features.h
34816 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34817 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34819 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34822 2012-03-11 David S. Miller <davem@davemloft.net>
34824 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34825 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34827 for 'resultvar' otherwise things get truncated on 64-bit.
34829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34830 Fix masking out of the most significant byte of random value used.
34832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34834 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838 2012-03-09 David S. Miller <davem@davemloft.net>
34840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34841 variables with appropriate CPP guards.
34842 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34843 from the frame pointer, not the stack pointer. Correct layout
34844 comments. Fix test on resulting framesize and the management of
34845 the outregs buffer for pltexit. Preserve floating point return
34846 values across _dl_call_pltexit call.
34847 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34848 framesize and the management of the outregs buffer for pltexit.
34849 Preserve floating point return values across _dl_call_pltexit
34851 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34852 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34853 (la_sparc64_gnu_pltexit): New functions.
34854 (print_exit): Fix format string for return register value.
34856 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34858 * sunrpc/Makefile (others): Add rpcgen.
34859 ($(objpfx)rpcgen): Remove special build rule and dependency on
34861 * sunrpc/rpcgen.c: New file.
34863 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34866 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34867 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34868 * sysdeps/i386/crti.S: Likewise.
34869 * sysdeps/i386/crtn.S: Likewise.
34870 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34871 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34872 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34873 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34874 * sysdeps/sh/crti.S: Likewise.
34875 * sysdeps/sh/crtn.S: Likewise.
34876 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34879 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34881 * locale/programs/locfile-kw.gperf: Likewise.
34882 * locale/programs/charmap-kw.h: Regenerated.
34883 * locale/programs/locfile-kw.h: Likewise.
34886 * intl/plural.y: Replace FSF snail mail address with URL.
34887 * intl/plural.c: Regenerated.
34889 2012-03-09 Richard Henderson <rth@twiddle.net>
34891 * include/math_private.h: Remove file.
34892 * math/math_private.h: Move file ...
34893 * sysdeps/generic/math_private.h: ... here.
34895 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34896 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34897 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34899 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34900 and <math_private.h>.
34901 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34902 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34903 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34904 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34905 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34981 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34983 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34984 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34988 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34989 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34990 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34991 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34992 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34993 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34994 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34995 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34996 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34997 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34998 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34999 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35001 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35002 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35003 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35004 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35005 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35006 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35007 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35010 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35011 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35013 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35015 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35019 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35020 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35022 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35023 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35024 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35027 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35028 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35029 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35030 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35031 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35033 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35034 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35035 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35036 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35037 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35038 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35039 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35042 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35043 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35044 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35045 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35046 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35047 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35048 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35049 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35050 * sysdeps/ieee754/k_standard.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35211 * sysdeps/ieee754/s_lib_version.c: Likewise.
35212 * sysdeps/ieee754/s_matherr.c: Likewise.
35213 * sysdeps/ieee754/s_signgam.c: Likewise.
35214 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35215 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35216 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35217 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35218 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35219 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35220 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35221 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35222 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35223 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35224 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35225 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35226 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35227 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35228 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35229 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35230 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35231 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35236 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35238 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35239 * sunrpc/rpc_main.c: Likewise.
35240 * sunrpc/rpc_svcout.c: Likewise.
35242 2012-03-09 David S. Miller <davem@davemloft.net>
35244 * include/math_private.h: New file.
35246 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35248 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35249 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35250 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35251 from <bits/socket_type.h>.
35252 (enum __socket_type): Don't define here.
35253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35255 bits/socket_type.h.
35258 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35259 checking __USE_GNU.
35261 * Makerules ($(inst_includedir)/%.h): New rule.
35262 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35263 (install-others): Remove variable setting.
35264 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35266 2012-03-08 Richard Henderson <rth@twiddle.net>
35268 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35269 from macro to inline function; merge with the
35270 !__LIBC_INTERNAL_MATH_INLINES version.
35271 (__ieee754_sqrtf): Likewise.
35273 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35274 to inline function.
35275 (__rintf, __floor, __floorf): Likewise.
35277 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35278 macro to inline function.
35279 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35281 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35282 not <math/math_private.h>.
35284 2012-03-08 David S. Miller <davem@davemloft.net>
35286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35288 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35290 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35292 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35294 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35295 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35297 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35299 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35300 be defined individually, they must be defined as a block. Define
35301 S for printing a string instead of hidint the different by using a
35302 macro for adding the 'l'.
35303 * stdio-common/tst-fphex-wide.c: Adjust.
35305 2012-03-07 Marek Polacek <polacek@redhat.com>
35307 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35309 2012-03-08 Marek Polacek <polacek@redhat.com>
35312 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35313 * stdio-common/tst-fphex.c: Define a few macros to make the
35314 test reusable. Use them.
35315 * stdio-common/tst-fphex-wide.c: New file.
35317 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35320 * manual/macros.texi (gnusystems): New macro.
35321 (nongnusystems): Likewise.
35322 (gnulinuxhurdsystems): Likewise.
35323 (gnuhurdsystems): Likewise..
35324 (gnulinuxsystems): Likewise.
35325 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35326 variants of the GNU system, not "GNU system".
35327 * manual/conf.texi: Likewise.
35328 * manual/errno.texi: Likewise. Update example of errno macro
35330 * manual/filesys.texi: Likewise.
35331 (getumask): Document as specific to GNU/Hurd.
35332 * manual/install.texi: Likewise. Reword some references to
35334 * manual/intro.texi: Likewise.
35335 * manual/io.texi: Likewise.
35336 (File Name Portability): Detail which constraints are inapplicable
35337 to all GNU systems and which are only inapplicable to GNU/Hurd.
35338 * manual/job.texi: Likewise.
35339 * manual/llio.texi: Likewise.
35340 (O_NOCTTY): Document as present on GNU/Linux.
35341 * manual/maint.texi: Likewise.
35342 * manual/memory.texi: Likewise.
35343 * manual/pattern.texi: Likewise.
35344 * manual/pipe.texi: Likewise.
35345 * manual/process.texi: Likewise.
35346 * manual/resource.texi: Likewise.
35347 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35349 * manual/setjmp.texi: Likewise.
35350 * manual/signal.texi: Likewise.
35351 * manual/startup.texi: Likewise.
35352 * manual/stdio.texi: Likewise.
35353 * manual/terminal.texi: Likewise.
35354 (ONLCR): Document as POSIX.
35355 (OXTABS): Document availability on GNU/Linux as XTABS.
35356 (ONOEOT): Document availability separately from other bits.
35357 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35358 * manual/time.texi: Likewise.
35359 * manual/users.texi: Likewise.
35360 * INSTALL: Regenerated.
35361 * sysdeps/gnu/errlist.c: Regenerated.
35363 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35364 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35365 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35367 * configure: Regenerated.
35369 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35371 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35372 default includes instead of AC_HEADER_CHECK.
35373 * sysdeps/i386/configure: Regenerated.
35376 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35377 * math/s_cacoshf.c (__cacoshf): Likewise.
35378 * math/s_cacoshl.c (__cacoshl): Likewise.
35379 * math/s_casinh.c (__casinh): Set signs of result from argument.
35380 * math/s_casinhf.c (__casinhf): Likewise.
35381 * math/s_casinhl.c (__casinhl): Likewise.
35382 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35383 (casinh_test): Add more tests.
35384 * sysdeps/i386/fpu/libm-test-ulps: Update.
35385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35387 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35389 * po/zh_TW.po: Update from translation team.
35391 * login/Makefile (distribute): Remove variable.
35392 * catgets/Makefile: Likewise.
35393 * mach/Makefile: Likewise.
35394 * malloc/Makefile: Likewise.
35395 * misc/Makefile: Likewise.
35396 * iconv/Makefile: Likewise.
35397 * nscd/Makefile: Likewise.
35398 * hurd/Makefile: Likewise.
35399 * manual/Makefile: Likewise.
35400 * locale/Makefile: Likewise.
35401 * intl/Makefile: Likewise.
35402 * conform/Makefile: Likewise.
35403 * nss/Makefile: Likewise.
35404 * time/Makefile: Likewise.
35405 * soft-fp/Makefile: Likewise.
35406 * dirent/Makefile: Likewise.
35407 * gmon/Makefile: Likewise.
35408 * po/Makefile: Likewise.
35409 * rt/Makefile: Likewise.
35410 * socket/Makefile: Likewise.
35411 * math/Makefile: Likewise.
35412 * signal/Makefile: Likewise.
35413 * debug/Makefile: Likewise.
35414 * elf/Makefile: Likewise.
35415 * timezone/Makefile: Likewise.
35416 * stdlib/Makefile: Likewise.
35417 * iconvdata/Makefile: Likewise.
35418 * sunrpc/Makefile: Likewise.
35419 * io/Makefile: Likewise.
35420 * argp/Makefile: Likewise.
35421 * inet/Makefile: Likewise.
35422 * hesiod/Makefile: Likewise.
35423 * grp/Makefile: Likewise.
35424 * csu/Makefile: Likewise.
35425 * wctype/Makefile: Likewise.
35426 * crypt/Makefile: Likewise.
35427 * libio/Makefile: Likewise.
35428 * string/Makefile: Likewise.
35429 * nis/Makefile: Likewise.
35430 * resolv/Makefile: Likewise.
35431 * stdio-common/Makefile: Likewise.
35432 * wcsmbs/Makefile: Likewise.
35433 * dlfcn/Makefile: Likewise.
35434 * posix/Makefile: Likewise.
35437 * timezone/Makefile: Don't install timezone files, just the programs
35440 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35442 * nss/databases.def: Add missing gshadow entry.
35444 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35446 2012-03-06 Marek Polacek <polacek@redhat.com>
35449 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35450 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35451 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35452 * stdio-common/tst-long-dbl-fphex.c: New file.
35454 2012-03-06 David S. Miller <davem@davemloft.net>
35456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35457 (set_obp_int): New function.
35458 (get_obp_int): New function.
35459 (__get_clockfreq_via_dev_openprom): Likewise.
35460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35461 Avoid unused variable warnings on 'val' and use builtin_expect.
35462 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35464 (INLINE_CLONE_SYSCALL): Likewise.
35466 2012-03-05 David S. Miller <davem@davemloft.net>
35468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35470 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35475 only for |x| >= 40.
35476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35478 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35481 Replace gettimeofday with __vdso_gettimeofday.
35483 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35484 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35485 __vdso_clock_gettime and __vdso_getcpu.
35487 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35488 time with __vdso_time.
35490 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35492 * manual/lang.texi (size_t): Note types to which size_t may be
35493 equivalent with the GNU C Library, but do not describe when
35494 differences between them are significant.
35496 2012-03-05 Andreas Jaeger <aj@suse.de>
35498 * sysdeps/i386/fpu/libm-test-ulps: Update.
35500 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35503 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35504 (__ieee754_pow): Save and restore rounding mode and use
35505 round-to-nearest for main computations.
35506 * math/libm-test.inc (pow_test_tonearest): New function.
35507 (pow_test_towardzero): Likewise.
35508 (pow_test_downward): Likewise.
35509 (pow_test_upward): Likewise.
35510 (main): Call the new functions.
35511 * sysdeps/i386/fpu/libm-test-ulps: Update.
35512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35515 * math/libm-test.inc (cosh_test_tonearest): New function.
35516 (cosh_test_towardzero): Likewise.
35517 (cosh_test_downward): Likewise.
35518 (cosh_test_upward): Likewise.
35519 (sinh_test_tonearest): Likewise.
35520 (sinh_test_towardzero): Likewise.
35521 (sinh_test_downward): Likewise.
35522 (sinh_test_upward): Likewise.
35523 (main): Call the new functions.
35524 * sysdeps/i386/fpu/libm-test-ulps: Update.
35525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35527 2012-03-05 Tom de Vries <tom@codesourcery.com>
35529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35530 default stack guard is set in last bytes.
35531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35533 2012-03-05 Kees Cook <keescook@chromium.org>
35535 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35538 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35539 possibly allocate from heap instead of stack.
35540 * stdio-common/bug-vfprintf-nargs.c: New file.
35541 * stdio-common/Makefile (tests): Add nargs overflow test.
35543 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35547 2012-03-03 Marek Polacek <polacek@redhat.com>
35549 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35550 * math/math_private.h: Likewise.
35551 * stdlib/tst-strtod.c: Likewise.
35552 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35553 * sysdeps/x86_64/bits/atomic.h: Likewise.
35555 2012-03-02 David S. Miller <davem@davemloft.net>
35557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35561 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35562 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35563 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35564 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35566 2012-03-02 Roland McGrath <roland@hack.frob.com>
35569 * manual/examples/README: New file, says the example source files
35570 can be used under GPL>=2.
35571 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35572 line containing just "*/".
35573 * manual/examples/add.c: Add copyright header (GPL>=2).
35574 * manual/examples/argp-ex1.c: Likewise.
35575 * manual/examples/argp-ex2.c: Likewise.
35576 * manual/examples/argp-ex3.c: Likewise.
35577 * manual/examples/argp-ex4.c: Likewise.
35578 * manual/examples/atexit.c: Likewise.
35579 * manual/examples/db.c: Likewise.
35580 * manual/examples/dir.c: Likewise.
35581 * manual/examples/dir2.c: Likewise.
35582 * manual/examples/execinfo.c: Likewise.
35583 * manual/examples/filecli.c: Likewise.
35584 * manual/examples/filesrv.c: Likewise.
35585 * manual/examples/fmtmsgexpl.c: Likewise.
35586 * manual/examples/genpass.c: Likewise.
35587 * manual/examples/inetcli.c: Likewise.
35588 * manual/examples/inetsrv.c: Likewise.
35589 * manual/examples/isockad.c: Likewise.
35590 * manual/examples/longopt.c: Likewise.
35591 * manual/examples/memopen.c: Likewise.
35592 * manual/examples/memstrm.c: Likewise.
35593 * manual/examples/mkfsock.c: Likewise.
35594 * manual/examples/mkisock.c: Likewise.
35595 * manual/examples/mygetpass.c: Likewise.
35596 * manual/examples/pipe.c: Likewise.
35597 * manual/examples/popen.c: Likewise.
35598 * manual/examples/rprintf.c: Likewise.
35599 * manual/examples/search.c: Likewise.
35600 * manual/examples/select.c: Likewise.
35601 * manual/examples/setjmp.c: Likewise.
35602 * manual/examples/sigh1.c: Likewise.
35603 * manual/examples/sigusr.c: Likewise.
35604 * manual/examples/stpcpy.c: Likewise.
35605 * manual/examples/strdupa.c: Likewise.
35606 * manual/examples/strftim.c: Likewise.
35607 * manual/examples/strncat.c: Likewise.
35608 * manual/examples/subopt.c: Likewise.
35609 * manual/examples/swapcontext.c: Likewise.
35610 * manual/examples/termios.c: Likewise.
35611 * manual/examples/testopt.c: Likewise.
35612 * manual/examples/testpass.c: Likewise.
35613 * manual/examples/timeval_subtract.c: Likewise.
35616 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35618 * manual/timeval_subtract.c.texi: ... here, new file.
35620 2012-03-02 David S. Miller <davem@davemloft.net>
35622 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35624 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35627 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35628 (__sin): Save and restore rounding mode and use round-to-nearest
35629 for all computations.
35630 (__cos): Save and restore rounding mode and use round-to-nearest
35631 for all computations.
35632 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35634 (tan): Save and restore rounding mode and use round-to-nearest for
35636 * math/libm-test.inc (cos_test_tonearest): New function.
35637 (cos_test_towardzero): Likewise.
35638 (cos_test_downward): Likewise.
35639 (cos_test_upward): Likewise.
35640 (sin_test_tonearest): Likewise.
35641 (sin_test_towardzero): Likewise.
35642 (sin_test_downward): Likewise.
35643 (sin_test_upward): Likewise.
35644 (tan_test_tonearest): Likewise.
35645 (tan_test_towardzero): Likewise.
35646 (tan_test_downward): Likewise.
35647 (tan_test_upward): Likewise.
35648 (main): Call the new functions.
35649 * sysdeps/i386/fpu/libm-test-ulps: Update.
35650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35653 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35654 small n, then large n, before computing and testing k+n.
35655 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35660 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35661 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35666 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35668 * math/libm-test.inc (scalbn_test): Add more tests.
35669 (scalbln_test): Likewise.
35671 * manual/filesys.texi (mode_t): Describe constraints on size and
35672 signedness, not exact equivalence to a particular type.
35674 (ino64_t): Likewise.
35676 (nlink_t): Likewise.
35677 (blkcnt_t): Likewise.
35678 (blkcnt64_t): Likewise.
35679 * manual/llio.texi (off_t): Likewise.
35682 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35683 (__ieee754_exp): Save and restore rounding mode and use
35684 round-to-nearest for all computations.
35685 * math/libm-test.inc (exp_test_tonearest): New function.
35686 (exp_test_towardzero): Likewise.
35687 (exp_test_downward): Likewise.
35688 (exp_test_upward): Likewise.
35689 (main): Call the new functions.
35690 * sysdeps/i386/fpu/libm-test-ulps: Update.
35691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35693 2012-03-01 Chris Demetriou <cgd@google.com>
35695 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35696 have predictable order.
35698 2012-03-01 David S. Miller <davem@davemloft.net>
35700 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35702 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35703 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35704 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35705 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35707 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35708 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35709 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35711 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35712 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35713 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35714 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35715 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35719 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35720 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35721 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35723 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35724 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35725 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35730 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35731 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35732 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35733 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35737 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35739 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35740 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35741 * sysdeps/sparc/elf/configure: Regenerated.
35743 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35745 * configure.in (AS, LD): Require binutils 2.20 or later.
35746 * configure: Regenerated.
35747 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35748 as required minimum version.
35749 * INSTALL: Regenerated.
35753 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35754 before squaring exponent.
35755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35756 bottom long double and 27 bits of top long double before squaring
35758 * math/libm-test.inc (erfc_test): Add more tests.
35759 * sysdeps/i386/fpu/libm-test-ulps: Update.
35760 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35763 2012-03-01 Kai Tietz <ktietz@redhat.com>
35765 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35766 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35767 containing bit-fields.
35768 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35769 * soft-fp/single.h (_FP_UNION_S): Likewise.
35770 * soft-fp/double.h (_FP_UNION_D): Likewise.
35772 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35775 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35776 not include ../strcmp.S.
35777 [USE_AS_STRNCASECMP_L]: Likewise.
35778 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35779 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35780 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35781 (__strncasecmp_l_ia32): Define as alias to
35782 __strncasecmp_l_nonascii.
35785 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35786 * sysdeps/i386/fpu/libm-test-ulps: Update.
35787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35789 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35792 2012-02-29 Jeff Law <law@redhat.com>
35794 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35795 out of bounds read.
35797 2012-02-29 Marek Polacek <polacek@redhat.com>
35800 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35801 * elf/Makefile: Add rules to run tst-unused-dep.out.
35803 2012-02-28 David S. Miller <davem@davemloft.net>
35805 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35806 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35809 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35810 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35812 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35814 * math/libm-test.inc (llround_test): Move one test from
35815 lround_test. Use TEST_f_L in moved test.
35816 (lround_test): Move misplaced test to llround_test. Add testcase
35819 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35821 * sysdeps/x86_64/fpu/e_expf.S: New file.
35822 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35824 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35827 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35828 of remain_len that may cause incomplete multi-byte character and
35830 * posix/bug-regex33.c: New file.
35831 * posix/Makefile (tests): Add bug-regex33.
35833 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35835 * manual/macros.texi: New file.
35836 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35837 * manual/libc.texinfo: Include macros.texi.
35838 * manual/creatute.texi: Likewise.
35839 * manual/install.texi: Likewise.
35840 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35841 @glibcadj{} in references to the GNU C Library.
35842 * manual/charset.texi: Likewise.
35843 * manual/conf.texi: Likewise.
35844 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35845 when not using those macros.
35846 * manual/creature.texi: Likewise.
35847 * manual/crypt.texi: Likewise.
35848 * manual/errno.texi: Likewise.
35849 * manual/filesys.texi: Likewise.
35850 * manual/header.texi: Likewise.
35851 * manual/install.texi: Likewise.
35852 * manual/intro.texi: Likewise.
35853 * manual/io.texi: Likewise.
35854 * manual/job.texi: Likewise.
35855 * manual/lang.texi: Likewise.
35856 * manual/libc.texiinfo: Likewise.
35857 * manual/llio.texi: Likewise.
35858 * manual/locale.texi: Likewise.
35859 * manual/maint.texi: Likewise.
35860 * manual/math.texi: Likewise.
35861 * manual/memory.texi: Likewise.
35862 * manual/message.texi: Likewise.
35863 * manual/nss.texi: Likewise.
35864 * manual/pattern.texi: Likewise.
35865 * manual/process.texi: Likewise.
35866 * manual/resource.texi: Likewise.
35867 * manual/search.texi: Likewise.
35868 * manual/setjmp.texi: Likewise.
35869 * manual/signal.texi: Likewise.
35870 * manual/socket.texi: Likewise.
35871 * manual/startup.texi: Likewise.
35872 * manual/stdio.texi: Likewise.
35873 * manual/string.texi: Likewise.
35874 * manual/sysinfo.texi: Likewise.
35875 * manual/syslog.texi: Likewise.
35876 * manual/terminal.texi: Likewise.
35877 * manual/time.texi: Likewise.
35878 * manual/users.texi: Likewise.
35879 * INSTALL: Regenerated.
35880 * NOTES: Regenerated.
35881 * sysdeps/gnu/errlist.c: Regenerated.
35883 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35885 * include/dirent.h: Include <dirstream.h> before
35888 2012-02-28 David S. Miller <davem@davemloft.net>
35890 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35891 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35892 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35893 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35895 2012-02-27 David S. Miller <davem@davemloft.net>
35897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35899 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35900 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35903 frame pointer instead of stack pointer relative arg slot.
35904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35908 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35911 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35913 2012-02-27 David S. Miller <davem@davemloft.net>
35915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35919 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35920 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35921 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35922 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35924 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35926 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35927 later. Allow versions 5-9.
35928 * configure: Regenerated.
35929 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35930 required minimum version and 4.6 as recommended version. Do not
35931 mention bugs in GCC 2.7 and 2.8.
35932 * INSTALL: Regenerated.
35934 2012-02-27 David S. Miller <davem@davemloft.net>
35936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35942 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35946 manipulate bits before adding and subtracting TWO112[sx].
35947 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35949 2012-02-27 Roland McGrath <roland@hack.frob.com>
35952 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35953 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35954 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35955 being in POSIX, because they are in 1003.1-2008.
35957 * rt/tst-aio.c: Include <fcntl.h>.
35958 * rt/tst-aio7.c: Likewise.
35959 * rt/tst-aio64.c: Likewise.
35961 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35963 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35965 * manual/install.texi (--with-headers): Describe headers as
35966 interface headers, not private headers.
35967 (Specific advice for GNU/Linux systems): Describe use of headers
35968 from "make headers_install", not private headers from older
35970 * INSTALL: Regenerated.
35971 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35973 * sysdeps/unix/sysv/linux/configure: Regenerated.
35975 * manual/llio.texi (fclean): Remove documentation.
35977 * manual/Makefile (libc-texi-generated): New variable. Include
35979 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35980 $(libc-texi-generated), not duplicated list of files.
35981 (version.texi, stamp-version): New rules.
35982 (realclean): Remove $(libc-texi-generated), not individual files
35983 from that list. Do not remove dir-add.texinfo.
35984 * manual/libc.texinfo: Comment out uses of edition numbers and
35985 references to printed manual. Remove last-updated dates.
35986 (EDITION): Comment out.
35988 (VERSION, UPDATED): Remove.
35989 (version.texi): Include.
35991 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35993 * sysdeps/posix/spawni.c: Include <signal.h>.
35994 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35995 * sysdeps/pthread/aio_fsync.c: Likewise.
35997 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35999 * conform/Makefile (tests): Run only when not cross-compiling and
36000 when fast-check is not defined.
36002 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36003 * conform/data/limits.h-data: Fixes for POSIX2008.
36004 * conform/run-conformtest.sh: Run all tests.
36005 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36007 * include/bits/dlfcn.h: Likewise.
36008 * include/langinfo.h: Likewise.
36009 * include/monetary.h: Likewise.
36010 * include/sys/poll.h: Likewise.
36012 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36014 * posix/spawn.h: Define __need_sigset_t.
36015 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36016 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36017 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36018 to get sigevent_t only.
36019 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36020 only for __USE_GNU.
36021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36022 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36023 process_vm_writev only for __USE_GNU.
36024 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36026 * conform/Makefile: For now ignore errors from run-conformtest.
36027 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36028 POSIX to avoid namespace pollution. Don't prepend headers.
36029 * conform/data/aio.h-data: Fixes for POSIX testing.
36030 * conform/data/fcntl.h-data: Likewise.
36031 * conform/data/glob.h-data: Likewise.
36032 * conform/data/grp.h-data: Likewise.
36033 * conform/data/pthread.h-data: Likewise.
36034 * conform/data/pwd.h-data: Likewise.
36035 * conform/data/signal.h-data: Likewise.
36036 * conform/data/spawn.h-data: Likewise.
36037 * conform/data/stdio.h-data: Likewise.
36038 * conform/data/stdlib.h-data: Likewise.
36039 * conform/data/stropts.h-data: Likewise.
36040 * conform/data/sys/mman.h-data: Likewise.
36041 * conform/data/sys/stat.h-data: Likewise.
36042 * conform/data/sys/types.h-data: Likewise.
36043 * conform/data/sys/wait.h-data: Likewise.
36044 * conform/data/time.h-data: Likewise.
36045 * conform/data/unistd.h-data: Likewise.
36046 * conform/data/utime.h-data: Likewise.
36048 * io/sys/stat.h: fchmod was always in POSIX.
36049 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36050 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36051 * rt/aio.h: Define __need_timespec before including <time.h>.
36052 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36053 struct. Add forward declaration of pthread_attr_t and use it in
36055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36057 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36058 always remove CLK_TCK definition.
36060 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36062 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36064 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36066 * conform/run-conformtest.sh: New file.
36067 * conform/Makefile: Run run-conformtest for tests.
36068 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36071 * conform/data/uchar.h-data: New file.
36072 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36073 * conform/data/arpa/inet.h-data: Likewise.
36074 * conform/data/assert.h-data: Likewise.
36075 * conform/data/complex.h-data: Likewise.
36076 * conform/data/cpio.h-data: Likewise.
36077 * conform/data/ctype.h-data: Likewise.
36078 * conform/data/dirent.h-data: Likewise.
36079 * conform/data/dlfcn.h-data: Likewise.
36080 * conform/data/errno.h-data: Likewise.
36081 * conform/data/fcntl.h-data: Likewise.
36082 * conform/data/float.h-data: Likewise.
36083 * conform/data/fmtmsg.h-data: Likewise.
36084 * conform/data/fnmatch.h-data: Likewise.
36085 * conform/data/ftw.h-data: Likewise.
36086 * conform/data/glob.h-data: Likewise.
36087 * conform/data/grp.h-data: Likewise.
36088 * conform/data/iconv.h-data: Likewise.
36089 * conform/data/inttypes.h-data: Likewise.
36090 * conform/data/langinfo.h-data: Likewise.
36091 * conform/data/libgen.h-data: Likewise.
36092 * conform/data/limits.h-data: Likewise.
36093 * conform/data/locale.h-data: Likewise.
36094 * conform/data/math.h-data: Likewise.
36095 * conform/data/monetary.h-data: Likewise.
36096 * conform/data/mqueue.h-data: Likewise.
36097 * conform/data/ndbm.h-data: Likewise.
36098 * conform/data/net/if.h-data: Likewise.
36099 * conform/data/netdb.h-data: Likewise.
36100 * conform/data/netinet/in.h-data: Likewise.
36101 * conform/data/nl_types.h-data: Likewise.
36102 * conform/data/poll.h-data: Likewise.
36103 * conform/data/pthread.h-data: Likewise.
36104 * conform/data/pwd.h-data: Likewise.
36105 * conform/data/regex.h-data: Likewise.
36106 * conform/data/sched.h-data: Likewise.
36107 * conform/data/search.h-data: Likewise.
36108 * conform/data/semaphore.h-data: Likewise.
36109 * conform/data/setjmp.h-data: Likewise.
36110 * conform/data/signal.h-data: Likewise.
36111 * conform/data/spawn.h-data: Likewise.
36112 * conform/data/stdarg.h-data: Likewise.
36113 * conform/data/stdio.h-data: Likewise.
36114 * conform/data/stdlib.h-data: Likewise.
36115 * conform/data/string.h-data: Likewise.
36116 * conform/data/strings.h-data: Likewise.
36117 * conform/data/stropts.h-data: Likewise.
36118 * conform/data/sys/ipc.h-data: Likewise.
36119 * conform/data/sys/mman.h-data: Likewise.
36120 * conform/data/sys/msg.h-data: Likewise.
36121 * conform/data/sys/resource.h-data: Likewise.
36122 * conform/data/sys/select.h-data: Likewise.
36123 * conform/data/sys/sem.h-data: Likewise.
36124 * conform/data/sys/shm.h-data: Likewise.
36125 * conform/data/sys/socket.h-data: Likewise.
36126 * conform/data/sys/stat.h-data: Likewise.
36127 * conform/data/sys/statvfs.h-data: Likewise.
36128 * conform/data/sys/time.h-data: Likewise.
36129 * conform/data/sys/timeb.h-data: Likewise.
36130 * conform/data/sys/times.h-data: Likewise.
36131 * conform/data/sys/types.h-data: Likewise.
36132 * conform/data/sys/uio.h-data: Likewise.
36133 * conform/data/sys/un.h-data: Likewise.
36134 * conform/data/sys/utsname.h-data: Likewise.
36135 * conform/data/sys/wait.h-data: Likewise.
36136 * conform/data/syslog.h-data: Likewise.
36137 * conform/data/tar.h-data: Likewise.
36138 * conform/data/termios.h-data: Likewise.
36139 * conform/data/utime.h-data: Likewise.
36140 * conform/data/utmpx.h-data: Likewise.
36141 * conform/data/varargs.h-data: Likewise.
36142 * conform/data/wchar.h-data: Likewise.
36143 * conform/data/wctype.h-data: Likewise.
36144 * conform/data/wordexp.h-data: Likewise.
36146 * include/stropts.h: New file.
36147 * include/uchar.h: New file.
36148 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36149 * include/assert.h: Likewise.
36150 * include/ctype.h: Likewise.
36151 * include/dirent.h: Likewise.
36152 * include/dlfcn.h: Likewise.
36153 * include/fcntl.h: Likewise.
36154 * include/fnmatch.h: Likewise.
36155 * include/glob.h: Likewise.
36156 * include/grp.h: Likewise.
36157 * include/libio.h: Likewise.
36158 * include/locale.h: Likewise.
36159 * include/math.h: Likewise.
36160 * include/net/if.h: Likewise.
36161 * include/netdb.h: Likewise.
36162 * include/netinet/in.h: Likewise.
36163 * include/pthread.h: Likewise.
36164 * include/pwd.h: Likewise.
36165 * include/regex.h: Likewise.
36166 * include/sched.h: Likewise.
36167 * include/search.h: Likewise.
36168 * include/setjmp.h: Likewise.
36169 * include/signal.h: Likewise.
36170 * include/stdio.h: Likewise.
36171 * include/stdlib.h: Likewise.
36172 * include/string.h: Likewise.
36173 * include/sys/cdefs.h: Likewise.
36174 * include/sys/mman.h: Likewise.
36175 * include/sys/msg.h: Likewise.
36176 * include/sys/resource.h: Likewise.
36177 * include/sys/select.h: Likewise.
36178 * include/sys/socket.h: Likewise.
36179 * include/sys/stat.h: Likewise.
36180 * include/sys/statvfs.h: Likewise.
36181 * include/sys/time.h: Likewise.
36182 * include/sys/times.h: Likewise.
36183 * include/sys/uio.h: Likewise.
36184 * include/sys/utsname.h: Likewise.
36185 * include/sys/wait.h: Likewise.
36186 * include/termios.h: Likewise.
36187 * include/time.h: Likewise.
36188 * include/ulimit.h: Likewise.
36189 * include/unistd.h: Likewise.
36190 * include/utime.h: Likewise.
36191 * include/wchar.h: Likewise.
36192 * include/wctype.h: Likewise.
36193 * include/wordexp.h: Likewise.
36195 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36197 * time/time.h: TIME_UTC must be a macro.
36198 Make timespec_get available for ISO C11 only as well.
36200 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36202 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36203 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36205 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36207 * configure.in: Use -o not -a in test for unsupported multi-arch.
36209 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36211 * manual/texinfo.tex: Update to version 2012-01-19.16.
36213 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36215 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36217 2012-02-24 Roland McGrath <roland@hack.frob.com>
36220 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36221 * manual/fdl-1.3.texi: New file.
36222 * manual/fdl-1.1.texi: File removed.
36225 * manual/libc.texinfo (FDL_VERSION): New @set.
36226 Use it for mention of FDL in cover text.
36227 (Documentation License): Use it in @include file name.
36229 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36230 Roland McGrath <roland@hack.frob.com>
36233 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36234 (not LONG_LONG_MAX and LONG_LONG_MIN.
36235 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36236 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36238 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36240 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36244 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36245 manipulate bits before adding and subtracting TWO23[sx].
36246 * math/libm-test.inc (nearbyint_test): Add more tests.
36248 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36251 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36252 bits before adding and subtracting TWO23[sx].
36253 * math/libm-test.inc (rint_test): Add more tests.
36254 (rint_test_tonearest): Likewise.
36255 (rint_test_towardzero): Likewise.
36256 (rint_test_downward): Likewise.
36257 (rint_test_upward: Likewise.
36259 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36262 * include/stdc-predef.h: New file. Extracted from features.h.
36263 * include/features.h: Include stdc-predef.h.
36264 * Makefile (headers): Add stdc-predef.h.
36265 * CONFORMANCE (Compiler limitations): Update.
36267 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36269 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36271 2012-02-21 David S. Miller <davem@davemloft.net>
36273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36276 2012-02-20 David S. Miller <davem@davemloft.net>
36278 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36279 using a normal save/restore sequence, rather than allocating a
36280 dummy stack frame just to store a frame pointer and restore.
36281 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36283 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36285 * manual/install.texi: Fix stray word in line-wrapped comment.
36287 2012-02-20 David S. Miller <davem@davemloft.net>
36289 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36290 both binutils and gcc support GOTDATA.
36292 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36293 "rd %pc" in the PIC register setup sequences.
36295 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36296 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36297 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36298 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36299 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36303 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36304 (SYSCALL_ERROR_HANDLER): Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36308 (SYSCALL_ERROR_HANDLER): Likewise.
36310 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36311 (HAVE_GCC_GOTDATA): New.
36312 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36313 relocation support in both binutils and gcc.
36314 * sysdeps/sparc/elf/configure: Regenerate.
36316 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36317 * sysdeps/sparc/sparc32/elf/configure: Delete.
36318 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36319 * sysdeps/sparc/sparc64/elf/configure: Delete.
36320 * sysdeps/sparc/elf/configure.in: New file.
36321 * sysdeps/sparc/elf/configure: Generate.
36323 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36324 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36325 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36326 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36327 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36329 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36331 * manual/install.texi: Do not mention specific glibc version
36333 * manual/libc.texinfo (VERSION, UPDATED): Update.
36334 (@copying): Use @copyright{} and range of years.
36336 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36339 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36340 [crti.S not in sysdirs] (generated): Do not append.
36341 [crti.S not in sysdirs] (omit-deps): Likewise.
36342 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36343 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36344 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36345 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36346 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36348 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36349 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36350 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36351 * csu/defs.awk: Remove file.
36352 * sysdeps/generic/initfini.c: Likewise.
36353 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36355 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36358 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36360 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36361 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36362 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36365 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36367 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36368 (__EPOLL_PACKED): Define to empty if not defined by
36370 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36374 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36376 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36377 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36378 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36379 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36381 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36385 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36387 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36394 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36396 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36397 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36399 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36401 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36402 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36404 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36406 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36409 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36411 * math/w_acos.c: Use non-signaling floating-point comparisons.
36412 * math/w_acosf.c: Likewise.
36413 * math/w_acosh.c: Likewise.
36414 * math/w_acoshf.c: Likewise.
36415 * math/w_acoshl.c: Likewise.
36416 * math/w_acosl.c: Likewise.
36417 * math/w_asin.c: Likewise.
36418 * math/w_asinf.c: Likewise.
36419 * math/w_asinl.c: Likewise.
36420 * math/w_atanh.c: Likewise.
36421 * math/w_atanhf.c: Likewise.
36422 * math/w_atanhl.c: Likewise.
36423 * math/w_exp2.c: Likewise.
36424 * math/w_exp2f.c: Likewise.
36425 * math/w_exp2l.c: Likewise.
36426 * math/w_j0.c: Likewise.
36427 * math/w_j0f.c: Likewise.
36428 * math/w_j0l.c: Likewise.
36429 * math/w_j1.c: Likewise.
36430 * math/w_j1f.c: Likewise.
36431 * math/w_j1l.c: Likewise.
36432 * math/w_jn.c: Likewise.
36433 * math/w_jnf.c: Likewise.
36434 * math/w_log.c: Likewise.
36435 * math/w_log10.c: Likewise.
36436 * math/w_log10f.c: Likewise.
36437 * math/w_log10l.c: Likewise.
36438 * math/w_log2.c: Likewise.
36439 * math/w_log2f.c: Likewise.
36440 * math/w_log2l.c: Likewise.
36441 * math/w_logf.c: Likewise.
36442 * math/w_logl.c: Likewise.
36443 * math/w_sqrt.c: Likewise.
36444 * math/w_sqrtf.c: Likewise.
36445 * math/w_sqrtl.c: Likewise.
36446 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36447 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36449 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36450 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36452 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36455 * manual/string.texi (strnlen): Use correct parameter name in
36456 equivalent expression.
36458 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36461 * manual/users.texi (seteuid): Consistently use neweuid for
36464 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36467 * manual/nss.texi (Services in the NSS configuration): Correct
36468 list of services in example configuration file.
36470 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36473 * manual/arith.texi: Remove statements about negative zero
36474 behaving identically to zero.
36476 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36479 * manual/install.texi: Do not document upgrading from libc5.
36481 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36484 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36486 2012-02-18 David S. Miller <davem@davemloft.net>
36488 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36489 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36490 %o7 across the call.
36491 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36494 SETUP_PIC_REG_LEAF.
36495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36496 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36497 * sysdeps/sparc/crtn.S: Likewise.
36499 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36501 * aout/Makefile: Remove.
36503 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36506 * manual/examples/argp-ex1.c (main): Format definition in GNU
36508 * manual/examples/argp-ex2.c (main): Likewise.
36509 * manual/examples/argp-ex3.c (main): Likewise.
36510 * manual/examples/argp-ex4.c (main): Likewise.
36511 * manual/examples/longopt.c (main): Use new-style prototype
36513 * manual/examples/strncat.c (main): Specify return type and use
36514 (void) for arguments.
36515 * manual/examples/subopt.c (main): Use char **argv argument.
36517 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36520 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36523 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36526 * manual/string.texi (strchr): Change when strchrnul is
36529 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36532 * manual/locale.texi (setlocale): Document LOCPATH.
36534 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36537 * manual/process.texi (execle): Move @dots{} before last argument.
36539 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36542 * manual/charset.texi (Generic Charset Conversion): Fix typo
36543 (LC_TYPE -> LC_CTYPE).
36545 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36548 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36549 (scalbnf): Likewise.
36550 (scalbnl): Likewise.
36551 (scalbln): Likewise.
36552 (scalblnf): Likewise.
36553 (scalblnl): Likewise.
36554 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36555 (vwarnx): Likewise.
36558 * manual/filesys.texi (telldir): Use braces around return type.
36559 * manual/llio.texi (mmap): Add space after comma.
36560 (mmap64): Likewise.
36561 * manual/math.texi (jn): Use @var{} on parameter names.
36567 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36569 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36571 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36572 (sched_get_priority_max): Likewise.
36573 * manual/signal.texi (sigvec): Add space after comma.
36574 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36576 (if_indextoname): Likewise.
36577 (if_freenameindex): Likewise.
36578 (sendto): Use ',' instead of '.' in prototype.
36579 * manual/startup.texi (syscall): Use @dots{} instead of literal
36581 * manual/stdio.texi (__fpending): Separate initial words of
36582 paragraph from @deftypefun line.
36583 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36585 (vsyslog): Use @var{} on parameter names.
36586 * manual/terminal.texi (stty): Use @var{} on parameter names.
36587 * manual/users.texi (getutmp): Use @var{} on parameter names.
36588 (getutmpx): Likewise.
36590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36593 * manual/stdio.texi (fopen): Fix typos in description of
36596 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36599 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36600 get clock_id definition.
36602 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36605 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36606 (madvise): Cast every argument to void on its own.
36608 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36611 * manual/startup.texi (Exit Status): Fix typo.
36613 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36616 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36617 * manual/examples/argp-ex2.c: Likewise.
36618 * manual/examples/argp-ex3.c: Likewise.
36620 2012-02-16 Richard Henderson <rth@redhat.com>
36622 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36623 * sysdeps/s390/s390-32/initfini.c: Remove.
36624 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36625 * sysdeps/s390/s390-64/initfini.c: Remove.
36627 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36629 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36630 compiler output for sysdeps/generic/initfini.c.
36631 * sysdeps/sh/elf/initfini.c: Remove file.
36633 2012-02-16 David S. Miller <davem@davemloft.net>
36636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36638 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36639 * sysdeps/sparc/crti.S: New file.
36640 * sysdeps/sparc/crtn.S: New file.
36641 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36642 * sysdeps/sparc/sparc64/Makefile: Likewise.
36644 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36647 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36649 2012-02-15 Roland McGrath <roland@hack.frob.com>
36652 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36654 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36655 (write, read, close): Likewise.
36656 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36658 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36660 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36661 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36662 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36663 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36665 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36669 2012-02-14 Marek Polacek <polacek@redhat.com>
36671 * sysdeps/x86_64/crti.S: New file.
36672 * sysdeps/x86_64/crtn.S: New file.
36673 * sysdeps/x86_64/elf/initfini.c: Remove file.
36675 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36677 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36678 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36679 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36680 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36682 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36686 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36688 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36689 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36690 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36691 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36693 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36697 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36699 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36700 __feraiseexcept instead of feraiseexcept.
36702 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36703 nanosleep invocations.
36704 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36705 strings, and add error checking for a nanosleep invocations.
36707 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36709 Replace FSF snail mail address with URLs, as per GNU coding standards.
36710 Most of the snail mail addresses were wrong anyway, and omitting
36711 them makes the source code easier to maintain. Almost all of the
36712 changes are to license notices and to locale LC_IDENTIFICATION
36713 addresses, except for this one:
36714 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36715 not its snail mail address.
36717 2012-02-09 Richard Henderson <rth@twiddle.net>
36719 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36720 of kernel-features.h.
36722 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36724 2012-02-08 Marek Polacek <polacek@redhat.com>
36726 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36727 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36728 * sysdeps/gnu/_G_config.h: Likewise.
36729 * sysdeps/generic/_G_config.h: Likewise.
36731 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36733 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36737 * sysdeps/powerpc/powerpc32/crti.S: New file.
36738 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36739 * sysdeps/powerpc/powerpc64/crti.S: New file.
36740 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36742 * Makeconfig (have-initfini): Don't set.
36743 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36744 * configure.in (nopic_initfini): Don't substitute.
36745 * config.h.in (HAVE_INITFINI): Don't #undef.
36746 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36747 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36749 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36751 Support crti.S and crtn.S provided directly by architectures.
36752 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36753 [crti.S in sysdirs] (omit-deps): Likewise.
36754 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36755 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36756 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36757 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36758 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36759 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36760 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36761 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36762 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36763 compiler output for sysdeps/generic/initfini.c.
36764 * sysdeps/i386/elf/Makefile: Remove file.
36765 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36767 2012-02-07 Marek Polacek <polacek@redhat.com>
36769 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36770 * sysdeps/gnu/_G_config.h: Likewise.
36771 * sysdeps/mach/hurd/_G_config.h: Likewise.
36773 2012-02-07 Marek Polacek <polacek@redhat.com>
36775 * math/Makefile (tests): Add tst-CMPLX2.
36776 * math/tst-CMPLX2.c: New file.
36778 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36780 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36782 * math/libm-test.inc (jn_test): Add missing L suffix.
36784 2012-02-06 Marek Polacek <polacek@redhat.com>
36786 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36787 * sysdeps/i386/fpu/e_powf.S: Likewise.
36788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36789 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36791 * sysdeps/i386/fpu/e_pow.S: Likewise.
36792 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36794 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36795 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36796 * sysdeps/i386/fpu/e_log2.S: Likewise.
36797 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36798 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36799 * sysdeps/i386/fpu/e_powl.S: Likewise.
36800 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36801 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36802 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36803 * sysdeps/i386/fpu/e_logl.S: Likewise.
36804 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36805 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36806 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36807 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36808 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36809 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36810 * sysdeps/i386/fpu/e_log.S: Likewise.
36811 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36812 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36813 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36814 * sysdeps/i386/fpu/e_logf.S: Likewise.
36815 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36816 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36817 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36818 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36820 * sysdeps/i386/fpu/e_log10.S: Likewise.
36821 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36822 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36823 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36824 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36825 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36826 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36827 * sysdeps/i386/asm-syntax.h: Likewise.
36828 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36831 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36832 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36833 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36834 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36835 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36836 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36837 * sysdeps/powerpc/sysdep.h: Likewise.
36838 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36839 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36841 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36844 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36846 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36848 * sysdeps/i386/sysdep.h: Include <features.h>.
36849 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36852 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36854 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36856 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36859 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36861 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36862 (SETUP_PIC_REG): Use GET_PC_THUNK.
36863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36866 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36868 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36869 for non-PIC compilation.
36870 (SETUP_PIC_REG): Add .p2align directive.
36871 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36872 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36875 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36881 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36882 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36883 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36884 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36885 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36886 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36887 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36891 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36901 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36903 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36904 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36905 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36906 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36907 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36908 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36909 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36910 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36911 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36913 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36915 * math/tst-CMPLX.c: Include <stdio.h>.
36917 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36919 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36921 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36922 * sysdeps/sparc/bits/mathdef.h: Likewise.
36924 2012-01-31 Marek Polacek <polacek@redhat.com>
36926 * libio/libio.h: Don't define _PARAMS.
36927 * locale/programs/config.h: Don't define PARAMS.
36928 * stdlib/strtol_l.c: Likewise.
36929 (__strtol_l): Remove PARAMS from the prototype.
36931 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36933 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36934 names. Just use the correct names. Remove unnecessary wrapper
36936 * malloc/arena.c: Likewise.
36937 * malloc/hooks.c: Likewise.
36939 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36940 ARENA_TEST says not to. Simplify test for creation of a new arena.
36941 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36943 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36945 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36947 (update_get_addr): New function.
36948 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36949 GET_ADDR_MODULE parameter.
36951 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36953 * crypt/cert.c: Remove __STDC__ conditionals.
36954 * crypt/crypt-entry.c: Likewise.
36955 * crypt/crypt_util.c: Likewise.
36956 * libio/filedoalloc.c: Likewise.
36957 * libio/fileops.c: Likewise.
36958 * libio/genops.c: Likewise.
36959 * libio/iofclose.c: Likewise.
36960 * libio/iofdopen.c: Likewise.
36961 * libio/iofopen.c: Likewise.
36962 * libio/iofopen64.c: Likewise.
36963 * libio/iogetdelim.c: Likewise.
36964 * libio/iopopen.c: Likewise.
36965 * libio/obprintf.c: Likewise.
36966 * libio/oldfileops.c: Likewise.
36967 * libio/oldiofclose.c: Likewise.
36968 * libio/oldiofdopen.c: Likewise.
36969 * libio/oldiofopen.c: Likewise.
36970 * libio/oldiopopen.c: Likewise.
36971 * libio/wfiledoalloc.c: Likewise.
36972 * libio/wgenops.c: Likewise.
36973 * locale/programs/xmalloc.c: Likewise.
36974 * misc/syslog.c: Likewise.
36975 * stdio-common/xbug.c: Likewise.
36976 * string/memchr.c: Likewise.
36977 * string/memcmp.c: Likewise.
36978 * string/memrchr.c: Likewise.
36979 * string/rawmemchr.c: Likewise.
36980 * sysdeps/posix/getcwd.c: Likewise.
36981 * time/strftime_l.c: Likewise.
36983 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36985 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36986 * config.make.in (config-cflags-sse2avx): Define.
36987 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36990 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36992 * scripts/config.guess: Update from upstream config git repository.
36993 * scripts/config.sub: Likewise.
36995 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36997 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36999 (R_TILEPRO_*, R_TILEGX_*): New macros.
37001 * scripts/firstversions.awk: Fix bug in version range handling.
37003 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37005 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37007 * include/sys/epoll.h: New file.
37008 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37011 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37013 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37014 Avoid unnecessary __WORDSIZE == 64 test.
37015 (fmaxf): Use VEX format if possible.
37020 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37021 * math/math_private.h: Remove libc_fegetround* and
37023 * sysdeps/i386/configure.in: Check for -msse2avx.
37024 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37025 also if SSE2AVX is defined.
37026 Remove libc_fegetround* and libc_fesetround*.
37027 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37028 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37032 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37033 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37037 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37039 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37045 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37048 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37050 * Makeconfig (libm): Define.
37051 * elf/Makefile: Add rules to build and run tst-relsort1.
37052 * elf/tst-relsort1.c: New file.
37053 * elf/tst-relsort1mod1.c: New file.
37054 * elf/tst-relsort1mod2.c: New file.
37056 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37058 * math/s_ldexp.c: Remove __STDC__ conditionals.
37059 * math/s_ldexpf.c: Likewise.
37060 * math/s_ldexpl.c: Likewise.
37061 * math/s_nextafter.c: Likewise.
37062 * math/s_nexttowardf.c: Likewise.
37063 * math/s_significand.c: Likewise.
37064 * math/s_significandf.c: Likewise.
37065 * math/s_significandl.c: Likewise.
37066 * math/w_jnl.c: Likewise.
37067 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37068 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37069 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37070 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37071 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37086 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37087 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37089 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37091 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37092 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37093 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37094 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37095 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37096 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37097 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37098 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37101 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37105 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37106 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37107 * sysdeps/ieee754/k_standard.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37169 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37174 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37175 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37183 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37185 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37187 * sysdeps/ieee754/s_matherr.c: Likewise.
37188 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37189 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37193 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37195 * crypt/md5.h: Remove __STDC__ conditionals.
37196 * libio/libioP.h: Likewise.
37197 * locale/programs/config.h: Likewise.
37198 * sysdeps/generic/sysdep.h: Likewise.
37199 * sysdeps/i386/asm-syntax.h: Likewise.
37200 * sysdeps/s390/asm-syntax.h: Likewise.
37201 * sysdeps/unix/sysdep.h: Likewise.
37202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37205 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37207 * libio/libio.h: Remove __STDC__ conditionals.
37208 * malloc/obstack.h: Likewise.
37209 * math/complex.h: Likewise.
37210 * math/math.h: Likewise.
37211 * sysdeps/generic/_G_config.h: Likewise.
37212 * sysdeps/gnu/_G_config.h: Likewise.
37213 * sysdeps/mach/hurd/_G_config.h: Likewise.
37214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37215 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37216 * sysdeps/sparc/bits/mathdef.h: Likewise.
37218 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37221 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37222 Clean up HAS_* macros.
37223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37224 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37226 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37228 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37229 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37234 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37236 * elf/tst-unique3.cc (gets): Remove declaration.
37237 * elf/tst-unique3lib.cc (gets): Likewise.
37238 * elf/tst-unique3lib2.cc (gets): Likewise.
37239 * elf/tst-unique4.cc (gets): Likewise.
37241 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37243 * include/stdio.h: Add C++ protection. Add gets declarations and
37245 * debug/tst-chk1.c: Don't declare gets here.
37246 * stdio-common/tst-gets.c: Likewise.
37248 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37250 * posix/glob: Remove directory.
37252 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37254 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37256 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37258 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37259 of the non-standard EPFNOSUPPORT.
37261 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37263 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37264 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37265 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37267 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37269 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37271 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37273 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37275 * nscd/grpcache.c (cache_addgr): Likewise.
37276 * nscd/hstcache.c (cache_addhst): Likewise.
37277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37278 * nscd/pwdcache.c (cache_addpw): Likewise.
37279 * nscd/servicescache.c (cache_addserv): Likewise.
37281 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37283 * malloc/malloc.c: Various cleanups.
37284 * malloc/hooks.c: Likewise.
37286 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37287 * stdlib/bug-fmtmsg1.c: New file.
37289 * stdlib/fmtmsg.c (init): Add missing unlock.
37290 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37292 2012-01-12 Marek Polacek <polacek@redhat.com>
37294 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37297 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37299 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37300 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37301 macro to ensure uniqueness of label name.
37302 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37303 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37305 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37309 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37310 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37314 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37316 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37318 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37319 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37322 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37324 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37325 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37326 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37329 * math/bits/math-finite.h: Add ldexp support.
37331 2012-01-10 Marek Polacek <polacek@redhat.com>
37333 * locale/programs/localedef.h (show_archive_content): Add noreturn
37336 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37338 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37340 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37342 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37344 * io/Makefile (headers): Add bits/poll2.h.
37346 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37349 typo #include statement.
37351 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37353 * include/sys/cdefs.h: Define __attribute_alloc_size.
37354 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37355 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37356 * elf/pldd.c: Likewise.
37357 * iconv/iconv_charmap.c: Likewise.
37358 * iconv/iconvconfig.c: Likewise.
37359 * iconv/strtab.c: Likewise.
37360 * locale/programs/locale.c: Likewise.
37361 * locale/programs/localedef.h: Likewise.
37362 * locale/programs/simple-hash.c: Likewise.
37363 * nscd/nscd.h: Likewise.
37364 * nss/makedb.c: Likewise.
37365 * sysdeps/generic/ldconfig.h: Likewise.
37366 * locale/programs/localedef.c: Remove xmalloc prototype.
37367 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37369 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37374 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37376 * math/Makefile (tests): Add tst-CMPLX.
37377 * math/tst-CMPLX.c: New file.
37379 * math/complex.h (CMPLXL): Fix typo.
37381 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37382 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37384 * debug/tst-chk1.c: Add poll and ppoll tests.
37385 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37386 * include/sys/poll.h: Add hidden proto for ppoll.
37387 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37388 * sysdeps/mach/hurd/ppoll.c: Likewise.
37389 * io/ppoll.c: Likewise.
37390 * debug/poll_chk.c: New file.
37391 * debug/ppoll_chk.c: New file.
37392 * include/bits/poll2.h: New file.
37393 * io/bits/poll2.h: New file.
37396 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37398 * configure.in: static is always set to yes. Remove.
37399 * config.make.in: Don't set build-static.
37400 * Makeconfig: Remove use of build-static.
37401 * dlfcn/Makefile: Likewise.
37402 * elf/Makefile: Likewise.
37403 * math/Makefile: Likewise.
37404 * misc/Makefile: Likewise.
37405 * nptl/Makefile: Likewise.
37406 * sysdeps/mach/hurd/Makefile: Likewise.
37408 * configure.in: PWD_P is not used anymore.
37409 * config.make.in: Remove PWD_P entry.
37411 * configure.in: Remove last remnants of RANLIB.
37412 No need to check for signed size_t anymore.
37413 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37415 Remove __builtin_expect test because we require at least gcc 3.4.
37416 * aclocal.m4: Likewise.
37418 * wcsmbs/mbrtoc16.c: Implement using towc function.
37419 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37420 * wcsmbs/wcsmbsload.c: Likewise.
37421 * iconv/gconv_simple.c: Likewise.
37422 * iconv/gconv_int.h: Likewise.
37423 * iconv/gconv_builtin.h: Likewise.
37424 * iconv/iconv_prog.c: Remove CHAR16 handling.
37426 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37428 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37430 * configure.in: Remove --with-elf and --enable-bounded options.
37431 Dont set base_machine for ia64. More non-ELF conditions removed.
37432 Remove testing and setting of leading underscore information.
37433 * config.make.in (build-bounded): Set to no.
37434 * config.h.in: Remove NO_UNDERSCORES entry.
37435 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37437 * csu/start.c: Remove !NO_UNDERSCORE code.
37438 * locale/localeinfo.h: Likewise.
37439 * sysdeps/generic/machine-gmon.h: Likewise.
37440 * sysdeps/generic/sysdep.h: Likewise.
37441 * sysdeps/i386/sysdep.h: Likewise.
37442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37443 * sysdeps/mach/sysdep.h: Likewise.
37444 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37445 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37446 * sysdeps/sh/sysdep.h: Likewise.
37447 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37448 * sysdeps/unix/i386/sysdep.S: Likewise.
37449 * sysdeps/unix/sparc/start.c: Likewise.
37450 * sysdeps/unix/sparc/sysdep.S: Likewise.
37451 * sysdeps/unix/sparc/sysdep.h: Likewise.
37452 * sysdeps/unix/start.c: Likewise.
37453 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37454 * sysdeps/x86_64/sysdep.h: Likewise.
37456 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37459 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37461 * argp/argp-fmtstream.h: Use const instead __const.
37462 * argp/argp.h: Likewise.
37463 * assert/assert.h: Likewise.
37464 * bits/fenv.h: Likewise.
37465 * bits/sched.h: Likewise.
37466 * bits/sigset.h: Likewise.
37467 * bits/sigthread.h: Likewise.
37468 * catgets/nl_types.h: Likewise.
37469 * conform/data/pthread.h-data: Likewise.
37470 * crypt/crypt-private.h: Likewise.
37471 * crypt/crypt.h: Likewise.
37472 * crypt/crypt_util.c: Likewise.
37473 * ctype/ctype.h: Likewise.
37474 * debug/execinfo.h: Likewise.
37475 * debug/mbsnrtowcs_chk.c: Likewise.
37476 * debug/mbsrtowcs_chk.c: Likewise.
37477 * debug/wcsnrtombs_chk.c: Likewise.
37478 * debug/wcsrtombs_chk.c: Likewise.
37479 * debug/wcstombs_chk.c: Likewise.
37480 * dirent/dirent.h: Likewise.
37481 * dlfcn/dlfcn.h: Likewise.
37482 * elf/neededtest4.c: Likewise.
37483 * grp/grp.h: Likewise.
37484 * gshadow/gshadow.h: Likewise.
37485 * iconv/gconv.h: Likewise.
37486 * iconv/gconv_int.h: Likewise.
37487 * iconv/gconv_simple.c: Likewise.
37488 * iconv/iconv.h: Likewise.
37489 * iconv/loop.c: Likewise.
37490 * iconv/skeleton.c: Likewise.
37491 * include/aio.h: Likewise.
37492 * include/aliases.h: Likewise.
37493 * include/argz.h: Likewise.
37494 * include/arpa/inet.h: Likewise.
37495 * include/assert.h: Likewise.
37496 * include/dirent.h: Likewise.
37497 * include/dlfcn.h: Likewise.
37498 * include/execinfo.h: Likewise.
37499 * include/fcntl.h: Likewise.
37500 * include/fenv.h: Likewise.
37501 * include/glob.h: Likewise.
37502 * include/grp.h: Likewise.
37503 * include/libintl.h: Likewise.
37504 * include/mntent.h: Likewise.
37505 * include/netdb.h: Likewise.
37506 * include/pwd.h: Likewise.
37507 * include/rpc/netdb.h: Likewise.
37508 * include/sched.h: Likewise.
37509 * include/search.h: Likewise.
37510 * include/shadow.h: Likewise.
37511 * include/signal.h: Likewise.
37512 * include/stdio.h: Likewise.
37513 * include/stdlib.h: Likewise.
37514 * include/string.h: Likewise.
37515 * include/sys/socket.h: Likewise.
37516 * include/sys/stat.h: Likewise.
37517 * include/sys/statfs.h: Likewise.
37518 * include/sys/statvfs.h: Likewise.
37519 * include/sys/syslog.h: Likewise.
37520 * include/sys/time.h: Likewise.
37521 * include/sys/uio.h: Likewise.
37522 * include/time.h: Likewise.
37523 * include/unistd.h: Likewise.
37524 * include/utmp.h: Likewise.
37525 * include/wchar.h: Likewise.
37526 * include/wctype.h: Likewise.
37527 * inet/aliases.h: Likewise.
37528 * inet/arpa/inet.h: Likewise.
37529 * inet/netinet/ether.h: Likewise.
37530 * inet/netinet/in.h: Likewise.
37531 * intl/libintl.h: Likewise.
37532 * io/bits/fcntl2.h: Likewise.
37533 * io/fcntl.h: Likewise.
37534 * io/ftw.h: Likewise.
37535 * io/sys/poll.h: Likewise.
37536 * io/sys/stat.h: Likewise.
37537 * io/sys/statfs.h: Likewise.
37538 * io/sys/statvfs.h: Likewise.
37539 * io/utime.h: Likewise.
37540 * libio/bits/stdio.h: Likewise.
37541 * libio/bits/stdio2.h: Likewise.
37542 * libio/libio.h: Likewise.
37543 * libio/libioP.h: Likewise.
37544 * libio/stdio.h: Likewise.
37545 * locale/lc-ctype.c: Likewise.
37546 * locale/locale.h: Likewise.
37547 * login/utmp.h: Likewise.
37548 * malloc/arena.c: Likewise.
37549 * malloc/malloc.c: Likewise.
37550 * malloc/malloc.h: Likewise.
37551 * malloc/mcheck.c: Likewise.
37552 * malloc/mtrace.c: Likewise.
37553 * math/bits/mathcalls.h: Likewise.
37554 * math/fenv.h: Likewise.
37555 * math/math_private.h: Likewise.
37556 * misc/bits/error.h: Likewise.
37557 * misc/bits/syslog.h: Likewise.
37558 * misc/err.h: Likewise.
37559 * misc/error.h: Likewise.
37560 * misc/fstab.h: Likewise.
37561 * misc/mntent.h: Likewise.
37562 * misc/regexp.h: Likewise.
37563 * misc/search.h: Likewise.
37564 * misc/sgtty.h: Likewise.
37565 * misc/sys/mman.h: Likewise.
37566 * misc/sys/syslog.h: Likewise.
37567 * misc/sys/uio.h: Likewise.
37568 * misc/sys/xattr.h: Likewise.
37569 * misc/ttyent.h: Likewise.
37570 * nis/rpcsvc/ypclnt.h: Likewise.
37571 * nss/nss.h: Likewise.
37572 * posix/bits/unistd.h: Likewise.
37573 * posix/fnmatch.h: Likewise.
37574 * posix/glob.h: Likewise.
37575 * posix/sched.h: Likewise.
37576 * posix/spawn.h: Likewise.
37577 * posix/sys/wait.h: Likewise.
37578 * posix/unistd.h: Likewise.
37579 * posix/wordexp.h: Likewise.
37580 * pwd/pwd.h: Likewise.
37581 * resolv/netdb.h: Likewise.
37582 * resource/sys/resource.h: Likewise.
37583 * rt/aio.h: Likewise.
37584 * rt/bits/mqueue2.h: Likewise.
37585 * rt/mqueue.h: Likewise.
37586 * shadow/shadow.h: Likewise.
37587 * signal/signal.h: Likewise.
37588 * socket/send.c: Likewise.
37589 * socket/sendto.c: Likewise.
37590 * socket/sys/socket.h: Likewise.
37591 * stdio-common/printf.h: Likewise.
37592 * stdlib/bits/stdlib.h: Likewise.
37593 * stdlib/fmtmsg.h: Likewise.
37594 * stdlib/monetary.h: Likewise.
37595 * stdlib/stdlib.h: Likewise.
37596 * stdlib/ucontext.h: Likewise.
37597 * streams/stropts.h: Likewise.
37598 * string/argz.h: Likewise.
37599 * string/bits/string2.h: Likewise.
37600 * string/string.h: Likewise.
37601 * string/strings.h: Likewise.
37602 * sunrpc/rpc/auth.h: Likewise.
37603 * sunrpc/rpc/auth_des.h: Likewise.
37604 * sunrpc/rpc/clnt.h: Likewise.
37605 * sunrpc/rpc/netdb.h: Likewise.
37606 * sunrpc/rpc/pmap_clnt.h: Likewise.
37607 * sunrpc/rpc/xdr.h: Likewise.
37608 * sysdeps/generic/inttypes.h: Likewise.
37609 * sysdeps/generic/net/if.h: Likewise.
37610 * sysdeps/generic/sys/swap.h: Likewise.
37611 * sysdeps/gnu/net/if.h: Likewise.
37612 * sysdeps/gnu/utmpx.h: Likewise.
37613 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37614 * sysdeps/i386/i486/bits/string.h: Likewise.
37615 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37616 * sysdeps/s390/bits/string.h: Likewise.
37617 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37618 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37619 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37620 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37621 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37622 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37623 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37624 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37625 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37626 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37627 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37628 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37629 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37630 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37631 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37632 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37633 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37635 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37636 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37637 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37638 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37639 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37640 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37641 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37642 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37643 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37645 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37646 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37647 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37648 * sysvipc/sys/ipc.h: Likewise.
37649 * sysvipc/sys/msg.h: Likewise.
37650 * sysvipc/sys/sem.h: Likewise.
37651 * sysvipc/sys/shm.h: Likewise.
37652 * termios/termios.h: Likewise.
37653 * time/sys/time.h: Likewise.
37654 * time/time.h: Likewise.
37655 * wcsmbs/bits/wchar2.h: Likewise.
37656 * wcsmbs/uchar.h: Likewise.
37657 * wcsmbs/wchar.h: Likewise.
37658 * wctype/wctype.h: Likewise.
37661 * Makeconfig: Remove all but ELF support including AIX support.
37662 * Makerules: Likewise.
37663 * config.h.in: Likewise.
37664 * config.make.in: Likewise.
37665 * configure: Likewise.
37666 * configure.in: Likewise.
37667 * csu/Makefile: Likewise.
37668 * csu/version.c: Likewise.
37669 * debug/Makefile: Likewise.
37670 * dlfcn/Makefile: Likewise.
37671 * elf/Makefile: Likewise.
37672 * extra-lib.mk: Likewise.
37673 * iconv/Makefile: Likewise.
37674 * include/libc-symbols.h: Likewise.
37675 * include/shlib-compat.h: Likewise.
37676 * resolv/Makefile: Likewise.
37677 * resolv/res_libc.c: Likewise.
37678 * rt/Makefile: Likewise.
37679 * sysdeps/i386/asm-syntax.h: Likewise.
37680 * sysdeps/i386/sysdep.h: Likewise.
37681 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37682 * sysdeps/mach/sysdep.h: Likewise.
37683 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37684 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37685 * sysdeps/s390/asm-syntax.h: Likewise.
37686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37688 * sysdeps/sh/sysdep.h: Likewise.
37689 * sysdeps/unix/sparc/sysdep.h: Likewise.
37690 * sysdeps/wordsize-32/divdi3.c: Likewise.
37691 * sysdeps/x86_64/sysdep.h: Likewise.
37693 * argp/Versions: Remove _argp_unlock_xxx.
37696 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37697 * abilist/libBrokenLocale.abilist: Likewise.
37698 * abilist/libanl.abilist: Likewise.
37699 * abilist/libc.abilist: Likewise.
37700 * abilist/libcrypt.abilist: Likewise.
37701 * abilist/libdl.abilist: Likewise.
37702 * abilist/libm.abilist: Likewise.
37703 * abilist/libnsl.abilist: Likewise.
37704 * abilist/libpthread.abilist: Likewise.
37705 * abilist/libresolv.abilist: Likewise.
37706 * abilist/librt.abilist: Likewise.
37707 * abilist/libthread_db.abilist: Likewise.
37708 * abilist/libutil.abilist: Likewise.
37709 * abilist/libnss_db.abilist: New file.
37711 * scripts/abilist.awk: Add support for indirect functions.
37713 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37715 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37717 * shlib-versions: Remove entries for ports architectures.
37719 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37721 * elf/stackguard-macros.h: Remove support for IA-64.
37722 * elf/tst-auditmod1.c: Likewise.
37723 * sysdeps/generic/ldsodefs.h: Likewise.
37725 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37726 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37730 * configure.in: Remove --enable-omitfp support.
37732 * config.make.in: Likewise.
37733 * Makeconfig: Likewise.
37734 * manual/install.texi: Likewise.
37736 In case anyone cares, the IA-64 architecture could move to ports.
37737 * sysdeps/ia64/*: Removed.
37738 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37739 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37742 * configure.in: Remove entries for unsupported architectures.
37745 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37746 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37748 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37749 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37750 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37751 fall back to using wcrtomb.
37752 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37753 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37755 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37756 * wcsmbs/tst-c16c32-1.c: New file.
37758 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37761 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37763 * elf/tst-unique3.cc: Add explicit declaration of gets.
37764 * elf/tst-unique3lib.cc: Likewise.
37765 * elf/tst-unique3lib2.cc: Likewise.
37766 * elf/tst-unique4.cc: Likewise.
37768 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37770 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37773 * assert/assert.h (static_assert): Don't define for C++.
37774 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37775 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37777 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37779 * iconv/loop.c (single loop): Fix assertion in storing of
37782 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37784 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37786 * posix/getconf.c: Update copyright year.
37787 * nss/getent.c: Likewise.
37788 * nss/makedb.c: Likewise.
37789 * iconv/iconvconfig.c: Likewise.
37790 * iconv/iconv_prog.c: Likewise.
37791 * elf/ldconfig.c: Likewise.
37792 * elf/pldd.c: Likewise.
37793 * elf/sotruss.ksh: Likewise.
37794 * catgets/gencat.c: Likewise.
37795 * csu/version.c: Likewise.
37796 * elf/ldd.bash.in: Likewise.
37797 * elf/sprof.c (print_version): Likewise.
37798 * locale/programs/locale.c: Likewise.
37799 * locale/programs/localedef.c: Likewise.
37800 * login/programs/pt_chown.c: Likewise.
37801 * nscd/nscd.c (print_version): Likewise.
37802 * debug/xtrace.sh: Likewise.
37803 * malloc/memusage.sh: Likewise.
37804 * malloc/mtrace.pl: Likewise.
37805 * debug/catchsegv.sh: Likewise.
37807 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37809 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37812 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37815 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37816 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37818 * iconv/gconv_int.h: Likewise.
37819 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37820 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37821 from libc for GLIBC_2.16.
37822 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37823 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37824 * wcsmbs/uchar.h: Really define mbstate_t.
37825 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37826 * wcsmbs/c16rtomb.c: New file.
37827 * wcsmbs/mbrtoc16.c: New file.
37828 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37829 for C/POSIX locale.
37830 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37831 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37833 * wcsmbs/wchar.h: Add missing __restrict.
37835 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37838 * time/Makefile (routines): Add timespec_get.
37839 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37840 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37841 timespec for ISO C11.
37842 * time/timespec_get.c: New file.
37843 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37844 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37847 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37848 * stdlib/stdlib.h: Declare aligned_alloc.
37849 * Versions.def: Add GLIBC_2.16 for libc.
37850 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37853 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37856 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37860 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37863 * assert/assert.h (static_assert): Define.
37865 * version.h: Update for 2.16 development version.
37868 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37871 * version.h (RELEASE): Bump for 2.15 release.
37872 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37874 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37875 Patch by Marek Polacek <mpolacek@redhat.com>.
37877 * bits/byteswap.h: Protect long long constants with __extension__.
37878 * sysdeps/i386/bits/byteswap.h: Likewise.
37879 * sysdeps/ia64/bits/byteswap.h: Likewise.
37880 * sysdeps/s390/bits/byteswap.h: Likewise.
37881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37883 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37887 destination buffer.
37888 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37890 2011-12-23 Marek Polacek <polacek@redhat.com>
37892 * elf/dl-addr.c (determine_info): Add inline keyword.
37893 * elf/tst-auditmod4b.c (check_avx): Likewise.
37894 * elf/tst-auditmod6b.c (check_avx): Likewise.
37895 * elf/tst-auditmod6c.c (check_avx): Likewise.
37896 * elf/tst-auditmod7b.c (check_avx): Likewise.
37898 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37900 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37903 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37906 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37907 processing for last bytes.
37909 2011-08-06 Bruno Haible <bruno@clisp.org>
37912 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37913 U+0385, not to U+1FEE.
37916 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37917 entry for U+00A5 U+0301.
37919 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37922 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37923 buffer for the output is too small.
37925 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37929 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37930 SSE flags if possible.
37932 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37936 processing for last bytes.
37938 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37940 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37941 (syscall-list-default-options, syscall-list-default-condition)
37942 (syscall-list-includes): Define.
37943 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37944 list of ABIs and options and #if conditions for each ABI. Do not
37945 handle common syscalls between ABIs specially.
37946 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37948 (syscall-list-variants, syscall-list-32bit-options)
37949 (syscall-list-32bit-condition, syscall-list-64bit-options)
37950 (syscall-list-64bit-condition): Define.
37951 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37952 (syscall-list-variants, syscall-list-32bit-options)
37953 (syscall-list-32bit-condition, syscall-list-64bit-options)
37954 (syscall-list-64bit-condition): Define.
37955 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37957 (syscall-list-variants, syscall-list-32bit-options)
37958 (syscall-list-32bit-condition, syscall-list-64bit-options)
37959 (syscall-list-64bit-condition): Define.
37960 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37962 (syscall-list-variants, syscall-list-32bit-options)
37963 (syscall-list-32bit-condition, syscall-list-64bit-options)
37964 (syscall-list-64bit-condition): Define.
37966 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37968 * locale/iso-639.def: Add brx entry.
37971 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37972 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37974 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37975 __feraiseexcept_renamed.
37977 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37980 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37981 EPOLLET with unsigned values.
37982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37983 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37985 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37986 to large cancellation.
37987 * math/s_cacoshf.c: Likewise.
37988 * math/s_cacoshl.c: Likewise.
37990 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37994 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37995 * math/s_cacoshf.c: Likewise.
37996 * math/s_cacoshl.c: Likewise.
37998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38001 * iconv/gconv.h: Define __GCONV_SWAP.
38002 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38003 * iconvdata/utf-16.c: Likewise.
38004 * iconvdata/utf-32.c: Likewise.
38006 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38010 numerator after shifting it by one limb.
38012 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38014 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38015 under [__USE_EXTERN_INLINES].
38017 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38020 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38022 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38024 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38025 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38027 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38028 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38029 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38030 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38031 for strncasecmp/strncasecmp_l compilation.
38032 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38033 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38035 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38038 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38041 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38044 * time/tzfile.c (__tzfile_read): Check values from file header.
38046 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38048 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38049 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38050 * powerpc/powerpc32/dl-start.S: Likewise.
38051 * powerpc/powerpc32/elf/start.S: Likewise.
38052 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38053 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38054 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38055 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38056 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38057 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38058 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38059 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38060 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38061 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38062 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38063 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38064 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38065 * powerpc/powerpc32/memset.S: Likewise.
38066 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38067 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38068 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38069 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38070 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38071 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38072 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38073 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38074 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38075 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38076 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38077 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38078 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38080 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38082 * math/libm-test.inc: Added more nearbyint tests.
38083 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38084 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38086 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38088 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38090 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38093 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38095 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38096 Add wcscpy-ssse3 wcscpy-c.
38097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38098 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38099 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38100 * sysdeps/x86_64/wcschr.S: New file.
38101 * sysdeps/x86_64/wcsrchr.S: New file.
38102 * string/test-strcmp.c: Remove checking of wcscmp function for
38104 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38105 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38106 wcsrchr-sse2 wcsrchr-c.
38107 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38108 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38109 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38110 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38111 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38112 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38113 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38114 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38115 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38116 * wcsmbc/wcschr.c (WCSCHR): New macro.
38118 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38120 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38121 * wcsmbs/test-wcsrchr.c: New file.
38122 * string/test-strrchr.c: Add wcsrchr support.
38124 * wcsmbs/test-wcscpy.c: New file.
38125 * string/test-strcpy.c: Add wcscpy support.
38128 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38133 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38136 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38138 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38141 Minor optimizations.
38143 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38144 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38145 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38147 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38149 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38150 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38151 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38152 for gcc to avoid warnings.
38153 * inet/Makefile (tests): Add tst-checks.
38154 * inet/tst-checks.c: New file.
38156 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38159 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38162 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38163 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38165 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38167 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38169 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38172 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38174 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38176 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38177 conditional on GCC version.
38178 (__arch_compare_and_exchange_val_8_acq)
38179 (__arch_compare_and_exchange_val_16_acq)
38180 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38181 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38182 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38184 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38186 * sysdeps/sh/backtrace.c: New file.
38188 2011-12-02 Andreas Schwab <schwab@redhat.com>
38190 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38193 2011-12-01 Andreas Schwab <schwab@redhat.com>
38195 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38196 falling back to utime.
38198 2011-11-30 Andreas Schwab <schwab@redhat.com>
38200 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38201 expectations for float.
38203 2011-11-29 Andreas Schwab <schwab@redhat.com>
38205 * locale/weight.h (findidx): Add parameter len.
38206 * locale/weightwc.h (findidx): Likewise.
38207 * posix/fnmatch_loop.c (FCT): Adjust caller.
38208 * posix/regcomp.c (build_equiv_class): Likewise.
38209 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38210 * posix/regexec.c (check_node_accept_bytes): Likewise.
38211 * string/strcoll_l.c (STRCOLL): Likewise.
38212 * string/strxfrm_l.c (STRXFRM): Likewise.
38214 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38216 * Makefile.in: Remove CVSOPT handling.
38217 * configure.in: Remove use of AC_REVISION.
38218 * iconvdata/Makefile (distribute): No need to filter out CVS.
38219 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38222 2011-11-16 Andreas Schwab <schwab@redhat.com>
38224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38225 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38226 [USE_AS_STRNCASECMP_L]: Likewise.
38227 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38228 NO_TLS_DIRECT_SEG_REFS.
38229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38230 Fix argument offsets for non-PIC.
38231 [USE_AS_STRNCASECMP_L]: Likewise.
38232 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38233 NO_TLS_DIRECT_SEG_REFS.
38235 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38237 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38239 * locale/loadlocale.c (_nl_load_locale): Likewise.
38241 2011-11-15 Andreas Schwab <schwab@redhat.com>
38243 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38244 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38245 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38246 (SYSCALL_GETTIME): Set errno on error.
38248 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38249 count references to noai6ai_cached.
38251 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38253 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38255 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38256 FD_CLOEXEC for /proc/self/maps.
38258 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38259 FD_CLOEXEC for /proc/meminfo.
38261 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38264 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38265 FD_CLOEXEC for given file.
38267 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38269 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38270 FD_CLOEXEC for /etc/hosts.
38271 (_gethtent): Likewise.
38273 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38275 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38276 cancellation and set FD_CLOEXEC for /etc/netgroup.
38278 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38279 reading /etc/publickey.
38281 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38282 allow cancellation when reading /etc/group.
38284 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38286 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38288 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38289 when using data file.
38291 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38293 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38294 (write_nis_obj): Use "c" and "e" in fopen.
38296 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38298 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38300 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38302 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38304 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38307 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38309 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38311 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38313 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38314 file parsing and set FD_CLOEXEC.
38316 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38318 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38320 2011-11-14 Andreas Schwab <schwab@redhat.com>
38322 * malloc/arena.c (arena_get2): Don't call reused_arena when
38323 _int_new_arena failed.
38325 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38327 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38328 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38329 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38331 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38332 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38333 to compile strcasecmp and strncasecmp.
38334 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38335 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38339 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38341 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38342 locale-defines.sym to gen-as-const-headers.
38343 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38344 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38346 to compile strcasecmp and strncasecmp.
38347 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38348 strcasecmp_l and strncasecmp_l.
38349 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38350 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38351 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38353 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38354 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38355 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38356 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38357 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38358 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38359 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38361 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38363 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38364 result of SYSDEP_GETTIME_CPU to retval.
38365 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38366 parameter list to macro. Remove trailing semicolon. Adjust users.
38368 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38371 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38373 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38375 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38376 from unused variable.
38378 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38380 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38383 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38386 * sunrpc/rpc_prot.c (rejected): Fix case value.
38388 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38389 unsigned long long int to avoid warnings in shift.
38391 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38393 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38396 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38397 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38398 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38400 * nis/nis_table.c (nis_list): Use variable of correct type for
38401 result of __follow_path call.
38403 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38405 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38406 of math functions ceil, trunc, floor, round, and sqrt, when
38407 avaliable on the platform.
38408 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38411 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38412 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38414 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38416 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38419 2011-11-11 Roland McGrath <roland@hack.frob.com>
38421 * include/unistd.h: Fix __readlink return type.
38422 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38424 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38426 * stdlib/ucontext.h: Undo last change for makecontext.
38428 2011-11-11 Andreas Schwab <schwab@redhat.com>
38430 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38432 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38433 * setjmp/setjmp.h: Mark functions as non-leaf.
38434 * setjmp/bits/setjmp2.h: Likewise.
38435 * stdlib/ucontext.h: Likewise.
38437 2011-11-10 Andreas Schwab <schwab@redhat.com>
38439 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38440 (reused_arena): Don't check arena limit.
38441 (arena_get2): Atomically check arena limit.
38443 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38445 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38446 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38451 2011-11-07 Andreas Schwab <schwab@redhat.com>
38453 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38454 handler when locking.
38456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38457 Fix size of allocated buffer.
38459 2011-11-04 Andreas Schwab <schwab@redhat.com>
38462 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38463 declarations for long double functions.
38464 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38466 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38468 2011-11-03 Andreas Schwab <schwab@redhat.com>
38470 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38473 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38476 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38478 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38480 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38482 * include/alloca.h (stackinfo_alloca_round): Define.
38483 (extend_alloca): Use it.
38484 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38485 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38488 * scripts/check-local-headers.sh: Ignore libaudit.h.
38490 * nscd/Makefile (extra-objs): Make recursively expanded.
38492 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38494 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38495 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38497 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38498 * posix/tst-rfc3484-2.c: Likewise.
38499 * posix/tst-rfc3484-3.c: Likewise.
38501 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38503 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38505 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38506 process_vm_writev from libc using GLIBC_2.15 version.
38508 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38510 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38512 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38515 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38518 * nss/getent.c (initgroups_keys): Show error message in case no group
38521 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38522 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38523 __bump_nl_timestamp.
38524 * nscd/connections (nscd_init): When host database is served open
38525 netlink socket and request notification about configuration changes.
38526 (main_loop_poll): Track netlink file descriptor and bump timestamp
38527 in case data becomes available.
38528 (main_loop_epoll): Likewise.
38529 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38530 (database_pers_head): Add extra_data fileds.
38531 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38532 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38533 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38536 in6ai data, call __free_in6ai.
38537 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38538 Add -DHAVE_NETLINK.
38539 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38540 interface information. Reuse previous data if netlink timestamp
38542 (__bump_nl_timestamp): New function.
38543 (__free_in6ai): New function.
38545 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38547 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38548 close_not_cancel_no_status here.
38549 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38551 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38554 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38557 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38558 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38559 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38561 2011-07-03 Andreas Jaeger <aj@suse.de>
38564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38565 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38566 * math/libm-test.inc (sin_test): Add test case.
38568 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38571 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38572 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38574 * elf/chroot_canon.c (chroot_canon): Cleanups.
38576 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38579 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38580 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38582 * string/test-strchr.c: Make usable for strchrnul testing.
38583 * string/test-strchrnul.c: New file.
38584 * string/Makefile (strop-tests): Add strchrnul.
38586 * po/it.po: Update from translation team.
38587 * po/es.po: Likewise.
38589 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38591 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38592 the three constants needed as parameters. Drop the others.
38593 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38594 __m128i_strloadu_tolower.
38595 Create and initialize variable zero and use it in all the places
38596 where _mm_setzero_si128 was used.
38598 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38599 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38600 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38603 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38605 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38606 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38607 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38608 __mpranred, __mptan.
38609 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38610 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38611 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38612 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38613 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38614 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38615 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38616 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38617 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38619 2011-10-28 Andreas Schwab <schwab@redhat.com>
38621 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38622 redefine if SHARED.
38623 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38626 wide char related routines to wcsmbs subdir.
38628 2011-10-27 Andreas Schwab <schwab@redhat.com>
38631 * misc/sys/cdefs.h (__THROWNL): Define.
38632 * posix/unistd.h: Use __THREADNL instead of __THREAD
38633 for memory synchronization functions.
38635 2011-10-26 Roland McGrath <roland@hack.frob.com>
38638 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38640 * manual/stdio.texi (Obstack Streams): Node removed.
38642 2011-10-26 Andreas Schwab <schwab@redhat.com>
38644 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38645 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38646 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38648 * math/math_private.h (math_force_eval): Allow non-addressable
38650 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38652 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38654 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38655 file is not needed.
38657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38658 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38659 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38660 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38661 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38664 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38666 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38667 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38668 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38669 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38670 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38671 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38672 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38673 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38674 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38675 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38676 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38677 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38678 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38679 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38680 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38681 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38683 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38684 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38686 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38687 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38690 place. Use VEX encoding when compiling for AVX.
38692 2011-10-25 Andreas Schwab <schwab@redhat.com>
38694 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38695 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38697 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38699 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38701 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38702 useless if() expression.
38703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38715 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38716 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38717 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38718 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38720 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38721 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38723 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38725 2011-10-25 Andreas Schwab <schwab@redhat.com>
38727 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38729 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38731 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38733 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38734 .text section. Avoid duplicate constants.
38735 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38737 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38745 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38747 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38750 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38758 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38759 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38760 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38761 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38762 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38763 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38764 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38765 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38766 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38767 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38768 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38769 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38770 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38771 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38772 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38773 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38774 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38776 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38777 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38779 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38781 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38783 * sysdeps/x86_64/dla.h: Move to ...
38784 * sysdeps/x86_64/fpu/dla.h: ...here.
38785 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38786 situations. Use __builtin_fma only for gcc 4.6 and up.
38788 * config.make.in: Add have-mfma4 entry.
38789 * configure.in: Substitute libc_cv_cc_fma4.
38790 * math/Makefile (dbl-only-routines): Add sincostab.
38791 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38792 Use __sincostab not sincos.
38793 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38800 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38801 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38802 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38803 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38806 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38808 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38809 define aliases when function name is a macro.
38810 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38811 sysdeps/ieee754/dbl-64/sincos.tbl.
38812 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38813 fma4-enabled routines.
38814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38815 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38818 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38820 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38821 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38822 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38823 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38824 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38825 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38826 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38827 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38828 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38829 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38830 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38831 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38832 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38833 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38834 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38835 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38837 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38839 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38840 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38845 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38856 2011-10-24 Andreas Schwab <schwab@redhat.com>
38858 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38860 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38864 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38868 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38869 Remove unused variable magic_bits.
38870 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38872 * string/strnlen.c: Define and use STRNLEN macro.
38873 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38874 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38876 * wcsmbs/wcslen.c: Define and use WCSLEN.
38877 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38878 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38879 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38880 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38881 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38882 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38883 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38885 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38888 strnlen-sse2-no-bsf.
38889 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38891 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38892 Add strnlen support.
38893 (USE_AS_STRNLEN): New macro.
38894 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38895 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38896 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38897 * sysdeps/x86_64/wcslen.S: New file.
38899 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38901 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38902 XMM-moves are used for copying on small sizes.
38904 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38906 * wcsmbs/Makefile (strop-tests): Add wcschr.
38907 * wcsmbs/test-wcschr.c: New file.
38908 * string/test-strchr.c: Update.
38909 Add wcschr support.
38912 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38914 * wcsmbs/Makefile (strop-tests): Add wcslen.
38915 * wcsmbs/test-wcslen.c: New file.
38916 * string/test-strlen.c: Update.
38917 Add wcslen support.
38920 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38922 * po/it.po: Update from translation team.
38924 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38926 * sysdeps/x86_64/wcscmp.S: Update.
38927 Fix wrong comparison semantics.
38928 wcscmp shall use signed comparison not unsigned.
38929 Don't use substraction to avoid overflow bug.
38930 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38931 * wcsmbc/wcscmp.c: Likewise.
38932 * string/test-strcmp.c: Likewise.
38933 Add new tests to check cases with negative values.
38935 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38937 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38938 * sysdeps/x86_64/dla.h: ...here. New file.
38939 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38949 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38952 __ynl_finite aliases.
38954 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38958 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38960 [DLA_FMA] (EMULV): Use DLA_FMA.
38961 [DLA_FMA] (MUL12): Use EMULV.
38962 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38963 that are not needed.
38964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38969 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38972 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38974 * math/s_nan.c: Undef __nan.
38975 * math/s_nanf.c: Undef __nanf.
38976 * math/s_nanl.c: Undef __nanl.
38977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38980 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38982 * math/s_catan.c: Add branch predictions.
38983 * math/s_catanf.c: Likewise.
38984 * math/s_catanh.c: Likewise.
38985 * math/s_catanhf.c: Likewise.
38986 * math/s_catanhl.c: Likewise.
38987 * math/s_catanl.c: Likewise.
38988 * math/s_cexp.c: Likewise.
38989 * math/s_cexpf.c: Likewise.
38990 * math/s_cexpl.c: Likewise.
38991 * math/s_clog.c: Likewise.
38992 * math/s_clog10.c: Likewise.
38993 * math/s_clog10f.c: Likewise.
38994 * math/s_clog10l.c: Likewise.
38995 * math/s_clogf.c: Likewise.
38996 * math/s_clogl.c: Likewise.
38997 * math/s_csqrt.c: Likewise.
38998 * math/s_csqrtf.c: Likewise.
38999 * math/s_csqrtl.c: Likewise.
39000 * math/s_ctanf.c: Likewise.
39001 * math/s_ctanh.c: Likewise.
39002 * math/s_ctanhf.c: Likewise.
39003 * math/s_ctanhl.c: Likewise.
39004 * math/s_ctanl.c: Likewise.
39006 * math/math_private.h: Define __nan, __nanf, __nanl.
39007 * math/s_cacosh.c: Include <math_private.h>.
39008 * math/s_cacoshl.c: Likewise.
39009 * math/s_casinh.c: Likewise.
39010 * math/s_casinhf.c: Likewise.
39011 * math/s_casinhl.c: Likewise.
39012 * math/s_ccos.c: Rely entire on ccosh.
39013 * math/s_ccosf.c: Rely entire on ccoshf.
39014 * math/s_ccosl.c: Rely entirely on ccoshl.
39015 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39016 Remove tests for FE_INVALID.
39017 * math/s_ccoshf.c: Likewise.
39018 * math/s_ccoshl.c: Likewise.
39019 * math/s_csin.c: Likewise.
39020 * math/s_csinf.c: Likewise.
39021 * math/s_csinh.c Likewise.
39022 * math/s_csinhf.c: Likewise.
39023 * math/s_csinhl.c: Likewise.
39024 * math/s_csinl.c: Likewise.
39025 * math/s_ctan.c: Likewise.
39026 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39027 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39030 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39033 compilation problems.
39035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39038 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39040 * sysdeps/i386/configure.in: Test for -mfma4 option.
39041 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39042 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39043 COMMON_CPUID_INDEX_80000001.
39044 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39045 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39046 use it if FMA3 is not supported.
39047 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39049 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39050 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39052 2011-10-20 Andreas Schwab <schwab@redhat.com>
39055 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39056 it would create a cycle with a link time dependency.
39058 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39060 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39062 * string/Makefile (strop-tests): Add rawmemchr.
39063 * string/test-rawmemchr.c: New file.
39065 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39067 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39068 when compiling str{,n}casecmp and when AVX is available. Hook up
39069 new optimized code in initializers.
39071 2011-10-19 Andreas Schwab <schwab@redhat.com>
39073 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39074 __feraiseexcept instead of feraiseexcept.
39076 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39078 * math/math_private.h: Define defaults for libc_fetestexcept and
39080 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39081 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39082 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39083 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39084 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39085 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39086 libc_fetestexcept and libc_feupdateenv.
39088 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39089 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39090 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39091 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39092 libc_feholdexcept_setround.
39094 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39095 Add s_nearbyint-c and s_nearbyintf-c.
39096 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39097 nearbyintf inlines.
39098 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39099 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39100 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39101 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39103 * math/math_private.h: Define defaults for libc_fegetround,
39104 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39105 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39106 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39107 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39108 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39109 standard functions.
39110 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39111 Remove comments and hacks for old compiler versions.
39112 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39113 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39114 libc_feholdexceptl.
39116 2011-10-18 Andreas Schwab <schwab@redhat.com>
39118 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39119 (__feraiseexcept_renamed): Add __NTH.
39120 (feraiseexcept): Add __NTH. Rename local variables to fix
39121 namespace violations.
39123 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39127 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39129 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39130 recently added interfaces.
39131 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39133 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39134 about macro parameter expansion.
39136 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39137 __NO_MATH_INLINES is defined. Cleanups.
39139 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39140 and __floorf is target has SSE4.1.
39141 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39142 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39143 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39144 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39146 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39148 (floorf): Likewise.
39150 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39152 2011-10-17 Andreas Schwab <schwab@redhat.com>
39154 * misc/sys/cdefs.h: Fix last change.
39156 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39159 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39161 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39163 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39164 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39165 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39166 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39168 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39170 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39171 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39172 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39173 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39174 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39175 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39176 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39177 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39178 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39179 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39180 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39181 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39182 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39184 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39186 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39187 ceil, ceilf, floor, floorf.
39189 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39190 Perform IRELATIVE relocations last.
39192 * elf/do-rel.h: Add another parameter nrelative, replacing the
39193 local variable with the same name. Change name of the function
39194 to end in Rel or Rela (uppercase).
39195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39196 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39197 elf_dynamic_do_##reloc function.
39199 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39201 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39202 is sufficient, at least on modern CPUs.
39204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39206 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39209 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39211 * math/bits/math-finite.h: Add entries for exp.
39212 * math/e_expl.c: Add __*_finite alias.
39213 * sysdeps/i386/fpu/e_exp.S: Likewise.
39214 * sysdeps/i386/fpu/e_expf.S: Likewise.
39215 * sysdeps/i386/fpu/e_expl.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39217 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39221 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39222 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39224 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39225 is sufficient, at least on modern CPUs.
39227 * ctype/ctype-info.c (__ctype_init): Define.
39228 * include/ctype.h (__ctype_init): Declare.
39229 (__ctype_b_loc): The variable is always initialized.
39230 (__ctype_toupper_loc): Likewise.
39231 (__ctype_tolower_loc): Likewise.
39232 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39233 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39235 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39237 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39239 * configure.in: Also look in $cxxmachine/include for C++ system
39242 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39244 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39245 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39246 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39247 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39249 (USE_AS_WMEMCMP): New macro.
39251 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39252 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39253 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39254 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39256 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39257 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39258 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39259 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39260 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39261 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39262 (USE_AS_WMEMCMP): New macro.
39263 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39264 * sysdeps/string/test-memcmp.c: Update.
39265 Fix simple_wmemcmp.
39267 * wcsmbs/wmemcmp.c: Update.
39268 (WMEMCMP): New macro.
39271 2011-10-12 Andreas Jaeger <aj@suse.de>
39274 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39276 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39278 * libio/iofwide.c (do_length): Avoid warning.
39280 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39282 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39284 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39286 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39287 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39288 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39289 * sysdeps/i386/i686/fpu/e_log.S: New file.
39290 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39291 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39293 * ctype/ctype.h: Add support for inlined isXXX functions when
39294 compiling C++ code.
39296 2011-10-14 Andreas Schwab <schwab@redhat.com>
39298 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39302 2011-10-13 Roland McGrath <roland@hack.frob.com>
39305 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39307 2011-10-13 Andreas Schwab <schwab@redhat.com>
39309 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39310 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39313 * sysdeps/x86_64/memrchr.S: Check for zero size.
39315 * string/stratcliff.c: Add memrchr tests.
39317 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39320 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39321 rawmemchr-sse2 rawmemchr-sse2-bsf.
39322 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39323 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39324 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39325 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39326 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39327 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39328 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39329 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39330 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39331 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39332 * string/memrchr.c (MEMRCHR): New macro.
39334 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39336 Add integration with gcc's -ffinite-math-only and optimize wrapper
39338 * Versions.def: Define GLIBC_2.15 version for libm.
39339 * math/Makefile (headers): Add bits/math-finite.h.
39340 * math/bits/math-finite.h: New file.
39341 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39342 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39343 * math/e_acoshl.c: Add __*_finite alias.
39344 * math/e_acosl.c: Likewise.
39345 * math/e_asinl.c: Likewise.
39346 * math/e_atan2l.c: Likewise.
39347 * math/e_atanhl.c: Likewise.
39348 * math/e_coshl.c: Likewise.
39349 * math/e_exp10.c: Likewise.
39350 * math/e_exp10f.c: Likewise.
39351 * math/e_exp10l.c: Likewise.
39352 * math/e_exp2l.c: Likewise.
39353 * math/e_fmodl.c: Likewise.
39354 * math/e_gammal_r.c: Likewise.
39355 * math/e_hypotl.c: Likewise.
39356 * math/e_j0l.c: Likewise.
39357 * math/e_j1l.c: Likewise.
39358 * math/e_jnl.c: Likewise.
39359 * math/e_lgammal_r.c: Likewise.
39360 * math/e_log10l.c: Likewise.
39361 * math/e_log2l.c: Likewise.
39362 * math/e_logl.c: Likewise.
39363 * math/e_powl.c: Likewise.
39364 * math/e_sinhl.c: Likewise.
39365 * math/e_sqrtl.c: Likewise.
39366 * math/e_scalb.c: Completely rewritten and optimized.
39367 * math/e_scalbf.c: Likewise.
39368 * math/e_scalbl.c: Likewise.
39369 * math/w_acos.c: Likewise.
39370 * math/w_acosf.c: Likewise.
39371 * math/w_acosl.c: Likewise.
39372 * math/w_acosh.c: Likewise.
39373 * math/w_acoshf.c: Likewise.
39374 * math/w_acoshl.c: Likewise.
39375 * math/w_asin.c: Likewise.
39376 * math/w_asinf.c: Likewise.
39377 * math/w_asinl.c: Likewise.
39378 * math/w_atan2.c: Likewise.
39379 * math/w_atan2f.c: Likewise.
39380 * math/w_atan2l.c: Likewise.
39381 * math/w_atanh.c: Likewise.
39382 * math/w_atanhf.c: Likewise.
39383 * math/w_atanhl.c: Likewise.
39384 * math/w_exp10.c: Likewise.
39385 * math/w_exp10f.c: Likewise.
39386 * math/w_exp10l.c: Likewise.
39387 * math/w_fmod.c: Likewise.
39388 * math/w_fmodf.c: Likewise.
39389 * math/w_fmodl.c: Likewise.
39390 * math/w_j0.c: Likewise.
39391 * math/w_j0f.c: Likewise.
39392 * math/w_j0l.c: Likewise.
39393 * math/w_j1.c: Likewise.
39394 * math/w_j1f.c: Likewise.
39395 * math/w_j1l.c: Likewise.
39396 * math/w_jn.c: Likewise.
39397 * math/w_jnf.c: Likewise.
39398 * math/w_log.c: Likewise.
39399 * math/w_logf.c: Likewise.
39400 * math/w_logl.c: Likewise.
39401 * math/w_log10.c: Likewise.
39402 * math/w_log10f.c: Likewise.
39403 * math/w_log10l.c: Likewise.
39404 * math/w_log2.c: Likewise.
39405 * math/w_log2f.c: Likewise.
39406 * math/w_log2l.c: Likewise.
39407 * math/w_pow.c: Likewise.
39408 * math/w_powf.c: Likewise.
39409 * math/w_powl.c: Likewise.
39410 * math/w_remainder.c: Likewise.
39411 * math/w_remainderf.c: Likewise.
39412 * math/w_remainderl.c: Likewise.
39413 * math/w_scalb.c: Likewise.
39414 * math/w_scalbf.c: Likewise.
39415 * math/w_scalbl.c: Likewise.
39416 * math/w_sqrt.c: Likewise.
39417 * math/w_sqrtf.c: Likewise.
39418 * math/w_sqrtl.c: Likewise.
39419 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39420 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39422 * math/math_private.h: Declare __kernel_standard_f.
39423 * math/w_cosh.c: Remove cruft and optimize a bit.
39424 * math/w_coshf.c: Likewise.
39425 * math/w_coshl.c: Likewise.
39426 * math/w_exp2.c: Likewise.
39427 * math/w_exp2f.c: Likewise.
39428 * math/w_exp2l.c: Likewise.
39429 * math/w_hypot.c: Likewise.
39430 * math/w_hypotf.c: Likewise.
39431 * math/w_hypotl.c: Likewise.
39432 * math/w_lgamma.c: Likewise.
39433 * math/w_lgamma_r.c: Likewise.
39434 * math/w_lgammaf.c: Likewise.
39435 * math/w_lgammaf_r.c: Likewise.
39436 * math/w_lgammal.c: Likewise.
39437 * math/w_lgammal_r.c: Likewise.
39438 * math/w_sinh.c: Likewise.
39439 * math/w_sinhf.c: Likewise.
39440 * math/w_sinhl.c: Likewise.
39441 * math/w_tgamma.c: Likewise.
39442 * math/w_tgammaf.c: Likewise.
39443 * math/w_tgammal.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39446 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39447 Minor optimizations. Pretty printing. Remove cruft.
39448 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39450 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39451 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39452 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39453 * sysdeps/i386/fpu/e_asin.S: Likewise.
39454 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39455 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39456 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39457 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39459 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39461 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39462 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39463 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39464 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39465 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39466 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39467 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39468 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39469 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39470 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39471 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39472 * sysdeps/i386/fpu/e_log.S: Likewise.
39473 * sysdeps/i386/fpu/e_log10.S: Likewise.
39474 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39476 * sysdeps/i386/fpu/e_log2.S: Likewise.
39477 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39479 * sysdeps/i386/fpu/e_logf.S: Likewise.
39480 * sysdeps/i386/fpu/e_logl.S: Likewise.
39481 * sysdeps/i386/fpu/e_pow.S: Likewise.
39482 * sysdeps/i386/fpu/e_powf.S: Likewise.
39483 * sysdeps/i386/fpu/e_powl.S: Likewise.
39484 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39485 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39486 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39490 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39491 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39492 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39527 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39528 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39529 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39531 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39534 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39578 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39584 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39585 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39586 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39587 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39588 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39589 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39590 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39591 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39592 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39593 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39594 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39595 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39596 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39598 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39601 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39602 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39603 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39604 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39605 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39606 (__isnanf): Likewise.
39607 (__isinf_ns): Likewise.
39608 (__isinf_nsf): Likewise.
39609 (__finite): Likewise.
39610 (__finitef): Likewise.
39611 (__ieee754_sqrt): Define as macro.
39612 (__ieee754_sqrtf): Define as macro.
39613 (__ieee754_sqrtl): Define as macro.
39614 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39616 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39617 __FINITE_MATH_ONLY__ consistent.
39618 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39620 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39622 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39625 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39627 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39629 * po/ja.po: Update from translation team.
39631 2011-10-08 Roland McGrath <roland@hack.frob.com>
39633 * locale/programs/locarchive.c (prepare_address_space): New function.
39634 (create_archive, enlarge_archive, open_archive): Use it.
39636 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39637 inside [SHARED], where it is used.
39639 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39641 * nss/getent.c (netgroup_keys): Remove unused variable.
39642 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39644 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39646 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39647 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39649 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39650 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39651 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39652 * math/Makefile (libm-calls): Add s_isinf_ns.
39653 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39654 * math/multc3.c: Likewise.
39655 * math/s_casin.c: Likewise.
39656 * math/s_casinf.c: Likewise.
39657 * math/s_casinl.c: Likewise.
39658 * math/s_ccos.c: Likewise.
39659 * math/s_ccosf.c: Likewise.
39660 * math/s_ccosl.c: Likewise.
39661 * math/s_ctan.c: Likewise.
39662 * math/s_ctanf.c: Likewise.
39663 * math/s_ctanh.c: Likewise.
39664 * math/s_ctanhf.c: Likewise.
39665 * math/s_ctanhl.c: Likewise.
39666 * math/s_ctanl.c: Likewise.
39667 * math/w_fmod.c: Likewise.
39668 * math/w_fmodf.c: Likewise.
39669 * math/w_fmodl.c: Likewise.
39670 * math/w_remainder.c: Likewise.
39671 * math/w_remainderf.c: Likewise.
39672 * math/w_remainderl.c: Likewise.
39673 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39674 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39677 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39678 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39679 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39680 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39682 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39684 * stdio-common/printf_fphex.c: Likewise.
39685 * stdio-common/printf_size.c: Likewise.
39687 * math/e_exp10.c: Include math_private.h using <...> not "...".
39688 * math/e_exp10f.c: Likewise.
39689 * math/e_exp10l.c: Likewise.
39690 * math/e_exp2l.c: Likewise.
39691 * math/e_j0l.c: Likewise.
39692 * math/e_j1l.c: Likewise.
39693 * math/e_jnl.c: Likewise.
39694 * math/e_lgammal_r.c: Likewise.
39695 * math/e_rem_pio2l.c: Likewise.
39696 * math/e_scalb.c: Likewise.
39697 * math/e_scalbf.c: Likewise.
39698 * math/e_scalbl.c: Likewise.
39699 * math/k_cosl.c: Likewise.
39700 * math/k_sinl.c: Likewise.
39701 * math/k_tanl.c: Likewise.
39702 * math/s_cacoshf.c: Likewise.
39703 * math/s_catan.c: Likewise.
39704 * math/s_catanf.c: Likewise.
39705 * math/s_catanh.c: Likewise.
39706 * math/s_catanhf.c: Likewise.
39707 * math/s_catanhl.c: Likewise.
39708 * math/s_catanl.c: Likewise.
39709 * math/s_ccosh.c: Likewise.
39710 * math/s_ccoshf.c: Likewise.
39711 * math/s_ccoshl.c: Likewise.
39712 * math/s_cexp.c: Likewise.
39713 * math/s_cexpf.c: Likewise.
39714 * math/s_cexpl.c: Likewise.
39715 * math/s_clog.c: Likewise.
39716 * math/s_clog10.c: Likewise.
39717 * math/s_clog10f.c: Likewise.
39718 * math/s_clog10l.c: Likewise.
39719 * math/s_clogf.c: Likewise.
39720 * math/s_clogl.c: Likewise.
39721 * math/s_csin.c: Likewise.
39722 * math/s_csinf.c: Likewise.
39723 * math/s_csinh.c: Likewise.
39724 * math/s_csinhf.c: Likewise.
39725 * math/s_csinhl.c: Likewise.
39726 * math/s_csinl.c: Likewise.
39727 * math/s_csqrt.c: Likewise.
39728 * math/s_csqrtf.c: Likewise.
39729 * math/s_csqrtl.c: Likewise.
39730 * math/s_ctan.c: Likewise.
39731 * math/s_ctanf.c: Likewise.
39732 * math/s_ctanh.c: Likewise.
39733 * math/s_ctanhf.c: Likewise.
39734 * math/s_ctanhl.c: Likewise.
39735 * math/s_ctanl.c: Likewise.
39736 * math/s_ldexp.c: Likewise.
39737 * math/s_ldexpf.c: Likewise.
39738 * math/s_ldexpl.c: Likewise.
39739 * math/s_significand.c: Likewise.
39740 * math/s_significandf.c: Likewise.
39741 * math/s_significandl.c: Likewise.
39742 * math/w_acos.c: Likewise.
39743 * math/w_acosf.c: Likewise.
39744 * math/w_acosh.c: Likewise.
39745 * math/w_acoshf.c: Likewise.
39746 * math/w_acoshl.c: Likewise.
39747 * math/w_acosl.c: Likewise.
39748 * math/w_asin.c: Likewise.
39749 * math/w_asinf.c: Likewise.
39750 * math/w_asinl.c: Likewise.
39751 * math/w_atan2.c: Likewise.
39752 * math/w_atan2f.c: Likewise.
39753 * math/w_atan2l.c: Likewise.
39754 * math/w_atanh.c: Likewise.
39755 * math/w_atanhf.c: Likewise.
39756 * math/w_atanhl.c: Likewise.
39757 * math/w_cosh.c: Likewise.
39758 * math/w_coshf.c: Likewise.
39759 * math/w_coshl.c: Likewise.
39760 * math/w_dremf.c: Likewise.
39761 * math/w_exp10.c: Likewise.
39762 * math/w_exp10f.c: Likewise.
39763 * math/w_exp10l.c: Likewise.
39764 * math/w_exp2.c: Likewise.
39765 * math/w_exp2f.c: Likewise.
39766 * math/w_fmod.c: Likewise.
39767 * math/w_fmodf.c: Likewise.
39768 * math/w_fmodl.c: Likewise.
39769 * math/w_hypot.c: Likewise.
39770 * math/w_hypotf.c: Likewise.
39771 * math/w_hypotl.c: Likewise.
39772 * math/w_j0.c: Likewise.
39773 * math/w_j0f.c: Likewise.
39774 * math/w_j0l.c: Likewise.
39775 * math/w_j1.c: Likewise.
39776 * math/w_j1f.c: Likewise.
39777 * math/w_j1l.c: Likewise.
39778 * math/w_jn.c: Likewise.
39779 * math/w_jnf.c: Likewise.
39780 * math/w_jnl.c: Likewise.
39781 * math/w_lgamma.c: Likewise.
39782 * math/w_lgamma_r.c: Likewise.
39783 * math/w_lgammaf.c: Likewise.
39784 * math/w_lgammaf_r.c: Likewise.
39785 * math/w_lgammal.c: Likewise.
39786 * math/w_lgammal_r.c: Likewise.
39787 * math/w_log.c: Likewise.
39788 * math/w_log10.c: Likewise.
39789 * math/w_log10f.c: Likewise.
39790 * math/w_log10l.c: Likewise.
39791 * math/w_log2.c: Likewise.
39792 * math/w_log2f.c: Likewise.
39793 * math/w_log2l.c: Likewise.
39794 * math/w_logf.c: Likewise.
39795 * math/w_logl.c: Likewise.
39796 * math/w_pow.c: Likewise.
39797 * math/w_powf.c: Likewise.
39798 * math/w_powl.c: Likewise.
39799 * math/w_remainder.c: Likewise.
39800 * math/w_remainderf.c: Likewise.
39801 * math/w_remainderl.c: Likewise.
39802 * math/w_scalb.c: Likewise.
39803 * math/w_scalbf.c: Likewise.
39804 * math/w_scalbl.c: Likewise.
39805 * math/w_sinh.c: Likewise.
39806 * math/w_sinhf.c: Likewise.
39807 * math/w_sinhl.c: Likewise.
39808 * math/w_sqrt.c: Likewise.
39809 * math/w_sqrtf.c: Likewise.
39810 * math/w_sqrtl.c: Likewise.
39811 * math/w_tgamma.c: Likewise.
39812 * math/w_tgammaf.c: Likewise.
39813 * math/w_tgammal.c: Likewise.
39815 * po/ja.po: Update from translation team.
39817 2011-09-29 Andreas Jaeger <aj@suse.de>
39820 * sunrpc/netname.c (netname2host): Fix logic.
39824 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39826 * math/w_remainder.c (__remainder): Likewise.
39827 * math/w_remainderf.c (__remainderf): Likewise.
39828 * math/libm-test.inc (remainder_test): Add test cases.
39830 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39832 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39835 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39837 * string/test-memcmp.c: Avoid unncessary #defines.
39838 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39840 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39842 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39843 Use new sse2 version for core i3 - i7 as it's faster
39844 than sse42 version.
39845 (bit_Prefer_PMINUB_for_stringop): New.
39846 * sysdeps/x86_64/rawmemchr.S: Update.
39847 Replace with faster SSE2 version.
39848 * sysdeps/x86_64/memrchr.S: New file.
39849 * sysdeps/x86_64/memchr.S: Update.
39850 Replace with faster SSE2 version.
39852 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39854 * elf/dl-load.c (lose): Add cast to avoid warning.
39856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39858 * po/ca.po: Update from translation team.
39860 * inet/getnetgrent_r.c: Hook up nscd.
39861 * nscd/Makefile (routines): Add nscd_netgroup.
39862 (nscd-modules): Add netgroupcache.
39863 (CFLAGS-netgroupcache.c): Define.
39864 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39865 (cache_search): Add const to second parameter.
39866 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39868 (dbs): Add netgrdb entry.
39869 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39870 (verify_persistent_db): Handle netgrdb.
39871 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39872 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39874 (netgroup_response_header): Define.
39875 (innetgroup_response_header): Define.
39876 (datahead): Add netgroup_response_header and innetgroup_response_header
39878 * nscd/nscd.conf: Add entries for netgroup cache.
39879 * nscd/nscd.h (dbtype): Add netgrdb.
39880 (_PATH_NSCD_NETGROUP_DB): Define.
39881 (netgroup_iov_disabled): Declare.
39882 (xmalloc, xcalloc, xrealloc): Move declarations here.
39883 (cache_search): Adjust prototype.
39884 Add netgroup-related prototypes.
39885 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39886 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39887 (__nscd_innetgr): Declare.
39888 * nscd/selinux.c (perms): Use access_vector_t as element type and
39889 add netgroup-related initializers.
39890 * nscd/netgroupcache.c: New file.
39891 * nscd/nscd_netgroup.c: New file.
39892 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39893 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39894 For four parameters use innetgr.
39895 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39896 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39897 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39898 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39900 * nscd/connections.c (register_traced_file): Don't register file
39901 for disabled databases.
39903 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39905 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39907 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39908 from tree and freeing node.
39910 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39912 * nss/nsswitch.c (__nss_database_lookup): Handle
39913 nss_parse_service_list out of memory case.
39915 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39917 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39918 out of memory case.
39920 2011-10-04 Andreas Schwab <schwab@redhat.com>
39922 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39923 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39925 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39926 elf_machine_rela, elf_machine_lazy_rel.
39927 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39928 (ELF_DYNAMIC_DO_REL): Likewise.
39929 (ELF_DYNAMIC_DO_RELA): Likewise.
39930 (ELF_DYNAMIC_RELOCATE): Likewise.
39931 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39932 to ELF_DYNAMIC_DO_REL.
39933 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39934 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39935 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39938 skip_ifunc, don't call ifunc function if non-zero.
39939 (elf_machine_rela): Likewise.
39940 (elf_machine_lazy_rel): Likewise.
39941 (elf_machine_lazy_rela): Likewise.
39942 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39943 (elf_machine_lazy_rel): Likewise.
39944 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39946 (elf_machine_lazy_rel): Likewise.
39947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39949 (elf_machine_lazy_rel): Likewise.
39950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39951 (elf_machine_lazy_rel): Likewise.
39952 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39953 (elf_machine_lazy_rel): Likewise.
39954 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39955 (elf_machine_lazy_rel): Likewise.
39956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39957 (elf_machine_lazy_rel): Likewise.
39958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39959 (elf_machine_lazy_rel): Likewise.
39960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39961 (elf_machine_lazy_rel): Likewise.
39963 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39965 * nss/nss_files/files-init.c (_nss_files_init): Use static
39966 initialization for all the *_traced_file variables.
39968 2011-09-28 Andreas Schwab <schwab@redhat.com>
39970 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39972 2011-09-27 Roland McGrath <roland@hack.frob.com>
39975 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39977 2011-09-27 Andreas Schwab <schwab@redhat.com>
39979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39980 Reread the line before reparsing it.
39982 2011-09-26 Andreas Schwab <schwab@redhat.com>
39984 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39986 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39987 Maxim Kuvyrkov <maxim@codesourcery.com>
39988 Joseph Myers <joseph@codesourcery.com>
39990 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39991 if needed for __stack_chk_guard.
39993 2011-09-19 Roland McGrath <roland@hack.frob.com>
39995 * sysdeps/posix/spawni.c (script_execute): Always define it.
39996 It will be optimized away if unused.
39997 (maybe_script_execute): New function.
39998 (__spawni): Call it.
40000 * Makerules: Don't include tls.make.
40001 (config-tls): Always set to thread.
40002 * tls.make.c: File removed.
40004 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40006 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40007 * config.make.in (CPPFLAGS-config): New substituted variable.
40009 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40011 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40014 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40015 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40017 2011-09-15 Roland McGrath <roland@hack.frob.com>
40019 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40020 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40022 (CALL_FAIL): Likewise.
40023 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40024 (CALL_FAIL): Macro removed.
40025 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40027 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40029 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40030 for __FINITE_MATH_ONLY__ == 1.
40032 2011-09-15 Andreas Schwab <schwab@redhat.com>
40034 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40035 __ieee754_sqrt instead of sqrt.
40036 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40037 __ieee754_sqrtf instead of sqrtf.
40038 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40039 __floorf instead of floorf.
40040 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40041 __floorf, __truncf instead of floorf, truncf.
40043 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40045 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40047 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40048 __extern_always_inline.
40049 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40052 2011-09-14 Andreas Schwab <schwab@redhat.com>
40054 * elf/rtld.c (dl_main): Also relocate in dependency order when
40055 doing symbol dependency testing.
40057 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40059 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40060 Always define `refsym'.
40062 2011-09-13 Andreas Schwab <schwab@redhat.com>
40064 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40065 (__FD_ELT): Renamed from __FDELT.
40066 * misc/bits/select2.h (__FD_ELT): Likewise.
40067 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40068 __FD_MASK instead of __FDELT, __FDMASK.
40069 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40071 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40074 * elf/Makefile (gen-ldd): Fix pattern.
40076 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40077 (init_tls): Likewise.
40079 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40083 2011-09-12 Andreas Schwab <schwab@redhat.com>
40085 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40086 `struct cmsghdr *' instead of `void *'.
40087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40090 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40092 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40094 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40095 ldd_rewrite_script.
40097 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40099 * configure.in: Remove --with-tls option.
40100 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40101 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40102 out in case it is missing.
40103 * sysdeps/ia64/elf/configure.in: Likewise.
40104 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40105 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40106 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40107 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40108 * sysdeps/sh/elf/configure.in: Likewise.
40109 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40110 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40111 * sysdeps/x86_64/elf/configure.in: Likewise.
40112 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40113 * sysdeps/mach/hurd/tls.h: Likewise.
40116 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40119 * configure.in: Fix use of AC_INIT.
40121 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40123 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40125 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40127 * malloc/hooks.c: Likewise.
40130 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40131 variables statically.
40132 (narenas): Initialize.
40133 (list_lock): Initialize.
40134 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40135 initializtion of main_arena and list_lock. Small cleanups.
40136 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40137 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40138 Add initializers to main_arena and mp_.
40139 (malloc_state): Remove pagesize member. Change all users to use
40142 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40143 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40144 is always initialized.
40146 * malloc/malloc.c: Removed unused configurations and dead code.
40147 * malloc/arena.c: Likewise.
40148 * malloc/hooks.c: Likewise.
40149 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40151 * include/tls.h: Removed. USE___THREAD must always be defined.
40152 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40153 * elf/dl-libc.c: Likewise.
40154 * elf/dl-tsd.c: Likewise.
40155 * include/errno.h: Likewise.
40156 * include/netdb.h: Likewise.
40157 * include/resolv.h: Likewise.
40158 * inet/herrno-loc.c: Likewise.
40159 * inet/herrno.c: Likewise.
40160 * malloc/arena.c: Likewise.
40161 * malloc/hooks.c: Likewise.
40162 * malloc/malloc.c: Likewise.
40163 * resolv/res-state.c: Likewise.
40164 * resolv/res_libc.c: Likewise.
40165 * sysdeps/i386/dl-machine.h: Likewise.
40166 * sysdeps/ia64/dl-machine.h: Likewise.
40167 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40168 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40169 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40170 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40171 * sysdeps/sh/dl-machine.h: Likewise.
40172 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40173 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40174 * sysdeps/unix/i386/sysdep.S: Likewise.
40175 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40176 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40181 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40185 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40186 * sysdeps/x86_64/dl-machine.h: Likewise.
40187 * tls.make.c: Likewise.
40189 * configure.in: Remove --with-__thread option. Make tests for
40190 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40191 tls_model attribute fail if no support is available. Remove
40193 * Makeconfig: Adjust for dropped configure option. All features are
40195 * Makerules: Likewise.
40196 * Versions.def: Likewise.
40197 * argp/argp-fmtstream.c: Likewise.
40198 * argp/argp-fmtstream.h: Likewise.
40199 * argp/argp-help.c: Likewise.
40200 * assert/assert.c: Likewise.
40201 * config.h.in: Likewise.
40202 * config.make.in: Likewise.
40203 * configure: Likewise.
40204 * configure.in: Likewise.
40205 * csu/Versions: Likewise.
40206 * csu/init.c: Likewise.
40207 * elf/tst-audit2.c: Likewise.
40208 * elf/tst-tls10.c: Likewise.
40209 * elf/tst-tls10.h: Likewise.
40210 * elf/tst-tls11.c: Likewise.
40211 * elf/tst-tls12.c: Likewise.
40212 * elf/tst-tls14.c: Likewise.
40213 * elf/tst-tlsmod11.c: Likewise.
40214 * elf/tst-tlsmod12.c: Likewise.
40215 * elf/tst-tlsmod13.c: Likewise.
40216 * elf/tst-tlsmod13a.c: Likewise.
40217 * elf/tst-tlsmod14a.c: Likewise.
40218 * elf/tst-tlsmod15b.c: Likewise.
40219 * elf/tst-tlsmod16a.c: Likewise.
40220 * elf/tst-tlsmod16b.c: Likewise.
40221 * elf/tst-tlsmod7.c: Likewise.
40222 * elf/tst-tlsmod8.c: Likewise.
40223 * elf/tst-tlsmod9.c: Likewise.
40224 * gmon/gmon.c: Likewise.
40225 * grp/fgetgrent_r.c: Likewise.
40226 * grp/putgrent.c: Likewise.
40227 * hurd/fopenport.c: Likewise.
40228 * include/libc-symbols.h: Likewise.
40229 * include/tls.h: Likewise.
40230 * intl/gettextP.h: Likewise.
40231 * intl/loadinfo.h: Likewise.
40232 * locale/global-locale.c: Likewise.
40233 * locale/localeinfo.h: Likewise.
40234 * mach/devstream.c: Likewise.
40235 * malloc/arena.c: Likewise.
40236 * malloc/set-freeres.c: Likewise.
40237 * misc/err.c: Likewise.
40238 * misc/getttyent.c: Likewise.
40239 * misc/mntent_r.c: Likewise.
40240 * posix/getopt.c: Likewise.
40241 * posix/wordexp.c: Likewise.
40242 * pwd/fgetpwent_r.c: Likewise.
40243 * resolv/Versions: Likewise.
40244 * resolv/res_hconf.c: Likewise.
40245 * shadow/fgetspent_r.c: Likewise.
40246 * shadow/putspent.c: Likewise.
40247 * stdio-common/printf_fphex.c: Likewise.
40248 * stdio-common/tmpfile.c: Likewise.
40249 * stdlib/abort.c: Likewise.
40250 * stdlib/fmtmsg.c: Likewise.
40251 * sunrpc/auth_unix.c: Likewise.
40252 * sunrpc/clnt_perr.c: Likewise.
40253 * sunrpc/clnt_tcp.c: Likewise.
40254 * sunrpc/clnt_udp.c: Likewise.
40255 * sunrpc/clnt_unix.c: Likewise.
40256 * sunrpc/openchild.c: Likewise.
40257 * sunrpc/svc_simple.c: Likewise.
40258 * sunrpc/svc_tcp.c: Likewise.
40259 * sunrpc/svc_udp.c: Likewise.
40260 * sunrpc/svc_unix.c: Likewise.
40261 * sunrpc/xdr.c: Likewise.
40262 * sunrpc/xdr_array.c: Likewise.
40263 * sunrpc/xdr_rec.c: Likewise.
40264 * sunrpc/xdr_ref.c: Likewise.
40265 * sunrpc/xdr_stdio.c: Likewise.
40267 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40269 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40271 2011-07-03 Andreas Jaeger <aj@suse.de>
40273 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40274 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40275 regenerate with gen-libm-tests.pl.
40277 2010-05-12 Petr Baudis <pasky@suse.cz>
40280 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40281 around j0() zero points by switching to j1().
40282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40283 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40289 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40294 Patch in part by Pavel Roskin <proski@gnu.org>.
40297 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40299 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40300 Free memory block if necessary.
40303 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40304 be NULL. Don't lock in this case.
40306 2011-09-09 Roland McGrath <roland@hack.frob.com>
40308 * elf/elf.h (ELFOSABI_GNU): New macro.
40309 (ELFOSABI_LINUX): Define to that.
40311 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40313 * string/strncat.c (strncat): Undef the symbol in case it has been
40314 defined in bits/string.h.
40316 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40318 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40320 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40323 2011-08-17 Andreas Jaeger <aj@suse.de>
40325 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40327 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40328 Ian Lance Taylor <iant@google.com>
40330 * math/libm-test.inc (lround_test): New testcase.
40331 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40333 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40335 * Makefile: Remove support for automatic cvs check-ins.
40336 * Makerules: Likewise.
40337 * config.make.in: Likewise.
40338 * configure.in: Likewise.
40339 * intl/Makefile: Likewise.
40340 * locale/Makefile: Likewise.
40341 * po/Makefile: Likewise.
40342 * posix/Makefile: Likewise.
40343 * sysdeps/gnu/Makefile: Likewise.
40344 * sysdeps/mach/hurd/Makefile: Likewise.
40345 * sysdeps/sparc/sparc32/Makefile: Likewise.
40348 * posix/Makefile (bug-regex32-ENV): Define.
40349 Patch by John Stanley <jpsinthemix@verizon.net>.
40351 * misc/Makefile (headers): Add bits/select2.h.
40352 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40353 * misc/bits/select2.h: New file.
40354 * include/bits/select2.h: New file.
40355 * debug/Makefile (routines): Add fdelt_chk.
40356 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40357 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40359 * debug/fdelt_chk.c: New file.
40361 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40362 * wcsmbs/test-wmemcmp.c: Likewise.
40363 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40364 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40366 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40368 * string/Makefile (strop-tests): Add memcmp.
40369 * string/test-wmemcmp.c: New file.
40370 * string/test-memcmp.c: Add wmemcmp support.
40372 2011-09-08 Roland McGrath <roland@hack.frob.com>
40375 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40378 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40379 garbage value in a __mach_port_mod_refs call in the cases of the
40380 task-self and thread-self ports.
40382 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40384 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40386 2011-09-08 Andreas Schwab <schwab@redhat.com>
40388 * elf/dl-load.c (lose): Check for non-null L.
40390 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40392 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40394 * elf/dl-libc.c (dlerror_run): Pass back error code from
40398 * elf/dl-load.c (lose): Free l_origin if it is valid.
40400 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40402 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40404 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40406 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40407 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40409 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40411 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40412 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40413 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40414 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40415 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40416 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40417 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40418 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40419 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40420 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40422 2011-08-15 Alan Modra <amodra@gmail.com>
40425 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40426 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40427 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40428 ppc_mcount to static-only-routines.
40429 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40431 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40432 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40434 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40436 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40437 for finite and infinity parameters.
40439 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40441 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40442 and add nop instructions for throughput optimization.
40443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40445 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40447 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40448 aligned copy for power7 with vector-scalar instructions.
40449 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40451 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40456 2011-09-07 Andreas Schwab <schwab@redhat.com>
40459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40462 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40464 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40465 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40466 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40467 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40470 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40473 Forgot to demangle the pointer.
40475 * sysdeps/i386/sysdep.h: Define atom_text_section.
40476 * sysdeps/x86_64/sysdep.h: Likewise.
40477 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40478 section with atom_text_section.
40479 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40481 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40485 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40486 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40487 already be defined. Change to take two parameters and don't assign
40488 result to variable. Adjust all users.
40489 Define INTERNAL_GETTIME if not already defined.
40490 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40493 HAVE_CLOCK_GETTIME_VSYSCALL.
40494 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40497 gettimeofday vsyscall, just use time.
40499 2011-09-06 Andreas Schwab <schwab@redhat.com>
40501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40504 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40506 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40510 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40512 syscall if possible.
40514 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40516 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40517 e_ident. Don't pass to find_mapsXX.
40518 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40520 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40523 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40524 * sysdeps/x86_64/multiarch/strchr.S: Update.
40525 Check bit_slow_BSF bit.
40526 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40528 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40530 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40535 (tryshell): Define.
40536 (__spawni): Change last parameter to be flag. Test
40537 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40538 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40539 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40540 * posix/spawni.c: Likewise.
40541 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40542 * posix/spawnp.c: Likewise. Change normal version to use
40543 SPAWN_XFLAGS_USE_PATH.
40544 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40545 SPAWN_XFLAGS_TRY_SHELL.
40548 * posix/glob.h: Remove gcc 1.x support.
40551 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40553 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40556 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40558 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40559 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40561 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40562 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40565 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40567 * sysdeps/x86_64/wcscmp.S: New file.
40569 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40570 wcscmp-c wcscmp-sse2
40571 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40572 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40573 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40574 * wcsmbs/wcscmp.c: Allow renaming.
40576 2011-09-05 David S. Miller <davem@davemloft.net>
40578 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40579 stack slot, rather than the struct return pointer slot.
40580 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40581 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40583 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40585 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40587 * po/ja.po: Update from translation team.
40590 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40591 kernel in 64-bit binaries.
40593 2011-09-01 David S. Miller <davem@davemloft.net>
40595 * elf/elf.h (HWCAP_SPARC_*): Move to..
40596 * sysdeps/sparc/sysdep.h: this new file and add new values.
40597 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40598 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40599 _DL_HWCAP_COUNT to 24.
40600 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40602 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40603 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40604 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40606 instead of magic constants.
40607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40609 2011-08-31 David S. Miller <davem@davemloft.net>
40611 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40613 Reimplement to do errno handling inline.
40614 (SYSCALL_ERROR_HANDLER): New macro.
40615 (__SYSCALL_STRING): Do not do errno handling in asm.
40616 (__CLONE_SYSCALL_STRING): Delete.
40617 (__INTERNAL_SYSCALL_STRING): Delete.
40618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40619 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40620 (PSEUDO): Reimplement to do errno handling inline.
40621 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40622 (SYSCALL_ERROR_HANDLER): New macro.
40623 (__SYSCALL_STRING): Do not do errno handling in asm.
40624 (__CLONE_SYSCALL_STRING): Delete.
40625 (__INTERNAL_SYSCALL_STRING): Delete.
40626 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40627 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40629 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40630 (inline_syscall*): Add 'err' argument.
40631 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40632 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40633 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40634 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40636 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40637 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40639 2011-08-30 Andreas Schwab <schwab@redhat.com>
40641 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40643 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40645 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40648 2011-08-24 David S. Miller <davem@davemloft.net>
40650 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40652 2011-08-24 Andreas Schwab <schwab@redhat.com>
40654 * elf/Makefile: Add rules to build and run unload8 test.
40655 * elf/unload8.c: New file.
40656 * elf/unload8mod1.c: New file.
40657 * elf/unload8mod1x.c: New file.
40658 * elf/unload8mod2.c: New file.
40659 * elf/unload8mod3.c: New file.
40661 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40664 2011-08-23 David S. Miller <davem@davemloft.net>
40666 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40667 subtract stack bias.
40668 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40669 %sp not %fp in calculations.
40670 (_JMPBUF_UNWINDS_ADJ): Likewise.
40672 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40673 (aio_suspend): Call it to force an exception region around the
40674 AIO_MISC_WAIT() invocation.
40676 2011-08-23 Andreas Schwab <schwab@redhat.com>
40678 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40681 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40683 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40685 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40686 and <dl-machine.h>.
40687 (Elf64_FuncDesc): Remove.
40689 2011-08-22 David S. Miller <davem@davemloft.net>
40691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40692 sigaltstack check, add missing cfi directives.
40693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40694 missing cfi directives, and sigaltstack handling.
40696 2011-08-16 Andreas Schwab <schwab@redhat.com>
40699 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40700 object is seen twice.
40701 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40703 * elf/Makefile (distribute): Add tst-initorder2.c.
40704 (tests): Add tst-initorder2.
40705 (modules-names): Add tst-initorder2a tst-initorder2b
40706 tst-initorder2c tst-initorder2d. Add rules to build them.
40707 ($(objpfx)tst-initorder2.out): New rule.
40708 * elf/tst-initorder2.c: New file.
40709 * elf/tst-initorder2.exp: New file.
40711 2011-08-22 Andreas Schwab <schwab@redhat.com>
40713 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40715 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40716 dependencies back to end of function.
40718 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40719 $(elfobjdir)/ld.so.
40721 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40724 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40726 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40727 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40728 of __vdso_gettimeofday.
40729 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40730 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40732 (_libc_vdso_platform_setup): Remove initialization of
40733 __vdso_gettimeofday and __vdso_time.
40735 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40737 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40738 and fgetc_unlocked.
40739 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40742 * elf/dl-open.c (add_to_global): Report additions to the global scope
40743 for LD_DEBUG=scopes.
40744 (dl_open_worker): Also print scope of newly loaded dependencies.
40745 (_dl_show_scope): Indicate if there is no scope.
40748 * stdio-common/Makefile (tests): Add bug24.
40749 * stdio-common/bug24.c: New file.
40751 2011-08-19 Andreas Jaeger <aj@suse.de>
40754 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40755 non-existant file when using close-on-exec mode.
40757 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40759 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40760 the very first instruction.
40762 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40763 the CFI state in the end.
40764 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40765 inclusion of dl-trampoline.h.
40766 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40768 2011-08-19 Andreas Schwab <schwab@redhat.com>
40770 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40771 expectations for long double.
40773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40774 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40776 2011-08-14 David S. Miller <davem@davemloft.net>
40778 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40779 artificual limit depends upon the system page size.
40781 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40783 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40784 * resolv/Makefile: Define CFLAGS-libresolv.
40786 2011-08-17 Andreas Schwab <schwab@redhat.com>
40788 * nss/makedb.c (compute_tables): Make variables used in nested
40791 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40793 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40794 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40795 if buffer was too small.
40797 * elf/pldd.c (main): Attach to all threads in the process.
40798 Rewrite /proc handling to use *at functions.
40800 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40802 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40803 specifies first scope to show.
40804 (dl_open_worker): Update callers. Move printing scope of new
40805 object to before the relocation.
40806 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40807 * sysdeps/generic/ldsodefs.h: Update declaration.
40809 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40810 string for the scope number.
40812 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40814 * nscd/servicescache.c (cache_addserv): Make sure written is always
40817 2011-08-14 Roland McGrath <roland@hack.frob.com>
40819 * sysdeps/i386/i486/bits/atomic.h
40820 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40821 statement expression, so as to suppress "set but not used" warning.
40822 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40824 * string/strncat.c (STRNCAT): Use prototype definition.
40826 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40827 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40829 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40830 (localedef-modules): Add localedef.
40831 (locale-modules): Add locale.
40833 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40834 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40835 to avoid a warning.
40837 2011-08-14 David S. Miller <davem@davemloft.net>
40839 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40840 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40842 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40844 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40845 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40846 * elf/rtld.c (dl_main): Set l_name of vDSO.
40847 Call _dl_show_scope when DL_DEBUG_SCOPES.
40848 (process_dl_debug): Recognize scopes flag and also set it for all.
40849 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40850 Declare _dl_show_scope.
40852 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40853 (do_dlopen): Pass caller_dlopen to dl_open.
40854 (__libc_dlopen_mode): Initialize caller_dlopen.
40856 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40857 of libc. Make tolower call locale-independent. Optimize a bit by
40858 using isdigit instead of isalnum.
40859 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40861 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40863 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40864 was a dependency or dynamically loaded.
40866 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40868 * intl/l10nflist.c: Allow architecture-specific pop function.
40869 * sysdeps/x86_64/l10nflist.c: New file.
40871 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40874 2011-08-10 Andreas Schwab <schwab@redhat.com>
40876 * include/dirent.h: Add libc_hidden_proto for scandirat and
40877 scandirat64. Don't declare __scandirat64.
40878 * dirent/scandirat.c: Add libc_hidden_def.
40879 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40880 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40882 2011-08-10 David S. Miller <davem@davemloft.net>
40884 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40886 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40890 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40892 * Versions.def [libc]: Add GLIBC_2.15.
40893 * dirent/Makefile (routines): Add scandirat and scandirat64.
40894 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40896 * dirent/dirent.h: Declare scandirat and scandirat64.
40897 * dirent/scandirat.c: New file.
40898 * dirent/scandirat64.c: New file.
40899 * sysdeps/wordsize-64/scandirat.c: New file.
40900 * sysdeps/wordsize-64/scandirat64.c: New file.
40901 * dirent/opendir.c: Define opendirat.
40902 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40904 * dirent/scandir64.c: Adjust for scandir.c change.
40905 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40906 __scandirat64, and __scandir_cancel_handler.
40907 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40908 additional parameter and use openat instead of open (outside of ld.so).
40909 Add new __opendir as wrapper around __opendirat.
40910 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40911 here without requiring old scandirat implementation.
40913 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40915 * dirent/scandir.c (cancel_handler): Renamed to
40916 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40917 defined. Adjust users.
40918 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40921 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40923 * string/test-string.h (IMPL): Use __STRING to expand name and then
40926 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40929 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40931 * string/Makefile: Update.
40932 (strop-tests): Append strncat.
40933 * string/test-wcscmp.c: New file.
40934 New comprehensive test for wcscmp.
40935 * string/test-strcmp.c: Update.
40936 (WIDE): New define.
40938 2011-07-22 Andreas Schwab <schwab@redhat.com>
40940 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40943 2011-07-26 Andreas Schwab <schwab@redhat.com>
40945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40946 encoding to ACE if AI_IDN.
40948 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40951 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40953 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40955 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40956 Fix overflow bug in strncat.
40957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40959 * string/test-strncat.c: Update.
40960 Add new tests for checking overflow bugs.
40962 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40965 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40966 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40967 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40968 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40969 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40970 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40971 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40972 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40975 (USE_AS_STRCAT): Define.
40976 Add strcat and strncat support.
40977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40979 2011-07-25 Andreas Schwab <schwab@redhat.com>
40981 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40982 __n bigger than INT_MAX+1.
40983 (__strncmp_g): Likewise.
40985 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40987 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40988 * libio/stido.h: Likewise.
40990 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40995 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41002 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41007 (_dl_x86_64_save_sse): Likewise.
41009 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41013 (_dl_x86_64_save_sse): Likewise.
41015 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41017 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41019 2011-07-21 Andreas Schwab <schwab@redhat.com>
41021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41023 (_dl_x86_64_save_sse): Use correct AVX check.
41025 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41027 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41028 bug in strncpy/strncat.
41029 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41031 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41033 * string/tester.c (test_strcat): Add tests for different alignments
41034 of source and destination.
41035 (test_strncat): Likewise.
41037 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41040 * posix/glob.c (glob): Check passed in values before using them in
41041 expressions to avoid some overflows.
41042 (glob_in_dir): Likewise.
41045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41046 check for AVX enablement so that we don't crash with old kernels and
41048 * elf/tst-audit4.c: Add same checks here.
41049 * elf/tst-audit6.c: Likewise.
41051 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41053 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41055 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41057 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41059 * po/cs.po: Update from translation team.
41060 * po/bg.po: Likewise.
41062 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41064 * misc/sys/cdefs.h: Add support for const attribute.
41065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41066 to gnu_dev_{major,minor,makedev} functions.
41068 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41070 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41072 2011-07-20 Andreas Schwab <schwab@redhat.com>
41074 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41077 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41080 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41081 register in order to avoid conflicts with the soft frame pointer
41082 being held in r11 when necessary.
41083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41084 (INTERNAL_VSYSCALL_NCS): Likewise.
41086 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41088 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41089 * elf/dl-fini.c (_dl_fini): Adjust caller.
41090 * elf/dl-close.c (_dl_close_worker): Likewise.
41091 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41093 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41095 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41096 "aux_cache->nlibs < 0".
41098 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41099 in the reload-count case.
41101 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41104 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41105 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41106 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41107 * sysdeps/x86_64/multiarch/strcat.S: New file.
41108 * sysdeps/x86_64/multiarch/strncat.S: New file.
41109 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41111 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41112 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41114 (USE_AS_STRCAT): Define.
41115 Add strcat and strncat support.
41116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41118 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41119 * string/strncat.c: Update.
41120 (USE_AS_STRNCAT): Define.
41121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41122 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41124 * sysdeps/x86_64/multiarch/init-arch.h
41125 (bit_Prefer_PMINUB_for_stringop): New.
41126 (index_Prefer_PMINUB_for_stringop): Likewise.
41127 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41128 bit_Prefer_PMINUB_for_stringop.
41130 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41132 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41134 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41135 of casting of buffer.
41136 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41137 buffer32 and buffer64.
41138 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41139 writes instead of casting of buffer.
41140 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41142 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41145 2011-07-19 Andreas Schwab <schwab@redhat.com>
41147 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41149 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41151 * nscd/nscd.c (termination_handler): Don't do anything for a database
41152 if it has not yet been initialized.
41154 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41156 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41158 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41160 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41162 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41164 * po/nl.po: Update from translation team.
41165 * po/sv.po: Likewise.
41167 2011-07-16 Roland McGrath <roland@hack.frob.com>
41169 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41170 now disallowed by GCC.
41172 * configure.in (use-default-link): Default to yes if a test -shared
41173 link meets our qualifications.
41174 * configure: Regenerated.
41176 * config.make.in (output-format): New variable.
41177 * configure.in: Check for ld --print-output-format support.
41178 * configure: Regenerated.
41179 * Makerules ($(common-objpfx)format.lds)
41180 [$(output-format) != unknown]: Just use $(output-format),
41181 instead of the linker-script munging.
41183 2011-07-14 Roland McGrath <roland@hack.frob.com>
41185 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41186 of $(common-objpfx)shlib.lds.
41187 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41189 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41190 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41192 * configure.in (-z relro check): Adjust test code to add a large
41193 writable data section after it.
41194 * configure: Regenerated.
41196 2011-07-11 Roland McGrath <roland@hack.frob.com>
41198 * configure.in (-z relro check): Fix test code to make the variable
41200 * configure: Regenerated.
41202 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41204 * nscd/nscd.h (struct traced_file): Define.
41205 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41206 elements. Add traced_files.
41207 (inotify_fd): Declare.
41208 (register_traced_file): Declare.
41209 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41210 (inotify_fd): Export.
41211 (resolv_conf_descr): Remove.
41212 (nscd_init): Move inotify descriptor creation to main.
41213 Don't register files for notification here.
41214 (register_traced_file): New function.
41215 (invalidate_cache): Don't use reset_res to determine whether to call
41216 res_init, go through the list of registered files.
41217 (main_loop_poll): The inotify descriptors are now stored in the
41218 structures for the traced files.
41219 (main_loop_epoll): Likewise
41220 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41221 to __nss_disable_nscd.
41222 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41223 for a database anymore. Check the records for all the registered
41225 * nss/Makefile (libnss_files-routines): Add files-init.
41226 (libnss_db-routines): Add db-init.
41227 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41228 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41229 * nss/nss_db/db-init.c: New file.
41230 * nss/nss_files/files-init.c: New file.
41231 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41232 __nss_lookup_function.
41233 (__nss_lookup_function): Call nss_load_library.
41234 (nss_load_all_libraries): New function.
41235 (__nss_disable_nscd): Take parameter with callback function for files
41236 to register. Set is_nscd. Load all the DSOs for the NSS modules
41237 used for the cached services.
41238 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41239 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41240 options for features to all the files in nscd.
41242 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41244 2011-07-10 Roland McGrath <roland@hack.frob.com>
41246 * csu/elf-init.c (__libc_csu_init): Comment typo.
41248 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41250 * po/pl.po: Update from translation team.
41251 * po/ja.po: Likewise.
41252 * po/ru.po: Likewise.
41253 * po/ko.po: Likewise.
41254 * po/fr.po: Likewise.
41256 2011-07-09 Roland McGrath <roland@hack.frob.com>
41258 * configure.in (.ctors/.dtors header and trailer check):
41259 Use an empirical test on a built program.
41260 * configure: Regenerated.
41262 * configure.in (-z relro check): Use an empirical test on a built DSO.
41263 Detect, but do not require, on ia64.
41264 * configure: Regenerated.
41266 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41267 Update tests that use readelf to use $READELF instead.
41268 * configure: Regenerated.
41270 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41272 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41273 if the result is not used.
41275 2011-07-05 Andreas Jaeger <aj@suse.de>
41278 * stdlib/tst-strtod.c: Add testcase.
41280 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41282 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41283 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41284 The latter has a higher limit. Take additional parameter to pass to
41286 (__pathconf): Pass file to __statfs_link_max.
41287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41289 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41293 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41297 (__statfs_filesize_max): Likewise.
41298 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41300 2011-07-05 Andreas Jaeger <aj@suse.de>
41302 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41304 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41306 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41308 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41311 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41313 * Makefile (strop-tests): Add strncat.
41314 * string/test-strncat.c: New file.
41316 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41318 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41320 2011-06-21 Andreas Jaeger <aj@suse.de>
41322 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41323 Copy rule from iconvdata/Makefile.
41325 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41328 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41329 but no long options are defined, just return 'W'.
41331 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41334 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41336 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41338 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41340 (innetgr): Likewise.
41342 2011-07-05 Roland McGrath <roland@hack.frob.com>
41344 * config.make.in (install_root): Default to $(DESTDIR).
41346 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41348 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41350 2011-07-02 Roland McGrath <roland@hack.frob.com>
41352 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41354 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41355 containing directory rather than embedding absolute directory names.
41357 * scripts/check-local-headers.sh: Rewritten using awk.
41358 Match by word, not by line. Print error messages for matches.
41359 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41361 * Makerules [shlib-lds-flags empty]:
41362 ($(common-objpfx)libc_pic.opts): New target.
41363 ($(common-objpfx)libc_pic.os.clean): New target.
41364 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41366 * config.make.in (OBJCOPY): New variable.
41367 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41368 * configure: Regenerated.
41370 * config.make.in (use-default-link): New variable.
41371 * configure.in (use_default_link): Grok --with-default-link to set it.
41372 * configure: Regenerated.
41373 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41374 (shlib-lds, shlib-lds-flags): Define to empty.
41376 * Makerules (shlib-lds): New variable.
41377 (shlib-lds-flags): New variable.
41378 (build-shlib, build-moduile, build-module-asneeded): Use it.
41379 ($(common-objpfx)libc.so): Use $(shlib-lds).
41380 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41381 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41383 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41384 DT_FLAGS/DT_FLAGS_1 with zero flags.
41386 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41387 linker script munging.
41389 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41391 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41393 * crypt/sha512.c (sha512_process_block): Perform total addition using
41394 128-bit if possible.
41395 (__sha512_finish_ctx): Likewise.
41396 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41398 * crypt/sha256.c (SWAP64): Define.
41399 (sha256_process_block): Perform total addition using 64-bit if
41401 (__sha256_finish_ctx): Likewise.
41403 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41405 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41407 * nscd/hstcache.c (cache_addhst): Likewise.
41408 * nscd/grpcache.c (cache_addgr): Likewise.
41409 * nscd/aicache.c (addhstaiX): Likewise
41410 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41412 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41414 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41415 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41416 * nscd/hstcache.c (cache_addhst): Likewise.
41417 * nscd/grpcache.c (cache_addgr): Likewise.
41418 * nscd/aicache.c (addhstaiX): Likewise
41420 2011-07-01 Andreas Schwab <schwab@redhat.com>
41422 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41423 domain only when needed.
41425 2011-06-30 Andreas Schwab <schwab@redhat.com>
41427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41428 is always restored.
41430 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41432 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41433 are re-adding the entry.
41434 * nscd/servicescache.c (cache_addserv): Likewise.
41436 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41438 * sysdeps/generic/dl-irel.h: fix protection against multiple
41440 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41442 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41445 * malloc/memusage.sh: Fix quoting in message.
41446 * debug/xtrace.sh: Likewise.
41448 * configure.in: Remove support for --experimental-malloc option, make
41450 * config.make.in: Likewise.
41451 * malloc/Makefile: Likewise.
41453 2011-06-27 Andreas Schwab <schwab@redhat.com>
41455 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41456 two-byte characters.
41458 2011-06-27 Roland McGrath <roland@hack.frob.com>
41460 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41461 AC_CACHE_CHECK invocation.
41462 * configure: Regenerated.
41464 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41466 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41469 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41470 bit from old_res_options.
41472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41474 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41475 value type for setfct.
41477 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41480 __gettimeofday instead of gettimeofday.
41482 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41484 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41486 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41488 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41493 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41496 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41497 strcpy-sse2-unaligned strncpy-sse2-unaligned
41498 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41499 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41500 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41501 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41502 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41503 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41505 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41506 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41507 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41508 (STRCPY): Support SSE2 and SSSE3 versions.
41510 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41513 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41514 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41515 kernels which artificially limit size of requests.
41517 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41520 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41521 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41522 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41523 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41524 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41525 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41526 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41529 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41530 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41531 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41532 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41533 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41535 Enable unaligned load optimization for Intel Core i3, i5 and i7
41537 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41539 (index_Fast_Unaligned_Load): Define.
41540 (HAS_FAST_UNALIGNED_LOAD): Define.
41542 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41544 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41546 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41550 until it is clear that the information is realy needed.
41551 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41553 2011-06-22 Andreas Schwab <schwab@redhat.com>
41555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41557 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41560 /sys/devices/system/cpu/online if it is usable.
41562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41563 reading the information from the /proc filesystem to once a second.
41565 2011-06-21 Andreas Jaeger <aj@suse.de>
41567 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41568 NULL after inclusion of kernel headers.
41570 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41572 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41573 calls to internal_setent.
41576 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41577 addresses using gethostbyname4_r ignore IPv4 addresses.
41579 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41580 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41582 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41584 2011-06-20 David S. Miller <davem@davemloft.net>
41586 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41588 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41590 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41591 (elf_irel): Use it.
41592 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41593 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41594 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41595 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41596 * sysdeps/x86_64/dl-irel.h: Likewise.
41598 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41599 * elf/dl-sym.c: Likewise.
41601 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41603 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41604 need to dereference resplen2.
41606 2011-06-14 Andreas Schwab <schwab@redhat.com>
41608 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41610 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41612 * Makeconfig: Define vardbdir and inst_vardbdir.
41613 * nss/Makefile: Add rules to install db-Makefile.
41615 * nss/nss_db/db-XXX.c: Cleanup.
41617 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41618 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41620 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41621 * nss/makedb.c: Implement -g option to specify that value strings
41622 are generated and should not be added to table iterated over for
41624 * nss/nss_db/db-initgroups.c: New file.
41626 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41629 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41630 (internal_getgrouplist): Adjust to name change.
41631 Update use_initgroups_entry if this is not the first call.
41632 * nss/databases.def: Add initgroups entry.
41634 * nss/makedb.c (compute_tables): Check result of multiple hash table
41635 sizes to minimize maximum chain length.
41637 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41639 * Versions.def: Add entry for libnss_db.
41640 * shlib-versions: Likewise.
41641 * nss/Makefile: Add rules to build libnss_db.
41642 * nss/Versions: Add libnss_db information. Organize libnss_files
41644 * nss/db-Makefile: Add gshadow support. Change rules for the new
41645 makedb progra. Some minor improvements to generate smaller files.
41646 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41648 * nss/makedb.c: ...here.
41649 Improve database format to be smaller and require less memory at
41651 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41653 * nss/nss_db/db-netgrp.c: Likewise.
41654 * nss/nss_db/db-open.c: Likewise.
41655 * nss/nss_files/flies-XXX.x: Adjust comments.
41656 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41657 * nss/nss_files/files-grp.c: Likewise.
41658 * nss/nss_files/files-hosts.c: Likewise.
41659 * nss/nss_files/files-network.c: Likewise.
41660 * nss/nss_files/files-proto.c: Likewise.
41661 * nss/nss_files/files-pwd.c: Likewise.
41662 * nss/nss_files/files-rpc.c: Likewise.
41663 * nss/nss_files/files-service.c: Likewise.
41664 * nss/nss_files/files-sgrp.c: Likewise.
41665 * nss/nss_files/files-spwd.c: Likewise.
41666 * nss/nss_db/db-alias.c: Removed.
41667 * nss/nss_db/dummy-db.h: Removed.
41669 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41671 * nss/makedb.c: Rewritten to not use database library.
41672 * nss/Makefile: Update to build new makedb program.
41674 2011-06-14 Andreas Jaeger <aj@suse.de>
41676 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41677 memset declaration.
41679 2011-06-10 Andreas Schwab <schwab@redhat.com>
41681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41684 2011-06-10 Roland McGrath <roland@hack.frob.com>
41686 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41687 * elf/Makefile ($(objpfx)ld.so): Likewise.
41689 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41690 Don't list ld.so twice in dependencies.
41692 * posix/bug-regex31.c: Include <stdlib.h>.
41694 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41696 * nis/nss_compat/compat-spwd.c
41697 (getspent_next_nss_netgr): Remove unused variable.
41698 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41700 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41701 nonmembers" output to use the right array.
41703 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41705 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41707 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41708 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41709 * catgets/gencat.c (read_input_file): Likewise.
41710 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41712 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41713 variable definition inside #if's controlling its use.
41715 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41717 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41719 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41721 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41724 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41726 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41727 * configure: Regenerated.
41729 * Makerules: Revert last change.
41730 * elf/Makefile: Likewise.
41732 2011-06-09 Roland McGrath <roland@hack.frob.com>
41734 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41735 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41736 (reloc-link): Likewise.
41738 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41740 * elf/Makefile: Add rules to build pldd.
41741 * elf/pldd.c: New file.
41742 * elf/pldd-xx.c: New file.
41744 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41746 * version.h: Update for 2.15 development version.
41748 2011-06-07 David S. Miller <davem@davemloft.net>
41750 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41753 elf_machine_lazy_rel): Likewise.
41754 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41756 elf_machine_lazy_rel): Likewise.
41757 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41758 dl_hwcap via passed in argument.
41759 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41762 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41764 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41766 2011-06-06 Roland McGrath <roland@hack.frob.com>
41769 * manual/fdl-1.1.texi: New file, verbatim from:
41770 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41771 * manual/lgpl-2.1.texi: New file, verbatim from:
41772 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41773 * manual/Makefile (licenses): New variable, list those new file names.
41775 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41777 * manual/fdl.texi: File removed.
41778 * manual/lesser.texi: File removed.
41779 * manual/libc.texinfo (Copying, Documentation License):
41780 Use new @include file names, put @appendix directive before @include.
41782 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41785 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41786 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41787 (mq_open): Add __NTH.
41789 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41792 Assume Intel Core i3/i5/i7 processor if AVX is available.
41794 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41799 2011-05-31 Andreas Schwab <schwab@redhat.com>
41801 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41802 memory. Use alloca_account. Fix memory leak when retrying.
41804 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41806 * version.h (RELEASE): Bump for 2.14 release.
41807 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41809 * config.make.in (RANLIB): Remove entry.
41811 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41813 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41814 (libc.pot): Work around missing support for .ksh extension in xgettext.
41817 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41818 if both request failed.
41819 (send_dg): In case of server errors clear resplen or *resplen2.
41822 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41823 when there are multiple maps.
41824 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41825 (_dl_fini): Remove test here.
41827 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41829 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41832 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41833 bit from old_res_options.
41834 (gaih_inet): Likewise.
41837 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41840 * resolv/res_init.c (res_setoptions): Make the code more compact.
41843 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41847 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41849 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41852 * malloc/malloc.h: Declare malloc hook variables as volatile.
41854 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41858 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41859 raise in the comment.
41860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41861 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41862 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41864 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41867 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41868 grow the buffers more if it already has to be sufficient.
41869 (build_wcs_upper_buffer): Likewise.
41870 * posix/regexec.c (check_matching): Likewise.
41871 (clean_state_log_if_needed): Likewise.
41872 (extend_buffers): Don't enlarge buffers beyond size of the input
41874 Patches mostly by Emil Wojak <emil@wojak.eu>.
41875 * posix/bug-regex32.c: New file.
41876 * posix/Makefile (tests): Add bug-regex32.
41878 * locale/findlocale.c (_nl_find_locale): Return right away if
41879 _nl_explode_name failed.
41880 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41884 * debug/xtrace.sh: Unify messages.
41885 * malloc/memusage.sh: Likewise.
41888 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41889 time symbol from vDSO. Substitute with vsyscall if not available.
41890 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41894 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41895 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41896 Add sendmmsg and internal_sendmmsg.
41897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41898 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41899 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41901 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41902 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41905 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41909 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41915 * iconvdata/Makefile (tests): Add bug-iconv9.
41916 * iconvdata/bug-iconv9.c: New file.
41918 2011-05-27 Andreas Schwab <schwab@redhat.com>
41921 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41923 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41926 (struct user_regs_struct): Change intcs field back to cs.
41928 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41930 * po/ja.po: Update from translation team.
41932 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41935 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41936 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41938 2011-05-20 Andreas Schwab <schwab@redhat.com>
41940 * stdlib/longlong.h: Update from GCC.
41942 2011-05-23 Andreas Schwab <schwab@redhat.com>
41944 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41946 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41947 Add parameter name.
41948 (__sysconf): Pass it down.
41950 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41953 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41955 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41956 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41957 add in in __libc_use_alloca calls. Adjust callers.
41958 (glob): Use malloc in some situations.
41960 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41961 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41964 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41966 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41967 and CLOCK_BOOTTIME_ALARM.
41970 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41973 * string/_strerror.c (__strerror_r): Print negative errors as signed
41977 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41978 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41979 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41981 * configure.in: Fix typo in redirection and correct removal of test
41982 files in two cases.
41985 * locale/setlocale.c (new_composite_name): Fix test to check for
41986 identical name of all categories.
41989 * libio/filedoalloc.c (local_isatty): New function.
41990 (_IO_file_doallocate): Use local_isatty.
41991 * stdio-common/perror.c (perror): In case a new stream is used
41992 forward the stream error.
41993 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41996 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42001 * include/alloca.h (extend_alloca_account): Define.
42004 * posix/regex.h: Fix comments with documentation of user-accessible
42005 fields after compilation and describe correct free'ing of pattern
42006 after re_compile_pattern.
42007 Patch by Reuben Thomas <rrt@sc3d.org>.
42009 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42011 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42012 and -mno-altivec to prevent the compiler from using Altivec and/or
42013 VSX instructions when the corresponding registers are not available.
42015 2011-05-19 Andreas Schwab <schwab@redhat.com>
42017 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42019 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42021 * libio/freopen.c (freopen): Use __dup2, not dup2.
42022 * libio/freopen64.c (freopen64): Likewise.
42024 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42027 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42028 * math/Makefile (tests): Add test-powl.
42029 (CFLAGS-test-powl.c): Define.
42030 * math/test-powl.c: New file.
42032 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42034 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42036 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42039 * iconvdata/gb18030.c: Update to GB18020-2005.
42041 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42043 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42044 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42045 Patch by Aharon Robbins <arnold@skeeve.com>.
42048 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42052 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42053 through underflows.
42056 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42057 point to strings before performing equality test for error_one_per_line
42061 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42065 (struct user_fpregs_struct): Avoid __uint*_t types.
42068 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42069 symbol info. Use it instead of calling _dl_addr locally.
42070 (lock_and_info): New function.
42071 (tr_freehook): Call lock_and_info and pass symbol info as additional
42072 parameter to tr_where.
42073 (tr_mallochook): Likewise.
42074 (tr_reallochook): Likewise.
42075 (tr_memalignhook): Likewise.
42077 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42078 used and couldn't be at all thread-safe.
42080 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42082 * libio/freopen.c (freopen): Don't close old file descriptor
42083 before the new one is opened. Instead dup the new file descriptor
42084 to the old one after the new stream is created.
42085 * libio/freopen64.c (freopen64): Likewise.
42086 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42087 * libio/fileops.c (_IO_new_file_close_it): Handle new
42088 _IO_FLAGS2_NOCLOSE flag.
42089 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42090 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42091 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42092 _IO_FLAGS2_NOCLOSE flag.
42093 * include/unistd.h: Add hidden_proto for dup3.
42094 Define __have_dup3.
42095 * io/dup3.c: Define hidden symbol.
42096 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42099 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42100 when an incomplete long option is used.
42101 * posix/tst-getopt_long1.c: New file.
42102 * posix/Makefile (tests): Add tst-getopt_long1.
42105 * scripts/config.guess: Update from autoconf-2.68.
42106 * scripts/config.sub: Likewise.
42109 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42111 (has_cpuclock): ...this. New function.
42112 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42113 macro here based on has_cpuclock code.
42116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42117 First byte (not low byte) is now always NUL.
42118 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42121 Use non-cancelable interfaces.
42124 * locale/iso-639.def: Add entry for Sorani.
42127 * include/stdlib.h: Move include protection to the right place.
42128 Define abort_msg_s. Declare __abort_msg with it.
42129 * stdlib/abort.c (__abort_msg): Adjust type.
42130 * assert/assert.c (__assert_fail_base): New function. Majority
42131 of code from __assert_fail. Allocate memory for __abort_msg with
42133 (__assert_fail): Now call __assert_fail_base.
42134 * assert/assert-perr.c: Remove bulk of implementation. Use
42135 __assert_fail_base.
42136 * include/assert.hL Declare __assert_fail_base.
42137 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42139 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42141 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42145 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42146 until all modules are registered in the DTV.
42147 * elf/Makefile: Add rules to build and run tst-tls19.
42148 * elf/tst-tls19.c: New file.
42149 * elf/tst-tls19mod1.c: New file.
42150 * elf/tst-tls19mod2.c: New file.
42151 * elf/tst-tls19mod3.c: New file.
42152 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42155 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42159 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42160 two-byte sequence errors.
42161 * iconvdata/Makefile (tests): Add bug-iconv8.
42162 * iconvdata/bug-iconv8.c: New file.
42165 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42168 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42171 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42172 (dummy_getcfa): New function.
42173 (init): Get _Unwind_GetCFA address, use dummy if not found.
42174 (backtrace_helper): In recursion check, also check whether CFA changes.
42175 (__backtrace): Completely initialize arg.
42177 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42178 storing incomplete byte sequence in state object. Avoid testing for
42179 guaranteed too small input if we know there is enough data available.
42181 2011-05-11 Andreas Schwab <schwab@redhat.com>
42183 * Makeconfig (+link-pie): Indent.
42184 * Rules (binaries-pie): Define if $(have-fpie) and
42186 (binaries-shared): Also filter out $(binaries-pie).
42187 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42188 * nscd/Makefile (others-pie): Add nscd.
42189 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42190 ($(objpfx)nscd): Remove command override.
42191 * login/Makefile (others-pie): Add pt_chown.
42192 ($(objpfx)pt_chown): Remove command override.
42193 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42194 remove command overrides.
42196 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42198 * libio/tst_putwc.c: Fix error messages.
42201 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42202 currently writing and seek to current position when not.
42203 * libio/Makefile (tests): Add bug-fclose1.
42204 * libio/bug-fclose1.c: New file.
42206 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42209 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42210 don't set DF_1_NODELETE here.
42211 (do_lookup_x): When entering new entry test for copy relocation
42212 and if necessary set DF_1_NODELETE flag.
42213 * elf/tst-unique4.cc: New file.
42214 * elf/tst-unique4.h: New file.
42215 * elf/tst-unique4lib.cc: New file.
42216 * elf/Makefile: Add rules to build and run tst-unique4.
42217 Patch by Piotr Bury <pbury@goahead.com>.
42219 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42225 * misc/mntent_r.c (addmntent): Flush the stream after the output
42228 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42229 (is_trusted_path_normalize): Skip initial colon. Append slash
42230 to empty buffer. Duplicate is_trusted_path code but allow
42231 constructed patch to be prefix.
42232 (is_dst): Allow $ORIGIN followed by /.
42233 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42234 Correct testing of result of is_trusted_path_normalize
42235 (decompose_rpath): Fix warning.
42237 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42240 * grp/initgroups.c (internal_getgrouplist): When we found the service
42241 list through the initgroups entry in nsswitch.conf do not always
42242 continue on a successful lookup. Don't always use the
42243 __nss_group_database value if it is set.
42244 * nss/nsswitch.conf (initgroups): Change action for successful db
42245 lookup to continue for compatibility.
42247 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42250 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42252 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42254 * iconvdata/tst-tables.sh: Likewise.
42255 * iconvdata/cp770.c: New file.
42256 * iconvdata/cp771.c: New file.
42257 * iconvdata/cp772.c: New file.
42258 * iconvdata/cp773.c: New file.
42259 * iconvdata/cp774.c: New file.
42260 * iconvdata/testdata/CP770: New file.
42261 * iconvdata/testdata/CP770..UTF8: New file.
42262 * iconvdata/testdata/CP771: New file.
42263 * iconvdata/testdata/CP771..UTF8: New file.
42264 * iconvdata/testdata/CP772: New file.
42265 * iconvdata/testdata/CP772..UTF8: New file.
42266 * iconvdata/testdata/CP773: New file.
42267 * iconvdata/testdata/CP773..UTF8: New file.
42268 * iconvdata/testdata/CP774: New file.
42269 * iconvdata/testdata/CP774..UTF8: New file.
42271 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42273 * iconvdata/gen-8bit-gap.sh: Likewise.
42274 * iconvdata/gen-8bit.sh: Likewise.
42276 * locale/iso-639.def: Add ary entry.
42279 * locale/C-translit.h.in: Add U20A1 transliteration.
42282 * locale/iso-639.def: Add wae entry.
42283 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42286 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42290 * locale/C-translit.h.in: Add entry for U20B9.
42291 Patch by pravin.d.s@gmail.com.
42293 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42296 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42297 ENAMETOOLONG use generic getcwd.
42298 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42299 in rtld. Use *stat64.
42300 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42301 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42302 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42303 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42304 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42305 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42306 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42307 __fstatat64 macros.
42308 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42309 * dirent/rewinddir.c: Add libc_hidden_def.
42310 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42311 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42313 * include/dirent.h (__alloc_dir): Add flags parameter.
42314 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42315 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42317 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42318 from fdopendir if O_CLOEXEC is already set.
42320 2011-03-15 Alan Modra <amodra@gmail.com>
42322 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42323 l_tls_firstbyte_offset non-zero. Save padding offset in
42324 l_tls_firstbyte_offset for later use.
42325 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42326 freeing static tls block.
42328 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42330 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42331 where #ifdef was intended. The intent is to prevent ARG_MAX from
42332 being defined by the kernel headers.
42334 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42337 * resolv/resolv.h: Define RES_NOTLDQUERY.
42338 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42339 no-tld-query and set RES_NOTLDQUERY.
42340 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42341 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42342 modern BIND to search name as TLD unless forbidden.
42344 2011-05-07 Petr Baudis <pasky@suse.cz>
42345 Ulrich Drepper <drepper@gmail.com>
42348 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42349 (is_trusted_path): ...to here.
42350 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42351 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42352 using is_trusted_path_normalize() in setuid scripts.
42354 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42356 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42357 __BEGIN/__END_DECLS.
42359 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42362 NSS_STATUS_NOTFOUND if no record was found.
42364 2011-05-05 Andreas Schwab <schwab@redhat.com>
42366 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42367 (headers-not-in-tirpc): Remove rpc/netdb.h
42368 * resolv/netdb.h: Revert last change.
42370 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42372 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42373 circular dependency between libgcc.a and libc.a.
42375 2011-05-05 Andreas Schwab <schwab@redhat.com>
42377 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42378 * nis/Makefile: Don't install rpcsvc/*.
42379 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42380 instead of <rpc/types.h>.
42381 (MAXHOSTNAMELEN): Define.
42383 2011-05-03 Andreas Schwab <schwab@redhat.com>
42385 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42387 2011-04-28 Maciej Babinski <mbabinski@google.com>
42390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42391 gethostbyname4_r when IPv6 results are possible.
42393 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42396 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42397 _PC_PIPE_BUF handling.
42399 2011-04-30 Bruno Haible <bruno@clisp.org>
42402 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42403 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42405 * inet/getnameinfo.c (getnameinfo): Likewise.
42407 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42409 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42410 to groups setting in database lookup.
42411 * nss/nsswitch.conf: Add initgroups entry.
42413 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42416 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42418 Patch by Eric Blake <eblake@redhat.com>.
42420 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42422 * sunrpc/Makefile (need-export-routines): Add svc_run.
42423 (routines): Remove svc_run.
42424 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42425 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42426 * sunrpc/svc_run.c (svc_run): Likewise.
42427 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42429 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42432 problem in reallocation in last patch.
42434 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42436 * sunrpc/Makefile: Move inclusion of Rules.
42438 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42440 * nss/nss_files/files-initgroups.c: New file.
42441 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42442 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42443 _nss_files_initgroups_dyn.
42445 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42447 * elf/elf.h (R_ARM_IRELATIVE): Define.
42449 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42451 * po/ru.po: Update from translation team.
42453 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42455 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42458 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42461 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42462 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42467 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42475 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42478 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42480 * stdlib/bug-getcontext.c: New file.
42481 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42483 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42485 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42486 instructions into .machine "z9-109".
42487 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42488 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42490 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42492 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42493 between environment variables and auxiliary vector.
42495 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42497 * Makefile: Add rules to build linkobj/libc.so.
42498 * include/libc-symbols.h: Define libc_hidden_nolink.
42499 * include/rpc/auth.h: Mark functions which are to be hidden.
42500 * include/rpc/auth_des.h: Likewise.
42501 * include/rpc/auth_unix.h: Likewise.
42502 * include/rpc/clnt.h: Likewise.
42503 * include/rpc/des_crypt.h: Likewise.
42504 * include/rpc/key_prot.h: Likewise.
42505 * include/rpc/pmap_clnt.h: Likewise.
42506 * include/rpc/pmap_prot.h: Likewise.
42507 * include/rpc/pmap_rmt.h: Likewise.
42508 * include/rpc/rpc_msg.h: Likewise.
42509 * include/rpc/svc.h: Likewise.
42510 * include/rpc/svc_auth.h: Likewise.
42511 * include/rpc/xdr.h: Likewise.
42512 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42513 * nss/Makefile: Likewise.
42514 * sunrpc/Makefile: Don't install headers. Build library with normal
42515 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42516 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42517 for the compat linking library. Remove use of INTDEF/INTUSE.
42518 * sunrpc/auth_none.c: Likewise.
42519 * sunrpc/auth_unix.c: Likewise.
42520 * sunrpc/authdes_prot.c: Likewise.
42521 * sunrpc/authuxprot.c: Likewise.
42522 * sunrpc/clnt_gen.c: Likewise.
42523 * sunrpc/clnt_perr.c: Likewise.
42524 * sunrpc/clnt_raw.c: Likewise.
42525 * sunrpc/clnt_simp.c: Likewise.
42526 * sunrpc/clnt_tcp.c: Likewise.
42527 * sunrpc/clnt_udp.c: Likewise.
42528 * sunrpc/clnt_unix.c: Likewise.
42529 * sunrpc/des_crypt.c: Likewise.
42530 * sunrpc/des_soft.c: Likewise.
42531 * sunrpc/get_myaddr.c: Likewise.
42532 * sunrpc/key_call.c: Likewise.
42533 * sunrpc/key_prot.c: Likewise.
42534 * sunrpc/netname.c: Likewise.
42535 * sunrpc/pm_getmaps.c: Likewise.
42536 * sunrpc/pm_getport.c: Likewise.
42537 * sunrpc/pmap_clnt.c: Likewise.
42538 * sunrpc/pmap_prot.c: Likewise.
42539 * sunrpc/pmap_prot2.c: Likewise.
42540 * sunrpc/pmap_rmt.c: Likewise.
42541 * sunrpc/publickey.c: Likewise.
42542 * sunrpc/rpc_cmsg.c: Likewise.
42543 * sunrpc/rpc_common.c: Likewise.
42544 * sunrpc/rpc_dtable.c: Likewise.
42545 * sunrpc/rpc_prot.c: Likewise.
42546 * sunrpc/rpc_thread.c: Likewise.
42547 * sunrpc/rtime.c: Likewise.
42548 * sunrpc/svc.c: Likewise.
42549 * sunrpc/svc_auth.c: Likewise.
42550 * sunrpc/svc_authux.c: Likewise.
42551 * sunrpc/svc_raw.c: Likewise.
42552 * sunrpc/svc_run.c: Likewise.
42553 * sunrpc/svc_simple.c: Likewise.
42554 * sunrpc/svc_tcp.c: Likewise.
42555 * sunrpc/svc_udp.c: Likewise.
42556 * sunrpc/svc_unix.c: Likewise.
42557 * sunrpc/svcauth_des.c: Likewise.
42558 * sunrpc/xcrypt.c: Likewise.
42559 * sunrpc/xdr.c: Likewise.
42560 * sunrpc/xdr_array.c: Likewise.
42561 * sunrpc/xdr_float.c: Likewise.
42562 * sunrpc/xdr_intXX_t.c: Likewise.
42563 * sunrpc/xdr_mem.c: Likewise.
42564 * sunrpc/xdr_rec.c: Likewise.
42565 * sunrpc/xdr_ref.c: Likewise.
42566 * sunrpc/xdr_sizeof.c: Likewise.
42567 * sunrpc/xdr_stdio.c: Likewise.
42569 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42572 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42573 * sysdeps/ia64/dl-tls.h: Likewise.
42574 * sysdeps/powerpc/dl-tls.h: Likewise.
42575 * sysdeps/s390/dl-tls.h: Likewise.
42576 * sysdeps/sh/dl-tls.h: Likewise.
42577 * sysdeps/sparc/dl-tls.h: Likewise.
42578 * sysdeps/x86_64/dl-tls.h: Likewise.
42579 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42581 2011-03-14 Andreas Schwab <schwab@redhat.com>
42583 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42584 rpath element also skip the following colon.
42585 (expand_dynamic_string_token): Add is_path parameter and pass
42586 down to DL_DST_REQUIRED and _dl_dst_substitute.
42587 (decompose_rpath): Call expand_dynamic_string_token with
42588 non-zero is_path. Ignore empty rpaths.
42589 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42592 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42597 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42600 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42601 Patch by Filipe David Manana <fdmanana@apache.org>.
42603 2011-04-07 Andreas Schwab <schwab@redhat.com>
42605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42606 Maintain aligned stack.
42607 (CHECK_RSP): Remove unused macro.
42609 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42611 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42614 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42616 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42618 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42620 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42623 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42624 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42625 * sysdeps/x86_64/memmove.c: New file.
42626 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42627 (memcpy): Renamed to ...
42628 (__new_memcpy): This.
42629 (memcpy): Provide GLIBC_2_14 memcpy.
42630 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42631 (memcpy): Provide GLIBC_2_2_5 memcpy.
42633 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42636 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42638 2011-03-30 Andreas Schwab <schwab@redhat.com>
42640 * misc/syncfs.c: New file.
42641 * misc/Makefile (routines): Add syncfs.
42642 * posix/unistd.h: Declare syncfs.
42643 * sysdeps/unix/syscalls.list: Add syncfs.
42645 2011-04-01 Andreas Schwab <schwab@redhat.com>
42647 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42654 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42657 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42661 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42667 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42668 sync_file_range.c with -fexceptions.
42669 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42670 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42671 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42672 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42673 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42674 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42676 sync_file_range as cancellation point
42677 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42678 now a wrapper around __call_sync_file_range with cancellation handling.
42679 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42680 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42681 function name to __call_sync_file_range.
42682 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42683 Add call_sync_file_range.
42685 2011-04-01 Andreas Schwab <schwab@redhat.com>
42687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42690 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42692 * iconv/iconv.h: Fix typo in comment.
42693 * io/fcntl.h: Likewise.
42694 * libio/stdio.h: Likewise.
42695 * posix/spawn.h: Likewise.
42696 * posix/unistd.h: Likewise.
42697 * stdlib/stdlib.h: Likewise.
42698 * time/time.h: Likewise.
42699 * wcsmbs/wchar.h: Likewise.
42701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42702 open_by_handle): Add.
42703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42704 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42705 Augment a few comments.
42706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42711 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42714 * io/fcntl.h (AT_EMPTY_PATH): Define.
42716 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42718 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42719 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42720 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42722 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42723 * Versions.def: Add GLIBC_2.14.
42724 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42727 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42729 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42731 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42733 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42736 * string/test-strncmp.c (do_page_test): New function.
42737 (check2): Likewise.
42738 (test_main): Call check2.
42739 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42741 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42745 Handle cache information in CPU leaf 4.
42746 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42748 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42751 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42752 character representation.
42753 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42755 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42757 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42758 END(__isnan) to END(__isnanf) to match function entry point/label
42759 EALIGN(__isnanf,...).
42761 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42763 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42765 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42768 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42769 copy from the symbol referenced in the relocation to initialize the
42771 Patch by Piotr Bury <pbury@goahead.com>.
42772 * elf/Makefile: Add rules to build and tst-unique3.
42773 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42774 * elf/tst-unique3.cc: New file.
42775 * elf/tst-unique3.h: New file.
42776 * elf/tst-unique3lib.cc: New file.
42777 * elf/tst-unique3lib2.cc: New file.
42779 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42781 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42783 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42784 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42787 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42789 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42790 to-be-loaded object along a path to loader is ld.so.
42792 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42793 Ulrich Drepper <drepper@gmail.com>
42795 * sysdeps/x86_64/memset.S: After aligning destination, code
42796 branches to different locations depending on the value of
42797 misalignment, when multiarch is enabled. Fix this.
42799 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42801 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42802 Set _x86_64_preferred_memory_instruction for AMD processsors.
42803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42804 Set bit_Prefer_SSE_for_memop for AMD processors.
42806 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42808 * libio/fmemopen.c (fmemopen): Optimize a bit.
42810 2011-03-03 Andreas Schwab <schwab@redhat.com>
42812 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42814 2011-03-03 Roland McGrath <roland@redhat.com>
42816 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42818 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42820 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42821 __bzero_ultra1 instead of __memset_ultra1.
42823 2011-02-23 Andreas Schwab <schwab@redhat.com>
42824 Ulrich Drepper <drepper@gmail.com>
42827 * include/link.h (struct link_map): Add l_orig_initfini.
42828 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42829 returning unsuccessfully.
42830 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42831 close of a file loaded at startup, restore the original l_initfini
42833 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42834 list, store the pointer.
42835 * elf/Makefile ($(objpfx)noload-mem): New rule.
42836 (noload-ENV): Define.
42837 (tests): Add $(objpfx)noload-mem.
42838 * elf/noload.c: Include <memcheck.h>.
42839 (main): Call mtrace. Close all opened handles.
42841 2011-02-17 Andreas Schwab <schwab@redhat.com>
42844 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42845 dependencies are missing.
42847 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42849 Fix __if_freereq crash: Unlike the generic version which uses free,
42851 * sysdeps/mach/hurd/ifreq.h: New file.
42853 2011-01-27 Petr Baudis <pasky@suse.cz>
42854 Ulrich Drepper <drepper@gmail.com>
42857 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42858 to extend_alloca().
42859 * stdio-common/bug23.c: New file.
42860 * stdio-common/Makefile (tests): Add bug23.
42862 2010-09-28 Andreas Schwab <schwab@redhat.com>
42863 Ulrich Drepper <drepper@gmail.com>
42866 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42867 before performing relro protection. At old place add assertion
42868 to make sure nothing changed.
42870 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42871 Glauber de Oliveira Costa <glommer@gmail.com>
42873 * elf/elf.h: Add new ARM TLS relocs.
42875 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42878 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42880 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42882 * sysdeps/wordsize-64/tst-writev.c: New file.
42884 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42886 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42887 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42888 insns in _dl_start to prevent a TOC reference before relocs are
42891 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42894 * Makeconfig: Remove RANLIB definition.
42895 * Makerules: Don't use RANLIB.
42896 * aclocal.m4: Remove ranlib test.
42897 * configure.in: No need to check for ranlib.
42898 * elf/rtld-Rules: Don't use RANLIB.
42900 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42902 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42904 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42905 inclusion protection macro.
42907 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42908 SIGRTMIN and SIGRTMAX and print information in that case only when
42909 SIGRTMIN is defined.
42911 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42913 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42914 arginfo fn returning -1.
42916 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42917 and thousands string is zero terminated.
42919 2011-02-03 Andreas Schwab <schwab@redhat.com>
42921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42922 sysdeps/unix/sysv/linux/bits/socket.h.
42924 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42926 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42927 (__CPU_COUNT): Remove old macros.
42928 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42929 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42930 (__CPU_ALLOC, __CPU_FREE): Add macros.
42931 (__sched_cpualloc, __sched_cpufree): Add declarations.
42933 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42935 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42936 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42937 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42938 (readdhstai): Return value of addhstaiX call.
42939 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42940 (addgrbyX): Return value returned by cache_addgr.
42941 (readdgrbyname): Return value returned by addgrbyX.
42942 (readdgrbygid): Likewise.
42943 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42944 (addpwbyX): Return value returned by cache_addpw.
42945 (readdpwbyname): Return value returned by addhstbyX.
42946 (readdpwbyuid): Likewise.
42947 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42948 (addservbyX): Return value returned by cache_addserv.
42949 (readdservbyname): Return value returned by addservbyX:
42950 (readdservbyport): Likewise.
42951 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42952 (addhstbyX): Return value returned by cache_addhst.
42953 (readdhstbyname): Return value returned by addhstbyX.
42954 (readdhstbyaddr): Likewise.
42955 (readdhstbynamev6): Likewise.
42956 (readdhstbyaddrv6): Likewise.
42957 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42958 (readdinitgroups): Return value returned by addinitgroupsX.
42959 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42960 (prune_cache): Keep track of timeout value of re-added entries.
42961 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42962 * nscd/nscd.h: Adjust prototypes of readd* functions.
42964 2011-02-04 Roland McGrath <roland@redhat.com>
42966 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42967 (nis_stats): Likewise.
42968 * nis/nis_modify.c (nis_modify): Likewise.
42969 * nis/nis_remove.c (nis_remove): Likewise.
42970 * nis/nis_add.c (nis_add): Likewise.
42972 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42974 * posix/fnmatch_loop.c: Add some consts.
42976 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42978 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42981 * config.make.in (config-cflags-novzeroupper): Define.
42982 * configure.in: Substitute libc_cv_cc_novzeroupper.
42983 * elf/Makefile (AVX-CFLAGS): Define.
42984 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42985 (CFLAGS-tst-auditmod4a.c): Likewise.
42986 (CFLAGS-tst-auditmod4b.c): Likewise.
42987 (CFLAGS-tst-auditmod6b.c): Likewise.
42988 (CFLAGS-tst-auditmod6c.c): Likewise.
42989 (CFLAGS-tst-auditmod7b.c): Likewise.
42990 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42992 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42994 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42995 function to the callback.
42996 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42998 2011-02-02 Andreas Schwab <schwab@redhat.com>
43000 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43003 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43006 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43008 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43010 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43013 * elf/Makefile: Add rules to build and run new test.
43014 * elf/tst-initorder.c: New file.
43015 * elf/tst-initorder.exp: New file.
43016 * elf/tst-initordera1.c: New file.
43017 * elf/tst-initordera2.c: New file.
43018 * elf/tst-initordera3.c: New file.
43019 * elf/tst-initordera4.c: New file.
43020 * elf/tst-initorderb1.c: New file.
43021 * elf/tst-initorderb2.c: New file.
43022 * elf/tst-order-a1.c: New file.
43023 * elf/tst-order-a2.c: New file.
43024 * elf/tst-order-a3.c: New file.
43025 * elf/tst-order-a4.c: New file.
43026 * elf/tst-order-b1.c: New file.
43027 * elf/tst-order-b2.c: New file.
43028 * elf/tst-order-main.c: New file.
43029 New test case by George Gensure <werkt0@gmail.com>.
43031 2010-10-01 Andreas Schwab <schwab@redhat.com>
43033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43034 decoding ACE if AI_CANONIDN.
43036 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43038 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43040 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43042 * version.h (RELEASE): Bump for 2.13 release.
43043 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43045 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43047 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43049 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43052 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43056 * posix/getconf.c: Update copyright year.
43057 * catgets/gencat.c: Likewise.
43058 * csu/version.c: Likewise.
43059 * debug/catchsegv.sh: Likewise.
43060 * debug/xtrace.sh: Likewise.
43061 * elf/ldconfig.c: Likewise.
43062 * elf/ldd.bash.in: Likewise.
43063 * elf/sprof.c (print_version): Likewise.
43064 * iconv/iconv_prog.c: Likewise.
43065 * iconv/iconvconfig.c: Likewise.
43066 * locale/programs/locale.c: Likewise.
43067 * locale/programs/localedef.c: Likewise.
43068 * malloc/memusage.sh: Likewise.
43069 * malloc/mtrace.pl: Likewise.
43070 * nscd/nscd.c (print_version): Likewise.
43071 * nss/getent.c: Likewise.
43073 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43074 PF_CAIF, and PF_ALG.
43075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43077 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43079 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43080 (modules-names): Use them.
43081 (ifunc-test-modules, ifunc-pie-tests): Define.
43082 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43083 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43084 (test-extras): Likewise.
43085 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43086 $(compile-command.c).
43087 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43088 (all-built-dso): Define.
43089 (check-textrel.out, check-execstack.out): Depend on it.
43091 * configure.in: Don't override --enable-multi-arch.
43093 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43096 * nscd/hstcache.c (tryagain): Define.
43097 (cache_addhst): Return tryagain not notfound for temporary errors.
43098 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43101 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43104 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43105 to make the syscall.
43106 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43109 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43110 and fall back to matching as normal character if the string ends before
43111 the matching ']' is found. This is what POSIX requires.
43112 * posix/testfnm.c: Adjust test result.
43113 * posix/globtest.sh: Adjust test result. Add new test.
43114 * posix/tst-fnmatch.input: Likewise.
43115 * posix/tst-fnmatch2.c: Add new test.
43117 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43119 * elf/Makefile (check-execstack): Revert last change. Depend on
43121 (check-execstack.h): New target.
43122 (generated): Add check-execstack.h.
43123 * elf/check-execstack.c: Include "check-execstack.h".
43124 (main): Revert last change.
43125 (handle_file): Return zero if GNU_STACK is absent and
43126 DEFAULT_STACK_PERMS doesn't include PF_X.
43128 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43130 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43131 in child fails because the descriptor is already closed.
43132 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43133 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43134 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43137 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43141 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43142 temporary buffer used to handle multi lookups locally.
43143 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43145 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43147 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43150 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43152 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43153 alignment for SSE2.
43155 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43158 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43159 characters. When rounding increased number of integer digits recompute
43161 * stdio-common/tst-grouping.c: New file.
43162 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43164 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43166 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43167 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43169 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43171 * bits/select.h: Likewise.
43173 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43175 * po/ja.po: Update from translation team.
43177 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43180 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43181 implementation just like for lxstat, fxstatat, et al.
43183 2010-12-27 Jim Meyering <meyering@redhat.com>
43186 * posix/regexec.c (build_trtable): Return failure indication upon
43187 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43189 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43192 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43193 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43194 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43195 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43198 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43201 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43202 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43204 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43206 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43207 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43208 script has SORT_BY_INIT_PRIORITY.
43209 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43210 NO_CTORS_DTORS_SECTIONS is defined.
43211 * elf/soinit.c: Likewise.
43212 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43213 NO_CTORS_DTORS_SECTIONS is defined.
43214 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43215 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43216 * sysdeps/sh/init-first.c: Likewise.
43217 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43219 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43221 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43222 always use the slow path.
43224 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43226 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43227 similar rule which adds the sysdep directories to the header search in
43228 order to pick up the correct platform stackinfo.h.
43229 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43230 perform test if it is, otherwise return successfully without testing.
43231 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43232 DEFAULT_STACK_PERMS define in stackinfo.h.
43233 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43234 defined in stackinfo.h.
43235 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43236 DEFAULT_STACK_PERMS defined in stackinfo.h.
43237 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43238 * sysdeps/ia64/stackinfo.h: Likewise.
43239 * sysdeps/s390/stackinfo.h: Likewise.
43240 * sysdeps/sh/stackinfo.h: Likewise.
43241 * sysdeps/sparc/stackinfo.h: Likewise.
43242 * sysdeps/x86_64/stackinfo.h: Likewise.
43243 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43244 PF_X for powerpc64. Retain PF_X for powerpc32.
43246 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43248 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43250 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43251 GETDENTS_64BIT_ALIGNED.
43253 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43255 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43257 2010-12-10 Andreas Schwab <schwab@redhat.com>
43259 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43262 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43263 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43265 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43266 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43268 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43271 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43274 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43276 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43278 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43280 * po/it.po: Update from translation team.
43282 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43287 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43289 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43291 2010-11-24 Andreas Schwab <schwab@redhat.com>
43293 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43295 (gaih_getanswer_slice): Likewise.
43297 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43301 2010-05-31 Petr Baudis <pasky@suse.cz>
43304 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43305 silently even in the chroot mode.
43307 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43309 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43310 last patch a bit. Pretty printing
43312 2010-05-31 Petr Baudis <pasky@suse.cz>
43315 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43316 initialization of skip_initgroups_dyn.
43318 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43323 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43325 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43327 2010-11-11 Andreas Schwab <schwab@redhat.com>
43329 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43330 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43331 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43332 ($(objpfx)tst-fnmatch-mem): New rule.
43333 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43334 * posix/tst-fnmatch.c (main): Call mtrace.
43336 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43339 Support Intel processor model 6 and model 0x2c.
43341 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43343 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43346 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43349 * string/test-strncasecmp.c (check_result): New function.
43350 (do_one_test): Use it.
43351 (check1): New function.
43352 (test_main): Use it.
43353 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43354 Support strcasecmp and strncasecmp.
43356 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43359 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43362 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43364 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43368 * sysdeps/x86_64/multiarch/bzero.S: New file.
43369 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43370 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43371 * sysdeps/x86_64/multiarch/memset.S: New file.
43372 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43374 Set bit_Prefer_SSE_for_memop for Intel processors.
43375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43377 (index_Prefer_SSE_for_memop): Define.
43378 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43380 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43382 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43383 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43385 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43388 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43389 (__x86_64_raw_data_cache_size_half): Likewise.
43390 (__x86_64_raw_shared_cache_size): Likewise.
43391 (__x86_64_raw_shared_cache_size_half): Likewise.
43393 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43394 (__x86_64_raw_data_cache_size_half): Likewise.
43395 (__x86_64_raw_shared_cache_size): Likewise.
43396 (__x86_64_raw_shared_cache_size_half): Likewise.
43397 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43398 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43399 and __x86_64_raw_shared_cache_size_half. Round
43400 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43401 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43402 to multiple of 256 bytes.
43404 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43407 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43408 of inacessible symlinks. Verify result of symlink before returning it.
43409 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43410 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43412 2010-10-28 Erich Ritz <erichritz@gmail.com>
43414 * math/math.h (isinf): Fix typo in comment.
43416 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43418 * po/da.po: Update from translation team.
43420 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43422 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43423 is added to the list.
43425 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43426 Ulrich Drepper <drepper@gmail.com>
43428 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43429 the global list here. Move code to...
43430 (_dl_add_to_namespace_list): ...here. New function.
43431 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43432 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43433 * elf/dl-load.c (lose): Don't remove the element from the list.
43434 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43435 (_dl_map_object): Likewise.
43437 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43440 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43441 into all bytes of SSE register.
43442 Patch by Richard Li <richardpku@gmail.com>.
43444 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43447 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43450 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43452 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43453 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43454 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43460 2010-10-22 Andreas Schwab <schwab@redhat.com>
43462 * include/dlfcn.h (__RTLD_SECURE): Define.
43463 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43464 mode & __RTLD_SECURE instead.
43465 (open_path): Rename preloaded parameter to secure.
43466 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43467 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43468 * elf/dl-deps.c (openaux): Likewise.
43469 * elf/rtld.c (struct map_args): Remove is_preloaded.
43470 (map_doit): Don't use it.
43471 (dl_main): Likewise.
43472 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43473 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43475 2010-09-09 Andreas Schwab <schwab@redhat.com>
43477 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43478 (sysd-rules-targets): Remove duplicates.
43479 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43480 rtld-%.$o dependency.
43482 2010-10-18 Andreas Schwab <schwab@redhat.com>
43484 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43485 _dl_map_object do it.
43487 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43489 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43490 fast fma builtins, define the macros in the C99 standard.
43491 (FP_FAST_FMAF): Likewise.
43492 (FP_FAST_FMAL): Likewise.
43493 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43495 * bits/mathdef.h: Update copyright year.
43496 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43498 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43500 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43501 builtins, define the macros in the C99 standard.
43502 (FP_FAST_FMAF): Likewise.
43503 (FP_FAST_FMAL): Likewise.
43504 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43506 (FP_FAST_FMAF): Likewise.
43508 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43511 * math/libm-test.inc (fma_test): Some new testcases.
43512 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43514 y and infinite z. Do multiplication by C already in long double.
43515 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43517 y and infinite z. Do bitwise or of inexact bit into u.d.
43518 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43519 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43520 * sysdeps/i386/fpu/s_fma.S: Removed.
43521 * sysdeps/i386/fpu/s_fmal.S: Removed.
43523 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43526 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43528 computation is not scheduled after fetestexcept. Fix value
43529 of minimum denormal long double.
43531 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43534 * math/libm-test.inc (fma_test): Add some more tests.
43535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43538 2010-10-15 Andreas Schwab <schwab@redhat.com>
43540 * scripts/data/localplt-s390-linux-gnu.data: New file.
43541 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43543 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43546 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43547 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43549 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43551 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43553 if one of x and y is very large and the other is subnormal.
43554 * sysdeps/s390/fpu/s_fmaf.c: New file.
43555 * sysdeps/s390/fpu/s_fma.c: New file.
43556 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43557 * sysdeps/powerpc/fpu/s_fma.S: New file.
43558 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43559 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43560 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43562 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43565 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43567 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43568 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43569 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43570 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43571 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43572 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43573 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43575 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43578 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43579 * posix/bug-regex31.input: Add test case.
43581 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43583 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43584 * posix/bug-regex31.input: New file.
43587 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43588 (parse_sub_exp): Fix last change, use postorder.
43590 * posix/bug-regex31.c: New file.
43591 * posix/Makefile: Add rules to build and run bug-regex31.
43593 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43596 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43599 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43600 to have entries in sys_siglist.
43603 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43606 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43609 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43610 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43611 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43612 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43613 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43614 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43615 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43616 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43617 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43618 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43619 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43620 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43621 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43622 * math/ftestexcept.c (fetestexcept): Likewise.
43623 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43624 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43625 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43626 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43627 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43628 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43629 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43631 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43634 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43637 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43639 * string/bug-strstr1.c: New file.
43640 * string/Makefile: Add rules to build and run bug-strstr1.
43642 2010-10-05 Eric Blake <eblake@redhat.com>
43645 * string/str-two-way.h (two_way_long_needle): Always clear memory
43646 when skipping input due to the shift table.
43648 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43651 * malloc/mcheck.c: Handle large requests.
43654 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43655 for strncmp and strncasecmp.
43656 * string/stratcliff.c: Add tests for strcmp and strncmp.
43657 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43659 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43661 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43664 2010-09-30 Andreas Jaeger <aj@suse.de>
43666 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43667 (CGROUP_SUPER_MAGIC): Define.
43668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43669 Handle btrfs and cgroup file systems.
43670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43673 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43675 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43676 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43678 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43681 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43682 trying to locate the ELF header.
43684 2010-09-27 Andreas Schwab <schwab@redhat.com>
43687 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43688 Mask out sign-bit copies when constructing f_fsid.
43690 2010-09-24 Petr Baudis <pasky@suse.cz>
43692 * debug/stack_chk_fail_local.c: Add missing licence exception.
43693 * debug/warning-nop.c: Likewise.
43695 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43697 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43698 implementing getdents64 using getdents syscall, set d_type if
43699 __ASSUME_GETDENTS32_D_TYPE.
43701 2010-09-16 Andreas Schwab <schwab@redhat.com>
43703 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43704 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43706 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43709 * posix/unistd.h: Undo change of feature selection for ftruncate from
43712 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43714 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43717 2010-09-20 Andreas Schwab <schwab@redhat.com>
43719 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43721 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43723 2010-09-14 Andreas Schwab <schwab@redhat.com>
43725 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43726 variables after CHECK_SP call.
43727 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43729 2010-09-13 Andreas Schwab <schwab@redhat.com>
43730 Ulrich Drepper <drepper@redhat.com>
43732 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43733 re-relocationg ld.so.
43734 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43735 _dl_init_paths call.
43736 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43739 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43741 * resolv/res_init.c (__res_vinit): Count the default server we added.
43743 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43744 Ulrich Drepper <drepper@redhat.com>
43747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43748 (____longjmp_chk): Use %ebx for saving value across system call.
43751 2010-09-06 Andreas Schwab <schwab@redhat.com>
43753 * manual/Makefile: Don't mix pattern rules with normal rules.
43755 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43757 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43759 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43760 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43761 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43762 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43766 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43769 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43770 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43772 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43774 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43775 * sysdeps/x86_64/addmul_1.S: Likewise.
43776 * sysdeps/x86_64/lshift.S: Likewise.
43777 * sysdeps/x86_64/mul_1.S: Likewise.
43778 * sysdeps/x86_64/rshift.S: Likewise.
43779 * sysdeps/x86_64/sub_n.S: Likewise.
43780 * sysdeps/x86_64/submul_1.S: Likewise.
43782 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43784 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43785 Define __sched_param instead of SCHED_* and sched_param when
43786 <bits/sched.h> is included with __need_schedparam defined.
43787 * bits/sched.h [__need_schedparam]
43788 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43789 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43790 (__defined_schedparam): Define to 1.
43791 (__sched_param): New structure, identical to sched_param.
43792 (__need_schedparam): Undefine.
43794 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43797 (epoll_create1): Declare.
43799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43801 2010-08-31 Andreas Schwab <schwab@redhat.com>
43804 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43805 shifting retval into place.
43807 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43809 * nis/rpcsvc/nis.h: Update copyright notice.
43810 * nis/rpcsvc/nis.x: Likewise.
43811 * nis/rpcsvc/nis_callback.h: Likewise.
43812 * nis/rpcsvc/nis_callback.x: Likewise.
43813 * nis/rpcsvc/nis_object.x: Likewise.
43814 * nis/rpcsvc/nis_tags.h: Likewise.
43815 * nis/rpcsvc/yp.h: Likewise.
43816 * nis/rpcsvc/yp.x: Likewise.
43817 * nis/rpcsvc/ypupd.h: Likewise.
43818 * nis/yp_xdr.c: Likewise.
43819 * nis/ypupdate_xdr.c: Likewise.
43821 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43822 mainly the body of pmap_getport. Add parameters to specify timeouts.
43823 (pmap_getport): Use __libc_rpc_getport.
43824 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43825 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43826 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43828 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43833 2010-08-27 Roland McGrath <roland@redhat.com>
43835 * sysdeps/i386/i686/multiarch/Makefile
43836 (CFLAGS-varshift.c): New variable.
43838 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43840 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43841 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43845 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43847 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43849 * sysdeps/x86_64/strlen.S: Unroll the loop.
43850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43851 strlen-sse2 strlen-sse2-bsf.
43852 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43853 __strlen_no_bsf if bit_Slow_BSF is set.
43854 (__strlen_sse42): Removed.
43855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43856 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43858 2010-08-25 Roland McGrath <roland@redhat.com>
43860 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43861 * sysdeps/x86_64/multiarch/varshift.c: New file.
43862 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43863 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43864 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43865 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43867 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43870 strlen-sse2 strlen-sse2-bsf.
43871 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43872 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43873 (__strlen_sse2): Removed.
43874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43877 bit_Slow_BSF for Atom.
43878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43879 (index_Slow_BSF): Define.
43880 (HAS_SLOW_BSF): Define.
43882 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43885 * resolv/res_init.c (__res_vinit): When no server address at all
43886 is given default to loopback.
43888 2010-08-24 Roland McGrath <roland@redhat.com>
43890 * configure.in: Remove config-name.h generation.
43891 * configure: Regenerated.
43892 * config-name.in: File removed.
43893 * scripts/config-uname.sh: New file.
43894 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43895 ($(objdir)config-name.h): New target.
43897 * sunrpc/rpc_parse.h: Avoid nested comment.
43899 2010-08-24 Richard Henderson <rth@redhat.com>
43900 Ulrich Drepper <drepper@redhat.com>
43901 H.J. Lu <hongjiu.lu@intel.com>
43903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43905 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43906 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43907 _mm_alignr_epi8 with _mm_loadu_si128.
43908 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43909 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43910 (__m128i_shift_right): Removed.
43911 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43912 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43913 * sysdeps/x86_64/multiarch/varshift.h: New file.
43914 * sysdeps/x86_64/multiarch/varshift.S: New file.
43916 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43918 * configure.in: Move assembler checks to before sysdep dir checking.
43920 2010-08-20 Petr Baudis <pasky@suse.cz>
43922 * LICENSES: Sync the sunrpc license.
43924 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43926 * sunrpc/auth_des.c: Update copyright notice once again.
43927 * sunrpc/auth_none.c: Likewise.
43928 * sunrpc/auth_unix.c: Likewise.
43929 * sunrpc/authdes_prot.c: Likewise.
43930 * sunrpc/authuxprot.c: Likewise.
43931 * sunrpc/bindrsvprt.c: Likewise.
43932 * sunrpc/clnt_gen.c: Likewise.
43933 * sunrpc/clnt_perr.c: Likewise.
43934 * sunrpc/clnt_raw.c: Likewise.
43935 * sunrpc/clnt_simp.c: Likewise.
43936 * sunrpc/clnt_tcp.c: Likewise.
43937 * sunrpc/clnt_udp.c: Likewise.
43938 * sunrpc/clnt_unix.c: Likewise.
43939 * sunrpc/des_crypt.c: Likewise.
43940 * sunrpc/des_soft.c: Likewise.
43941 * sunrpc/get_myaddr.c: Likewise.
43942 * sunrpc/getrpcport.c: Likewise.
43943 * sunrpc/key_call.c: Likewise.
43944 * sunrpc/key_prot.c: Likewise.
43945 * sunrpc/openchild.c: Likewise.
43946 * sunrpc/pm_getmaps.c: Likewise.
43947 * sunrpc/pm_getport.c: Likewise.
43948 * sunrpc/pmap_clnt.c: Likewise.
43949 * sunrpc/pmap_prot.c: Likewise.
43950 * sunrpc/pmap_prot2.c: Likewise.
43951 * sunrpc/pmap_rmt.c: Likewise.
43952 * sunrpc/rpc/auth.h: Likewise.
43953 * sunrpc/rpc/auth_unix.h: Likewise.
43954 * sunrpc/rpc/clnt.h: Likewise.
43955 * sunrpc/rpc/des_crypt.h: Likewise.
43956 * sunrpc/rpc/key_prot.h: Likewise.
43957 * sunrpc/rpc/netdb.h: Likewise.
43958 * sunrpc/rpc/pmap_clnt.h: Likewise.
43959 * sunrpc/rpc/pmap_prot.h: Likewise.
43960 * sunrpc/rpc/pmap_rmt.h: Likewise.
43961 * sunrpc/rpc/rpc.h: Likewise.
43962 * sunrpc/rpc/rpc_des.h: Likewise.
43963 * sunrpc/rpc/rpc_msg.h: Likewise.
43964 * sunrpc/rpc/svc.h: Likewise.
43965 * sunrpc/rpc/svc_auth.h: Likewise.
43966 * sunrpc/rpc/types.h: Likewise.
43967 * sunrpc/rpc/xdr.h: Likewise.
43968 * sunrpc/rpc_clntout.c: Likewise.
43969 * sunrpc/rpc_cmsg.c: Likewise.
43970 * sunrpc/rpc_common.c: Likewise.
43971 * sunrpc/rpc_cout.c: Likewise.
43972 * sunrpc/rpc_dtable.c: Likewise.
43973 * sunrpc/rpc_hout.c: Likewise.
43974 * sunrpc/rpc_main.c: Likewise.
43975 * sunrpc/rpc_parse.c: Likewise.
43976 * sunrpc/rpc_parse.h: Likewise.
43977 * sunrpc/rpc_prot.c: Likewise.
43978 * sunrpc/rpc_sample.c: Likewise.
43979 * sunrpc/rpc_scan.c: Likewise.
43980 * sunrpc/rpc_scan.h: Likewise.
43981 * sunrpc/rpc_svcout.c: Likewise.
43982 * sunrpc/rpc_tblout.c: Likewise.
43983 * sunrpc/rpc_util.c: Likewise.
43984 * sunrpc/rpc_util.h: Likewise.
43985 * sunrpc/rpcinfo.c: Likewise.
43986 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43987 * sunrpc/rpcsvc/key_prot.x: Likewise.
43988 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43989 * sunrpc/rpcsvc/mount.x: Likewise.
43990 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43991 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43992 * sunrpc/rpcsvc/rex.x: Likewise.
43993 * sunrpc/rpcsvc/rstat.x: Likewise.
43994 * sunrpc/rpcsvc/rusers.x: Likewise.
43995 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43996 * sunrpc/rpcsvc/spray.x: Likewise.
43997 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43998 * sunrpc/rtime.c: Likewise.
43999 * sunrpc/svc.c: Likewise.
44000 * sunrpc/svc_auth.c: Likewise.
44001 * sunrpc/svc_authux.c: Likewise.
44002 * sunrpc/svc_raw.c: Likewise.
44003 * sunrpc/svc_run.c: Likewise.
44004 * sunrpc/svc_simple.c: Likewise.
44005 * sunrpc/svc_tcp.c: Likewise.
44006 * sunrpc/svc_udp.c: Likewise.
44007 * sunrpc/svc_unix.c: Likewise.
44008 * sunrpc/svcauth_des.c: Likewise.
44009 * sunrpc/xcrypt.c: Likewise.
44010 * sunrpc/xdr.c: Likewise.
44011 * sunrpc/xdr_array.c: Likewise.
44012 * sunrpc/xdr_float.c: Likewise.
44013 * sunrpc/xdr_mem.c: Likewise.
44014 * sunrpc/xdr_rec.c: Likewise.
44015 * sunrpc/xdr_ref.c: Likewise.
44016 * sunrpc/xdr_sizeof.c: Likewise.
44017 * sunrpc/xdr_stdio.c: Likewise.
44019 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44022 2010-08-19 Andreas Schwab <schwab@redhat.com>
44024 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44026 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44028 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44029 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44030 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44031 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44032 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44033 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44034 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44035 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44037 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44038 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44039 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44040 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44041 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44043 2010-07-26 Anton Blanchard <anton@samba.org>
44045 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44046 * malloc/arena.c (heap_trim): Likewise.
44048 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44050 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44053 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44055 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44057 * sysdeps/i386/elf/Makefile: New file.
44059 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44061 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44062 from fanotify_init.
44063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44066 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44068 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44070 * sysdeps/multiarch/strcmp.S: Likewise.
44072 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44074 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44075 strncase_l-nonascii.
44076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44077 Add strncase_l-ssse3.
44078 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44079 * sysdeps/x86_64/strcmp.S: Likewise.
44080 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44081 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44082 * sysdeps/x86_64/strncase.S: New file.
44083 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44084 * sysdeps/x86_64/strncase_l.S: New file.
44085 * string/Makefile (strop-tests): Add strncasecmp.
44086 * string/test-strncasecmp.c: New file.
44088 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44091 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44092 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44094 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44096 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44098 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44100 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44104 2010-05-01 Alan Modra <amodra@gmail.com>
44106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44107 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44108 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44109 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44110 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44111 tidying. Don't tail-call __sigjmp_save for static lib.
44112 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44114 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44115 (CALL_MCOUNT): Add eh info, and nop after bl.
44116 (TAIL_CALL_SYSCALL_ERROR): New macro.
44117 (PSEUDO_RET): Use it.
44118 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44119 Correct save location of integer regs and cr.
44120 (_dl_profile_resolve): Correct cr save location. Delete nops
44121 after bl when SHARED. Reduce cfi size a little by better
44122 placement of cfi directives.
44123 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44124 make a stack frame. Instead use parm save area as a temp.
44125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44126 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44128 Don't make a stack frame for parent, use parm save area.
44129 Increase child stack frame to 112 bytes. Don't save unused reg,
44130 and adjust reg usage. Set up cfi on error recovery and
44131 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44133 (__makecontext): Add dummy nop after jump to exit.
44134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44135 Use correct parm save area and cr save, reduce stack frame.
44136 Correct cfi for possible PSEUDO_RET frame setup.
44137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44138 Branch to local label emitted by PSEUDO_RET rather than
44141 2010-08-12 Andreas Schwab <schwab@redhat.com>
44144 * locale/programs/locale.c (print_assignment): New function.
44145 (show_locale_vars): Use it.
44147 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44149 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44151 (struct statfs64): Likewise.
44152 (_STATFS_F_FLAGS): Define.
44153 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44155 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44156 (ST_VALID): Define locally.
44157 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44158 __statvfs_getflags, use the provided value.
44159 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44160 __ASSUME_STATFS_F_FLAGS.
44162 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44164 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44165 Add sys/fanotify.h.
44166 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44167 fanotify_mask for GLIBC_2.13.
44168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44169 fanotify_init and fanotify_mark.
44170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44171 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44173 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44175 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44176 prlimit64 for GLIBC_2.13.
44177 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44182 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44183 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44187 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44190 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44191 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44193 * nss/Makefile: Add rules to build and run tst-nss-test1.
44194 * shlib-versions: Add entry for libnss_test1.
44195 * nss/nss_test1.c: New file.
44196 * nss/tst-nss-test1.c: New file.
44198 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44199 (__nss_configure_lookup): Set appropriate entry in
44200 __nss_configure_lookup to true.
44201 * nss/nsswitch.h: Define enum with indeces of databases in
44202 databases and __nss_database_custom arrays. Declare
44203 __nss_database_custom.
44204 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44205 to avoid using nscd when custom rules are installed.
44206 * nss/getXXbyYY_r.c: Likewise.
44207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44209 * nss/nss_files/files-parse.c: Whitespace fixes.
44211 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44214 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44215 * posix/fnmatch_loop.c: Likewise.
44217 2010-07-17 Andi Kleen <ak@linux.intel.com>
44219 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44220 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44221 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44222 * Versions.def [GLIBC_2.13]: Add.
44224 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44227 Also fail if tpwd after pwuid call is NULL.
44229 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44231 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44232 when converting to ms.
44234 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44236 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44237 EOPNOTSUPP errors with ENOTTY.
44238 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44239 EOPNOTSUPP errors with ENOTTY.
44241 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44243 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44244 Add strcasecmp_l-ssse3.
44245 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44247 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44248 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44249 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44251 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44253 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44255 * string/Makefile (strop-tests): Add strcasecmp.
44256 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44257 strcasecmp_l-nonascii.
44258 (gen-as-const-headers): Add locale-defines.sym.
44259 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44260 * sysdeps/x86_64/strcasecmp.S: New file.
44261 * sysdeps/x86_64/strcasecmp_l.S: New file.
44262 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44263 * sysdeps/x86_64/locale-defines.sym: New file.
44264 * string/test-strcasecmp.c: New file.
44266 * string/test-strcasestr.c: Test both ends of the range of characters.
44267 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44269 2010-07-29 Roland McGrath <roland@redhat.com>
44272 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44274 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44276 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44279 2010-07-27 Andreas Schwab <schwab@redhat.com>
44281 * manual/memory.texi (Malloc Tunable Parameters): Document
44284 2010-07-26 Roland McGrath <roland@redhat.com>
44287 * configure.in (-fgnu89-inline check): Set and substitute
44288 gnu89_inline, not libc_cv_gnu89_inline.
44289 * configure: Regenerated.
44290 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44292 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44294 * string/test-strnlen.c: New file.
44295 * string/Makefile (strop-tests): Add strnlen.
44296 * string/tester.c (test_strnlen): Add a few more test cases.
44297 * string/tst-strlen.c: Better error reporting.
44299 * sysdeps/x86_64/strnlen.S: New file.
44301 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44304 lower-latency instructions.
44306 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44308 * string/test-strcasestr.c: New file.
44309 * string/test-strstr.c: New file.
44310 * string/Makefile (strop-tests): Add strstr and strcasestr.
44311 * string/str-two-way.h: Don't undefine MAX.
44312 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44314 2010-07-21 Andreas Schwab <schwab@redhat.com>
44316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44317 strcasestr-nonascii.
44318 (CFLAGS-strcasestr-nonascii.c): Define.
44319 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44321 Remove unused attribute.
44323 2010-07-20 Roland McGrath <roland@redhat.com>
44325 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44326 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44327 ld.so.cache was broken. With it, there is no way to disable dsocaps
44328 like LD_HWCAP_MASK can disable hwcaps.
44330 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44332 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44334 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44336 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44337 call in strcasestr.
44338 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44339 __strcasestr_sse42_nonascii.
44340 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44341 strcasestr-nonascii.c.
44342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44344 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44347 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44348 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44349 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44351 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44356 2010-07-06 Andreas Schwab <schwab@redhat.com>
44359 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44362 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44365 _PC_PIPE_BUF using F_GETPIPE_SZ.
44367 2010-07-05 Roland McGrath <roland@redhat.com>
44369 * manual/arith.texi (Rounding Functions): Fix rint description
44370 implicit in round description.
44372 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44374 * elf/Makefile: Fix linking for a few tests to make recent linker
44377 2010-06-30 Andreas Schwab <schwab@redhat.com>
44379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44380 $(common-objpfx)libc_nonshared.a.
44382 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44384 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44385 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44386 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44387 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44388 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44389 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44390 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44391 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44406 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44407 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44408 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44409 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44410 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44411 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44412 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44413 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44414 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44415 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44416 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44417 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44433 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44435 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44436 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44437 * string/memmove.c (memmove): Renamed to ...
44438 (MEMMOVE): ...this. Default to memmove.
44439 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44440 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44443 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44444 mempcpy-ssse3-back memmove-ssse3-back.
44445 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44448 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44449 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44450 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44451 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44452 * sysdeps/x86_64/multiarch/memmove.c: New file.
44453 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44454 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44455 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44456 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44460 (index_Fast_Copy_Backward): Define.
44461 (HAS_ARCH_FEATURE): Define.
44462 (HAS_FAST_REP_STRING): Define.
44463 (HAS_FAST_COPY_BACKWARD): Define.
44465 2010-06-21 Andreas Schwab <schwab@redhat.com>
44467 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44468 Restore proper fallback handling.
44470 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44473 * posix/group_member.c (__group_member): Correct checking loop.
44475 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44476 OOM in getpwuid_r correctly. Return error number when the caller
44477 should return, otherwise -1.
44478 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44479 call returning > 0 value.
44480 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44482 2010-06-07 Andreas Schwab <schwab@redhat.com>
44484 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44485 libc_nonshared.a from targets in modules-names.
44487 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44489 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44492 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44495 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44499 2010-06-02 Andreas Schwab <schwab@redhat.com>
44501 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44503 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44512 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44514 2010-06-14 Roland McGrath <roland@redhat.com>
44516 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44518 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44520 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44521 __REDIRECT followed by __THROW.
44522 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44523 * posix/getopt.h (getopt): Likewise.
44525 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44527 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44528 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44529 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44531 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44532 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44534 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44538 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44542 Properly check family and model.
44544 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44546 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44548 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44550 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44552 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44554 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44557 2010-05-19 Andreas Schwab <schwab@redhat.com>
44559 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44562 2010-05-21 Andreas Schwab <schwab@redhat.com>
44564 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44565 and internal_recvmmsg.
44566 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44567 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44568 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44569 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44571 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44575 2010-05-20 Andreas Schwab <schwab@redhat.com>
44577 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44579 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44581 POWER7 optimizations.
44582 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44583 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44585 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44587 * version.h: Update for 2.13 development version.
44589 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44592 exceptions. Return 0.
44594 2010-05-07 Roland McGrath <roland@redhat.com>
44596 * elf/ldconfig.c (main): Add a const.
44598 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44600 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44601 (args_options): Add no-idn option.
44602 (ahosts_keys_int): Add idn_flags to ai_flags.
44603 (parse_option): Handle 'i' option to clear idn_flags.
44605 * malloc/malloc.c (_int_free): Possible race in the most recently
44606 added check. Only act on the data if no current modification
44609 See ChangeLog.17 for earlier changes.