1 2014-05-17 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4 Protect with __USE_GNU.
5 (TIOCSET_TEMPT): Likewise.
6 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8 these are already provided in bits/ioctl-types.h
10 2014-05-16 Roland McGrath <roland@hack.frob.com>
12 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13 Use wait4 regardless of [__NR_waitpid].
15 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19 (_FP_NANSIGN_Q): Set the quiet bit.
21 2014-05-16 Joseph Myers <joseph@codesourcery.com>
24 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25 not $(common-objpfx)math/libm.so.
26 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29 $(common-objpfx)dlfcn/libdl.so.
30 ($(objpfx)tst-audit8): Depend on $(libm), not
31 $(common-objpfx)math/libm.so.
32 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33 not $(common-objpfx)dlfcn/libdl.so.
35 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
37 [$(build-shared) = yes].
38 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39 $(common-objpfx)nptl/libpthread.so.
40 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41 $(common-objpfx)math/libm.so$(libm.so-version) or
42 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44 $(common-objpfx)dlfcn/libdl.so.
45 * setjmp/Makefile (link-libm): Remove variable.
46 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47 * stdio-common/Makefile (link-libm): Remove variable.
48 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49 * stdlib/Makefile (link-libm): Remove variable.
50 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51 ($(objpfx)tst-strtod-round): Likewise.
52 ($(objpfx)tst-tininess): Likewise.
53 ($(objpfx)tst-strtod-underflow): Likewise.
54 ($(objpfx)tst-strtod6): Likewise.
55 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
56 $(libdl), not $(common-objpfx)nptl/libpthread.so and
57 $(common-objpfx)dlfcn/libdl.so.
59 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
62 BSD terminal modes definitions.
64 2014-05-16 Roland McGrath <roland@hack.frob.com>
66 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
67 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
69 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
70 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
71 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
72 Don't do #include_next.
73 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
74 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
75 Don't do #include_next.
76 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
77 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
78 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
79 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
81 2014-05-16 Allan McRae <allan@archlinux.org>
83 * po/sv.po: Update Swedish translation from translation project.
85 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
88 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
91 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
92 errno if the TIOCGPTN ioctl fails with an error different than
94 * login/tst-ptsname.c: New file.
95 * login/Makefile (tests): Add tst-ptsname.
98 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
101 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
105 herrno to return EAI_AGAIN.
107 2014-05-14 Roland McGrath <roland@hack.frob.com>
109 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
110 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
111 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
113 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
115 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
119 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
121 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
123 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
125 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
127 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
129 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
131 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
133 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
135 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
137 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
138 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
140 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
145 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
159 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
161 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
169 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
174 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
195 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
199 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
200 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
201 (libpthread-sysdep_routines): Add elision-related stuff here instead.
202 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
203 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
204 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
205 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
206 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
207 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
208 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
209 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
210 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
211 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
212 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
213 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
214 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
215 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
216 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
217 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
218 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
219 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
220 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
221 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
222 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
223 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
224 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
225 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
226 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
227 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
228 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
229 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
231 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
232 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
234 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
235 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
236 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
237 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
238 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
241 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
242 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
244 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
247 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
251 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
252 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
253 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
255 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
256 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
257 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
259 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
260 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
261 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
264 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
269 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
270 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
271 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
272 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
275 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
277 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
280 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
281 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
282 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
283 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
286 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
287 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
289 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
292 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
296 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
297 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
298 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
300 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
301 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
302 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
304 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
305 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
306 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
309 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
314 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
315 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
316 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
317 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
318 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
320 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
322 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
324 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
325 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
326 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
327 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
328 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
329 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
330 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
332 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
335 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
341 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
344 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
345 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
346 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
348 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
349 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
351 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
353 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
355 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
356 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
357 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
360 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
365 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
366 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
367 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
368 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
371 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
376 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
377 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
378 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
379 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
380 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
381 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
382 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
383 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
384 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
385 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
387 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
388 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
390 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
391 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
393 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
394 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
395 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
396 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
397 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
398 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
399 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
400 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
401 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
402 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
403 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
405 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
406 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
407 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
409 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
414 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
417 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
419 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
421 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
423 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
426 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
431 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
432 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
435 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
436 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
437 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
438 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
439 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
440 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
441 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
442 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
443 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
444 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
447 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
448 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
449 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
450 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
451 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
453 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
454 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
455 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
456 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
457 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
458 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
459 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
460 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
461 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
462 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
467 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
468 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
469 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
470 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
471 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
472 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
473 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
474 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
475 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
476 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
477 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
479 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
518 that was previously under [RESET_PID].
519 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
520 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
521 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
523 * sysdeps/i386/nptl/Implies: New file.
524 * sysdeps/x86_64/nptl/Implies: New file.
525 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
526 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
527 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
528 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
530 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
531 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
532 (__libc_vfork): New strong alias.
533 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
534 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
537 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
538 (__libc_vfork): New strong alias.
539 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
540 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
542 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
543 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
544 (__libc_vfork): New strong alias.
545 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
546 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
547 * nptl/pt-vfork.c: New file.
548 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
549 (libpthread: GLIBC_2.20): New version set (empty).
551 2014-05-14 Will Newton <will.newton@linaro.org>
553 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
556 2014-05-14 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
560 arguments with exponent 65 or above.
561 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
562 arguments 0x1p113L or above.
563 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
564 to arguments 0x1p107L or above.
565 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
566 positive arguments with exponent 65 or above.
567 * math/auto-libm-test-in: Add more tests of log1p.
568 * math/auto-libm-test-out: Regenerated.
571 * math/s_cacos.c (__cacos): Ensure zero real part of result from
572 non-finite arguments is +0.
573 * math/s_cacosf.c (__cacosf): Likewise.
574 * math/s_cacosl.c (__cacosl): Likewise.
575 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
576 * sysdeps/i386/fpu/libm-test-ulps: Update.
577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
582 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
583 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
584 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
585 for explicit high bit of mantissa when testing for argument equal
587 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
588 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
593 (__erf): Scale by 16 instead of 8 in potentially underflowing
594 case. Ensure exception if result actually underflows.
595 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
596 (__erff): Scale by 16 instead of 8 in potentially underflowing
597 case. Ensure exception if result actually underflows.
598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
599 (efx8): Remove variable.
600 (__erfl): Scale by 16 instead of 8 in potentially underflowing
601 case. Ensure exception if result actually underflows.
602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
603 (efx8): Remove variable.
604 (__erfl): Scale by 16 instead of 8 in potentially underflowing
605 case. Ensure exception if result actually underflows.
606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
607 (efx8): Remove variable.
608 (__erfl): Scale by 16 instead of 8 in potentially underflowing
609 case. Ensure exception if result actually underflows.
610 * math/auto-libm-test-in: Add more tests of erf.
611 * math/auto-libm-test-out: Regenerated.
613 2014-05-14 Andreas Schwab <schwab@suse.de>
615 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
616 Remove code conditionalized on USE___THREAD.
618 * config.h.in (HAVE_PT_CHOWN): Define as 0.
619 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
622 2014-05-14 Joseph Myers <joseph@codesourcery.com>
624 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
625 Define unconditionally.
626 (__ASSUME_O_CLOEXEC): Likewise.
627 (__ASSUME_SOCK_CLOEXEC): Likewise.
628 (__ASSUME_IN_NONBLOCK): Likewise.
629 (__ASSUME_PIPE2): Likewise.
630 (__ASSUME_EVENTFD2): Likewise.
631 (__ASSUME_SIGNALFD4): Likewise.
632 (__ASSUME_DUP3): Likewise.
633 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
634 (__ASSUME_DUP3): Do not define.
635 (__ASSUME_EVENTFD2): Likewise.
636 (__ASSUME_IN_NONBLOCK): Likewise.
637 (__ASSUME_O_CLOEXEC): Likewise.
638 (__ASSUME_PIPE2): Likewise.
639 (__ASSUME_SIGNALFD4): Likewise.
640 (__ASSUME_SOCK_CLOEXEC): Likewise.
641 (__ASSUME_UTIMES): Undefine.
642 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
643 (__ASSUME_UTIMES): Do not define.
644 (__ASSUME_O_CLOEXEC): Likewise.
645 (__ASSUME_SOCK_CLOEXEC): Likewise.
646 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
647 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
649 (__ASSUME_PIPE2): Likewise.
650 (__ASSUME_EVENTFD2): Likewise.
651 (__ASSUME_SIGNALFD4): Likewise.
652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
653 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
655 (__ASSUME_EVENTFD2): Likewise.
656 (__ASSUME_SIGNALFD4): Likewise.
657 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
658 (__ASSUME_32BITUIDS): Likewise.
659 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
660 (__ASSUME_IPC64): Likewise.
661 (__ASSUME_ST_INO_64_BIT): Likewise.
662 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
663 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
664 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
665 (__ASSUME_UTIMES): Do not define.
666 (__ASSUME_PSELECT): Likewise.
667 (__ASSUME_PPOLL): Likewise.
668 (__ASSUME_O_CLOEXEC): Likewise.
669 (__ASSUME_SOCK_CLOEXEC): Likewise.
670 (__ASSUME_IN_NONBLOCK): Likewise.
671 (__ASSUME_PIPE2): Likewise.
672 (__ASSUME_EVENTFD2): Likewise.
673 (__ASSUME_SIGNALFD4): Likewise.
674 (__ASSUME_DUP3): Likewise.
675 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
676 (__ASSUME_UTIMES): Likewise.
677 (__ASSUME_O_CLOEXEC): Likewise.
678 (__ASSUME_SOCK_CLOEXEC): Likewise.
679 (__ASSUME_IN_NONBLOCK): Likewise.
680 (__ASSUME_PIPE2): Likewise.
681 (__ASSUME_EVENTFD2): Likewise.
682 (__ASSUME_SIGNALFD4): Likewise.
683 (__ASSUME_DUP3): Likewise.
684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
685 (__ASSUME_UTIMES): Likewise.
686 (__ASSUME_O_CLOEXEC): Likewise.
687 (__ASSUME_SOCK_CLOEXEC): Likewise.
688 (__ASSUME_IN_NONBLOCK): Likewise.
689 (__ASSUME_PIPE2): Likewise.
690 (__ASSUME_EVENTFD2): Likewise.
691 (__ASSUME_SIGNALFD4): Likewise.
692 (__ASSUME_DUP3): Likewise.
693 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
695 (__ASSUME_UTIMES): Likewise.
696 (__ASSUME_EVENTFD2): Likewise.
697 (__ASSUME_SIGNALFD4): Likewise.
698 * sysdeps/unix/sysv/linux/tile/kernel-features.h
699 (__ASSUME_O_CLOEXEC): Likewise.
700 (__ASSUME_SOCK_CLOEXEC): Likewise.
701 (__ASSUME_IN_NONBLOCK): Likewise.
702 (__ASSUME_PIPE2): Likewise.
703 (__ASSUME_EVENTFD2): Likewise.
704 (__ASSUME_SIGNALFD4): Likewise.
705 (__ASSUME_DUP3): Likewise.
706 (__ASSUME_UTIMES): Undefine.
708 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
709 feclearexcept. Remove symbol versioning code.
710 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
711 symbol versioning code.
712 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
713 symbol versioning code.
714 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
715 feupdateenv. Remove symbol versioning code.
716 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
717 fegetexceptflag. Remove symbol versioning code.
718 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
719 fesetexceptflag. Remove symbol versioning code.
720 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
721 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
722 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
723 (__posix_fadvise64_l32): Remove prototype.
724 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
727 2014-05-13 Roland McGrath <roland@hack.frob.com>
729 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
730 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
731 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
732 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
734 2014-05-13 Sami Kerola <kerolasa@iki.fi>
736 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
737 current working directory
739 2014-05-13 Roland McGrath <roland@hack.frob.com>
741 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
742 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
743 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
744 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
745 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
746 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
747 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
749 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
751 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
753 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
755 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
757 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
759 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
761 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
762 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
763 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
765 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
767 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
769 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
771 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
773 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
774 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
775 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
776 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
777 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
778 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
779 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
780 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
781 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
782 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
784 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
785 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
787 * sysdeps/unix/sysv/linux/arm/Makefile
788 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
789 Add rt-aeabi_unwind_cpp_pr1.
790 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
791 Add nptl-aeabi_unwind_cpp_pr1.
792 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
793 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
794 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
795 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
796 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
797 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
799 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
800 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
801 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
802 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
804 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
805 Deconditionalize the code that was previously under [RESET_PID].
806 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
808 * sysdeps/generic/exit-thread.h: New file.
809 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
810 * include/unistd.h (__exit_thread): Remove declaration.
811 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
812 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
813 * csu/libc-start.c: Include <exit-thread.h>.
814 (LIBC_START_MAIN): Pass no argument to __exit_thread.
815 * nptl/pthread_create.c: Include <exit-thread.h>.
816 (start_thread): Call __exit_thread in place of __exit_thread_inline.
817 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
818 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
819 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
820 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
821 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
822 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
823 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
824 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
825 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
826 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
827 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
828 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
829 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
830 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
831 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
832 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
834 2014-05-13 Andreas Schwab <schwab@suse.de>
836 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
838 2014-05-12 Joseph Myers <joseph@codesourcery.com>
840 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
841 (__ASSUME_UTIMES): Do not condition on kernel version.
842 (__ASSUME_PSELECT): Define unconditionally.
843 (__ASSUME_PPOLL): Likewise.
844 (__ASSUME_ATFCTS): Likewise.
845 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
846 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
847 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
848 (__ASSUME_UTIMENSAT): Define unconditionally.
849 (__ASSUME_PRIVATE_FUTEX): Likewise.
850 (__ASSUME_FALLOCATE): Likewise.
851 (__ASSUME_O_CLOEXEC): Likewise.
852 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
853 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
854 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
855 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
856 (__ASSUME_IN_NONBLOCK): Likewise.
857 (__ASSUME_PIPE2): Likewise.
858 (__ASSUME_EVENTFD2): Likewise.
859 (__ASSUME_SIGNALFD4): Likewise.
860 (__ASSUME_DUP3): Likewise.
861 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
862 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
863 (__ASSUME_AT_RANDOM): Likewise.
864 (__ASSUME_PREADV): Likewise.
865 (__ASSUME_PWRITEV): Likewise.
866 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
867 (__ASSUME_F_GETOWN_EX): Define unconditionally.
868 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
869 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
870 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
871 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
872 (__ASSUME_O_CLOEXEC): Define unconditionally.
873 (__ASSUME_PSELECT): Do not undefine conditionally.
874 (__ASSUME_PPOLL): Likewise.
875 (__ASSUME_ATFCTS): Likewise.
876 (__ASSUME_SET_ROBUST_LIST): Likewise.
877 (__ASSUME_UTIMENSAT): Likewise.
878 (__ASSUME_FDATASYNC): Define unconditionally.
879 * sysdeps/unix/sysv/linux/arm/kernel-features.h
880 (__ASSUME_SIGFRAME_V2): Likewise.
881 )__ASSUME_EVENTFD2): Likewise.
882 (__ASSUME_SIGNALFD4): Likewise.
883 (__ASSUME_PSELECT): Do not undefine conditionally.
884 (__ASSUME_PPOLL): Likewise.
885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
886 (__ASSUME_PSELECT): Define unconditionally.
887 (__ASSUME_PPOLL): Likewise.
888 (__ASSUME_O_CLOEXEC): Likewise.
889 (__ASSUME_SOCK_CLOEXEC): Likewise.
890 (__ASSUME_IN_NONBLOCK): Likewise.
891 (__ASSUME_PIPE2): Likewise.
892 (__ASSUME_EVENTFD2): Likewise.
893 (__ASSUME_SIGNALFD4): Likewise.
894 (__ASSUME_DUP3): Likewise.
895 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
896 (__ASSUME_O_CLOEXEC): Likewise.
897 (__ASSUME_SOCK_CLOEXEC): Likewise.
898 (__ASSUME_IN_NONBLOCK): Likewise.
899 (__ASSUME_PIPE2): Likewise.
900 (__ASSUME_EVENTFD2): Likewise.
901 (__ASSUME_SIGNALFD4): Likewise.
902 (__ASSUME_DUP3): Likewise.
903 * sysdeps/unix/sysv/linux/mips/kernel-features.h
904 (__ASSUME_EVENTFD2): Likewise.
905 (__ASSUME_SIGNALFD4): Likewise.
906 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
908 2014-05-12 Andreas Schwab <schwab@suse.de>
911 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
912 (_nss_nis_gethostbyname4_r): Return error if item length is larger
913 than maximum RPC packet size.
914 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
915 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
916 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
917 (_nss_nis_getservbyport_r): Likewise.
919 2014-05-12 Will Newton <will.newton@linaro.org>
921 * malloc/Makefile (tests): Add tst-mallopt.
922 * malloc/tst-mallopt.c: New file.
924 2014-05-09 Roland McGrath <roland@hack.frob.com>
926 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
927 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
929 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
932 (tst-tlsmod6.so): Likewise.
934 2014-05-09 Roland McGrath <roland@hack.frob.com>
936 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
938 2014-05-09 Joseph Myers <joseph@codesourcery.com>
941 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
943 (__fegetenv): Save SSE state in envp->__eip if supported.
944 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
945 envp->__eip if supported.
946 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
948 (__fesetenv): Always set __eip, __cs_selector, __opcode,
949 __data_offset and __data_selector in environment to 0. Set SSE
951 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
953 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
955 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
957 2014-05-09 Will Newton <will.newton@linaro.org>
959 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
960 and libc_relro_required for ARM.
961 * sysdeps/arm/preconfigure: Regenerate.
963 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
964 Stefan Liebler <stli@linux.vnet.ibm.com>
966 * config.make.in (enable-lock-elision): New Makefile variable.
967 * configure.ac: Likewise.
968 * configure: Regenerate.
969 * sysdeps/s390/configure.ac:
970 Add check for gcc transactions support.
971 * sysdeps/s390/configure: Regenerate.
972 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
973 Build elision files if enabled.
974 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
975 Add lock elision support for s390.
976 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
977 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
978 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
979 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
980 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
981 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
982 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
984 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
986 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
990 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
991 (__lll_timedlock_elision, __lll_lock_elision)
992 (__lll_unlock_elision, __lll_trylock_elision)
993 (lll_timedlock_elision, lll_lock_elision)
994 (lll_unlock_elision, lll_trylock_elision): Add.
995 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
996 (pthread_mutex_t): Add lock elision support for s390.
998 2014-05-14 Wilco <wdijkstr@arm.com>
1000 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
1001 * sysdeps/arm/fedisblxcpt.c: Likewise.
1002 * sysdeps/arm/feenablxcpt.c: Likewise.
1003 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
1004 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
1005 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1006 Call optimized (libc_fesetenv_vfp).
1007 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
1008 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1009 Call optimized (libc_feupdateenv_vfp).
1010 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
1011 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
1013 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
1014 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
1016 2014-05-14 Wilco <wdijkstr@arm.com>
1018 * sysdeps/arm/fclrexcpt.c: Cleanup.
1019 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1020 * sysdeps/arm/feenablxcpt.c: Cleanup.
1021 * sysdeps/arm/fegetenv.c: Cleanup.
1022 * sysdeps/arm/fegetexcept.c: Cleanup.
1023 * sysdeps/arm/fegetround.c: Cleanup.
1024 * sysdeps/arm/feholdexcpt.c: Cleanup.
1025 * sysdeps/arm/fesetenv.c: Cleanup.
1026 * sysdeps/arm/fesetround.c: Cleanup.
1027 * sysdeps/arm/feupdateenv.c: Cleanup.
1028 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1029 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1030 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1031 * sysdeps/arm/ftestexcept.c: Cleanup.
1032 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1033 * sysdeps/arm/setfpucw.c: Cleanup.
1035 2014-05-09 Will Newton <will.newton@linaro.org>
1037 * sysdeps/arm/armv7/strcmp.S: New file.
1038 * NEWS: Mention addition of ARMv7 optimized strcmp.
1040 2014-05-08 Roland McGrath <roland@hack.frob.com>
1042 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1043 look for %.ac rather than %.in.
1045 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1046 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1047 * sysdeps/mach/hurd/configure: Regenerated.
1048 * sysdeps/unix/sysv/linux/configure: Regenerated.
1050 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1052 2014-05-07 Steve Ellcey <sellcey@mips.com>
1055 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1059 2014-05-07 Andreas Schwab <schwab@suse.de>
1061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1062 when skipping over non-matching result from nscd.
1064 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1067 * nptl/sockperf.c (client): Check socket return value.
1070 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1071 nscd security class.
1073 2014-05-06 Roland McGrath <roland@hack.frob.com>
1075 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1076 * sysdeps/arm/unwind.h: ... here.
1078 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1081 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1084 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1086 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1087 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1088 multiarch strncpy for PPC64.
1089 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1090 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1092 multiarch optimizations.
1093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1094 (__libc_ifunc_impl_list): Likewise.
1095 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1096 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1097 multiarch stpncpy for PPC64.
1098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1099 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1101 2014-05-06 Andreas Schwab <schwab@suse.de>
1104 * gmon/mcount.c (_MCOUNT_DECL): Use
1105 atomic_compare_and_exchange_bool_acq instead of
1106 catomic_compare_and_exchange_bool_acq.
1108 2014-05-05 Roland McGrath <roland@hack.frob.com>
1110 * elf/Makefile (others, install-bin): Remove pldd.
1111 (pldd-modules): Variable removed.
1112 ($(objpfx)pldd): Target removed.
1113 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1114 (others, install-bin): Append pldd here.
1115 ($(objpfx)pldd): New target.
1117 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1118 to 0, so the first #if test emitted later doesn't see it undefined.
1119 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1120 * sysdeps/gnu/errlist.c: Regenerated.
1122 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1125 [libc_hidden_builtin_def]: Define to empty value.
1126 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1127 [libc_hidden_builtin_def]: Likewise.
1128 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1129 [libc_hidden_builtin_def]: Likewise.
1130 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1131 [libc_hidden_builtin_def]: Likewise.
1132 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1133 __redirect_memcpy and define ifunc as default hidden symbol.
1134 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1135 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1137 2014-05-04 Adam Conrad <adconrad@0c3.net>
1139 * locale/iso-4217.def: Reintroduce XDR currency.
1141 2014-05-04 Allan McRae <allan@archlinux.org>
1143 * po/eo.po: Update Esperanto translation from translation project.
1145 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1147 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1148 and FEATURE_INDEX_MAX to 1.
1149 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1151 2014-05-01 Steve Ellcey <sellcey@mips.com>
1153 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1154 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1155 * iconvdata/big5.c (ONE_DIRECTION): Define.
1156 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1157 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1158 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1159 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1160 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1161 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1162 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1163 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1164 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1165 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1166 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1167 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1168 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1169 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1170 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1171 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1172 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1173 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1174 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1175 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1176 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1177 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1178 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1179 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1180 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1181 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1182 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1183 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1184 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1185 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1186 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1187 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1188 * iconvdata/johab.c (ONE_DIRECTION): Define.
1189 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1190 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1191 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1192 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1193 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1194 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1195 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1196 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1197 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1198 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1200 2014-05-01 Roland McGrath <roland@hack.frob.com>
1202 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1203 (_IO_JUMPS_OFFSET): Define to 0.
1205 * nptl/sysdeps/pthread/bits/libc-lock.h
1206 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1207 (__libc_lock_define_initialized_recursive): Always define using
1208 initializer. Modern compilers treat uninitialized (implicit zero) and
1209 explicit zero initializers the same (i.e. put the datum in bss).
1211 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1213 * nscd/nscd-client.h: Include <string.h>.
1215 2014-05-01 David S. Miller <davem@davemloft.net>
1218 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1219 multiple zero bytes exist at the end of a string.
1220 Reported by Aurelien Jarno <aurelien@aurel32.net>
1222 * string/test-strcmp.c (check): Add explicit test for situations where
1223 there are multiple zero bytes after the first.
1225 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1228 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1229 when compiling wprintf.
1230 * stdio-common/tstdiomisc.c (t3): New function.
1233 2014-05-01 Steve Ellcey <sellcey@mips.com>
1235 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1236 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1237 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1238 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1240 2014-05-01 Steve Ellcey <sellcey@mips.com>
1242 * stdlib/longlong.h: Updated from GCC.
1244 2014-05-01 Will Newton <will.newton@linaro.org>
1245 Bernard Ogden <bernie.ogden@linaro.org>
1247 * NEWS: Update fixed bug list.
1250 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1252 2014-04-30 David S. Miller <davem@davemloft.net>
1254 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1255 (libc_feholdexcept_setround_sparc_ctx): New function.
1256 (libc_fesetenv_sparc_ctx): Likewise.
1257 (libc_feupdateenv_sparc_ctx): Likewise.
1258 (libc_feholdsetround_sparc_ctx): Likewise.
1259 (libc_feholdexcept_setround_ctx): Define.
1260 (libc_feholdexcept_setroundf_ctx): Likewise.
1261 (libc_feholdexcept_setroundl_ctx): Likewise.
1262 (libc_fesetenv_ctx): Likewise.
1263 (libc_fesetenvf_ctx): Likewise.
1264 (libc_fesetenvl_ctx): Likewise.
1265 (libc_feupdateenv_ctx): Likewise.
1266 (libc_feupdateenvf_ctx): Likewise.
1267 (libc_feupdateenvl_ctx): Likewise.
1268 (libc_feresetround_ctx): Likewise.
1269 (libc_feresetroundf_ctx): Likewise.
1270 (libc_feresetroundl_ctx): Likewise.
1271 (libc_feholdsetround_ctx): Likewise.
1272 (libc_feholdsetroundf_ctx): Likewise.
1273 (libc_feholdsetroundl_ctx): Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1276 with __USE_GNU instead of XOPEN cpp guards.
1278 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1282 with XOPEN cpp guards.
1284 2014-04-30 Julian Brown <julian@codesourcery.com>
1287 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1290 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1293 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1295 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1296 * sysdeps/unix/sysv/linux/configure: Regenerated.
1297 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1298 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1299 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1300 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1301 * README: Update reference to required Linux kernel version.
1302 * manual/install.texi (Linux): Update reference to required Linux
1303 kernel headers version.
1304 * INSTALL: Regenerated.
1306 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1308 [POSIX] (limits.h): Likewise.
1309 [POSIX] (math.h): Likewise.
1310 [POSIX] (sys/wait.h): Likewise.
1311 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1313 [POSIX] (stddef.h): Do not allow header inclusion.
1315 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1317 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1319 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1321 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1322 Return immediately after lll_futex_wake.
1324 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1327 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1329 (datahead_init_pos): Call datahead_init_common early.
1330 (datahead_init_neg): Likewise.
1332 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1333 datahead_init_neg): New functions.
1334 * nscd/aicache.c (addhstaiX): Use them.
1335 * nscd/grpcache.c (cache_addgr): Likewise.
1336 * nscd/hstcache.c (cache_addhst): Likewise.
1337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1338 * nscd/netgroupcache.c (do_notfound): Likewise.
1339 (addgetnetgrentX): Likewise.
1340 (addinnetgrX): Likewise.
1341 * nscd/pwdcache.c (cache_addpw): Likewise.
1342 * nscd/servicescache.c (cache_addserv): Likewise.
1344 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 Atsushi Onoe <atsushi@onoe.org>
1350 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1351 one response is valid.
1352 * resolv/res_send.c (send_dg): Check for validity of other
1353 response if the current response is a referral.
1355 2014-04-29 Steve Ellcey <sellcey@mips.com>
1357 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1359 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1362 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1363 Always divide by positive zero when computing -Inf result.
1364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1365 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1367 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1369 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1370 FPSCR if value do not change.
1371 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1372 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1373 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1374 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1375 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1376 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1379 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1381 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1382 * sysdeps/unix/sysv/linux/hppa: Move directory from
1383 ports/systeps/unix/sysv/linux/hppa.
1384 * README: Update listing for hppa-*-linux-gnu.
1386 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1389 * manual/stdio.texi (Hook functions): Fix types of stream hook
1392 * socket/sys/socket.h: Fix typo in comment.
1394 2014-04-28 Wilco <wdijkstr@arm.com>
1396 * sysdeps/arm/fenv_private.h: New file.
1397 * sysdeps/arm/math_private.h: New file.
1398 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1400 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1402 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1404 (La_x86_64_retval): Likewise.
1406 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1408 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1409 fpsr if value didn't change.
1410 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1411 to fpcr if value didn't change.
1412 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1414 fpsr or fpcr if value didn't change.
1415 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1416 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1417 fpcr if value didn't change.
1418 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1419 to fpsr if value didn't change.
1421 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1423 * nptl/tst-sem3.c: Use test-skeleton.c
1424 (main): Rename to do_test. Use return instead of
1426 * nptl/tst-sem4.c: Use test-skeleton.c
1427 (main): Rename to do_test.
1429 2014-04-22 David S. Miller <davem@davemloft.net>
1431 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1432 (struct sigaction): New struct member __glibc_reserved0, change
1433 type of sa_flags to int.
1435 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1437 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1438 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1440 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1442 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1443 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1445 2014-04-22 Will Newton <will.newton@linaro.org>
1446 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1448 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1449 (__longjmp): Add longjmp and longjmp_target SystemTap
1451 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1452 (__sigsetjmp): Add setjmp SystemTap probe.
1454 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1456 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1459 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1463 * sysdeps/powerpc/fpu/fenv_private.h
1464 (libc_feholdexcept_setroundl_ctx): Define to
1465 libc_feholdexcept_setround_ppc_ctx.
1466 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1467 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1468 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1469 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1471 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1473 * sysdeps/aarch64/math-tests.h: New file.
1475 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1477 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1480 Check and set bit_AVX2_Usable.
1481 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1483 (bit_AVX2): Likewise.
1484 (index_AVX2_Usable): Likewise.
1485 (CPUID_AVX2): Likewise.
1486 (HAS_AVX2): Likewise.
1488 2014-04-17 Will Newton <will.newton@linaro.org>
1490 * manual/setjmp.texi (System V contexts): Add note that
1491 calling setcontext on a context created by a call to a
1492 signal handler is undefined. Update text to note that
1493 setcontext from a signal handler is possible but not
1497 * stdlib/tst-setcontext.c: Include signal.h.
1498 (main): Check that the signal stack before and
1499 after swapcontext is the same.
1501 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1502 Re-implement to restore registers in user code and avoid
1503 rt_sigreturn system call.
1505 2014-04-17 Wilco <wdijkstr@arm.com>
1507 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1508 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1509 * math/test-fenv.c: Skip exception trap tests on targets which only
1510 support non-stop mode.
1512 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1513 Wilco Dijkstra <wilco.dijkstra@arm.com>
1515 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1516 (libc_feholdsetround_aarch64_ctx)
1517 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1518 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1519 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1520 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1521 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1522 (libc_feresetround_noexl_ctx): Define.
1524 2014-04-16 Richard Henderson <rth@redhat.com>
1526 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1528 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1531 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1532 const from the non-libc, non-ldso copy.
1534 * sysdeps/alpha/libm-test-ulps: Regenerate.
1536 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1537 Wilco Dijkstra <wilco.dijkstra@arm.com>
1539 * sysdeps/aarch64/fpu/math_private.h: New file.
1541 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1543 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1545 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1547 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1548 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1550 Intel MPX bound registers before _dl_profile_fixup.
1551 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1552 registers after _dl_profile_fixup. Save and restore bound
1553 registers bnd0/bnd1 when calling _dl_call_pltexit.
1554 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1555 (LR_BND_OFFSET): Likewise.
1556 (LRV_BND0_OFFSET): Likewise.
1557 (LRV_BND1_OFFSET): Likewise.
1559 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1561 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1563 * sysdeps/mach/hurd/i386/tls.h: ... here.
1564 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1565 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1568 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1570 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1572 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1574 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1576 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1579 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1580 * sysdeps/s390/configure: Regenerate.
1583 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1584 Set round-to-nearest internally to reduce error accumulation.
1586 2014-04-16 Alan Modra <amodra@gmail.com>
1590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1591 * math/libm-test.inc (frexp_test_data): Add tests.
1592 * NEWS: Update fixed bug list.
1594 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1596 * benchtests/Makefile: Depend on libraries in build directory.
1597 (bench-math): Separate out math tests.
1598 (bench-pthread): Separate out pthread tests.
1599 (bench): Include math and pthread tests.
1601 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1604 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1605 _dl_debug_initialize.
1607 * configure.ac: Remove SELinux header check.
1608 * configure: Regenerate.
1609 * nscd/selinux.c (perms): Array of const char* to permission names.
1610 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1611 default policy. Call string_to_security_class and string_to_av_perm to
1612 translate strings. Enforce default policy and call avs_has_perm with
1613 results of translated strings.
1615 2014-04-13 David S. Miller <davem@davemloft.net>
1617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1619 2014-04-12 Allan McRae <allan@archlinux.org>
1622 * manual/string.texi (Collation Functions): Fix qsort argument
1624 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1626 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1628 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1629 Make the test a no-op if there are no exceptions defined.
1631 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1633 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1634 enable-hardcoded-path-in-tests
1636 2014-04-11 Will Newton <will.newton@linaro.org>
1638 * benchtests/Makefile (extra-objs): Add json-lib.o.
1639 (bench-func): Tidy up JSON output.
1640 * benchtests/bench-skeleton.c: Include json-lib.h.
1641 (main): Use JSON library functions to do output of
1643 * benchtests/bench-timing-type.c (main): Output the
1644 timing type simply, leaving formatting to the user.
1645 * benchtests/json-lib.c: New file.
1646 * benchtests/json-lib.h: Likewise.
1648 2014-04-11 Torvald Riegel <triegel@redhat.com>
1651 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1652 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1653 memory barriers. Add comments.
1654 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1655 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1656 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1657 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1658 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1659 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1661 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1663 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1664 * sysdeps/s390/s390-64/configure.ac: ... this ...
1665 * sysdeps/s390/configure.ac: ... to here.
1666 * sysdeps/s390/s390-32/configure: Delete file.
1667 * sysdeps/s390/s390-64/configure: Delete file.
1668 * sysdeps/s390/configure: Regenerate.
1670 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1672 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1674 2014-04-11 Will Newton <will.newton@linaro.org>
1676 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1677 to zero if it is not defined elsewhere. (mtrim): Test
1678 the value of MALLOC_DEBUG with #if rather than #ifdef.
1680 2014-04-10 Torvald Riegel <triegel@redhat.com>
1682 * benchtests/pthread_once-inputs: New file.
1683 * benchtests/pthread_once-source.c: New file.
1684 * benchtests/README: Update documentation.
1686 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1687 H.J. Lu <hongjiu.lu@intel.com>
1689 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1690 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1691 * sysdeps/x86_64/configure: Regenerated.
1692 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1694 (REGISTER_SAVE_RAX): Likewise.
1695 (REGISTER_SAVE_RCX): Likewise.
1696 (REGISTER_SAVE_RDX): Likewise.
1697 (REGISTER_SAVE_RSI): Likewise.
1698 (REGISTER_SAVE_RDI): Likewise.
1699 (REGISTER_SAVE_R8): Likewise.
1700 (REGISTER_SAVE_R9): Likewise.
1701 (REGISTER_SAVE_BND0): Likewise.
1702 (REGISTER_SAVE_BND1): Likewise.
1703 (REGISTER_SAVE_BND2): Likewise.
1704 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1705 bound registers when calling _dl_fixup.
1707 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1710 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1712 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1713 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1714 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1715 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1716 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1717 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1718 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1720 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1723 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1724 pathconf(_PC_NAME_MAX).
1726 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1728 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1730 (__PTHREAD_SPINS): Move definition to ...
1731 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1732 (__PTHREAD_SPINS): ... here.
1733 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1734 (__PTHREAD_SPIN): Likewise.
1735 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1736 (__PTHREAD_SPIN): Likewise.
1737 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1738 (__PTHREAD_SPIN): Likewise.
1739 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1740 (__PTHREAD_SPIN): Likewise.
1741 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1742 (__PTHREAD_SPIN): Likewise.
1743 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1744 (__PTHREAD_SPIN): Likewise.
1745 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1746 (__PTHREAD_SPIN): Likewise.
1747 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1748 (__PTHREAD_SPIN): Likewise.
1749 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1750 (__PTHREAD_SPIN): Likewise.
1751 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1752 (__PTHREAD_SPIN): Likewise.
1753 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1754 (__PTHREAD_SPIN): Likewise.
1755 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1756 (__PTHREAD_SPIN): Likewise.
1758 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1759 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1760 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1761 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1764 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1765 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1766 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1768 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1769 strlen symbol for non multi-arch builds.
1770 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1771 missing hidden_def and weak_alias.
1773 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1775 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1777 2014-04-07 Will Newton <will.newton@linaro.org>
1779 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1780 and contents. [!_LIBC] Remove #ifndef and contents.
1781 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1782 * string/memccpy.c (__memccpy): Use ANSI prototype.
1783 * string/memfrob.c (memfrob): Likewise.
1784 * string/strcoll.c (STRCOLL): Likewise.
1785 * string/strlen.c (strlen): Likewise.
1786 * string/strtok.c (STRTOK): Likewise.
1787 * string/strcat.c: Remove unused #include of memcopy.h.
1788 (strcat): Use ANSI prototype.
1789 * string/strchr.c: Remove unused #include of memcopy.h.
1790 (strchr): Use ANSI prototype.
1791 * string/strcmp.c: Remove unused #include of memcopy.h.
1792 (strcmp): Use ANSI prototype.
1793 * string/strcpy.c: Remove unused #include of memcopy.h.
1794 (strcpy): Use ANSI prototype.
1796 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1799 * config.make.in (config-extra-cppflags): Set it from
1800 libc_extra_cppflags.
1801 * configure.ac (libc_extra_cflags): Make it accumulate over
1802 configure fragments.
1803 (libc_extra_cppflags): New flag.
1804 * configure. Regenerate.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1806 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1807 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1812 result for FE_DOWNWARD rounding mode.
1813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1817 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1819 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1820 in function argument name.
1822 2014-04-03 David Svoboda <svoboda@cert.org>
1825 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1828 2014-04-03 Roland McGrath <roland@hack.frob.com>
1830 * elf/dl-unmap-segments.h: New file.
1831 * sysdeps/generic/ldsodefs.h
1832 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1833 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1834 * elf/dl-fptr.c: Likewise.
1835 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1836 * sysdeps/aarch64/tlsdesc.c: Likewise.
1837 * sysdeps/arm/tlsdesc.c: Likewise.
1838 * sysdeps/i386/tlsdesc.c: Likewise.
1839 * sysdeps/tile/dl-runtime.c: Likewise.
1840 * sysdeps/x86_64/tlsdesc.c: Likewise.
1841 * elf/dl-load.h: New file.
1842 * elf/dl-load.c: Include it.
1843 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1844 Macros moved to dl-load.h.
1845 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1846 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1847 Use _dl_unmap_segments in place of __munmap.
1848 Break out segment-mapping loop into ...
1849 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1851 2014-04-03 Will Newton <will.newton@linaro.org>
1853 * elf/dl-lookup.c (do_lookup_x): Remove comment
1854 referring to nested function and move variable
1855 declarations down to before first use.
1857 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1861 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1863 * math/s_catanf.c (__catanf): Likewise.
1864 * math/s_catanh.c (__catanh): Likewise.
1865 * math/s_catanhf.c (__catanhf): Likewise.
1866 * math/s_catanhl.c (__catanhl): Likewise.
1867 * math/s_catanl.c (__catanl): Likewise.
1868 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1869 by positive zero when computing -Inf result.
1870 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1871 (catanh_test): Likewise.
1872 * sysdeps/i386/fpu/libm-test-ulps: Update.
1873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1876 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1877 instead of using underflowing value in computing result.
1878 * math/s_clog10.c (__clog10): Likewise.
1879 * math/s_clog10f.c (__clog10f): Likewise.
1880 * math/s_clog10l.c (__clog10l): Likewise.
1881 * math/s_clogf.c (__clogf): Likewise.
1882 * math/s_clogl.c (__clogl): Likewise.
1883 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1884 (clog10_test): Likewise.
1885 * sysdeps/i386/fpu/libm-test-ulps: Update.
1886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1888 2014-04-02 Alan Modra <amodra@gmail.com>
1891 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1892 output when value is near a power of two. Use int64_t for lx and
1893 remove casts. Use decimal rather than hex exponent constants.
1894 Don't use long double multiplication when double will suffice.
1895 * math/libm-test.inc (nextafter_test_data): Add tests.
1896 * NEWS: Add 16739 and 16786 to bug list.
1898 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1900 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1902 2014-04-01 Will Newton <will.newton@linaro.org>
1904 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1905 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1907 2014-04-01 Florian Weimer <fweimer@redhat.com>
1910 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1911 * nptl/tst-setuid2.c: New file.
1912 * nptl/Makefile (xtests): Add tst-setuid2.
1914 2014-04-01 Alan Modra <amodra@gmail.com>
1917 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1919 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1923 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1924 set errno as appropriate.
1925 * math/w_scalbf.c (__scalbf): Likewise.
1926 * math/w_scalbl.c (__scalbl): Likewise.
1927 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1928 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1929 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1933 * math/w_atan2.c: Include <errno.h>.
1934 (__atan2): Set errno for result underflowing to zero.
1935 * math/w_atan2f.c: Include <errno.h>.
1936 (__atan2f): Set errno for result underflowing to zero.
1937 * math/w_atan2l.c: Include <errno.h>.
1938 (__atan2l): Set errno for result underflowing to zero.
1939 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1941 * math/auto-libm-test-out: Regenerated.
1943 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1945 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1946 Encode instruction correctly in little endian.
1947 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1949 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1956 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/unix/sysv/linux/kernel-features.h
1960 [__sparc__ && !__arch64__ && !__sparc_v9__]
1961 (__ASSUME_SET_ROBUST_LIST): Do not define.
1962 [__sparc__ && !__arch64__ && !__sparc_v9__]
1963 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1964 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1966 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1967 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1968 (__ASSUME_REQUEUE_PI): Likewise.
1969 (__ASSUME_SET_ROBUST_LIST): Likewise.
1970 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1971 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1974 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1978 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1981 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1983 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1984 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1989 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1990 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1992 2014-03-31 Will Newton <will.newton@linaro.org>
1994 * benchtests/Makefile (bench): Add ffs and ffsll to list
1996 * benchtests/ffs-inputs: New file.
1997 * benchtests/ffsll-inputs: Likewise.
1999 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2002 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2003 too large before casting to int.
2004 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2005 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2006 * math/libm-test.inc (scalb_test_data): Add more tests.
2008 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2010 * benchtests/Makefile (DETAILED_OPT): New make option.
2011 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2013 * benchtests/bench-skeleton.c: Include stdbool.h.
2014 (main): Store and print timings per input.
2015 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2016 member to each argument value.
2017 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2018 (_print_arg_data): Initialize per-input timing to 0.
2020 * benchtests/Makefile (timing-type): New binary.
2021 (bench-clean): Also remove bench-timing-type.
2022 (bench): New target for timing-type.
2023 (bench-func): Print output in JSON format.
2024 * benchtests/bench-skeleton.c (main): Print output in JSON
2026 * benchtests/bench-timing-type.c: New file.
2027 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2028 (TIMING_PRINT_STATS): Remove.
2029 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2032 * benchtests/bench-modf.c: Remove.
2033 * benchtests/modf-inputs: New inputs file.
2035 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2038 * math/s_clog10.c (M_PI_LOG10E): New macro.
2039 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2040 imaginary parts are 0.
2041 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2042 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2043 imaginary parts are 0.
2044 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2045 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2046 imaginary parts are 0.
2047 * math/libm-test.inc (clog10_test_data): Update expected results
2048 for when real and imaginary parts are 0.
2050 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2052 * elf/dl-load.c: Finish conversion of __builtin_expect into
2055 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2059 1+x for argument with exponent below -67.
2060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2062 * math/auto-libm-test-in: Add more tests of exp.
2063 * math/auto-libm-test-out: Regenerated.
2065 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2068 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2069 (nscd_getnetgrent): Use it.
2072 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2075 2014-03-27 Andi Kleen <ak@linux.intel.com>
2077 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2078 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2079 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2080 (lll_robust_unlock): Remove out of line section. Use cfi
2082 (LLL_STUB_UNWIND_INFO*): Remove.
2083 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2084 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2085 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2086 (lll_robust_unlock): Remove out of line section. Use cfi
2088 (LLL_STUB_UNWIND_INFO*): Remove.
2090 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2093 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2096 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2098 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2100 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2103 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2105 * math/test-fenv-preserve.c: New file.
2106 * math/Makefile (tests): Add test-fenv-preserve.
2108 2014-03-26 Will Newton <will.newton@linaro.org>
2110 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2112 2014-03-25 Roland McGrath <roland@hack.frob.com>
2114 * scripts/versionlist.awk: Partition the version sets and emit all
2115 GLIBC_* (sorted) before all others (sorted).
2117 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2119 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2120 GLIBC_2.2.5 version.
2122 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2127 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2132 2014-03-25 Andreas Schwab <schwab@suse.de>
2134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2135 label to be used after in6ailist is initialized.
2137 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2140 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2142 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2146 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2148 (fp_formats): Update initializers.
2149 (init_fp_formats): Initialize new field.
2150 (output_for_one_input_case): Allow underflow for results up to
2152 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2153 * math/auto-libm-test-in: Don't mark some underflows from asin and
2155 * math/auto-libm-test-out: Regenerated.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159 2014-03-25 Andreas Schwab <schwab@suse.de>
2161 * libio/Makefile (tst-ftell-partial-wide-ENV)
2162 (tst-ftell-active-handler-ENV): Define.
2164 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2166 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2168 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2170 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2172 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2174 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2175 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2176 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2178 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2181 * elf/dl-load.c (open_verify): Add mode parameter.
2182 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2183 (open_path): Change from boolean 'secure' to complete flag 'mode'
2184 (_dl_map_object): Adjust.
2185 * elf/Makefile (tests): Add tst-dlopen-aout.
2186 * elf/tst-dlopen-aout.c: New test.
2188 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2191 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2192 (struct stat): Rename member pad0 to __glibc_reserved0.
2195 * sysdeps/s390/s390-32/bits/wordsize.h
2196 (__WORDSIZE32_SIZE_ULONG): New define.
2197 * sysdeps/s390/s390-64/bits/wordsize.h
2198 (__WORDSIZE32_SIZE_ULONG): Likewise.
2199 * sysdeps/generic/stdint.h (SIZE_MAX):
2200 Define as UL if __WORDSIZE32_SIZE_ULONG.
2203 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2204 (__glibc_reserved0): New variable.
2205 (sa_flags): Change type to int.
2207 * posix/Makefile (before-compile): Use += before-compile instead
2210 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2211 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2213 2014-03-20 Andreas Schwab <schwab@suse.de>
2216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2217 non-matching result from nscd.
2219 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2221 * scripts/bench.py: Moved to ...
2222 * benchtests/scripts/bench.py: ... here.
2223 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2225 2014-03-24 Andreas Schwab <schwab@suse.de>
2228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2229 alloca_account and account alloca use for struct in6ailist.
2231 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2235 rounding mode to recompute results that overflow to infinity or
2237 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2239 * math/auto-libm-test-out: Regenerated.
2240 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2241 (ccosh_test): Likewise.
2242 (csin_test_data): Use plus_oflow.
2243 (csin_test): Use ALL_RM_TEST.
2244 (csinh_test_data): Use plus_oflow.
2245 (csinh_test): Use ALL_RM_TEST.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2249 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2251 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2252 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2253 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2256 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2258 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2259 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2260 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2263 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2264 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2266 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2267 * sysdeps/i386/fpu/libm-test-ulps: Update.
2268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2272 * scripts/bench.pl: Remove file.
2273 * scripts/bench.py: New benchmark script.
2274 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2275 * benchtests/README: Mention python dependency.
2276 * scripts/pylintrc: New file.
2277 * scripts/pylint: New file.
2279 * bits/mathdef.h: Use #ifdef instead of #if.
2280 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2281 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2282 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2283 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2284 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2285 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2287 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2290 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2292 and strpbrk-ppc64 objects.
2293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2294 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2295 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2296 multiarch strpbrk for POWER7.
2297 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2298 multiarch strpbrk for PPC64.
2299 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2301 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2304 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2306 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2307 (atan_test): Likewise.
2308 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2309 (atanh_test): Use ALL_RM_TEST.
2310 (atan2_test_data): Likewise.
2311 (cabs_test): Likewise.
2312 (cacosh_test): Likewise.
2313 (carg_test): Likewise.
2314 (casin_test): Likewise.
2315 (casinh_test): Likewise.
2316 (cbrt_test): Likewise.
2317 (csqrt_test): Likewise.
2318 (erf_test): Likewise.
2319 (erfc_test): Likewise.
2320 (pow10_test): Likewise.
2321 (exp2_test): Likewise.
2322 (hypot_test): Likewise.
2323 (j0_test): Likewise.
2324 (j1_test): Likewise.
2325 (lgamma_test): Likewise.
2326 (gamma_test): Likewise.
2327 (sincos_test): Likewise.
2328 (tanh_test): Likewise.
2329 (y0_test): Likewise.
2330 (y1_test): Likewise.
2331 * sysdeps/i386/fpu/libm-test-ulps: Update.
2332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2334 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2336 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2338 and strcspn-ppc64 objects.
2339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2340 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2341 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2342 multiarch strcspn for POWER7.
2343 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2344 multiarch strcspn for PPC64.
2345 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2347 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2350 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2352 * math/gen-libm-test.pl (generate_testfile): Expect only function
2353 name as argument to AUTO_TESTS_* and pass results for all rounding
2354 modes to parse_args.
2355 (parse_auto_input): Separate inputs of automatic tests from
2356 outputs before storing in %auto_tests.
2357 * math/libm-test.inc (acos_test_data): Update call to
2359 (acos_test): Use ALL_RM_TEST.
2360 (acos_tonearest_test_data): Remove.
2361 (acos_test_tonearest): Likewise.
2362 (acos_towardzero_test_data): Likewise.
2363 (acos_test_towardzero): Likewise.
2364 (acos_downward_test_data): Likewise.
2365 (acos_test_downward): Likewise.
2366 (acos_upward_test_data): Likewise.
2367 (acos_test_upward): Likewise.
2368 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2369 (asin_test_data): Likewise.
2370 (asin_test): Use ALL_RM_TEST.
2371 (asin_tonearest_test_data): Remove.
2372 (asin_test_tonearest): Likewise.
2373 (asin_towardzero_test_data): Likewise.
2374 (asin_test_towardzero): Likewise.
2375 (asin_downward_test_data): Likewise.
2376 (asin_test_downward): Likewise.
2377 (asin_upward_test_data): Likewise.
2378 (asin_test_upward): Likewise.
2379 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2380 (atan_test_data): Likewise.
2381 (atanh_test_data): Likewise.
2382 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2383 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2384 (carg_test_data): Likewise.
2385 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2386 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2387 (ccosh_test_data): Likewise.
2388 (cexp_test_data): Likewise.
2389 (clog_test_data): Likewise.
2390 (clog10_test_data): Likewise.
2391 (cos_test_data): Update call to AUTO_TESTS_f_f.
2392 (cos_test): Use ALL_RM_TEST.
2393 (cos_tonearest_test_data): Remove.
2394 (cos_test_tonearest): Likewise.
2395 (cos_towardzero_test_data): Likewise.
2396 (cos_test_towardzero): Likewise.
2397 (cos_downward_test_data): Likewise.
2398 (cos_test_downward): Likewise.
2399 (cos_upward_test_data): Likewise.
2400 (cos_test_upward): Likewise.
2401 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2402 (cosh_test): Use ALL_RM_TEST.
2403 (cosh_tonearest_test_data): Remove.
2404 (cosh_test_tonearest): Likewise.
2405 (cosh_towardzero_test_data): Likewise.
2406 (cosh_test_towardzero): Likewise.
2407 (cosh_downward_test_data): Likewise.
2408 (cosh_test_downward): Likewise.
2409 (cosh_upward_test_data): Likewise.
2410 (cosh_test_upward): Likewise.
2411 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2412 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2413 (ctan_test_data): Likewise.
2414 (ctan_test): Use ALL_RM_TEST.
2415 (ctan_tonearest_test_data): Remove.
2416 (ctan_test_tonearest): Likewise.
2417 (ctan_towardzero_test_data): Likewise.
2418 (ctan_test_towardzero): Likewise.
2419 (ctan_downward_test_data): Likewise.
2420 (ctan_test_downward): Likewise.
2421 (ctan_upward_test_data): Likewise.
2422 (ctan_test_upward): Likewise.
2423 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2424 (ctanh_test): Use ALL_RM_TEST.
2425 (ctanh_tonearest_test_data): Remove.
2426 (ctanh_test_tonearest): Likewise.
2427 (ctanh_towardzero_test_data): Likewise.
2428 (ctanh_test_towardzero): Likewise.
2429 (ctanh_downward_test_data): Likewise.
2430 (ctanh_test_downward): Likewise.
2431 (ctanh_upward_test_data): Likewise.
2432 (ctanh_test_upward): Likewise.
2433 (erf_test_data): Update call to AUTO_TESTS_f_f.
2434 (erfc_test_data): Likewise.
2435 (exp_test_data): Likewise.
2436 (exp_test): Use ALL_RM_TEST.
2437 (exp_tonearest_test_data): Remove.
2438 (exp_test_tonearest): Likewise.
2439 (exp_towardzero_test_data): Likewise.
2440 (exp_test_towardzero): Likewise.
2441 (exp_downward_test_data): Likewise.
2442 (exp_test_downward): Likewise.
2443 (exp_upward_test_data): Likewise.
2444 (exp_test_upward): Likewise.
2445 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2446 (exp10_test): Use ALL_RM_TEST.
2447 (exp10_tonearest_test_data): Remove.
2448 (exp10_test_tonearest): Likewise.
2449 (exp10_towardzero_test_data): Likewise.
2450 (exp10_test_towardzero): Likewise.
2451 (exp10_downward_test_data): Likewise.
2452 (exp10_test_downward): Likewise.
2453 (exp10_upward_test_data): Likewise.
2454 (exp10_test_upward): Likewise.
2455 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2456 (expm1_test_data): Likewise.
2457 (expm1_test): Use ALL_RM_TEST.
2458 (expm1_tonearest_test_data): Remove.
2459 (expm1_test_tonearest): Likewise.
2460 (expm1_towardzero_test_data): Likewise.
2461 (expm1_test_towardzero): Likewise.
2462 (expm1_downward_test_data): Likewise.
2463 (expm1_test_downward): Likewise.
2464 (expm1_upward_test_data): Likewise.
2465 (expm1_test_upward): Likewise.
2466 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2467 (fma_test): Use ALL_RM_TEST.
2468 (fma_towardzero_test_data): Remove.
2469 (fma_test_towardzero): Likewise.
2470 (fma_downward_test_data): Likewise.
2471 (fma_test_downward): Likewise.
2472 (fma_upward_test_data): Likewise.
2473 (fma_test_upward): Likewise.
2474 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2475 (j0_test_data): Update call to AUTO_TESTS_f_f.
2476 (j1_test_data): Likewise.
2477 (jn_test_data): Update call to AUTO_TESTS_if_f.
2478 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2479 (log_test_data): Update call to AUTO_TESTS_f_f.
2480 (log10_test_data): Likewise.
2481 (log1p_test_data): Likewise.
2482 (log2_test_data): Likewise.
2483 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2484 (pow_tonearest_test_data): Likewise.
2485 (sin_test_data): Update call to AUTO_TESTS_f_f.
2486 (sin_test): Use ALL_RM_TEST.
2487 (sin_tonearest_test_data): Remove.
2488 (sin_test_tonearest): Likewise.
2489 (sin_towardzero_test_data): Likewise.
2490 (sin_test_towardzero): Likewise.
2491 (sin_downward_test_data): Likewise.
2492 (sin_test_downward): Likewise.
2493 (sin_upward_test_data): Likewise.
2494 (sin_test_upward): Likewise.
2495 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2496 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2497 (sinh_test): Use ALL_RM_TEST.
2498 (sinh_tonearest_test_data): Remove.
2499 (sinh_test_tonearest): Likewise.
2500 (sinh_towardzero_test_data): Likewise.
2501 (sinh_test_towardzero): Likewise.
2502 (sinh_downward_test_data): Likewise.
2503 (sinh_test_downward): Likewise.
2504 (sinh_upward_test_data): Likewise.
2505 (sinh_test_upward): Likewise.
2506 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2507 (sqrt_test): Use ALL_RM_TEST.
2508 (sqrt_tonearest_test_data): Remove.
2509 (sqrt_test_tonearest): Likewise.
2510 (sqrt_towardzero_test_data): Likewise.
2511 (sqrt_test_towardzero): Likewise.
2512 (sqrt_downward_test_data): Likewise.
2513 (sqrt_test_downward): Likewise.
2514 (sqrt_upward_test_data): Likewise.
2515 (sqrt_test_upward): Likewise.
2516 (tan_test_data): Update call to AUTO_TESTS_f_f.
2517 (tan_test): Use ALL_RM_TEST.
2518 (tan_tonearest_test_data): Remove.
2519 (tan_test_tonearest): Likewise.
2520 (tan_towardzero_test_data): Likewise.
2521 (tan_test_towardzero): Likewise.
2522 (tan_downward_test_data): Likewise.
2523 (tan_test_downward): Likewise.
2524 (tan_upward_test_data): Likewise.
2525 (tan_test_upward): Likewise.
2526 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2527 (tgamma_test_data): Likewise.
2528 (y0_test_data): Likewise.
2529 (y1_test_data): Likewise.
2530 (yn_test_data): Update call to AUTO_TESTS_if_f.
2531 (main): Do not call removed functions.
2533 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2535 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2536 (ldexp_test_data): Remove.
2537 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2539 (scalb_test): Use ALL_RM_TEST.
2541 2014-03-19 Andreas Schwab <schwab@suse.de>
2543 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2545 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2550 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2552 (__ASSUME_PREADV): Undefine.
2553 (__ASSUME_PWRITEV): Likewise.
2555 2014-03-18 Roland McGrath <roland@hack.frob.com>
2557 * bits/mman-linux.h: Add comment about non-Linux use.
2558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2559 bits/mman-linux.h resting place.
2561 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2562 * bits/mman-linux.h: ... here.
2564 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566 * conform/conformtest.pl: Add standard definition when calling C
2567 preprocessor on data files.
2568 (checknamespace): Remove unused variable.
2570 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2572 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2573 minus_oflow, plus_uflow and minus_uflow in expected results.
2574 * math/libm-test.inc (scalbn_test_data): Add more tests of
2575 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2577 (scalbn_test): Use ALL_RM_TEST.
2578 (scalbln_test_data): Add more tests of negative arguments. Use
2579 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2580 (scalbln_test): Use ALL_RM_TEST.
2582 2014-03-18 Roland McGrath <roland@hack.frob.com>
2584 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2586 2014-03-18 Will Newton <will.newton@linaro.org>
2588 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2591 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2593 * Makerules [!subdir] (check-abi): Exit with error status if a
2596 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2598 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2599 for rint. Include results for all rounding modes.
2600 (nearbyint_test): Use ALL_RM_TEST.
2601 (rint_test_data): Include all tests used for nearbyint.
2603 2014-03-17 Will Newton <will.newton@linaro.org>
2605 * nptl/sysdeps/pthread/pthread.h: Revert previous
2608 * sysdeps/generic/ldsodefs.h: Revert previous
2611 * libio/genops.c: Revert previous change.
2612 * libio/libioP.h: Likewise.
2613 * stdio-common/vfprintf.c: Likewise.
2615 * sysdeps/generic/math_private.h: Revert previous
2618 * sysdeps/generic/math_private.h: Check whether
2619 HAVE_RM_CTX is defined with #ifdef rather
2622 * argp/argp-fmtstream.h: Check whether
2623 __STRICT_ANSI__ is defined with #ifdef rather
2625 * argp/argp.h: Likewise.
2627 * libio/genops.c: Check whether
2628 _IO_JUMPS_OFFSET is defined with #ifdef rather
2630 * libio/libioP.h: Likewise.
2631 * stdio-common/vfprintf.c: Likewise.
2633 * sysdeps/generic/ldsodefs.h: Check whether
2634 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2637 * nptl/sysdeps/pthread/pthread.h: Check
2638 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2641 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2645 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2649 * libio/fileops.c (_IO_file_open): Seek to end of file but
2650 don't cache the offset.
2651 (get_file_offset): Remove function.
2652 (do_ftell): Use cached offset when available.
2653 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2654 don't cache the offset.
2655 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2657 (do_one_test): Call it.
2658 (do_ftell_test): Fix up expected old offset for a+ mode.
2659 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2662 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2663 up test status with function return status.
2664 (do_write_test): Likewise.
2665 (do_append_test): Likewise.
2667 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2668 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2671 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2673 * math/gen-libm-test.pl (parse_args): Handle results specified for
2674 each rounding mode separately.
2675 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2676 tests and results from lrint_tonearest_test_data,
2677 lrint_towardzero_test_data, lrint_downward_test_data and
2678 lrint_upward_test_data.
2679 (lrint_test): Use ALL_RM_TEST.
2680 (lrint_tonearest_test_data): Remove.
2681 (lrint_test_tonearest): Likewise.
2682 (lrint_towardzero_test_data): Likewise.
2683 (lrint_test_towardzero): Likewise.
2684 (lrint_downward_test_data): Likewise.
2685 (lrint_test_downward): Likewise.
2686 (lrint_upward_test_data): Likewise.
2687 (lrint_test_upward): Likewise.
2688 (llrint_test_data): Merge in per-rounding-mode tests and results
2689 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2690 llrint_downward_test_data and llrint_upward_test_data.
2691 (llrint_test): Use ALL_RM_TEST.
2692 (llrint_tonearest_test_data): Remove.
2693 (llrint_test_tonearest): Likewise.
2694 (llrint_towardzero_test_data): Likewise.
2695 (llrint_test_towardzero): Likewise.
2696 (llrint_downward_test_data): Likewise.
2697 (llrint_test_downward): Likewise.
2698 (llrint_upward_test_data): Likewise.
2699 (llrint_test_upward): Likewise.
2700 (rint_test_data): Merge in per-rounding-mode tests and results
2701 from rint_tonearest_test_data, rint_towardzero_test_data,
2702 rint_downward_test_data and rint_upward_test_data. Add
2703 per-rounding-mode results for tests not in those arrays.
2704 (rint_test): Use ALL_RM_TEST.
2705 (rint_tonearest_test_data): Remove.
2706 (rint_test_tonearest): Likewise.
2707 (rint_towardzero_test_data): Likewise.
2708 (rint_test_towardzero): Likewise.
2709 (rint_downward_test_data): Likewise.
2710 (rint_test_downward): Likewise.
2711 (rint_upward_test_data): Likewise.
2712 (rint_test_upward): Likewise.
2713 (main): Don't call removed functions.
2715 2014-03-14 Roland McGrath <roland@hack.frob.com>
2717 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2718 "Compiled on ..." crapola. It is anti-useful.
2720 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2722 * scripts/evaluate-test.sh: Handle fourth argument to determine
2723 whether test run should stop on failure.
2724 * Makeconfig (stop-on-test-failure): New variable.
2725 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2726 $(stop-on-test-failure).
2727 * Makefile (tests): Give a summary of results from testing and
2728 exit with failure status if they include an ERROR or FAIL.
2730 * manual/install.texi (Configuring and compiling): Mention
2731 stop-on-test-failure=y.
2732 * INSTALL: Regenerated.
2734 2014-03-14 Roland McGrath <roland@hack.frob.com>
2736 * scripts/versionlist.awk: New file.
2737 * Makerules [$(build-shared) = yes]
2738 (postclean-generated): Add Versions.def, not Versions.def.v and
2740 ($(common-objpfx)Versions.def.v.i): Target removed.
2741 ($(common-objpfx)Versions.def): New target.
2742 ($(common-objpfx)Versions.all): Depend on that rather that
2743 $(common-objpfx)Versions.def.v.
2744 * Versions.def: File removed.
2746 * Makeconfig (+gccwarn): Add -Wundef.
2747 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2748 a dl-sysdep.h breaking its contract.
2749 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2750 * include/stackinfo.h: New file.
2751 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2752 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2753 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2754 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2755 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2756 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2757 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2758 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2759 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2760 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2761 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2762 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2763 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2764 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2765 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2767 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2772 * math/libm-test.inc (round_test_data): Add more tests.
2775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2777 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2780 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2782 * math/libm-test.inc (ceil_test_data): Add more tests.
2784 * math/libm-test.inc (trunc_test_data): Add more tests related to
2787 2014-03-14 Roland McGrath <roland@hack.frob.com>
2789 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2790 with #if rather than #ifdef.
2791 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2793 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2795 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2796 first. Disable AVX-512 GCC support if assembler doesn't support
2798 * sysdeps/x86_64/configure: Regenerated.
2800 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2802 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2803 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2804 (__old_pthread_attr_setstack): Likewise.
2805 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2806 [!_STACK_GROWS_DOWN]: Likewise.
2808 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2810 * config.make.in (have-bash2): Delete.
2811 * configure.ac (libc_cv_have_bash2): Delete.
2812 * configure: Regenerate.
2813 * elf/Makefile (common-ldd-rewrite): Rename to ...
2814 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2815 (sh-ldd-rewrite): Delete.
2816 (bash-ldd-rewrite): Delete.
2817 (have-bash2): Delete checks.
2818 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2821 * config.make.in (have-ksh): Delete.
2823 * configure.ac (libc_cv_have_ksh): Delete.
2824 * configure: Regenerate.
2826 * elf/Makefile: Delete $(have-ksh) check.
2827 ($(objpfx)sotruss): Change KSH to BASH.
2828 * elf/sotruss.ksh: Rename to ...
2829 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2830 function style to match POSIX. Drop ksh vim mode setting.
2832 * manual/time.texi (Specifying the Time Zone with TZ): Change
2833 Tuesday to Thursday.
2835 * debug/tst-longjmp_chk2.c: Update header comment.
2836 (stackoverflow_handler): Add comment. Call assert on pass value.
2838 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2840 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2841 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2842 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2843 (La_x86_64_vector): Add zmm.
2844 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2845 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2846 ($(objpfx)tst-audit10): New target.
2847 ($(objpfx)tst-audit10.out): Likewise.
2848 (tst-audit10-ENV): New.
2849 (AVX512-CFLAGS): Likewise.
2850 (CFLAGS-tst-audit10.c): Likewise.
2851 (CFLAGS-tst-auditmod10a.c): Likewise.
2852 (CFLAGS-tst-auditmod10b.c): Likewise.
2853 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2854 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2855 * sysdeps/x86_64/configure: Regenerated.
2856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2857 AVX-512 zmm register support.
2858 (_dl_x86_64_save_sse): Likewise.
2859 (_dl_x86_64_restore_sse): Likewise.
2860 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2861 size vector registers.
2862 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2863 (ZMM_SIZE): Likewise.
2864 * sysdeps/x86_64/tst-audit10.c: New file.
2865 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2866 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2868 2014-03-13 Roland McGrath <roland@hack.frob.com>
2870 * configure.ac (HAVE_EHDR_START): New check.
2871 * configure: Regenerated.
2872 * config.h.in (HAVE_EHDR_START): New #undef.
2873 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2874 assuming the lowest-addressed segment maps the start of the file.
2876 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2878 * INSTALL: Regenerated.
2880 2014-03-13 Will Newton <will.newton@linaro.org>
2882 * manual/setjmp.texi (System V contexts): Improve
2883 clarity and grammar of documentation.
2885 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2888 * elf/Makefile (tests): Add tst-pie2.
2889 (tests-pie): Add tst-pie2.
2890 * elf/tst-pie2.c: New file.
2891 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2893 * elf/rtld.c (map_doit): Load executable as lt_executable.
2894 (dl_main): Likewise.
2896 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2900 (__ASSUME_PSELECT): Undefine.
2902 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2906 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2909 selector for static builds.
2911 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2914 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2917 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2919 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2920 IFUNC selector for static builds.
2922 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2924 * sysdeps/mips/math_private.h [__mips_hard_float]
2925 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2926 libc_feresetround_mips_ctx.
2927 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2928 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2929 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2932 * math/s_nextafter.c (__nextafter): Do not return value from
2933 overflowing computation.
2934 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2935 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2936 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2940 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2941 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2943 2014-03-11 Roland McGrath <roland@hack.frob.com>
2945 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2946 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2947 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2948 the new mov targetting sp.
2950 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2953 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2954 Define it for static builds as well.
2955 (NO_BZERO_IMPL): Likewise.
2957 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2960 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2961 multiarch strspn for PPC64.
2962 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2963 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2965 (__libc_ifunc_impl_list): Likewise.
2966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2967 multiarch optimizations
2968 * string/strspn.c (strspn): Using macro to redefine symbol name.
2970 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2971 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2974 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2975 multiarch strncat for PPC64.
2976 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2977 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2979 (__libc_ifunc_impl_list): Likewise.
2980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2981 multiarch optimizations
2983 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2986 * nscd/nscd.service: Make service type forking.
2988 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2990 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2991 sign in non default rounding modes.
2992 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2994 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2996 * math/libm-test.inc (ALL_RM_TEST): New macro.
2997 (ceil_test): Use ALL_RM_TEST.
2998 (cimag_test): Likewise.
2999 (conj_test): Likewise.
3000 (copysign_test): Likewise.
3001 (cproj_test): Likewise.
3002 (creal_test): Likewise.
3003 (fabs_test): Likewise.
3004 (floor_test): Likewise.
3005 (fmax_test): Likewise.
3006 (fmin_test): Likewise.
3007 (fmod_test): Likewise.
3008 (fpclassify_test): Likewise.
3009 (frexp_test): Likewise.
3010 (ilogb_test): Likewise.
3011 (isfinite_test): Likewise.
3012 (finite_test): Likewise.
3013 (isgreater_test): Likewise.
3014 (isgreaterequal_test): Likewise.
3015 (isinf_test): Likewise.
3016 (isless_test): Likewise.
3017 (islessequal_test): Likewise.
3018 (islessgreater_test): Likewise.
3019 (isnan_test): Likewise.
3020 (isnormal_test): Likewise.
3021 (issignaling_test): Likewise.
3022 (isunordered_test): Likewise.
3023 (logb_test): Likewise.
3024 (logb_downward_test_data): Remove.
3025 (logb_test_downward): Likewise.
3026 (lround_test): Use ALL_RM_TEST.
3027 (llround_test): Likewise.
3028 (modf_test): Likewise.
3029 (nexttoward_test): Likewise.
3030 (remainder_test): Likewise.
3031 (drem_test): Likewise.
3032 (remainder_tonearest_test_data): Likewise.
3033 (remainder_test_tonearest): Likewise.
3034 (drem_test_tonearest): Likewise.
3035 (remainder_towardzero_test_data): Likewise.
3036 (remainder_test_towardzero): Likewise.
3037 (drem_test_towardzero): Likewise.
3038 (remainder_downward_test_data): Likewise.
3039 (remainder_test_downward): Likewise.
3040 (drem_test_downward): Likewise.
3041 (remainder_upward_test_data): Likewise.
3042 (remainder_test_upward): Likewise.
3043 (drem_test_upward): Likewise.
3044 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3045 (round_test): Use ALL_RM_TEST.
3046 (signbit_test): Likewise.
3047 (trunc_test): Likewise.
3048 (significand_test): Likewise.
3049 (main): Don't call removed functions.
3051 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3054 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3056 (ILL_ILLOPN): Likewise.
3057 (ILL_ILLADR): Likewise.
3058 (ILL_ILLTRP): Likewise.
3059 (ILL_PRVOPC): Likewise.
3060 (ILL_PRVREG): Likewise.
3061 (ILL_COPROC): Likewise.
3062 (ILL_BADSTK): Likewise.
3063 (FPE_INTDIV): Likewise.
3064 (FPE_INTOVF): Likewise.
3065 (FPE_FLTDIV): Likewise.
3066 (FPE_FLTOVF): Likewise.
3067 (FPE_FLTUND): Likewise.
3068 (FPE_FLTRES): Likewise.
3069 (FPE_FLTINV): Likewise.
3070 (FPE_FLTSUB): Likewise.
3071 (SEGV_MAPERR): Likewise.
3072 (SEGV_ACCERR): Likewise.
3073 (BUS_ADRALN): Likewise.
3074 (BUS_ADRERR): Likewise.
3075 (BUS_OBJERR): Likewise.
3076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3077 (TRAP_TRACE): Likewise.
3078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3080 (CLD_KILLED): Likewise.
3081 (CLD_DUMPED): Likewise.
3082 (CLD_TRAPPED): Likewise.
3083 (CLD_STOPPED): Likewise.
3084 (CLD_CONTINUED): Likewise.
3085 (POLL_IN): Likewise.
3086 (POLL_OUT): Likewise.
3087 (POLL_MSG): Likewise.
3088 (POLL_ERR): Likewise.
3089 (POLL_PRI): Likewise.
3090 (POLL_HUP): Likewise.
3091 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3093 (ILL_ILLOPN): Likewise.
3094 (ILL_ILLADR): Likewise.
3095 (ILL_ILLTRP): Likewise.
3096 (ILL_PRVOPC): Likewise.
3097 (ILL_PRVREG): Likewise.
3098 (ILL_COPROC): Likewise.
3099 (ILL_BADSTK): Likewise.
3100 (FPE_INTDIV): Likewise.
3101 (FPE_INTOVF): Likewise.
3102 (FPE_FLTDIV): Likewise.
3103 (FPE_FLTOVF): Likewise.
3104 (FPE_FLTUND): Likewise.
3105 (FPE_FLTRES): Likewise.
3106 (FPE_FLTINV): Likewise.
3107 (FPE_FLTSUB): Likewise.
3108 (SEGV_MAPERR): Likewise.
3109 (SEGV_ACCERR): Likewise.
3110 (BUS_ADRALN): Likewise.
3111 (BUS_ADRERR): Likewise.
3112 (BUS_OBJERR): Likewise.
3113 (BUS_MCEERR_AR): Likewise.
3114 (BUS_MCEERR_AO): Likewise.
3115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3116 (TRAP_TRACE): Likewise.
3117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3119 (CLD_KILLED): Likewise.
3120 (CLD_DUMPED): Likewise.
3121 (CLD_TRAPPED): Likewise.
3122 (CLD_STOPPED): Likewise.
3123 (CLD_CONTINUED): Likewise.
3124 (POLL_IN): Likewise.
3125 (POLL_OUT): Likewise.
3126 (POLL_MSG): Likewise.
3127 (POLL_ERR): Likewise.
3128 (POLL_PRI): Likewise.
3129 (POLL_HUP): Likewise.
3130 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3131 (ILL_ILLOPN): Likewise.
3132 (ILL_ILLADR): Likewise.
3133 (ILL_ILLTRP): Likewise.
3134 (ILL_PRVOPC): Likewise.
3135 (ILL_PRVREG): Likewise.
3136 (ILL_COPROC): Likewise.
3137 (ILL_BADSTK): Likewise.
3138 (FPE_INTDIV): Likewise.
3139 (FPE_INTOVF): Likewise.
3140 (FPE_FLTDIV): Likewise.
3141 (FPE_FLTOVF): Likewise.
3142 (FPE_FLTUND): Likewise.
3143 (FPE_FLTRES): Likewise.
3144 (FPE_FLTINV): Likewise.
3145 (FPE_FLTSUB): Likewise.
3146 (SEGV_MAPERR): Likewise.
3147 (SEGV_ACCERR): Likewise.
3148 (BUS_ADRALN): Likewise.
3149 (BUS_ADRERR): Likewise.
3150 (BUS_OBJERR): Likewise.
3151 (BUS_MCEERR_AR): Likewise.
3152 (BUS_MCEERR_AO): Likewise.
3153 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3154 (TRAP_TRACE): Likewise.
3155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3157 (CLD_KILLED): Likewise.
3158 (CLD_DUMPED): Likewise.
3159 (CLD_TRAPPED): Likewise.
3160 (CLD_STOPPED): Likewise.
3161 (CLD_CONTINUED): Likewise.
3162 (POLL_IN): Likewise.
3163 (POLL_OUT): Likewise.
3164 (POLL_MSG): Likewise.
3165 (POLL_ERR): Likewise.
3166 (POLL_PRI): Likewise.
3167 (POLL_HUP): Likewise.
3168 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3170 (ILL_ILLOPN): Likewise.
3171 (ILL_ILLADR): Likewise.
3172 (ILL_ILLTRP): Likewise.
3173 (ILL_PRVOPC): Likewise.
3174 (ILL_PRVREG): Likewise.
3175 (ILL_COPROC): Likewise.
3176 (ILL_BADSTK): Likewise.
3177 (ILL_BADIADDR): Likewise.
3178 (ILL_BREAK): Likewise.
3179 (FPE_INTDIV): Likewise.
3180 (FPE_INTOVF): Likewise.
3181 (FPE_FLTDIV): Likewise.
3182 (FPE_FLTOVF): Likewise.
3183 (FPE_FLTUND): Likewise.
3184 (FPE_FLTRES): Likewise.
3185 (FPE_FLTINV): Likewise.
3186 (FPE_FLTSUB): Likewise.
3187 (FPE_DECOVF): Likewise.
3188 (FPE_DECDIV): Likewise.
3189 (FPE_DECERR): Likewise.
3190 (FPE_INVASC): Likewise.
3191 (FPE_INVDEC): Likewise.
3192 (SEGV_MAPERR): Likewise.
3193 (SEGV_ACCERR): Likewise.
3194 (SEGV_PSTKOVF): Likewise.
3195 (BUS_ADRALN): Likewise.
3196 (BUS_ADRERR): Likewise.
3197 (BUS_OBJERR): Likewise.
3198 (BUS_MCEERR_AR): Likewise.
3199 (BUS_MCEERR_AO): Likewise.
3200 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3201 (TRAP_TRACE): Likewise.
3202 (TRAP_BRANCH): Likewise.
3203 (TRAP_HWBKPT): Likewise.
3204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3206 (CLD_KILLED): Likewise.
3207 (CLD_DUMPED): Likewise.
3208 (CLD_TRAPPED): Likewise.
3209 (CLD_STOPPED): Likewise.
3210 (CLD_CONTINUED): Likewise.
3211 (POLL_IN): Likewise.
3212 (POLL_OUT): Likewise.
3213 (POLL_MSG): Likewise.
3214 (POLL_ERR): Likewise.
3215 (POLL_PRI): Likewise.
3216 (POLL_HUP): Likewise.
3217 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3218 (ILL_ILLOPN): Likewise.
3219 (ILL_ILLADR): Likewise.
3220 (ILL_ILLTRP): Likewise.
3221 (ILL_PRVOPC): Likewise.
3222 (ILL_PRVREG): Likewise.
3223 (ILL_COPROC): Likewise.
3224 (ILL_BADSTK): Likewise.
3225 (FPE_INTDIV): Likewise.
3226 (FPE_INTOVF): Likewise.
3227 (FPE_FLTDIV): Likewise.
3228 (FPE_FLTOVF): Likewise.
3229 (FPE_FLTUND): Likewise.
3230 (FPE_FLTRES): Likewise.
3231 (FPE_FLTINV): Likewise.
3232 (FPE_FLTSUB): Likewise.
3233 (SEGV_MAPERR): Likewise.
3234 (SEGV_ACCERR): Likewise.
3235 (BUS_ADRALN): Likewise.
3236 (BUS_ADRERR): Likewise.
3237 (BUS_OBJERR): Likewise.
3238 (BUS_MCEERR_AR): Likewise.
3239 (BUS_MCEERR_AO): Likewise.
3240 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3241 (TRAP_TRACE): Likewise.
3242 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3244 (CLD_KILLED): Likewise.
3245 (CLD_DUMPED): Likewise.
3246 (CLD_TRAPPED): Likewise.
3247 (CLD_STOPPED): Likewise.
3248 (CLD_CONTINUED): Likewise.
3249 (POLL_IN): Likewise.
3250 (POLL_OUT): Likewise.
3251 (POLL_MSG): Likewise.
3252 (POLL_ERR): Likewise.
3253 (POLL_PRI): Likewise.
3254 (POLL_HUP): Likewise.
3255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3256 (ILL_ILLOPN): Likewise.
3257 (ILL_ILLADR): Likewise.
3258 (ILL_ILLTRP): Likewise.
3259 (ILL_PRVOPC): Likewise.
3260 (ILL_PRVREG): Likewise.
3261 (ILL_COPROC): Likewise.
3262 (ILL_BADSTK): Likewise.
3263 (FPE_INTDIV): Likewise.
3264 (FPE_INTOVF): Likewise.
3265 (FPE_FLTDIV): Likewise.
3266 (FPE_FLTOVF): Likewise.
3267 (FPE_FLTUND): Likewise.
3268 (FPE_FLTRES): Likewise.
3269 (FPE_FLTINV): Likewise.
3270 (FPE_FLTSUB): Likewise.
3271 (SEGV_MAPERR): Likewise.
3272 (SEGV_ACCERR): Likewise.
3273 (BUS_ADRALN): Likewise.
3274 (BUS_ADRERR): Likewise.
3275 (BUS_OBJERR): Likewise.
3276 (BUS_MCEERR_AR): Likewise.
3277 (BUS_MCEERR_AO): Likewise.
3278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3279 (TRAP_TRACE): Likewise.
3280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3282 (CLD_KILLED): Likewise.
3283 (CLD_DUMPED): Likewise.
3284 (CLD_TRAPPED): Likewise.
3285 (CLD_STOPPED): Likewise.
3286 (CLD_CONTINUED): Likewise.
3287 (POLL_IN): Likewise.
3288 (POLL_OUT): Likewise.
3289 (POLL_MSG): Likewise.
3290 (POLL_ERR): Likewise.
3291 (POLL_PRI): Likewise.
3292 (POLL_HUP): Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3294 (ILL_ILLOPN): Likewise.
3295 (ILL_ILLADR): Likewise.
3296 (ILL_ILLTRP): Likewise.
3297 (ILL_PRVOPC): Likewise.
3298 (ILL_PRVREG): Likewise.
3299 (ILL_COPROC): Likewise.
3300 (ILL_BADSTK): Likewise.
3301 (FPE_INTDIV): Likewise.
3302 (FPE_INTOVF): Likewise.
3303 (FPE_FLTDIV): Likewise.
3304 (FPE_FLTOVF): Likewise.
3305 (FPE_FLTUND): Likewise.
3306 (FPE_FLTRES): Likewise.
3307 (FPE_FLTINV): Likewise.
3308 (FPE_FLTSUB): Likewise.
3309 (SEGV_MAPERR): Likewise.
3310 (SEGV_ACCERR): Likewise.
3311 (BUS_ADRALN): Likewise.
3312 (BUS_ADRERR): Likewise.
3313 (BUS_OBJERR): Likewise.
3314 (BUS_MCEERR_AR): Likewise.
3315 (BUS_MCEERR_AO): Likewise.
3316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3317 (TRAP_TRACE): Likewise.
3318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3320 (CLD_KILLED): Likewise.
3321 (CLD_DUMPED): Likewise.
3322 (CLD_TRAPPED): Likewise.
3323 (CLD_STOPPED): Likewise.
3324 (CLD_CONTINUED): Likewise.
3325 (POLL_IN): Likewise.
3326 (POLL_OUT): Likewise.
3327 (POLL_MSG): Likewise.
3328 (POLL_ERR): Likewise.
3329 (POLL_PRI): Likewise.
3330 (POLL_HUP): Likewise.
3331 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3332 (ILL_ILLOPN): Likewise.
3333 (ILL_ILLADR): Likewise.
3334 (ILL_ILLTRP): Likewise.
3335 (ILL_PRVOPC): Likewise.
3336 (ILL_PRVREG): Likewise.
3337 (ILL_COPROC): Likewise.
3338 (ILL_BADSTK): Likewise.
3339 (ILL_DBLFLT): Likewise.
3340 (ILL_HARDWALL): Likewise.
3341 (FPE_INTDIV): Likewise.
3342 (FPE_INTOVF): Likewise.
3343 (FPE_FLTDIV): Likewise.
3344 (FPE_FLTOVF): Likewise.
3345 (FPE_FLTUND): Likewise.
3346 (FPE_FLTRES): Likewise.
3347 (FPE_FLTINV): Likewise.
3348 (FPE_FLTSUB): Likewise.
3349 (SEGV_MAPERR): Likewise.
3350 (SEGV_ACCERR): Likewise.
3351 (BUS_ADRALN): Likewise.
3352 (BUS_ADRERR): Likewise.
3353 (BUS_OBJERR): Likewise.
3354 (BUS_MCEERR_AR): Likewise.
3355 (BUS_MCEERR_AO): Likewise.
3356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3357 (TRAP_TRACE): Likewise.
3358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3360 (CLD_KILLED): Likewise.
3361 (CLD_DUMPED): Likewise.
3362 (CLD_TRAPPED): Likewise.
3363 (CLD_STOPPED): Likewise.
3364 (CLD_CONTINUED): Likewise.
3365 (POLL_IN): Likewise.
3366 (POLL_OUT): Likewise.
3367 (POLL_MSG): Likewise.
3368 (POLL_ERR): Likewise.
3369 (POLL_PRI): Likewise.
3370 (POLL_HUP): Likewise.
3371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3372 (ILL_ILLOPN): Likewise.
3373 (ILL_ILLADR): Likewise.
3374 (ILL_ILLTRP): Likewise.
3375 (ILL_PRVOPC): Likewise.
3376 (ILL_PRVREG): Likewise.
3377 (ILL_COPROC): Likewise.
3378 (ILL_BADSTK): Likewise.
3379 (FPE_INTDIV): Likewise.
3380 (FPE_INTOVF): Likewise.
3381 (FPE_FLTDIV): Likewise.
3382 (FPE_FLTOVF): Likewise.
3383 (FPE_FLTUND): Likewise.
3384 (FPE_FLTRES): Likewise.
3385 (FPE_FLTINV): Likewise.
3386 (FPE_FLTSUB): Likewise.
3387 (SEGV_MAPERR): Likewise.
3388 (SEGV_ACCERR): Likewise.
3389 (BUS_ADRALN): Likewise.
3390 (BUS_ADRERR): Likewise.
3391 (BUS_OBJERR): Likewise.
3392 (BUS_MCEERR_AR): Likewise.
3393 (BUS_MCEERR_AO): Likewise.
3394 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3395 (TRAP_TRACE): Likewise.
3396 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3398 (CLD_KILLED): Likewise.
3399 (CLD_DUMPED): Likewise.
3400 (CLD_TRAPPED): Likewise.
3401 (CLD_STOPPED): Likewise.
3402 (CLD_CONTINUED): Likewise.
3403 (POLL_IN): Likewise.
3404 (POLL_OUT): Likewise.
3405 (POLL_MSG): Likewise.
3406 (POLL_ERR): Likewise.
3407 (POLL_PRI): Likewise.
3408 (POLL_HUP): Likewise.
3409 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3410 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3413 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3414 before #include of <time.h>.
3415 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3416 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3417 (test-xfail-UNIX98/sched.h/conform): Likewise.
3419 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3421 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3422 error absence of trapping exception support.
3423 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3425 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3427 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3428 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3429 * timezone/Makefile (testdata): Move definition above include of
3431 (test-zones): New variable.
3432 (tests-special): Add zone files.
3433 (build-testdata): Use $(evaluate-test).
3435 * elf/Makefile (tests-special): Rename tests to end with .out.
3436 ($(objpfx)noload-mem): Likewise.
3437 ($(objpfx)tst-leaks1-mem): Likewise.
3438 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3439 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3440 $(objpfx)test-iconvconfig.out.
3441 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3442 set -e inside subshell and redirect output to file.
3443 * iconvdata/Makefile (generated): Rename tests to end with .out.
3445 (tests-special): Rename tests to end with .out.
3446 ($(objpfx)mtrace-tst-loading): Likewise.
3447 * intl/Makefile (generated): Likewise.
3448 (tests-special): Likewise.
3449 ($(objpfx)mtrace-tst-gettext): Likewise.
3450 * misc/Makefile (generated): Likewise.
3451 (tests-special): Likewise.
3452 ($(objpfx)tst-error1-mem): Likewise.
3453 * nptl/Makefile (tests-special): Likewise.
3454 ($(objpfx)tst-stack3-mem): Likewise.
3455 (generated): Likewise.
3456 * posix/Makefile (generated): Likewise.
3457 (tests-special): Likewise.
3458 (xtests-special): Likewise.
3459 ($(objpfx)tst-fnmatch-mem): Likewise.
3460 ($(objpfx)bug-regex2-mem): Likewise.
3461 ($(objpfx)bug-regex14-mem): Likewise.
3462 ($(objpfx)bug-regex21-mem): Likewise.
3463 ($(objpfx)bug-regex31-mem): Likewise.
3464 ($(objpfx)tst-vfork3-mem): Likewise.
3465 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3466 ($(objpfx)tst-pcre-mem): Likewise.
3467 ($(objpfx)tst-boost-mem): Likewise.
3468 ($(objpfx)bug-ga2-mem): Likewise.
3469 ($(objpfx)bug-glob2-mem): Likewise.
3470 * resolv/Makefile (generate): Likewise.
3471 (tests-special): Likewise.
3472 (xtests-special): Likewise.
3473 (generated): Likewise.
3474 ($(objpfx)mtrace-tst-leaks): Likewise.
3475 ($(objpfx)mtrace-tst-leaks2): Likewise.
3477 * scripts/merge-test-results.sh: New file.
3478 * Makefile (tests-special-notdir): New variable.
3479 (tests): Run merge-test-results.sh.
3481 * Rules (tests-special-notdir): New variable.
3482 (xtests-special-notdir): Likewise.
3483 (tests): Run merge-test-results.sh
3486 * Makeconfig (test-xfail-name): New variable.
3487 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3488 compute variable name for expected failures.
3489 * conform/Makefile (conformtest-headers-data): New variable.
3490 (conformtest-standards): Likewise.
3491 (conformtest-headers-ISO): Likewise.
3492 (conformtest-headers-ISO99): Likewise.
3493 (conformtest-headers-ISO11): Likewise.
3494 (conformtest-headers-POSIX): Likewise.
3495 (conformtest-headers-XPG3): Likewise.
3496 (conformtest-headers-XPG4): Likewise.
3497 (conformtest-headers-UNIX98): Likewise.
3498 (conformtest-headers-XOPEN2K): Likewise.
3499 (conformtest-headers-POSIX2008): Likewise.
3500 (conformtest-headers-XOPEN2K8): Likewise.
3501 (conformtest-header-list-base): Likewise.
3502 (conformtest-header-list-tests): Likewise.
3503 (conformtest-header-base): Likewise.
3504 (conformtest-header-tests): Likewise.
3505 (tests-special): Add $(conformtest-header-list-tests). If
3506 [$(fast-check) && !$(cross-compiling)], add
3507 $(conformtest-header-tests) instead of
3508 $(objpfx)run-conformtest.out.
3509 (generated): Add $(conformtest-header-list-base). If
3510 [$(fast-check) && !$(cross-compiling)], add
3511 $(conformtest-header-base). Remove previous setting.
3512 ($(conformtest-header-list-tests)): New target.
3513 (test-xfail-run-conformtest): Remove variable.
3514 ($(objpfx)run-conformtest.out): Remove target.
3515 (test-xfail-ISO11/complex.h/conform): New variable.
3516 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3517 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3518 (test-xfail-XPG3/varargs.h/conform): Likewise.
3519 (test-xfail-XPG4/varargs.h/conform): Likewise.
3520 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3521 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3522 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3523 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3524 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3525 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3526 (test-xfail-XPG3/ftw.h/conform): Likewise.
3527 (test-xfail-XPG3/grp.h/conform): Likewise.
3528 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3529 (test-xfail-XPG3/limits.h/conform): Likewise.
3530 (test-xfail-XPG3/pwd.h/conform): Likewise.
3531 (test-xfail-XPG3/search.h/conform): Likewise.
3532 (test-xfail-XPG3/signal.h/conform): Likewise.
3533 (test-xfail-XPG3/stdio.h/conform): Likewise.
3534 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3535 (test-xfail-XPG3/string.h/conform): Likewise.
3536 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3537 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3538 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3539 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3540 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3541 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3542 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3543 (test-xfail-XPG3/termios.h/conform): Likewise.
3544 (test-xfail-XPG3/time.h/conform): Likewise.
3545 (test-xfail-XPG3/unistd.h/conform): Likewise.
3546 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3547 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3548 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3549 (test-xfail-XPG4/netdb.h/conform): Likewise.
3550 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3551 (test-xfail-XPG4/signal.h/conform): Likewise.
3552 (test-xfail-XPG4/stdio.h/conform): Likewise.
3553 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3554 (test-xfail-XPG4/stropts.h/conform): Likewise.
3555 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3556 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3557 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3558 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3559 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3560 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3561 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3562 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3563 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3564 (test-xfail-XPG4/termios.h/conform): Likewise.
3565 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3566 (test-xfail-XPG4/unistd.h/conform): Likewise.
3567 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3568 (test-xfail-POSIX/sched.h/conform): Likewise.
3569 (test-xfail-POSIX/signal.h/conform): Likewise.
3570 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3571 (test-xfail-POSIX/tar.h/conform): Likewise.
3572 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3573 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3574 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3575 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3576 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3577 (test-xfail-UNIX98/sched.h/conform): Likewise.
3578 (test-xfail-UNIX98/signal.h/conform): Likewise.
3579 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3580 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3581 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3582 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3583 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3584 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3585 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3586 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3587 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3588 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3589 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3590 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3591 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3592 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3593 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3594 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3595 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3596 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3597 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3598 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3599 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3600 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3601 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3602 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3603 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3604 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3605 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3606 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3607 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3608 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3609 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3610 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3611 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3612 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3613 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3614 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3615 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3616 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3617 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3618 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3619 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3620 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3621 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3622 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3623 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3624 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3625 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3626 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3627 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3628 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3629 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3630 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3631 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3632 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3633 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3634 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3635 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3636 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3637 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3638 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3639 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3640 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3641 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3642 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3643 (conformtest-cc-flags): Likewise.
3644 ($(conformtest-header-tests): New target.
3645 * conform/check-header-lists.sh: New file.
3646 * conform/run-conformtest.sh: Remove.
3648 * conform/conformtest.pl: Allow ' and \ in values given for
3650 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3652 [POSIX] (sys/types.h): Likewise.
3653 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3655 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3657 * conform/data/signal.h-data (SIGIO): Remove expectation.
3658 [XPG3] (SIGBUS): Do not expect.
3659 [POSIX || XPG3] (SIGPOLL): Likewise.
3660 [POSIX || XPG3] (SIGPROF): Likewise.
3661 [POSIX || XPG3] (SIGSYS): Likewise.
3662 [XPG3] (SIGTRAP): Likewise.
3663 [POSIX || XPG3] (SIGURG): Likewise.
3664 [POSIX || XPG3] (SIGVTALRM): Likewise.
3665 [POSIX || XPG3] (SIGXCPU): Likewise.
3666 [POSIX || XPG3] (SIGXFSZ): Likewise.
3667 [POSIX] (SA_SIGINFO): Expect.
3668 [XPG3] (siginfo_t): Do not expect type or contents.
3669 [POSIX] (si_pid): Do not expect element.
3670 [POSIX] (si_uid): Likewise.
3671 [POSIX] (si_addr): Likewise.
3672 [POSIX] (si_status): Likewise.
3673 [POSIX] (si_band): Likewise.
3674 [XPG4] (si_value): Likewise.
3675 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3676 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3677 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3678 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3679 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3680 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3681 [POSIX || XPG3] (ILL_COPROC): Likewise.
3682 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3683 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3684 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3685 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3686 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3687 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3688 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3689 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3690 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3691 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3692 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3693 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3694 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3695 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3696 [POSIX || XPG3] (CLD_EXITED): Likewise.
3697 [POSIX || XPG3] (CLD_KILLED): Likewise.
3698 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3699 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3700 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3701 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3702 [POSIX || XPG3] (POLL_IN): Likewise.
3703 [POSIX || XPG3] (POLL_OUT): Likewise.
3704 [POSIX || XPG3] (POLL_MSG): Likewise.
3705 [POSIX || XPG3] (POLL_ERR): Likewise.
3706 [POSIX || XPG3] (POLL_PRI): Likewise.
3707 [POSIX || XPG3] (POLL_HUP): Likewise.
3708 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3709 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3710 (SIG*): Do not allow.
3711 [XPG3] (si_*): Likewise.
3712 [XPG3] (SI_*): Likewise.
3713 [XPG3 || XPG4] (sigev_*): Likewise.
3714 [XPG3 || XPG4] (SIGEV_*): Likewise.
3715 [XPG3 || XPG4] (sival_*): Likewise.
3716 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3717 [POSIX || XPG3] (BUS_*): Likewise.
3718 [POSIX || XPG3] (CLD_*): Likewise.
3719 [POSIX || XPG3] (FPE_*): Likewise.
3720 [POSIX || XPG3] (ILL_*): Likewise.
3721 [POSIX || XPG3] (POLL_*): Likewise.
3722 [POSIX || XPG3] (SEGV_*): Likewise.
3723 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3724 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3725 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3726 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3727 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3728 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3729 Specify type and value.
3730 (TVERSLEN): Likewise.
3731 (REGTYPE): Likewise.
3732 (AREGTYPE): Likewise.
3733 (LNKTYPE): Likewise.
3734 (SYMTYPE): Likewise.
3735 (CHRTYPE): Likewise.
3736 (BLKTYPE): Likewise.
3737 (DIRTYPE): Likewise.
3738 (FIFOTYPE): Likewise.
3739 (CONTTYPE): Likewise.
3744 (TUWRITE): Likewise.
3747 (TGWRITE): Likewise.
3750 (TOWRITE): Likewise.
3752 [POSIX] (TSVTX): Expect constant.
3754 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3756 * Makefile (tests): Change dependencies to ....
3757 (tests-special): ... additions to this variable.
3758 (tests): Depend on $(tests-special).
3759 * Makerules (check-abi-list): New variable.
3760 (check-abi): Depend on $(check-abi-list).
3761 [$(subdir) = elf] (tests-special): Add
3762 $(objpfx)check-abi-libc.out.
3763 [$(build-shared) = yes && subdir] (tests-special): Add
3765 [$(build-shared) = yes && subdir] (tests): Do not depend on
3767 * Rules (tests): Depend on $(tests-special).
3768 (xtests): Depend on $(xtests-special).
3769 * catgets/Makefile (tests): Change dependencies to ....
3770 (tests-special): ... additions to this variable.
3771 * conform/Makefile (tests): Change dependencies to ....
3772 (tests-special): ... additions to this variable.
3773 * elf/Makefile (tests): Change dependencies to ....
3774 (tests-special): ... additions to this variable.
3775 * grp/Makefile (tests): Change dependencies to ....
3776 (tests-special): ... additions to this variable.
3777 * iconv/Makefile (xtests): Change dependencies to ....
3778 (xtests-special): ... additions to this variable.
3779 * iconvdata/Makefile (tests): Change dependencies to ....
3780 (tests-special): ... additions to this variable.
3781 * intl/Makefile (tests): Change dependencies to ....
3782 (tests-special): ... additions to this variable. Also add
3783 $(objpfx)tst-gettext.out.
3784 * io/Makefile (tests): Change dependencies to ....
3785 (tests-special): ... additions to this variable.
3786 * libio/Makefile (tests): Change dependencies to ....
3787 (tests-special): ... additions to this variable.
3788 * malloc/Makefile (tests): Change dependencies to ....
3789 (tests-special): ... additions to this variable.
3790 * misc/Makefile (tests): Change dependencies to ....
3791 (tests-special): ... additions to this variable.
3792 * nptl/Makefile (tests): Change dependencies to ....
3793 (tests-special): ... additions to this variable.
3794 * nptl_db/Makefile (tests): Change dependencies to ....
3795 (tests-special): ... additions to this variable.
3796 * posix/Makefile (tests): Change dependencies to ....
3797 (tests-special): ... additions to this variable.
3798 (xtests): Change dependencies to ....
3799 (xtests-special): ... additions to this variable.
3800 * resolv/Makefile (tests): Change dependencies to ....
3801 (tests-special): ... additions to this variable.
3802 (xtests): Change dependencies to ....
3803 (xtests-special): ... additions to this variable.
3804 * stdio-common/Makefile (tests): Change dependencies to ....
3805 (tests-special): ... additions to this variable.
3806 (do-tst-unbputc): Remove target.
3807 (do-tst-printf): Likewise.
3808 * stdlib/Makefile (tests): Change dependencies to ....
3809 (tests-special): ... additions to this variable.
3810 * string/Makefile (tests): Change dependencies to ....
3811 (tests-special): ... additions to this variable.
3812 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3813 (tests-special): ... additions to this variable.
3815 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3817 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3819 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3820 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3822 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3823 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3824 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3825 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3826 * conform/data/libgen.h-data [XPG3]: Likewise.
3827 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3828 * conform/data/ndbm.h-data [XPG3]: Likewise.
3829 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3830 * conform/data/netdb.h-data [XPG3]: Likewise.
3831 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3832 * conform/data/poll.h-data [XPG3]: Likewise.
3833 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3834 * conform/data/strings.h-data [XPG3]: Likewise.
3835 * conform/data/stropts.h-data [XPG3]: Likewise.
3836 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3837 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3838 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3840 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3841 * conform/data/sys/time.h-data [XPG3]: Likewise.
3842 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3843 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3844 * conform/data/sys/un.h-data [XPG3]: Likewise.
3845 * conform/data/syslog.h-data [XPG3]: Likewise.
3846 * conform/data/ucontext.h-data [XPG3]: Likewise.
3847 * conform/data/utmpx.h-data [XPG3]: Likewise.
3848 * conform/data/varargs.h-data [UNIX98]: Enable file.
3850 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3852 * math/libm-test.inc (struct test_f_f_data): Move expected results
3853 into structure for each rounding mode.
3854 (struct test_ff_f_data): Likewise.
3855 (struct test_ff_f_data_nexttoward): Likewise.
3856 (struct test_fi_f_data): Likewise.
3857 (struct test_fl_f_data): Likewise.
3858 (struct test_if_f_data): Likewise.
3859 (struct test_fff_f_data): Likewise.
3860 (struct test_c_f_data): Likewise.
3861 (struct test_f_f1_data): Likewise.
3862 (struct test_fF_f1_data): Likewise.
3863 (struct test_ffI_f1_data): Likewise.
3864 (struct test_c_c_data): Likewise.
3865 (struct test_cc_c_data): Likewise.
3866 (struct test_f_i_data): Likewise.
3867 (struct test_ff_i_data): Likewise.
3868 (struct test_f_l_data): Likewise.
3869 (struct test_f_L_data): Likewise.
3870 (struct test_fFF_11_data): Likewise.
3872 (RM_FE_DOWNWARD): Likewise.
3873 (RM_FE_TONEAREST): Likewise.
3874 (RM_FE_TOWARDZERO): Likewise.
3875 (RM_FE_UPWARD): Likewise.
3876 (RUN_TEST_LOOP_f_f): Update references to expected results.
3877 (RUN_TEST_LOOP_2_f): Likewise.
3878 (RUN_TEST_LOOP_fff_f): Likewise.
3879 (RUN_TEST_LOOP_c_f): Likewise.
3880 (RUN_TEST_LOOP_f_f1): Likewise.
3881 (RUN_TEST_LOOP_fF_f1): Likewise.
3882 (RUN_TEST_LOOP_fI_f1): Likewise.
3883 (RUN_TEST_LOOP_ffI_f1): Likewise.
3884 (RUN_TEST_LOOP_c_c): Likewise.
3885 (RUN_TEST_LOOP_cc_c): Likewise.
3886 (RUN_TEST_LOOP_f_i): Likewise.
3887 (RUN_TEST_LOOP_f_i_tg): Likewise.
3888 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3889 (RUN_TEST_LOOP_f_b): Likewise.
3890 (RUN_TEST_LOOP_f_b_tg): Likewise.
3891 (RUN_TEST_LOOP_f_l): Likewise.
3892 (RUN_TEST_LOOP_f_L): Likewise.
3893 (RUN_TEST_LOOP_fFF_11): Likewise.
3894 * math/gen-libm-test.pl (parse_args): Output four copies of
3895 expected results for each test.
3897 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3898 (__ASSUME_UTIMES): Remove.
3899 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3900 (__ASSUME_UTIMES): Likewise.
3902 * math/gen-auto-libm-tests.c: Update comment on output format.
3903 (output_for_one_input_case): Generate before-rounding and
3904 after-rounding information as conditions on output flags not
3905 floating-point format.
3906 * math/auto-libm-test-out: Regenerated.
3907 * math/gen-libm-test.pl (cond_value): New function.
3908 (or_cond_value): Use cond_value.
3909 (generate_testfile): Handle conditional exceptions.
3911 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3913 * math/libm-test.inc (max_valid_error): New variable.
3914 (init_max_error): Take new argument specifying whether function
3915 results are exactly determined. Set max_valid_error and bound
3916 other variables for errors based on this argument.
3917 (set_max_error): Do not record results above max_valid_error.
3918 (check_float_internal): Only accept errors of up to 0.5ulps if
3919 also at most max_valid_error.
3920 (START): Take new argument EXACT and pass it to init_max_error.
3921 (acos_test): Update call to START.
3922 (acos_test_tonearest): Likewise.
3923 (acos_test_towardzero): Likewise.
3924 (acos_test_downward): Likewise.
3925 (acos_test_upward): Likewise.
3926 (acosh_test): Likewise.
3927 (asin_test): Likewise.
3928 (asin_test_tonearest): Likewise.
3929 (asin_test_towardzero): Likewise.
3930 (asin_test_downward): Likewise.
3931 (asin_test_upward): Likewise.
3932 (asinh_test): Likewise.
3933 (atan_test): Likewise.
3934 (atanh_test): Likewise.
3935 (atan2_test): Likewise.
3936 (cabs_test): Likewise.
3937 (cacos_test): Likewise.
3938 (cacosh_test): Likewise.
3939 (carg_test): Likewise.
3940 (casin_test): Likewise.
3941 (casinh_test): Likewise.
3942 (catan_test): Likewise.
3943 (catanh_test): Likewise.
3944 (cbrt_test): Likewise.
3945 (ccos_test): Likewise.
3946 (ccosh_test): Likewise.
3947 (ceil_test): Likewise.
3948 (cexp_test): Likewise.
3949 (cimag_test): Likewise.
3950 (clog_test): Likewise.
3951 (clog10_test): Likewise.
3952 (conj_test): Likewise.
3953 (copysign_test): Likewise.
3954 (cos_test): Likewise.
3955 (cos_test_tonearest): Likewise.
3956 (cos_test_towardzero): Likewise.
3957 (cos_test_downward): Likewise.
3958 (cos_test_upward): Likewise.
3959 (cosh_test): Likewise.
3960 (cosh_test_tonearest): Likewise.
3961 (cosh_test_towardzero): Likewise.
3962 (cosh_test_downward): Likewise.
3963 (cosh_test_upward): Likewise.
3964 (cpow_test): Likewise.
3965 (cproj_test): Likewise.
3966 (creal_test): Likewise.
3967 (csin_test): Likewise.
3968 (csinh_test): Likewise.
3969 (csqrt_test): Likewise.
3970 (ctan_test): Likewise.
3971 (ctan_test_tonearest): Likewise.
3972 (ctan_test_towardzero): Likewise.
3973 (ctan_test_downward): Likewise.
3974 (ctan_test_upward): Likewise.
3975 (ctanh_test): Likewise.
3976 (ctanh_test_tonearest): Likewise.
3977 (ctanh_test_towardzero): Likewise.
3978 (ctanh_test_downward): Likewise.
3979 (ctanh_test_upward): Likewise.
3980 (erf_test): Likewise.
3981 (erfc_test): Likewise.
3982 (exp_test): Likewise.
3983 (exp_test_tonearest): Likewise.
3984 (exp_test_towardzero): Likewise.
3985 (exp_test_downward): Likewise.
3986 (exp_test_upward): Likewise.
3987 (exp10_test): Likewise.
3988 (exp10_test_tonearest): Likewise.
3989 (exp10_test_towardzero): Likewise.
3990 (exp10_test_downward): Likewise.
3991 (exp10_test_upward): Likewise.
3992 (pow10_test): Likewise.
3993 (exp2_test): Likewise.
3994 (expm1_test): Likewise.
3995 (expm1_test_tonearest): Likewise.
3996 (expm1_test_towardzero): Likewise.
3997 (expm1_test_downward): Likewise.
3998 (expm1_test_upward): Likewise.
3999 (fabs_test): Likewise.
4000 (fdim_test): Likewise.
4001 (floor_test): Likewise.
4002 (fma_test): Likewise.
4003 (fma_test_towardzero): Likewise.
4004 (fma_test_downward): Likewise.
4005 (fma_test_upward): Likewise.
4006 (fmax_test): Likewise.
4007 (fmin_test): Likewise.
4008 (fmod_test): Likewise.
4009 (fpclassify_test): Likewise.
4010 (frexp_test): Likewise.
4011 (hypot_test): Likewise.
4012 (ilogb_test): Likewise.
4013 (isfinite_test): Likewise.
4014 (finite_test): Likewise.
4015 (isgreater_test): Likewise.
4016 (isgreaterequal_test): Likewise.
4017 (isinf_test): Likewise.
4018 (isless_test): Likewise.
4019 (islessequal_test): Likewise.
4020 (islessgreater_test): Likewise.
4021 (isnan_test): Likewise.
4022 (isnormal_test): Likewise.
4023 (issignaling_test): Likewise.
4024 (isunordered_test): Likewise.
4025 (j0_test): Likewise.
4026 (j1_test): Likewise.
4027 (jn_test): Likewise.
4028 (ldexp_test): Likewise.
4029 (lgamma_test): Likewise.
4030 (gamma_test): Likewise.
4031 (lrint_test): Likewise.
4032 (lrint_test_tonearest): Likewise.
4033 (lrint_test_towardzero): Likewise.
4034 (lrint_test_downward): Likewise.
4035 (lrint_test_upward): Likewise.
4036 (llrint_test): Likewise.
4037 (llrint_test_tonearest): Likewise.
4038 (llrint_test_towardzero): Likewise.
4039 (llrint_test_downward): Likewise.
4040 (llrint_test_upward): Likewise.
4041 (log_test): Likewise.
4042 (log10_test): Likewise.
4043 (log1p_test): Likewise.
4044 (log2_test): Likewise.
4045 (logb_test): Likewise.
4046 (logb_test_downward): Likewise.
4047 (lround_test): Likewise.
4048 (llround_test): Likewise.
4049 (modf_test): Likewise.
4050 (nearbyint_test): Likewise.
4051 (nextafter_test): Likewise.
4052 (nexttoward_test): Likewise.
4053 (pow_test): Likewise.
4054 (pow_test_tonearest): Likewise.
4055 (pow_test_towardzero): Likewise.
4056 (pow_test_downward): Likewise.
4057 (pow_test_upward): Likewise.
4058 (remainder_test): Likewise.
4059 (drem_test): Likewise.
4060 (remainder_test_tonearest): Likewise.
4061 (drem_test_tonearest): Likewise.
4062 (remainder_test_towardzero): Likewise.
4063 (drem_test_towardzero): Likewise.
4064 (remainder_test_downward): Likewise.
4065 (drem_test_downward): Likewise.
4066 (remainder_test_upward): Likewise.
4067 (drem_test_upward): Likewise.
4068 (remquo_test): Likewise.
4069 (rint_test): Likewise.
4070 (rint_test_tonearest): Likewise.
4071 (rint_test_towardzero): Likewise.
4072 (rint_test_downward): Likewise.
4073 (rint_test_upward): Likewise.
4074 (round_test): Likewise.
4075 (scalb_test): Likewise.
4076 (scalbn_test): Likewise.
4077 (scalbln_test): Likewise.
4078 (signbit_test): Likewise.
4079 (sin_test): Likewise.
4080 (sin_test_tonearest): Likewise.
4081 (sin_test_towardzero): Likewise.
4082 (sin_test_downward): Likewise.
4083 (sin_test_upward): Likewise.
4084 (sincos_test): Likewise.
4085 (sinh_test): Likewise.
4086 (sinh_test_tonearest): Likewise.
4087 (sinh_test_towardzero): Likewise.
4088 (sinh_test_downward): Likewise.
4089 (sinh_test_upward): Likewise.
4090 (sqrt_test): Likewise.
4091 (sqrt_test_tonearest): Likewise.
4092 (sqrt_test_towardzero): Likewise.
4093 (sqrt_test_downward): Likewise.
4094 (sqrt_test_upward): Likewise.
4095 (tan_test): Likewise.
4096 (tan_test_tonearest): Likewise.
4097 (tan_test_towardzero): Likewise.
4098 (tan_test_downward): Likewise.
4099 (tan_test_upward): Likewise.
4100 (tanh_test): Likewise.
4101 (tgamma_test): Likewise.
4102 (trunc_test): Likewise.
4103 (y0_test): Likewise.
4104 (y1_test): Likewise.
4105 (yn_test): Likewise.
4106 (significand_test): Likewise.
4108 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4109 individual tests in comment.
4110 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4111 (prev_max_error): New variable.
4112 (prev_real_max_error): Likewise.
4113 (prev_imag_max_error): Likewise.
4114 (compare_ulp_data): Don't refer to test names in comment.
4115 (find_test_ulps): Remove function.
4116 (find_function_ulps): Likewise.
4117 (find_complex_function_ulps): Likewise.
4118 (init_max_error): Take function name as argument. Look up ulps
4120 (print_ulps): Remove function.
4121 (print_max_error): Use prev_max_error instead of calling
4123 (print_complex_max_error): Use prev_real_max_error and
4124 prev_imag_max_error instead of calling find_complex_function_ulps.
4125 (check_float_internal): Take max_ulp parameter instead of calling
4126 find_test_ulps. Don't call print_ulps.
4127 (check_float): Update call to check_float_internal.
4128 (check_complex): Update calls to check_float_internal.
4129 (START): Pass argument to init_max_error.
4130 * math/gen-libm-test.pl (%results): Don't include "kind"
4132 (parse_ulps): Don't handle ulps of individual tests.
4133 (print_ulps_file): Likewise.
4134 (output_ulps): Likewise.
4135 * math/README.libm-test: Update.
4136 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4138 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4139 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4140 * sysdeps/arm/libm-test-ulps: Likewise.
4141 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4142 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4143 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4144 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4145 * sysdeps/microblaze/libm-test-ulps: Likewise.
4146 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4147 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4149 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4150 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4151 * sysdeps/sh/libm-test-ulps: Likewise.
4152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4153 * sysdeps/tile/libm-test-ulps: Likewise.
4154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4156 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4158 * math/libm-test.inc (print_complex_max_error): Check separately
4159 whether real and imaginary errors are within allowed range and
4160 pass 0 to print_complex_function_ulps instead of value within
4163 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4165 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4167 (get_handles_fopen): Likewise.
4168 (do_write_test): Likewise.
4170 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4172 * libio/fileops.c (do_ftell): Use cached offset when
4174 * libio/iofwide.c (do_ftell_wide): Likewise.
4175 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4177 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4180 * libio/libioP.h (get_file_offset): New function.
4181 * libio/fileops.c (get_file_offset): Likewise.
4182 (do_ftell): Likewise.
4183 (_IO_new_file_seekoff): Split out ftell logic.
4184 * libio/wfileops.c (do_ftell_wide): Likewise.
4185 (_IO_wfile_seekoff): Split out ftell logic.
4186 * libio/tst-ftell-active-handler.c: New test case.
4187 * libio/Makefile (tests): Add it.
4189 2014-03-03 Roland McGrath <roland@hack.frob.com>
4191 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4192 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4194 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4197 * nscd/connections.c (nscd_init): Call do_exit.
4198 (start_threads): Call do_exit and notify_parent.
4199 (begin_drop_privileges): Call do_exit.
4200 (finish_drop_privileges): Likewise.
4201 * nscd/selinux.c (preserve_capabilities): Likewise.
4202 (install_real_capabilities): Likewise.
4203 (nscd_selinux_enabled): Likewise.
4204 (avc_create_thread): Likewise.
4205 (avc_alloc_lock): Likewise.
4206 (nscd_avc_init): Likewise.
4207 * nscd/nscd.c (parent_fd): New static variable.
4208 (main): Create a pipe between parent and child processes.
4209 Skip closing parent_fd.
4210 (monitor_child): New function.
4211 (do_exit): Likewise.
4212 (notify_parent): Likewise.
4213 * nscd/nscd.h (notify_parent): Likewise.
4214 (do_exit): Likewise.
4216 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4218 * malloc/malloc.c (__libc_calloc): Revert last change.
4220 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4224 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4226 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4230 (__libc_ifunc_impl_list): Likewise.
4231 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4232 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4233 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4234 * string/strrchr.c: Define STRRCHR.
4236 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4238 * benchtest/bench-strtok.c (simple_strtok): Delete.
4239 (strtok_string): Use as benchmark.
4240 * string/strtok (STRTOK): New macro.
4242 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4244 * manual/threads.texi: Add header and standard comments to all
4247 * elf/dl-lookup.c (check_match): New function.
4248 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4249 (do_lookup_x): Remove nested function check_match. Use non-nested
4250 function check_match.
4252 2014-02-28 Roland McGrath <roland@hack.frob.com>
4254 * csu/Makefile (generated, before-compile): Use += rather than =.
4255 * catgets/Makefile (generated, generated-dirs): Likewise.
4256 * debug/Makefile (generated): Likewise.
4257 * dlfcn/Makefile (generated): Likewise.
4258 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4259 * iconvdata/Makefile (before-compile, generated): Likewise.
4260 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4261 * libio/Makefile (generated): Likewise.
4262 * malloc/Makefile (generated): Likewise.
4263 * manual/Makefile (generated, generated-dirs): Likewise.
4264 * misc/Makefile (generated): Likewise.
4265 * posix/Makefile (generated): Likewise.
4266 * resolv/Makefile (generated): Likewise.
4267 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4268 * timezone/Makefile (generated, generated-dirs): Likewise.
4270 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4272 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4275 power8 implementation.
4276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4277 file: POWER8 llround ifunc implementation.
4278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4279 (__lllround): Add POWER8 implementation.
4280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4281 POWER8 llround implementation.
4283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4284 power8 implementation.
4285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4286 file: POWER8 llrint ifunc implementation.
4287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4288 Add POWER8 implementation.
4289 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4290 POWER8 llrint implementation.
4292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4293 power8 implementation.
4294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4295 file: POWER8 finite ifunc implementation.
4296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4297 Add POWER8 implementation.
4298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4300 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4301 POWER8 finite implementation.
4302 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4305 power8 implementation.
4306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4307 file: POWER8 isinf ifunc implementation.
4308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4309 POWER8 implementation.
4310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4313 isinf implementation.
4314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4316 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4317 (INIT_ARCH): Add hwcap2 initialization.
4318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4319 power8 implementation.
4320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4321 file: POWER8 isnan ifunc implementation.
4322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4323 POWER8 implementation.
4324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4326 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4327 isnan implementation.
4328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4330 2014-02-27 Joey Ye <joey.ye@arm.com>
4332 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4333 (_FP_NANFRAC_Q): Set to zero.
4335 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4338 * math/auto-libm-test-in: New test inputs.
4339 * math/auto-libm-test-out: Regenerate.
4340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4345 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4347 * scripts/evaluate-test.sh: Take new argument indicating whether
4348 failure is expected.
4349 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4350 indicating whether failure is expected.
4351 * conform/Makefile (test-xfail-run-conformtest): New variable.
4352 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4354 * posix/Makefile (test-xfail-annexc): New variable.
4355 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4357 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4359 * argp/Makefile: Include Makeconfig immediately after defining
4361 * assert/Makefile: Likewise.
4362 * benchtests/Makefile: Likewise.
4363 * catgets/Makefile: Likewise.
4364 * conform/Makefile: Likewise.
4365 * crypt/Makefile: Likewise.
4366 * csu/Makefile: Likewise.
4367 (all): Remove target.
4368 * ctype/Makefile: Include Makeconfig immediately after defining
4370 * debug/Makefile: Likewise.
4371 * dirent/Makefile: Likewise.
4372 * dlfcn/Makefile: Likewise.
4373 * gmon/Makefile: Likewise.
4374 * gnulib/Makefile: Likewise.
4375 * grp/Makefile: Likewise.
4376 * gshadow/Makefile: Likewise.
4377 * hesiod/Makefile: Likewise.
4378 * hurd/Makefile: Likewise.
4379 (all): Remove target.
4380 * iconvdata/Makefile: Include Makeconfig immediately after
4382 * inet/Makefile: Likewise.
4383 * intl/Makefile: Likewise.
4384 * io/Makefile: Likewise.
4385 * libio/Makefile: Likewise.
4386 (all): Remove target.
4387 * locale/Makefile: Include Makeconfig immediately after defining
4389 * login/Makefile: Likewise.
4390 * mach/Makefile: Likewise.
4391 (all): Remove target.
4392 * malloc/Makefile: Include Makeconfig immediately after defining
4394 (all): Remove target.
4395 * manual/Makefile: Include Makeconfig immediately after defining
4397 * math/Makefile: Likewise.
4398 * misc/Makefile: Likewise.
4399 * nis/Makefile: Likewise.
4400 * nss/Makefile: Likewise.
4401 * po/Makefile: Likewise.
4402 (all): Remove target.
4403 * posix/Makefile: Include Makeconfig immediately after defining
4405 * pwd/Makefile: Likewise.
4406 * resolv/Makefile: Likewise.
4407 * resource/Makefile: Likewise.
4408 * rt/Makefile: Likewise.
4409 * setjmp/Makefile: Likewise.
4410 * shadow/Makefile: Likewise.
4411 * signal/Makefile: Likewise.
4412 * socket/Makefile: Likewise.
4413 * soft-fp/Makefile: Likewise.
4414 * stdio-common/Makefile: Likewise.
4415 * stdlib/Makefile: Likewise.
4416 * streams/Makefile: Likewise.
4417 * string/Makefile: Likewise.
4418 * sunrpc/Makefile: Likewise.
4419 (all): Remove target.
4420 * sysvipc/Makefile: Include Makeconfig immediately after defining
4422 * termios/Makefile: Likewise.
4423 * time/Makefile: Likewise.
4424 * timezone/Makefile: Likewise.
4425 (all): Remove target.
4426 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4428 * wctype/Makefile: Likewise.
4430 2014-02-26 Steve Ellcey <sellcey@mips.com>
4432 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4433 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4434 (libc_feholdexcept_setround_mips): Ditto.
4435 (libc_feholdsetround): New.
4436 (libc_feholdsetroundf): New.
4437 (libc_feholdsetroundl): New.
4438 (libc_feupdateenv_test_mips): New.
4439 (libc_feupdateenv_test): New.
4440 (libc_feupdateenv_testf): New.
4441 (libc_feupdateenv_testl): New.
4442 (libc_feresetround): New.
4443 (libc_feresetroundf): New.
4444 (libc_feresetroundl): New.
4445 (libc_fetestexcept_mips): New.
4446 (libc_fetestexcept): New.
4447 (libc_fetestexceptf): New.
4448 (libc_fetestexceptl): New.
4450 (libc_feholdexcept_setround_mips_ctx): New.
4451 (libc_feholdexcept_setround_ctx): New.
4452 (libc_feholdexcept_setroundf_ctx): New.
4453 (libc_feholdexcept_setroundl_ctx): New.
4454 (libc_fesetenv_mips_ctx): New.
4455 (libc_fesetenv_ctx): New.
4456 (libc_fesetenv_ctxf): New.
4457 (libc_fesetenv_ctxl): New.
4458 (libc_feupdateenv_mips_ctx): New.
4459 (libc_feupdateenv_ctx): New.
4460 (libc_feupdateenvf_ctx): New.
4461 (libc_feupdateenvl_ctx): New.
4462 (libc_feholdsetround_mips_ctx): New.
4463 (libc_feholdsetround_ctx): New.
4464 (libc_feholdsetroundf_ctx): New.
4465 (libc_feholdsetroundl_ctx): New.
4466 (libc_feresetround_mips_ctx): New.
4467 (libc_feresetround_ctx): New.
4468 (libc_feresetroundf_ctx): New.
4469 (libc_feresetroundl_ctx): New.
4471 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4473 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4475 * manual/ipc.texi: New file.
4476 * manual/Makefile (chapters): Add ipc.
4477 * manual/job.texi: Add "Inter-Process Communication" to next.
4478 * manual/process.texi: Add "Inter-Process Communication" to prev.
4480 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4484 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4486 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4488 * manual/arith.texi: Fix spaces after sentences.
4489 * manual/charset.texi: Likewise.
4490 * manual/errno.texi: Likewise.
4491 * manual/install.texi: Likewise.
4492 * manual/llio.texi: Likewise.
4493 * manual/locale.texi: Likewise.
4494 * manual/maint.texi: Likewise.
4495 * manual/math.texi: Likewise.
4496 * manual/memory.texi: Likewise.
4497 * manual/message.texi: Likewise.
4498 * manual/probes.texi: Likewise.
4499 * manual/resource.texi: Likewise.
4500 * manual/signal.texi: Likewise.
4501 * manual/socket.texi: Likewise.
4502 * manual/stdio.texi: Likewise.
4503 * manual/string.texi: Likewise.
4504 * manual/time.texi: Likewise.
4505 * manual/users.texi: Likewise.
4507 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4510 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4511 _DEFAULT_SOURCE is defined.
4513 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4514 Carlos O'Donell <carlos@redhat.com>
4517 * elf/dl-tls.c (_dl_count_modids): New function.
4518 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4519 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4520 audit library and increment generation counter.
4521 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4522 * elf/tst-audit9.c: New file.
4523 * elf/tst-auditmod9a.c: New file.
4524 * elf/tst-auditmod9b.c: New file.
4525 * elf/Makefile: Add rules to build and run tst-audit9.
4527 2014-02-25 Florian Weimer <fweimer@redhat.com>
4530 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4532 2014-02-25 Will Newton <will.newton@linaro.org>
4534 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4535 (__longjmp): Restore sp and lr before restoring callee
4536 saved registers. Add longjmp and longjmp_target
4537 SystemTap probe point.
4538 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4539 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4540 Define to zero to match jmpbuf layout.
4541 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4542 (__sigsetjmp): Save sp and lr before saving callee
4543 saved registers. Add setjmp SystemTap probe point.
4545 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4547 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4549 2014-02-24 Andreas Schwab <schwab@suse.de>
4552 * elf/pldd.c (wait_for_ptrace_stop): New function.
4553 (main): Call it after attaching.
4555 2014-02-22 Roland McGrath <roland@hack.frob.com>
4557 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4558 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4559 Versions files is now verboten.
4560 * hurd/Versions (libc: GLIBC_2.0):
4561 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4562 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4563 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4564 * mach/Versions: Likewise.
4566 * csu/Versions: Remove unused %include.
4567 * resolv/Versions: Likewise.
4569 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4571 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4572 ($(objpfx)check-local-headers.out): Likewise.
4573 ($(objpfx)begin-end-check.out): Likewise.
4574 * Makerules (check-abi-%.out): Likewise.
4575 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4576 ($(objpfx)test2.cat): Likewise.
4577 ($(objpfx)de/libc.cat): Likewise.
4578 ($(objpfx)test-gencat.out): Likewise.
4579 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4580 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4581 ($(objpfx)noload-mem): Likewise.
4582 ($(objpfx)tst-pathopt.out): Likewise.
4583 ($(objpfx)tst-rtld-load-self.out): Likewise.
4584 ($(objpfx)tst-array1-cmp.out): Likewise.
4585 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4586 ($(objpfx)tst-array2-cmp.out): Likewise.
4587 ($(objpfx)tst-array3-cmp.out): Likewise.
4588 ($(objpfx)tst-array4-cmp.out): Likewise.
4589 ($(objpfx)tst-array5-cmp.out): Likewise.
4590 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4591 ($(objpfx)check-textrel.out): Likewise.
4592 ($(objpfx)check-execstack.out): Likewise.
4593 ($(objpfx)check-localplt.out): Likewise.
4594 ($(objpfx)order2-cmp.out): Likewise.
4595 ($(objpfx)tst-leaks1-mem): Likewise.
4596 ($(objpfx)tst-leaks1-static-mem): Likewise.
4597 ($(objpfx)tst-initorder-cmp.out): Likewise.
4598 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4599 ($(objpfx)tst-unused-dep.out): Likewise.
4600 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4601 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4602 * iconv/Makefile (test-iconvconfig): Likewise.
4603 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4604 ($(objpfx)iconv-test.out): Likewise.
4605 ($(objpfx)tst-tables.out): Likewise.
4606 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4607 ($(objpfx)tst-gettext.out): Likewise.
4608 ($(objpfx)tst-translit.out): Likewise.
4609 ($(objpfx)tst-gettext2.out): Likewise.
4610 ($(objpfx)tst-gettext4.out): Likewise.
4611 ($(objpfx)tst-gettext6.out): Likewise.
4612 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4613 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4614 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4615 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4617 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4618 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4619 ($(objpfx)wordexp-tst.out): Likewise.
4620 ($(objpfx)annexc.out): Likewise.
4621 ($(objpfx)tst-fnmatch-mem): Likewise.
4622 ($(objpfx)bug-regex2-mem): Likewise.
4623 ($(objpfx)bug-regex14-mem): Likewise.
4624 ($(objpfx)bug-regex21-mem): Likewise.
4625 ($(objpfx)bug-regex31-mem): Likewise.
4626 ($(objpfx)tst-vfork3-mem): Likewise.
4627 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4628 ($(objpfx)tst-pcre-mem): Likewise.
4629 ($(objpfx)tst-boost-mem): Likewise.
4630 ($(objpfx)tst-getconf.out): Likewise.
4631 ($(objpfx)bug-ga2-mem): Likewise.
4632 ($(objpfx)bug-glob2-mem): Likewise.
4633 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4634 ($(objpfx)mtrace-tst-leaks2): Likewise.
4635 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4636 ($(objpfx)tst-printf.out): Likewise.
4637 ($(objpfx)tst-setvbuf1.out): Likewise.
4638 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4639 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4640 ($(objpfx)tst-fmtmsg.out): Likewise.
4641 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4642 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4644 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4645 * bits/sigaction.h [__USE_MISC]: Likewise.
4646 * bits/waitstatus.h: Update #endif comments.
4647 * ctype/ctype.h: Likewise.
4648 * dirent/dirent.h: Likewise.
4649 [__USE_MISC]: Remove redundant conditionals.
4650 * grp/grp.h: Update #endif comments.
4651 [__USE_GNU]: Remove redundant conditionals.
4652 [__USE_MISC]: Likewise.
4653 * inet/netinet/in.h [__USE_GNU]: Likewise.
4654 * io/sys/stat.h [__USE_MISC]: Likewise.
4655 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4656 * libio/bits/stdio.h: Update #endif comments.
4657 [__USE_MISC]: Remove redundant conditionals.
4658 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4659 * libio/stdio.h: Update #endif comments.
4660 [__USE_MISC]: Remove redundant conditionals.
4661 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4662 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4663 * math/math.h: Update #else and #endif comments.
4664 [__USE_MISC]: Remove redundant conditionals.
4665 * misc/sys/uio.h: Update #endif comments.
4666 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4667 * posix/glob.h [__USE_MISC]: Likewise.
4668 * posix/sys/types.h: Update #endif comments.
4669 [__USE_MISC]: Remove redundant conditionals.
4670 * posix/sys/wait.h: Update #endif comments.
4671 [__USE_MISC]: Remove redundant conditionals.
4672 * posix/unistd.h: Update #endif comments.
4673 [__USE_MISC]: Remove redundant conditionals.
4674 * pwd/pwd.h [__USE_GNU]: Likewise.
4675 [__USE_MISC]: Likewise.
4676 * resolv/netdb.h [__USE_GNU]: Likewise.
4677 * signal/signal.h: Update #endif comments.
4678 [__USE_MISC]: Remove redundant conditionals.
4679 * stdlib/stdlib.h: Update #else and #endif comments.
4680 [__USE_MISC]: Remove redundant conditionals.
4681 [__USE_GNU]: Likewise.
4682 * string/bits/string2.h [__USE_MISC]: Likewise.
4683 * string/string.h: Update #endif comments.
4684 [__USE_MISC]: Remove redundant conditionals.
4685 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4688 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4689 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4691 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4695 [__USE_MISC]: Remove redundant conditionals.
4696 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4697 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4698 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4699 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4700 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4702 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4703 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4705 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4706 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4708 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4710 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4711 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4713 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4715 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4716 * sysdeps/x86/bits/string.h: Update #endif comments.
4717 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4719 * time/sys/time.h: Update #endif comments.
4720 * time/time.h: Likewise.
4721 [__USE_MISC]: Remove redundant conditionals.
4723 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4726 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4728 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4730 * Versions.def (librt): Add GLIBC_2.17.
4732 2014-02-21 Adam Conrad <adconrad@0c3.net>
4734 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4735 synonym for _SYS_AUXV_H to allow direct inclusion.
4736 * sysdeps/sparc/bits/hwcap.h: Likewise.
4737 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4738 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4739 * sysdeps/sparc/sysdep.h: Likewise.
4741 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4745 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4747 * benchtests/bench-strrchr.c: Print length instead of position.
4749 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4752 * sysdeps/unix/sysv/linux/kernel-features.h
4753 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4754 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4755 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4756 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4758 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4759 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4760 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4761 (__ASSUME_SENDMMSG): Define instead of using previous
4762 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4763 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4764 (__ASSUME_SENDMMSG_SYSCALL): Define.
4765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4766 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4769 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4771 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4772 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4774 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4775 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4776 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4777 [__ASSUME_SENDMMSG]: Change conditionals to
4778 [__ASSUME_SENDMMSG_SOCKETCALL].
4779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4780 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4783 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4785 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4786 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4787 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4788 [!__ASSUME_SENDMMSG]: Change conditional to
4789 [!__ASSUME_SENDMMSG_SOCKETCALL].
4790 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4791 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4795 * sysdeps/unix/sysv/linux/kernel-features.h
4796 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4797 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4798 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4799 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4800 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4801 [__i386__ || __sparc__]
4802 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4803 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4804 (__ASSUME_RECVMMSG): Define instead of using previous
4805 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4806 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4807 (__ASSUME_RECVMMSG_SYSCALL): Define.
4808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4811 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4814 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4815 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4818 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4819 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4820 [__ASSUME_RECVMMSG]: Change condition to
4821 [__ASSUME_RECVMMSG_SOCKETCALL].
4822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4825 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4826 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4827 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4829 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4830 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4831 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4832 [!__ASSUME_RECVMMSG]: Change condition to
4833 [!__ASSUME_RECVMMSG_SOCKETCALL].
4834 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4835 (__ASSUME_RECVMMSG_SYSCALL): Define.
4838 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4839 __powerpc__ || __s390__ || __sh__ || __sparc__]
4840 (__ASSUME_SOCKETCALL): Define.
4841 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4842 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4843 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4844 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4845 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4846 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4847 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4848 (__ASSUME_ACCEPT4): Define instead of using previous
4849 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4850 __powerpc__ || __sparc__ || __s390__)] condition.
4851 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4852 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4853 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4854 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4855 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4856 [!__ASSUME_ACCEPT4]: Change condition to
4857 [!__ASSUME_ACCEPT4_SOCKETCALL].
4858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4859 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4860 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4861 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4862 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4863 __ASSUME_ACCEPT4_SYSCALL.
4864 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4865 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4866 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4867 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4868 __ASSUME_ACCEPT4_SYSCALL.
4869 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4870 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4871 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4872 [__ASSUME_ACCEPT4]: Change condition to
4873 [__ASSUME_ACCEPT4_SOCKETCALL].
4874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4875 (__ASSUME_SOCKETCALL): Define.
4876 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4878 (__ASSUME_SOCKETCALL): Define.
4879 (__ASSUME_ACCEPT4): Remove.
4880 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4883 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4885 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4886 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4888 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4890 (HWCAP_ARM_LPAE): Likewise.
4891 (HWCAP_ARM_EVTSTRM): Likewise.
4892 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4893 Add vpfd32, lpae and evtstrm.
4894 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4897 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4899 * math/auto-libm-test-in: Add tests of clog10.
4900 * math/auto-libm-test-out: Regenerated.
4901 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4902 * sysdeps/i386/fpu/libm-test-ulps: Update.
4903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905 2014-02-18 Andreas Schwab <schwab@suse.de>
4908 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4909 Store non-zero if the second buffer was newly allocated.
4910 (send_dg): Likewise.
4911 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4912 to send_vc and send_dg.
4913 (res_nsend): Pass NULL for ansp2_malloced.
4914 * resolv/res_query.c (__libc_res_nquery): Add parameter
4915 answerp2_malloced and pass it down to __libc_res_nsend.
4916 (res_nquery): Pass additional NULL to __libc_res_nquery.
4917 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4918 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4919 second answer buffer if answerp2_malloced was set.
4920 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4921 (__libc_res_nquerydomain): Add parameter
4922 answerp2_malloced and pass it down to __libc_res_nquery.
4923 (res_nquerydomain): Pass additional NULL to
4924 __libc_res_nquerydomain.
4925 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4926 additional NULL to __libc_res_nsend and __libc_res_nquery.
4927 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4928 additional NULL to __libc_res_nsearch.
4929 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4930 parameter of __libc_res_nsearch to check for separately allocated
4932 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4934 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4935 additional NULL to __libc_res_nquery.
4936 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4938 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4939 * include/resolv.h: Update prototypes of __libc_res_nquery,
4940 __libc_res_nsearch, __libc_res_nsend.
4942 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4944 * math/auto-libm-test-in: Add tests of fma.
4945 * math/auto-libm-test-out: Regenerated.
4946 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4947 (fma_towardzero_test_data): Likewise.
4948 (fma_downward_test_data): Likewise.
4949 (fma_upward_test_data): Likewise.
4950 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4952 (rounding_modes): Add values for new field.
4953 (func_calc_method): Add value mpfr_fff_f.
4954 (func_calc_desc): Add mpfr_fff_f union field.
4955 (test_function): Add field exact_args.
4956 (FUNC): Add macro argument EXACT_ARGS.
4957 (FUNC_mpfr_f_f): Update call to FUNC.
4958 (FUNC_mpfr_f_f): Likewise.
4959 (FUNC_mpfr_ff_f): Likewise.
4960 (FUNC_mpfr_if_f): Likewise.
4961 (FUNC_mpc_c_f): Likewise.
4962 (FUNC_mpc_c_c): Likewise.
4963 (test_functions): Add fma. Update calls to FUNC.
4964 (handle_input_arg): Add argument exact_args.
4965 (add_test): Update call to handle_input_arg.
4966 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4967 (output_for_one_input_case): Update call to calc_generic_results.
4968 Recalculate exact zero results in each rounding mode.
4970 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4971 non-negative before setting low bit.
4972 * math/auto-libm-test-in: Mark one asin test possibly having
4974 * math/auto-libm-test-out: Regenerated.
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4978 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4980 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4981 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4982 ports/sysdeps/unix/sysv/linux/microblaze.
4983 * README: Add missing listing for microblaze*-*-linux-gnu.
4985 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4987 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4988 * sysdeps/unix/sysv/linux/ia64: Move directory from
4989 ports/sysdeps/unix/sysv/linux/ia64.
4990 * README: Update listing for ia64-*-linux-gnu.
4992 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4993 Joseph Myers <joseph@codesourcery.com>
4995 * Makeconfig (test-name): New variable.
4996 (evaluate-test): Likewise.
4997 * Makerules (do-test-clean): Remove .test-result files.
4998 (common-mostlyclean): Likewise.
4999 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5000 * scripts/evaluate-test.sh: New file.
5002 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5004 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5005 separate $(objpfx)tst-fopenloc-cmp.out and
5006 $(objpfx)tst-fopenloc-mem.out targets.
5007 (tests): Update dependencies.
5008 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5009 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5010 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5011 (tst-rxspencer-no-utf8-ARGS): New variable.
5012 (tst-rxspencer-no-utf8-ENV): Likewise.
5013 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5014 instead of $(objpfx)tst-rxspencer-mem.
5015 ($(objpfx)tst-rxspencer-mem): Change target to
5016 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5017 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5018 * posix/tst-rxspencer-no-utf8.c: New file.
5020 * elf/Makefile ($(objpfx)order.out): Remove rule.
5021 [$(run-built-tests) = yes] (tests): Depend on
5022 $(objpfx)order-cmp.out.
5023 ($(objpfx)order-cmp.out): New rule.
5024 [$(run-built-tests) = yes] (tests): Depend on
5025 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5026 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5027 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5028 $(objpfx)tst-array5-static-cmp.out.
5029 ($(objpfx)tst-array1.out): Remove rule.
5030 ($(objpfx)tst-array1-cmp.out): New rule.
5031 ($(objpfx)tst-array1-static.out): Remove rule.
5032 ($(objpfx)tst-array1-static-cmp.out): New rule.
5033 ($(objpfx)tst-array2.out): Remove rule.
5034 ($(objpfx)tst-array2-cmp.out): New rule.
5035 ($(objpfx)tst-array3.out): Remove rule.
5036 ($(objpfx)tst-array3-cmp.out): New rule.
5037 ($(objpfx)tst-array4.out): Remove rule.
5038 ($(objpfx)tst-array4-cmp.out): New rule.
5039 ($(objpfx)tst-array5.out): Remove rule.
5040 ($(objpfx)tst-array5-cmp.out): New rule.
5041 ($(objpfx)tst-array5-static.out): Remove rule.
5042 ($(objpfx)tst-array5-static-cmp.out): New rule.
5043 [$(run-built-tests) = yes] (tests): Depend on
5044 $(objpfx)order2-cmp.out.
5045 ($(objpfx)order2.out): Remove rule.
5046 ($(objpfx)order2-cmp.out): New rule.
5047 ($(objpfx)tst-initorder.out): Remove rule.
5048 [$(run-built-tests) = yes] (tests): Depend on
5049 $(objpfx)tst-initorder-cmp.out.
5050 ($(objpfx)tst-initorder-cmp.out): New rule.
5051 ($(objpfx)tst-initorder2.out): Remove rule.
5052 [$(run-built-tests) = yes] (tests): Depend on
5053 $(objpfx)tst-initorder2-cmp.out.
5054 ($(objpfx)tst-initorder2-cmp.out): New rule.
5055 [$(run-built-tests) = yes] (tests): Depend on
5056 $(objpfx)tst-unused-dep-cmp.out.
5057 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5058 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5059 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5060 on $(objpfx)tst-setvbuf1-cmp.out.
5061 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5062 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5063 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5064 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5065 ($(objpfx)tst-svc.out): Remove rule.
5066 ($(objpfx)tst-svc-cmp.out): New rule.
5068 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5070 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5071 * ctype/ctype.h [__USE_MISC]: Likewise.
5072 * dirent/dirent.h [__USE_MISC]: Likewise.
5073 * grp/grp.h [__USE_MISC]: Likewise.
5074 * io/fcntl.h [__USE_MISC]: Likewise.
5075 * io/sys/stat.h [__USE_MISC]: Likewise.
5076 * libio/stdio.h [__USE_MISC]: Likewise.
5077 * posix/unistd.h [__USE_MISC]: Likewise.
5078 * pwd/pwd.h [__USE_MISC]: Likewise.
5079 * stdlib.h [__USE_MISC]: Likewise.
5080 * string/bits/string2.h [__USE_MISC]: Likewise.
5081 * string/string.h [__USE_MISC]: Likewise.
5082 * time/time.h [__USE_MISC]: Likewise.
5084 2014-02-13 Andreas Schwab <schwab@suse.de>
5087 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5088 second answer buffer if it was separately allocated.
5090 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5092 * sysdeps/mips/math-tests.h: Include <features.h>.
5093 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5094 (ROUNDING_TESTS_long_double): Do not define.
5095 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5096 (EXCEPTION_TESTS_long_double): Likewise.
5097 * sysdeps/mips/mips64/libm-test-ulps: Update.
5099 * include/features.h (__USE_BSD): Remove macro definitions.
5100 (__USE_SVID): Likewise.
5101 (_BSD_SOURCE): Likewise.
5102 (_SVID_SOURCE): Likewise.
5103 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5104 from definition of _DEFAULT_SOURCE.
5105 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5107 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5108 * bits/mman.h [__USE_BSD]: Likewise.
5109 * bits/termios.h [__USE_BSD]: Likewise.
5110 * bits/waitstatus.h [__USE_BSD]: Likewise.
5111 * ctype/ctype.h [__USE_SVID]: Likewise.
5112 * dirent/dirent.h [__USE_BSD]: Likewise.
5113 * grp/grp.h [__USE_SVID]: Likewise.
5114 [__USE_BSD]: Likewise.
5115 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5116 * io/fcntl.h [__USE_BSD]: Likewise.
5117 * io/ftw.h [__USE_BSD]: Likewise.
5118 * io/sys/stat.h [__USE_BSD]: Likewise.
5119 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5120 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5121 * libio/stdio.h [__USE_SVID]: Likewise.
5122 [__USE_BSD]: Likewise.
5123 * math/math.h [__USE_SVID]: Likewise.
5124 [__USE_BSD]: Likewise.
5125 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5126 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5127 * misc/search.h [__USE_SVID]: Likewise.
5128 * misc/sys/mman.h [__USE_BSD]: Likewise.
5129 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5130 * misc/sys/uio.h [__USE_BSD]: Likewise.
5131 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5132 * posix/glob.h [__USE_BSD]: Likewise.
5133 * posix/regex.h [__USE_BSD]: Likewise.
5134 * posix/sys/types.h [__USE_BSD]: Likewise.
5135 [__USE_SVID]: Likewise.
5136 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5137 * posix/sys/wait.h [__USE_BSD]: Likewise.
5138 [__USE_SVID]: Likewise.
5139 * posix/unistd.h [__USE_BSD]: Likewise.
5140 [__USE_SVID]: Likewise.
5141 * pwd/pwd.h [__USE_SVID]: Likewise.
5142 * resolv/netdb.h [__USE_BSD]: Likewise.
5143 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5144 * signal/signal.h [__USE_BSD]: Likewise.
5145 [__USE_SVID]: Likewise.
5146 * socket/sys/socket.h [__USE_BSD]: Likewise.
5147 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5148 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5149 [__USE_SVID]: Likewise.
5150 * string/bits/string2.h [__USE_BSD]: Likewise.
5151 [__USE_SVID]: Likewise.
5152 * string/bits/string3.h [__USE_BSD]: Likewise.
5153 * string/endian.h [__USE_BSD]: Likewise.
5154 * string/string.h [__USE_SVID]: Likewise.
5155 [__USE_BSD]: Likewise.
5156 * string/strings.h [__USE_BSD]: Likewise.
5157 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5158 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5159 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5160 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5161 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5167 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5169 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5170 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5172 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5174 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5175 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5180 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5181 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5182 * termios/termios.h [__USE_BSD]: Likewise.
5183 * time/sys/time.h [__USE_BSD]: Likewise.
5184 * time/time.h [__USE_BSD]: Likewise.
5185 [__USE_SVID]: Likewise.
5187 * Makefile (subdir_targets): Remove subdir_lint.out.
5189 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5190 (do-tst-printf): Likewise.
5191 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5192 $(objpfx)tst-printf.out.
5194 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5196 * Makerules (check-abi-%): Change target to
5197 $(objpfx)check-abi-%.out.
5198 (check-abi target): Update dependencies.
5199 (check-abi-pattern variable): Redirect output of diff to $@.
5200 (check-abi variable): Likewise.
5201 * elf/Makefile (check-abi): Update dependencies.
5203 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5205 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5206 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5208 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5209 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5210 value has largest subnormal exponent.
5211 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5212 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5213 * sysdeps/aarch64/soft-fp/sfp-machine.h
5214 (_FP_TININESS_AFTER_ROUNDING): New macro.
5215 * sysdeps/alpha/soft-fp/sfp-machine.h
5216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5217 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5219 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5220 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5221 * sysdeps/mips/soft-fp/sfp-machine.h
5222 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5223 * sysdeps/powerpc/soft-fp/sfp-machine.h
5224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5225 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5227 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5228 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5229 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5231 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5234 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5240 2014-02-12 Richard Henderson <rth@redhat.com>
5242 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5243 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5244 * sysdeps/unix/sysv/linux/alpha: Move directory from
5245 ports/sysdeps/unix/sysv/linux/alpha.
5246 * README: Update listing for alpha-*-linux-gnu.
5248 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5250 * include/features.h: Update comment documenting feature test
5252 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5254 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5255 (_SVID_SOURCE): Likewise.
5256 (_DEFAULT_SOURCE): Update description of default features.
5257 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5259 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5260 (S_ISVTX): Likewise.
5261 * manual/math.texi (Mathematical Constants): Likewise.
5262 * manual/signal.texi (Interrupted Primitives): Likewise.
5263 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5264 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5265 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5266 Don't refer to _SVID_SOURCE in warning text.
5268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5270 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5272 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5273 * sysdeps/mips/dl-lookup.c: Remove.
5274 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5276 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5279 * math/auto-libm-test-in: Add testcase for expl.
5280 * math/auto-libm-test-out: Regenerate.
5281 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5282 calculation of unsafe.
5283 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5285 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5287 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5288 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5289 ports/sysdeps/unix/sysv/linux/aarch64.
5290 * README: Update listing for aarch64*-*-linux-gnu.
5292 2014-02-11 Will Newton <will.newton@linaro.org>
5294 * manual/probes.texi (Mathematical Function Probes): Use
5295 "triggered" instead of "hit".
5297 * manual/probes.texi (Internal Probes): Add documentation
5298 of setjmp, longjmp and longjmp_target probes.
5300 * include/stap-probe.h: Add comment about probe argument
5303 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5304 definition. (tr_where, tr_freehook, tr_mallochook,
5305 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5307 2014-02-11 David S. Miller <davem@davemloft.net>
5309 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5310 processing int_tests.
5312 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5314 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5315 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5316 * sysdeps/unix/sysv/linux/mips: Move directory from
5317 ports/sysdeps/unix/sysv/linux/mips.
5318 * README: Update listing for mips-*-linux-gnu and
5321 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5323 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5324 * sysdeps/unix/sysv/linux/m68k: Move directory from
5325 ports/sysdeps/unix/sysv/linux/m68k.
5326 * README: Update listing for m68k-*-linux-gnu.
5328 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5330 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5331 * sysdeps/unix/sysv/linux/generic: Move directory from
5332 ports/sysdeps/unix/sysv/linux/generic.
5333 * sysdeps/unix/sysv/linux/tile: Move directory from
5334 ports/sysdeps/unix/sysv/linux/tile.
5335 * README: Update listing for tile*-*-linux-gnu.
5337 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5339 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5341 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5342 * catgets/open_catalog.c (__open_catalog): Likewise.
5343 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5344 * debug/confstr_chk.c: Likewise.
5345 * debug/fread_chk.c (__fread_chk): Likewise.
5346 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5347 * debug/getgroups_chk.c: Likewise.
5348 * debug/mbsnrtowcs_chk.c: Likewise.
5349 * debug/mbsrtowcs_chk.c: Likewise.
5350 * debug/mbstowcs_chk.c: Likewise.
5351 * debug/memcpy_chk.c: Likewise.
5352 * debug/memmove_chk.c: Likewise.
5353 * debug/mempcpy_chk.c: Likewise.
5354 * debug/memset_chk.c: Likewise.
5355 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5356 * debug/strcat_chk.c (__strcat_chk): Likewise.
5357 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5358 * debug/strncat_chk.c (__strncat_chk): Likewise.
5359 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5360 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5361 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5362 * debug/wcpncpy_chk.c: Likewise.
5363 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5364 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5365 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5366 * debug/wcsncpy_chk.c: Likewise.
5367 * debug/wcsnrtombs_chk.c: Likewise.
5368 * debug/wcsrtombs_chk.c: Likewise.
5369 * debug/wcstombs_chk.c: Likewise.
5370 * debug/wmemcpy_chk.c: Likewise.
5371 * debug/wmemmove_chk.c: Likewise.
5372 * debug/wmempcpy_chk.c: Likewise.
5373 * debug/wmemset_chk.c: Likewise.
5374 * dirent/scandirat.c (SCANDIRAT): Likewise.
5375 * dlfcn/dladdr1.c (dladdr1): Likewise.
5376 * dlfcn/dladdr.c (dladdr): Likewise.
5377 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5378 * dlfcn/dlerror.c (__dlerror): Likewise.
5379 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5380 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5381 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5382 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5383 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5384 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5385 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5386 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5388 * elf/dl-conflict.c: Likewise.
5389 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5390 * elf/dl-dst.h: Likewise.
5391 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5392 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5393 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5394 * elf/dl-init.c (call_init, _dl_init): Likewise.
5395 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5396 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5397 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5399 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5401 * elf/dl-minimal.c (__libc_memalign): Likewise.
5402 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5403 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5404 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5405 * elf/dl-sym.c (do_sym): Likewise.
5406 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5407 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5408 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5409 * elf/dl-writev.h (_dl_writev): Likewise.
5410 * elf/ldconfig.c (search_dir): Likewise.
5411 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5412 (dl_main): Likewise.
5413 * elf/setup-vdso.h (setup_vdso): Likewise.
5414 * grp/compat-initgroups.c (compat_call): Likewise.
5415 * grp/fgetgrent.c (fgetgrent): Likewise.
5416 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5417 * grp/putgrent.c (putgrent): Likewise.
5418 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5420 * hurd/hurdinit.c: Likewise.
5421 * iconvdata/8bit-gap.c (struct): Likewise.
5422 * iconvdata/ansi_x3.110.c : Likewise.
5423 * iconvdata/big5.c : Likewise.
5424 * iconvdata/big5hkscs.c : Likewise.
5425 * iconvdata/cp1255.c: Likewise.
5426 * iconvdata/cp1258.c : Likewise.
5427 * iconvdata/cp932.c : Likewise.
5428 * iconvdata/euc-cn.c: Likewise.
5429 * iconvdata/euc-jisx0213.c : Likewise.
5430 * iconvdata/euc-jp.c: Likewise.
5431 * iconvdata/euc-jp-ms.c : Likewise.
5432 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5433 * iconvdata/gb18030.c : Likewise.
5434 * iconvdata/gbbig5.c (const): Likewise.
5435 * iconvdata/gbgbk.c: Likewise.
5436 * iconvdata/gbk.c : Likewise.
5437 * iconvdata/ibm1364.c : Likewise.
5438 * iconvdata/ibm930.c : Likewise.
5439 * iconvdata/ibm932.c: Likewise.
5440 * iconvdata/ibm933.c : Likewise.
5441 * iconvdata/ibm935.c : Likewise.
5442 * iconvdata/ibm937.c : Likewise.
5443 * iconvdata/ibm939.c : Likewise.
5444 * iconvdata/ibm943.c: Likewise.
5445 * iconvdata/iso_11548-1.c: Likewise.
5446 * iconvdata/iso-2022-cn.c : Likewise.
5447 * iconvdata/iso-2022-cn-ext.c : Likewise.
5448 * iconvdata/iso-2022-jp-3.c: Likewise.
5449 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5450 * iconvdata/iso-2022-kr.c : Likewise.
5451 * iconvdata/iso646.c (gconv_end): Likewise.
5452 * iconvdata/iso_6937-2.c : Likewise.
5453 * iconvdata/iso_6937.c : Likewise.
5454 * iconvdata/iso8859-1.c: Likewise.
5455 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5456 * iconvdata/shift_jisx0213.c : Likewise.
5457 * iconvdata/sjis.c : Likewise.
5458 * iconvdata/t.61.c : Likewise.
5459 * iconvdata/tcvn5712-1.c : Likewise.
5460 * iconvdata/tscii.c: Likewise.
5461 * iconvdata/uhc.c : Likewise.
5462 * iconvdata/unicode.c (gconv_end): Likewise.
5463 * iconvdata/utf-16.c (gconv_end): Likewise.
5464 * iconvdata/utf-32.c (gconv_end): Likewise.
5465 * iconvdata/utf-7.c (base64): Likewise.
5466 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5467 * iconv/gconv_close.c (__gconv_close): Likewise.
5468 * iconv/gconv_open.c (__gconv_open): Likewise.
5469 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5470 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5471 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5472 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5473 (ucs4le_internal_loop_single): Likewise.
5474 * iconv/iconv.c (iconv): Likewise.
5475 * iconv/iconv_close.c: Likewise.
5476 * iconv/loop.c (SINGLE): Likewise.
5477 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5478 * include/atomic.h: Likewise.
5479 * inet/inet6_option.c (option_alloc): Likewise.
5480 * intl/bindtextdom.c (set_binding_values): Likewise.
5481 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5482 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5483 * intl/localealias.c (read_alias_file): Likewise.
5484 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5485 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5486 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5487 * libio/fmemopen.c (fmemopen): Likewise.
5488 * libio/iofgets.c (_IO_fgets): Likewise.
5489 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5490 * libio/iofgetws.c (fgetws): Likewise.
5491 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5492 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5493 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5494 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5495 * locale/findlocale.c (_nl_find_locale): Likewise.
5496 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5497 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5499 * locale/setlocale.c (setlocale): Likewise.
5500 * login/programs/pt_chown.c (main): Likewise.
5501 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5502 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5503 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5504 (mmap, mmap64, mremap, munmap): Likewise.
5505 * math/e_exp2l.c: Likewise.
5506 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5507 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5508 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5509 * math/s_catan.c (__catan): Likewise.
5510 * math/s_catanf.c (__catanf): Likewise.
5511 * math/s_catanh.c (__catanh): Likewise.
5512 * math/s_catanhf.c (__catanhf): Likewise.
5513 * math/s_catanhl.c (__catanhl): Likewise.
5514 * math/s_catanl.c (__catanl): Likewise.
5515 * math/s_ccosh.c (__ccosh): Likewise.
5516 * math/s_ccoshf.c (__ccoshf): Likewise.
5517 * math/s_ccoshl.c (__ccoshl): Likewise.
5518 * math/s_cexp.c (__cexp): Likewise.
5519 * math/s_cexpf.c (__cexpf): Likewise.
5520 * math/s_cexpl.c (__cexpl): Likewise.
5521 * math/s_clog10.c (__clog10): Likewise.
5522 * math/s_clog10f.c (__clog10f): Likewise.
5523 * math/s_clog10l.c (__clog10l): Likewise.
5524 * math/s_clog.c (__clog): Likewise.
5525 * math/s_clogf.c (__clogf): Likewise.
5526 * math/s_clogl.c (__clogl): Likewise.
5527 * math/s_csin.c (__csin): Likewise.
5528 * math/s_csinf.c (__csinf): Likewise.
5529 * math/s_csinh.c (__csinh): Likewise.
5530 * math/s_csinhf.c (__csinhf): Likewise.
5531 * math/s_csinhl.c (__csinhl): Likewise.
5532 * math/s_csinl.c (__csinl): Likewise.
5533 * math/s_csqrt.c (__csqrt): Likewise.
5534 * math/s_csqrtf.c (__csqrtf): Likewise.
5535 * math/s_csqrtl.c (__csqrtl): Likewise.
5536 * math/s_ctan.c (__ctan): Likewise.
5537 * math/s_ctanf.c (__ctanf): Likewise.
5538 * math/s_ctanh.c (__ctanh): Likewise.
5539 * math/s_ctanhf.c (__ctanhf): Likewise.
5540 * math/s_ctanhl.c (__ctanhl): Likewise.
5541 * math/s_ctanl.c (__ctanl): Likewise.
5542 * math/w_pow.c: Likewise.
5543 * math/w_powf.c: Likewise.
5544 * math/w_powl.c: Likewise.
5545 * math/w_scalb.c (sysv_scalb): Likewise.
5546 * math/w_scalbf.c (sysv_scalbf): Likewise.
5547 * math/w_scalbl.c (sysv_scalbl): Likewise.
5548 * misc/error.c (error_tail): Likewise.
5549 * misc/pselect.c (__pselect): Likewise.
5550 * nis/nis_callback.c (__nis_create_callback): Likewise.
5551 * nis/nis_call.c (__nisfind_server): Likewise.
5552 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5553 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5554 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5555 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5556 * nis/nis_lookup.c (nis_lookup): Likewise.
5557 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5558 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5559 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5560 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5561 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5562 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5563 * nis/nss_compat/compat-initgroups.c (add_group)
5564 (internal_getgrent_r): Likewise.
5565 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5566 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5567 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5568 (internal_getspnam_r): Likewise.
5569 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5570 (_nss_nis_getaliasbyname_r): Likewise.
5571 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5572 (_nss_nis_getntohost_r): Likewise.
5573 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5574 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5575 (_nss_nis_getgrgid_r): Likewise.
5576 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5577 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5578 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5579 (_nss_nis_gethostbyname4_r): Likewise.
5580 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5581 (initgroups_netid): Likewise.
5582 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5583 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5584 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5585 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5586 (_nss_nis_getprotobynumber_r): Likewise.
5587 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5588 (_nss_nis_getsecretkey): Likewise.
5589 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5590 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5591 (_nss_nis_getpwuid_r): Likewise.
5592 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5593 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5594 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5595 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5596 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5597 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5598 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5600 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5601 (_nss_nisplus_getntohost_r): Likewise.
5602 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5603 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5604 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5605 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5607 * nis/nss_nisplus/nisplus-initgroups.c
5608 (_nss_nisplus_initgroups_dyn): Likewise.
5609 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5610 (_nss_nisplus_getnetbyaddr_r): Likewise.
5611 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5612 (_nss_nisplus_getprotobynumber_r): Likewise.
5613 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5614 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5615 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5617 * nis/nss_nisplus/nisplus-service.c
5618 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5619 (_nss_nisplus_getservbyport_r): Likewise.
5620 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5621 (_nss_nisplus_getspnam_r): Likewise.
5622 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5624 * nscd/aicache.c (addhstaiX): Likewise.
5625 * nscd/cache.c (cache_search, prune_cache): Likewise.
5626 * nscd/connections.c (register_traced_file, send_ro_fd)
5627 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5628 (main_loop_epoll): Likewise.
5629 * nscd/grpcache.c (addgrbyX): Likewise.
5630 * nscd/hstcache.c (addhstbyX): Likewise.
5631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5632 * nscd/mem.c (gc, mempool_alloc): Likewise.
5633 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5634 (addinnetgrX): Likewise.
5635 * nscd/nscd-client.h (__nscd_acquire_maplock)
5636 (__nscd_drop_map_ref): Likewise.
5637 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5638 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5641 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5643 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5644 (__nscd_get_map_ref): Likewise.
5645 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5646 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5648 * nscd/pwdcache.c (addpwbyX): Likewise.
5649 * nscd/selinux.c (preserve_capabilities): Likewise.
5650 * nscd/servicescache.c (addservbyX): Likewise.
5651 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5652 * posix/fnmatch.c (fnmatch): Likewise.
5653 * posix/getopt.c (_getopt_internal_r): Likewise.
5654 * posix/glob.c (glob, glob_in_dir): Likewise.
5655 * posix/wordexp.c (exec_comm_child): Likewise.
5656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5657 (getanswer_r, gaih_getanswer_slice): Likewise.
5658 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5659 * resolv/res_init.c: Likewise.
5660 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5661 * resolv/res_query.c (__libc_res_nquery): Likewise.
5662 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5664 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5665 * stdio-common/perror.c (perror): Likewise.
5666 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5667 * stdio-common/tmpnam.c (tmpnam): Likewise.
5668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5669 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5670 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5672 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5673 * stdlib/putenv.c (putenv): Likewise.
5674 * stdlib/setenv.c (__add_to_environ): Likewise.
5675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5676 * stdlib/strtol_l.c (INTERNAL): Likewise.
5677 * string/memmem.c (memmem): Likewise.
5678 * string/strerror.c (strerror): Likewise.
5679 * string/strnlen.c (__strnlen): Likewise.
5680 * string/test-memmem.c (simple_memmem): Likewise.
5681 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5682 * sunrpc/pm_getport.c (__get_socket): Likewise.
5683 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5684 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5685 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5686 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5688 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5690 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5692 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5693 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5697 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5698 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5700 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5701 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5703 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5704 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5705 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5706 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5707 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5717 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5718 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5720 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5729 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5731 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5733 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5737 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5739 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5741 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5742 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5743 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5744 * sysdeps/posix/sleep.c: Likewise.
5745 * sysdeps/posix/tempname.c: Likewise.
5746 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5747 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5749 * sysdeps/powerpc/powerpc32/dl-machine.h
5750 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5751 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5753 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5754 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5756 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5758 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5760 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5761 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5762 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5763 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5764 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5765 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5767 (elf_machine_lazy_rel): Likewise.
5768 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5770 (elf_machine_lazy_rel): Likewise.
5771 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5772 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5773 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5774 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5775 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5776 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5777 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5780 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5781 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5782 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5783 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5784 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5785 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5786 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5787 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5789 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5790 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5792 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5793 (__posix_fallocate64_l64): Likewise.
5794 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5795 (posix_fallocate): Likewise.
5796 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5799 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5800 (getifaddrs_internal): Likewise.
5801 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5802 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5803 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5804 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5805 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5806 (__posix_fallocate64_l64): Likewise.
5807 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5809 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5811 (__get_clockfreq): Likewise.
5812 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5813 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5814 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5817 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5818 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5819 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5821 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5822 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5823 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5824 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5826 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5827 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5830 (posix_fallocate): Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5832 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5833 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5834 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5835 (elf_machine_rela, elf_machine_rela_relative)
5836 (elf_machine_lazy_rel): Likewise.
5837 * time/asctime.c (asctime_internal): Likewise.
5838 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5839 * time/tzset.c (__tzset_parse_tz): Likewise.
5840 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5841 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5842 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5843 * wcsmbs/wcsmbsload.h: Likewise.
5846 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5848 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5849 (arena_get2): Remove THREAD_STATS conditionals.
5850 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5851 (__malloc_stats, int): Likewise.
5853 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5855 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5856 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5858 * manual/setjmp.texi: Fix typos/grammar errors.
5860 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5861 Only return early when n is <= 0. Delete unused return statement.
5863 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5864 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5865 * debug/tst-longjmp_chk3.c: New file.
5867 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5868 (test_main): Replace code with set_fortify_handler call.
5869 * debug/test-strcpy_chk.c: Likewise.
5870 * debug/tst-chk1.c: Likewise.
5871 * debug/tst-longjmp_chk.c: Likewise.
5872 * test-skeleton.c: Include fcntl.h & paths.h
5873 (set_fortify_handler): Define.
5875 * debug/tst-longjmp_chk.c: Add header comment and include
5877 (do_test): Mark static.
5878 (TEST_FUNCTION): Define.
5880 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5881 (IP_PMTUDISC_INTERFACE): Likewise.
5882 (IP_MULTICAST_IF): Likewise.
5883 (IP_MULTICAST_TTL): Likewise.
5884 (IP_MULTICAST_LOOP): Likewise.
5885 (IP_ADD_MEMBERSHIP): Likewise.
5886 (IP_DROP_MEMBERSHIP): Likewise.
5887 (IP_UNBLOCK_SOURCE): Likewise.
5888 (IP_BLOCK_SOURCE): Likewise.
5889 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5890 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5891 (IP_MSFILTER): Likewise.
5892 (MCAST_JOIN_GROUP): Likewise.
5893 (MCAST_BLOCK_SOURCE): Likewise.
5894 (MCAST_UNBLOCK_SOURCE): Likewise.
5895 (MCAST_LEAVE_GROUP): Likewise.
5896 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5897 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5898 (MCAST_MSFILTER): Likewise.
5899 (IP_MULTICAST_ALL): Likewise.
5900 (IP_UNICAST_IF): Likewise.
5902 * timezone/Makefile: Delete $(have-ksh) check.
5903 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5904 * timezone/tzselect.ksh: Add +x mode bits.
5906 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5907 (ANON_INODE_FS_MAGIC): Likewise.
5908 (BDEVFS_MAGIC): Likewise.
5909 (BINFMTFS_MAGIC): Likewise.
5910 (BTRFS_TEST_MAGIC): Likewise.
5911 (CRAMFS_MAGIC_WEND): Likewise.
5912 (DEBUGFS_MAGIC): Likewise.
5913 (ECRYPTFS_SUPER_MAGIC): Likewise.
5914 (EXT3_SUPER_MAGIC): Likewise.
5915 (EXT4_SUPER_MAGIC): Likewise.
5916 (FUTEXFS_SUPER_MAGIC): Likewise.
5917 (HOSTFS_SUPER_MAGIC): Likewise.
5918 (HUGETLBFS_MAGIC): Likewise.
5919 (MINIX3_SUPER_MAGIC): Likewise.
5920 (MTD_INODE_FS_MAGIC): Likewise.
5921 (NILFS_SUPER_MAGIC): Likewise.
5922 (OPENPROM_SUPER_MAGIC): Likewise.
5923 (PIPEFS_MAGIC): Likewise.
5924 (PSTOREFS_MAGIC): Likewise.
5925 (QNX6_SUPER_MAGIC): Likewise.
5926 (RAMFS_MAGIC): Likewise.
5927 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5928 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5929 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5930 (SECURITYFS_MAGIC): Likewise.
5931 (SELINUX_MAGIC): Likewise.
5932 (SMACK_MAGIC): Likewise.
5933 (SOCKFS_MAGIC): Likewise.
5934 (SQUASHFS_MAGIC): Likewise.
5935 (STACK_END_MAGIC): Likewise.
5936 (TMPFS_MAGIC): Likewise.
5937 (USBDEVICE_SUPER_MAGIC): Likewise.
5938 (V9FS_MAGIC): Likewise.
5939 (XENFS_SUPER_MAGIC): Likewise.
5940 (CRAMFS_MAGIC): Fix typo in comment.
5941 (EXT2_SUPER_MAGIC): Update comment.
5942 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5944 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5947 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5948 * sysdeps/unix/sysv/linux/arm: Move directory from
5949 ports/sysdeps/unix/sysv/linux/arm.
5950 * README: Update listing for arm-*-linux-gnueabi.
5952 * README: Remove mention of am33.
5954 2014-02-07 Roland McGrath <roland@hack.frob.com>
5956 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5957 than the comma operator, to avoid "rhs of comma has no effect"
5959 (__sigfillset, __sigandset, __sigorset): Likewise.
5960 * include/signal.h (__sigemptyset): Likewise.
5961 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5963 2014-02-07 Allan McRae <allan@archlinux.org>
5965 * version.h (RELEASE): Set to "development".
5966 (VERSION): Set to "2.19.90"
5967 * NEWS: Add 2.20 section.
5969 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5972 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5974 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5976 * manual/contrib.texi: Update entry for Carlos O'Donell,
5977 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5979 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5981 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5983 * sysdeps/unix/sysv/linux/kernel-features.h
5984 [__LINUX_KERNEL_VERSION >= 0x020621]
5985 (__ASSUME_PROC_PID_TASK_COMM): Define.
5987 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5990 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5991 conversion when destination buffer does not have enough space.
5992 * libio/tst-ftell-partial-wide.c: New test case.
5993 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5995 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5996 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5997 Leonard and Allan McRae.
5999 2014-02-04 David S. Miller <davem@davemloft.net>
6001 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6004 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6033 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6036 * shlib-versions: Likewise.
6038 2014-02-04 Roland McGrath <roland@hack.frob.com>
6039 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6041 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6042 (abilist-pattern): New variable, set to %-le.abilist.
6044 * Makerules (abilist-pattern): New variable.
6045 (vpath): Use $(abilist-pattern) in place of %.abilist.
6046 (check-abi-% pattern rule): Likewise.
6047 (check-abi, update-abi): Likewise.
6049 2014-02-04 Eric Wong <normalperson@yhbt.net>
6051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6053 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6055 * manual/startup.texi: Add next, previous, and top entries for
6056 the `Program Arguments' and `Environment Variables' nodes.
6058 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6060 * manual/macros.texi: Add comments before MTASC-safety macros.
6062 * manual/users.texi: Document MTASC-safety properties.
6064 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6065 (pthread_getspecific, pthread_setspecific): Format with
6066 @deftypefun, and add @safety note.
6067 * manual/signal.texi: Move comments that analyze the above
6068 functions to their home place.
6070 2014-02-03 Allan McRae <allan@archlinux.org>
6072 * po/sl.po: Update Slovenian translation from translation project.
6074 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6076 * manual/time.texi (timegm): Add missing blank after @c.
6077 Reported by Joseph Myers <joseph@codesourcery.com>.
6079 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6081 * manual/check-safety.sh: New.
6082 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6084 * manual/terminal.texi: Document MTASC-safety properties.
6086 * manual/filesys.texi: Document MTASC-safety properties.
6088 * manual/errno.texi: Document MTASC-safety properties.
6090 * manual/intro.texi: Document safety identifiers and
6093 * manual/string.texi (wcstok): Fix prototype.
6094 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6096 * manual/time.texi: Document MTASC-safety properties.
6098 * manual/string.texi: Document MTASC-safety properties.
6100 * manual/threads.texi: Document MTASC-safety properties.
6102 * manual/stdio.texi: Document MTASC-safety properties.
6104 * manual/syslog.texi: Document MTASC-safety properties.
6106 * manual/sysinfo.texi: Document MTASC-safety properties.
6108 * manual/startup.texi: Document MTASC-safety properties.
6110 * manual/socket.texi: Document MTASC-safety properties.
6112 * manual/signal.texi: Document MTASC-safety properties.
6114 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6116 * manual/setjmp.texi: Document MTASC-safety properties.
6118 * manual/search.texi: Document MTASC-safety properties.
6120 * manual/resource.texi: Document MTASC-safety properties.
6122 * manual/process.texi: Document MTASC-safety properties.
6124 * manual/platform.texi: Document MTASC-safety properties.
6126 * manual/pipe.texi: Document MTASC-safety properties.
6128 * manual/pattern.texi: Document MTASC-safety properties.
6130 * manual/message.texi: Document MTASC-safety properties.
6133 * manual/memory.texi: Document MTASC-safety properties.
6135 * manual/math.texi: Document MTASC-safety properties.
6137 * manual/locale.texi: Document MTASC-safety properties.
6139 * manual/llio.texi: Document MTASC-safety properties.
6141 * manual/libdl.texi: New.
6143 * manual/lang.texi: Document MTASC-safety properties.
6145 * manual/job.texi: Document MTASC-safety properties.
6147 * manual/getopt.texi: Document MTASC-safety properties.
6149 * manual/ctype.texi: Document MTASC-safety properties.
6151 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6154 * csu/libc-tls.c (static_map): Remove variable.
6155 (__libc_setup_tls): Use main executable's link map for TLS data.
6156 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6157 casing for LM_ID_BASE and GL(dl_nns).
6158 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6159 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6160 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6161 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6162 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6164 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6167 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6169 * manual/debug.texi: Document MTASC-safety properties.
6171 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6174 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6175 of __x86_64__ when disabling x87 inline functions.
6177 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6179 * manual/charset.texi: Document MTASC-safety properties.
6181 * manual/crypt.texi: Document MTASC-safety properties.
6183 * manual/conf.texi: Document MTASC-safety properties.
6185 * manual/arith.texi: Document MTASC-safety properties.
6187 * manual/argp.texi: Document MTASC-safety properties.
6189 * manual/macros.texi: Introduce macros to document multi
6190 thread, asynchronous signal and asynchronous cancellation
6192 * manual/intro.texi: Introduce the properties themselves.
6194 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6196 * sysdeps/sh/sh4/Makefile: New file.
6198 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6200 * math/gen-libm-test.pl ($srcdir): New variable.
6201 ($auto_input): Use it.
6203 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6206 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6207 access beyond array bounds when parsing netgroups file.
6209 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6210 the old buffer before realloc.
6212 2014-01-27 Allan McRae <allan@archlinux.org>
6214 * po/fr.po: Update French translation from translation project.
6216 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6218 * sysdeps/sh/libm-test-ulps: Regenerate.
6220 2014-01-24 David S. Miller <davem@davemloft.net>
6222 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6224 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6226 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6227 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6229 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6232 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6233 string pointers after reallocation.
6235 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6237 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6238 __SH4A__ instead of __SH_FPU_ANY__.
6240 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6242 * sysdeps/sh/fpu_control.h: New file.
6243 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6244 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6245 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6246 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6247 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6248 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6249 * sysdeps/sh/sys/ucontext.h: Remove.
6250 * sysdeps/sh/sys: Remove directory.
6252 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6254 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6255 s390/sys/ucontext.h.
6256 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6259 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6262 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6264 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6268 Adjust the vDSO correctly for internal calls.
6269 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6271 2014-01-20 Allan McRae <allan@archlinux.org>
6273 * po/ca.po: Update Catalan translation from translation project.
6275 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6277 * sysdeps/s390/sotruss-lib.c: New file.
6279 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6283 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6284 local calls issues by not having a PLT stub required for IFUNC calls.
6285 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6287 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6289 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6290 * math/test-fpucw-static.c: Likewise.
6292 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6295 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6297 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6300 implementation for powerpc.
6302 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6305 * sysdeps/posix/system.c (__libc_system): Do not enable
6306 asynchronous cancellation.
6308 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6311 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6312 handling only for numbers special also in the IEEE case.
6314 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6316 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6318 2014-01-11 Allan McRae <allan@archlinux.org>
6320 * po/bg.po: Update Bulgarian translation from translation project.
6322 * po/de.po: Update German translation from translation project.
6324 2014-01-10 Roland McGrath <roland@hack.frob.com>
6326 * sysdeps/generic/gcc-compat.h: New file.
6328 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6330 * benchtests/asin-inputs: Correct slow inputs.
6331 * benchtests/acos-inputs: Likewise.
6333 2014-01-10 Allan McRae <allan@archlinux.org>
6335 * po:sv.po: Update Swedish translation from translation project.
6337 * po/vi.po: Update Vietnamese translation from translation project.
6339 * po/eo.po: Update Esperanto translation from translation project.
6341 * po/cs.po: Update Czech translation from translation project.
6343 * po/nl.po: Update Dutch translation from translation project.
6345 * po/pl.po: Update Polish translation from translation project.
6347 * po/ru.po: Update Russian translation from translation project.
6349 * po/uk.po: Update Ukrainian translation from translation project.
6351 2014-01-08 Brooks Moses <bmoses@google.com>
6353 * elf/dl-load.c: Fix comment typo.
6355 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6357 * po/header.pot: Rename to...
6358 * po/pot.header: ... this.
6359 * po/Makefile: Use pot.header.
6361 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6362 Maxim Kuvyrkov <maxim@kugelworks.com>
6365 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6366 SRC and DEST against LEN.
6368 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6371 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6375 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6379 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6383 for large positive arguments.
6385 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6387 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6389 * math/auto-libm-test-in: Mark various tests with
6390 xfail-rounding:ldbl-128ibm.
6391 * math/auto-libm-test-out: Regenerated.
6394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6395 Increase overflow threshold.
6397 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6400 * stdio-common/vfprintf.c: Check for integer overflow.
6402 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6404 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6405 the first argument and return value of __tls_get_addr_internal.
6407 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6409 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6410 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6412 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6414 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6415 * sysdeps/s390/rtld-global-offsets.sym: New file.
6416 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6418 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6420 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6422 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6423 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6430 halfs of GPRs for high_gprs contexts.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6432 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6434 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6436 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6438 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6439 for high GPRs (uc_high_gprs) and for future extensions
6441 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6442 for future extensions (__reserved).
6443 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6445 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6446 SC_HIGHGPRS offset definition.
6447 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6448 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6450 * Versions.def: Add GLIBC_2.19 for libpthread.
6451 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6452 siglongjmp for libpthread with GLIBC_2.19 symver.
6453 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6454 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6455 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6456 * sysdeps/s390/__longjmp.c: New file.
6457 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6458 * sysdeps/s390/longjmp.c: New file.
6459 * sysdeps/s390/setjmp.S: New file.
6460 * sysdeps/s390/sigjmp.S: New file.
6461 * sysdeps/s390/v1-longjmp.c: New file.
6462 * sysdeps/s390/v1-setjmp.h: New file.
6463 * sysdeps/s390/v1-sigjmp.c: New file.
6464 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6465 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6467 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6469 versioned symbols for ____longjmp_chk.
6470 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6480 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6481 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6482 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6483 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6484 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6485 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6486 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6487 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6488 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6489 * sysdeps/s390/rtld-__longjmp.c: New file.
6490 * sysdeps/s390/rtld-setjmp.S: New file.
6492 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6495 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6496 Return -__logl (x) for small positive arguments without evaluating
6499 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6501 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6503 (__ptrace_peeksiginfo_args): ... this.
6504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6508 2014-01-06 Allan McRae <allan@archlinux.org>
6510 * inet/netinet/in.h: Fix typo in comment.
6512 2014-01-05 Andreas Jaeger <aj@suse.de>
6514 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 2014-01-05 Allan McRae <allan@archlinux.org>
6518 * po/libc.pot: Regenerated.
6520 * malloc/memusagestat.c: Fix gettext call formatting.
6522 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6524 * nscd/nscd.c: Improve usage() output.
6526 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6528 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6529 * sysdeps/unix/sysv/linux/configure: Regenerated.
6530 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6531 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6533 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6537 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6539 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6542 extra tokens at end of #undef directive.
6543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6544 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6547 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6549 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6551 * math/auto-libm-test-in: Mark various tests with
6552 xfail-rounding:ldbl-128ibm.
6553 * math/auto-libm-test-out: Regenerated.
6555 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6559 numbers with subnormal high part when calculating exponent.
6562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6568 (__ieee754_acoshl): Use __log1pl not __log1p.
6570 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6572 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6573 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6574 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6575 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6576 (reused_arena, arena_get2): Convert to GNU style.
6577 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6578 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6579 (memalign_check, __malloc_set_state): Likewise.
6580 * malloc/mallocbug.c (main): Likewise.
6581 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6582 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6583 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6584 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6585 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6586 (__posix_memalign, malloc_info): Likewise.
6587 * malloc/malloc.h: Likewise.
6588 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6589 (mallochook, memalignhook, reallochook, mabort): Likewise.
6590 * malloc/mcheck.h: Likewise.
6591 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6592 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6593 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6594 * malloc/morecore.c (__default_morecore): Likewise.
6595 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6596 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6597 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6598 (print_and_abort): Likewise.
6599 * malloc/obstack.h: Likewise.
6600 * malloc/set-freeres.c (__libc_freeres): Likewise.
6601 * malloc/tst-mallocstate.c (main): Likewise.
6602 * malloc/tst-mtrace.c (main): Likewise.
6603 * malloc/tst-realloc.c (do_test): Likewise.
6605 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6608 * nscd/netgroupcache.c (do_notfound): New function.
6609 (addgetnetgrentX): Use it.
6612 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6613 NSS_STATUS_NOTFOUND.
6615 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6617 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6620 2014-01-01 Allan McRae <allan@archlinux.org>
6622 * scripts/update-copyrights: Update configure input file suffix.
6624 * NEWS: Update copyright year.
6625 * catgets/gencat.c: Likewise.
6626 * csu/version.c: Likewise.
6627 * debug/catchsegv.sh: Likewise.
6628 * debug/pcprofiledump.c: Likewise.
6629 * debug/xtrace.sh: Likewise.
6630 * elf/ldconfig.c: Likewise.
6631 * elf/ldd.bash.in: Likewise.
6632 * elf/pldd.c: Likewise.
6633 * elf/sotruss.ksh: Likewise.
6634 * elf/sprof.c: Likewise.
6635 * iconv/iconv_prog.c: Likewise.
6636 * iconv/iconvconfig.c: Likewise.
6637 * locale/programs/locale.c: Likewise.
6638 * locale/programs/localedef.c: Likewise.
6639 * login/programs/pt_chown.c: Likewise.
6640 * malloc/memusage.sh: Likewise.
6641 * malloc/memusagestat.c: Likewise.
6642 * malloc/mtrace.pl: Likewise.
6643 * manual/libc.texinfo: Likewise.
6644 * nscd/nscd.c: Likewise.
6645 * nss/getent.c: Likewise.
6646 * nss/makedb.c: Likewise.
6647 * posix/getconf.c: Likewise.
6648 * scripts/test-installation.pl: Likewise.
6650 * All files with FSF copyright notices: Update copyright dates
6651 using scripts/update-copyrights.
6652 * intl/plural.c: Regenerated.
6653 * locale/programs/charmap-kw.h: Likewise.
6654 * locale/programs/locfile-kw.h: Likewise.
6656 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6658 * sysdeps/unix/sysv/linux/configure: Regenerated.
6659 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6660 the linux/fanotify.h header.
6661 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6662 HAVE_LINUX_FANOTIFY_H is defined.
6664 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6666 * benchtests/cos-inputs: New inputs.
6667 * benchtests/sin-inputs: Likewise.
6669 * benchtests/atan-inputs: New inputs. Fix name of multiple
6670 precision fallback inputs.
6672 * benchtests/atanh-inputs: New inputs.
6673 * benchtests/tanh-inputs: Likewise.
6675 * benchtests/acosh-inputs: New inputs.
6676 * benchtests/asinh-inputs: Likewise.
6678 * benchtests/cosh-inputs: New inputs.
6679 * benchtests/sinh-inputs: Likewise.
6681 * benchtests/acos-inputs: Add more inputs.
6682 * benchtests/asin-inputs: Likewise.
6684 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6687 * manual/arith.texi: Fix spelling.
6688 * manual/charset.texi: Likewise.
6689 * manual/errno.texi: Likewise.
6690 * manual/filesys.texi: Likewise.
6691 * manual/lang.texi: Likewise.
6692 * manual/llio.texi: Likewise.
6693 * manual/locale.texi: Likewise.
6694 * manual/message.texi: Likewise.
6695 * manual/resource.texi: Likewise.
6696 * manual/search.texi: Likewise.
6697 * manual/setjmp.texi: Likewise.
6698 * manual/stdio.texi: Likewise.
6699 * manual/string.texi: Likewise.
6700 * manual/sysinfo.texi: Likewise.
6701 * manual/time.texi: Likewise.
6703 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6705 * po/sl.po: New file.
6707 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6709 * .gitignore: Add core/.gdbinit/.gdb_history.
6711 2013-12-27 Allan McRae <allan@archlinux.org>
6714 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6715 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6717 2013-12-24 Brooks Moses <bmoses@google.com>
6719 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6720 all compilers that claim C++98 compliance, not just GCC.
6721 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6724 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6726 * NEWS: Restore accidentally deleted bug-fix entries.
6728 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6729 Ondřej Bílka <neleai@seznam.cz>
6732 * malloc/malloc.c (_int_free): Perform sanity check only if we
6735 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6738 * manual/stdio.texi (String Input Conversions): Clarify that character
6739 classes are not supported.
6741 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6745 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6749 Calculate results for small negative arguments directly rather
6750 than using reflection formula with special underflow handling.
6752 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6753 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6754 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6755 (fchflags): Likewise.
6757 (setlogin): Likewise.
6758 (sigaltstack): Likewise.
6761 (sigsetmask): Likewise.
6763 (waitpid): Likewise.
6764 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6765 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6767 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6768 * sysdeps/unix/bsd/Makefile: ... here.
6769 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6770 * sysdeps/unix/bsd/Versions: ... here.
6771 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6772 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6773 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6774 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6775 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6776 * sysdeps/unix/bsd/sigblock.c: ... here.
6777 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6778 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6779 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6780 * sysdeps/unix/bsd/sigvec.c: ... here.
6781 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6782 * sysdeps/unix/bsd/tcdrain.c: ... here.
6783 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6784 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6785 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6786 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6787 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6788 * sysdeps/unix/bsd/wait.c: ... here.
6789 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6790 * sysdeps/unix/bsd/wait3.c: ... here.
6791 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6792 * sysdeps/unix/bsd/waitpid.c: ... here.
6794 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6798 round-to-nearest for [!USE_AS_EXPM1L].
6799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6800 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6801 more tests of exp and exp10. Expect some exp10 tests to miss
6802 exceptions or fail in directed rounding modes.
6803 * math/auto-libm-test-out: Regenerated.
6804 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6805 (exp10_test_tonearest): New function.
6806 (exp10_towardzero_test_data): New array.
6807 (exp10_test_towardzero): New function.
6808 (exp10_downward_test_data): New array.
6809 (exp10_test_downward): New function.
6810 (exp10_upward_test_data): New array.
6811 (exp10_test_upward): New function.
6812 (main): Call the new functions.
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6818 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6819 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6820 * math/auto-libm-test-out: Regenerated.
6821 * math/libm-test.inc (acosh_test_data): Add more tests.
6822 (atanh_test_data): Likewise.
6823 (ceil_test_data): Likewise.
6824 (copysign_test_data): Likewise.
6825 * sysdeps/i386/fpu/libm-test-ulps: Update.
6826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828 * timezone/checktab.awk: Update from tzcode 2013i.
6829 * timezone/private.h: Likewise.
6830 * timezone/scheck.c: Likewise.
6831 * timezone/tzfile.h: Likewise.
6832 * timezone/tzselect.ksh: Likewise.
6833 * timezone/zdump.c: Likewise.
6834 * timezone/zic.c: Likewise.
6836 * math/auto-libm-test-in: Add tests of cpow.
6837 * math/auto-libm-test-out: Regenerated.
6838 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6841 (func_calc_desc): Add mpc_cc_c union field.
6842 (test_functions): Add cpow.
6843 (special_fill_2pi): New function.
6844 (special_real_inputs): Add 2pi.
6845 (calc_generic_results): Handle mpc_cc_c.
6846 * sysdeps/i386/fpu/libm-test-ulps: Update.
6847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6850 csqrt, ctan and ctanh.
6851 * math/auto-libm-test-out: Regenerated.
6852 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6853 (TEST_COND_x86): Likewise.
6854 (ccos_test_data): Use AUTO_TESTS_c_c.
6855 (ccosh_test_data): Likewise.
6856 (cexp_test_data): Likewise.
6857 (clog_test_data): Likewise.
6858 (csqrt_test_data): Likewise.
6859 (ctan_test_data): Likewise.
6860 (ctan_tonearest_test_data): Likewise.
6861 (ctan_towardzero_test_data): Likewise.
6862 (ctan_downward_test_data): Likewise.
6863 (ctan_upward_test_data): Likewise.
6864 (ctanh_test_data): Likewise.
6865 (ctanh_tonearest_test_data): Likewise.
6866 (ctanh_towardzero_test_data): Likewise.
6867 (ctanh_downward_test_data): Likewise.
6868 (ctanh_upward_test_data): Likewise.
6869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6871 (func_calc_desc): Add mpc_c_c union field.
6872 (FUNC_mpc_c_c): New macro.
6873 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6874 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6876 (special_fill_min_subnorm_p120): New function.
6877 (special_real_inputs): Add min_subnorm_p120.
6878 (calc_generic_results): Handle mpc_c_c.
6879 * sysdeps/i386/fpu/libm-test-ulps: Update.
6880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6882 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6884 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6885 (do_sin_slow): New functions.
6886 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6887 (cslow2, csloww1, csloww2): Use the new functions.
6889 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6890 Use M to change sign of result instead of X. Assume X is
6892 (csloww1): Likewise.
6896 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6903 (sloww1): Don't adjust sign of DX.
6904 (csloww1): Likewise.
6905 (sloww2): Use X directly and don't adjust sign of DX.
6906 (csloww2): Likewise.
6908 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6910 * math/auto-libm-test-in: Add tests of cabs and carg.
6911 * math/auto-libm-test-out: Regenerated.
6912 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6913 (carg_test_data): Likewise.
6914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6916 (func_calc_desc): Add mpc_c_f union field.
6917 (test_functions): Add cabs and carg.
6918 (calc_generic_results): Handle mpc_c_f.
6920 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6921 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6922 as a macro and a compat symbol.
6923 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6924 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6925 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6926 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6927 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6934 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6936 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6938 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6940 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6941 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6944 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6948 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6950 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6951 trailing whitespace removed.
6952 * scripts/config.guess: Update to version 2013-11-29.
6953 * scripts/config.sub: Update to version 2013-10-01.
6955 * math/auto-libm-test-in: Add tests of sincos.
6956 * math/auto-libm-test-out: Regenerated.
6957 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6958 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6960 (func_calc_desc): Add mpfr_f_11 union field.
6961 (test_functions): Add sincos.
6962 (calc_generic_results): Handle mpfr_f_11.
6963 * sysdeps/i386/fpu/libm-test-ulps: Update.
6964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6966 2013-12-19 Andreas Schwab <schwab@suse.de>
6968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6972 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6974 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6976 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6981 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6982 round-to-nearest mode when using frndint.
6983 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6984 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6985 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6987 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6989 * math/auto-libm-test-out: Regenerated.
6990 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6991 (TEST_COND_x86): Likewise.
6992 (expm1_tonearest_test_data): New array.
6993 (expm1_test_tonearest): New function.
6994 (expm1_towardzero_test_data): New array.
6995 (expm1_test_towardzero): New function.
6996 (expm1_downward_test_data): New array.
6997 (expm1_test_downward): New function.
6998 (expm1_upward_test_data): New array.
6999 (expm1_test_upward): New function.
7000 (main): Run the new test functions.
7001 * sysdeps/i386/fpu/libm-test-ulps: Update.
7002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004 * include/features.h: Update comment documenting feature test
7005 macros. Mention _DEFAULT_SOURCE in comment.
7006 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7007 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7008 _BSD_SOURCE and _SVID_SOURCE.
7009 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7010 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7011 !_SVID_SOURCE]: Likewise.
7012 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7013 (__USE_POSIX_IMPLICITLY): Define.
7014 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7015 (_POSIX_SOURCE): Undefine and redefine.
7016 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7017 (_POSIX_C_SOURCE): Likewise.
7018 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7019 (Feature Test Macros): Update documentation of default features.
7021 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7023 * benchtests/Makefile: Add bench-strtok.
7024 * benchtests/bench-strtok.c: New file: strtok benchtest.
7026 2013-12-19 Allan McRae <allan@archlinux.org>
7028 * manual/install.texi: Suppress menu for plain text output.
7029 * INSTALL: Regenerated.
7031 2013-12-18 Brooks Moses <bmoses@google.com>
7034 * misc/getauxval.c: Include errno.h.
7035 (__getauxval): Set errno to ENOENT if the requested type is not
7037 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7038 don't declare with __attribute_const__.
7039 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7040 * manual/startup.texi: Document that getauxval sets errno.
7042 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7044 * math/auto-libm-test-in: Add tests of jn and yn.
7045 * math/auto-libm-test-out: Regenerated.
7046 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7047 (yn_test_data): Likewise.
7048 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7050 (func_calc_desc): Add mpfr_if_f union field.
7051 (FUNC_mpfr_if_f): New macro.
7052 (test_functions): Add jn and yn.
7053 (calc_generic_results): Assert type of second input for
7054 mpfr_ff_f. Handle mpfr_if_f.
7055 (output_for_one_input_case): Disable all checking for arguments
7056 fitting floating-point types in case of an integer argument.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7061 Don't expect fegetround reference in libm.so.
7063 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7065 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7066 $(config-cflags-nofma).
7068 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7070 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7071 * math/auto-libm-test-out: Regenerated.
7074 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7075 to determine exponent and adjust argument to have exponent of -1.
7076 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7078 * math/auto-libm-test-out: Regenerated.
7079 * sysdeps/i386/fpu/libm-test-ulps: Update.
7080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7082 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7084 * manual/probes.texi: Remove cases when per-thread arenas are
7087 2013-12-18 Andreas Schwab <schwab@suse.de>
7089 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7090 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7091 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7092 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7093 * sysdeps/i386/i686/multiarch/Makefile: Update.
7094 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7096 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7098 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7099 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7101 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7104 Support TZ transition times < 00:00:00.
7105 This is needed for version-3 tz-format files; it supports time
7106 stamps past 2037 for America/Godthab (the only entry in the tz
7107 database for which this change is relevant).
7108 * manual/time.texi (TZ Variable): Document transition times
7109 from -167:59:59 through -00:00:01.
7110 * time/tzset.c (tz_rule): Time of day is now signed.
7111 (__tzset_parse_tz): Parse negative time of day.
7113 Document TZ transition times >= 25:00:00.
7114 * manual/time.texi (TZ Variable): Document transition times from
7115 25:00:00 through 167:59:59. These are already supported, and this
7116 support will help with version-3 tz-format files.
7118 * manual/time.texi (TZ Variable): Modernize North America example
7119 to reflect current (i.e., 2007-and-later) daylight saving rules.
7121 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7123 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7125 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7126 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7129 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7130 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7131 * sysdeps/unix/bsd/clock.c: Likewise.
7132 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7133 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7134 * sysdeps/unix/bsd/init-posix.c: Likewise.
7135 * sysdeps/unix/bsd/poll.c: Likewise.
7136 * sysdeps/unix/bsd/ptsname.c: Likewise.
7137 * sysdeps/unix/bsd/seekdir.c: Likewise.
7138 * sysdeps/unix/bsd/setegid.c: Likewise.
7139 * sysdeps/unix/bsd/seteuid.c: Likewise.
7140 * sysdeps/unix/bsd/setgid.c: Likewise.
7141 * sysdeps/unix/bsd/setrgid.c: Likewise.
7142 * sysdeps/unix/bsd/setruid.c: Likewise.
7143 * sysdeps/unix/bsd/setsid.c: Likewise.
7144 * sysdeps/unix/bsd/setuid.c: Likewise.
7145 * sysdeps/unix/bsd/sigaction.c: Likewise.
7146 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7147 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7148 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7149 * sysdeps/unix/bsd/telldir.c: Likewise.
7150 * sysdeps/unix/bsd/times.c: Likewise.
7151 * sysdeps/unix/bsd/usleep.c: Likewise.
7153 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7154 ($(objpfx)libbsd-compat.a): Remove rule.
7156 * include/features.h (__FAVOR_BSD): Do not define.
7157 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7158 features conflicting with POSIX.
7159 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7160 (_BSD_SOURCE): Remove description of not being a subset of other
7161 feature test macros.
7162 * manual/job.texi (getpgrp): Do not document BSD version.
7163 (getpgid): Do not document by reference to BSD getpgrp.
7164 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7165 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7166 * signal/signal.h [__FAVOR_BSD]: Likewise.
7167 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7168 instead of making contents conditional on [__FAVOR_BSD].
7169 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7171 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7175 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7178 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7179 values below 2**-450, not 2**-500.
7180 * math/auto-libm-test-in: Don't allow spurious underflow from
7182 * math/auto-libm-test-out: Regenerated.
7186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7187 values of ha and hb and sort them after adjusting subnormal
7189 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7191 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7192 values of ea and eb and sort them after adjusting subnormal
7194 * math/auto-libm-test-in: Do not expect some hypot tests of
7195 subnormals to fail. Add more hypot tests.
7196 * math/auto-libm-test-out: Regenerated.
7198 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7201 * sysdeps/sh/s_fma.c: New file.
7202 * sysdeps/sh/s_fmaf.c: New file.
7203 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7205 * sysdeps/sh/Implies: Add sh/soft-fp.
7207 2013-12-16 Roland McGrath <roland@hack.frob.com>
7209 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7210 level of indirection to members `objname', `errstring', `malloced'.
7211 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7212 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7213 it as the __longjmp argument (just pass 1 instead).
7214 (_dl_catch_error): Initialize C with argument pointers and address of
7215 volatile local ERRCODE rather than copying values out of C at return.
7217 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7219 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7220 * math/auto-libm-test-out: Regenerated.
7221 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7222 (hypot_test_data): Likewise.
7223 (pow_test_data): Likewise.
7224 (pow_tonearest_test_data): Likewise.
7225 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7227 (func_calc_desc): Add mpfr_ff_f union field.
7228 (FUNC_mpfr_ff_f): New macro.
7229 (test_functions): Add atan2, hypot and pow.
7230 (special_fill_min): New function.
7231 (special_fill_minus_min): Likewise.
7232 (special_fill_min_subnorm): Likewise.
7233 (special_fill_minus_min_subnorm): Likewise.
7234 (special_real_inputs): Add min, -min, min_subnorm and
7236 (calc_generic_results): Handle mpfr_ff_f.
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7240 2013-12-16 Will Newton <will.newton@linaro.org>
7242 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7243 (Aligned Memory Blocks): Add documentation for aligned_alloc
7244 and suggest it as an alternative to posix_memalign.
7245 (Hooks for Malloc): Document __memalign_hook is also called
7246 for aligned_alloc. (Summary of Malloc): Add summary for
7247 aligned alloc. Document __memalign_hook is also called
7250 2013-12-16 Will Newton <will.newton@linaro.org>
7252 * manual/memory.texi (Malloc Examples): Clarify default
7253 alignment documentation. Suggest posix_memalign rather
7254 than memalign or valloc.
7255 (Aligned Memory Blocks): Remove suggestion to use memalign
7256 or valloc. Remove obsolete comment about BSD.
7257 Document memalign errno values and mark the function obsolete.
7258 Document posix_memalign returned error codes. Mark valloc
7259 as obsolete. (Hooks for Malloc): __memalign_hook is also
7260 called for posix_memalign and valloc.
7261 (Summary of Malloc): Add posix_memalign to function summary.
7262 __memalign_hook is also called for posix_memalign and valloc.
7264 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7266 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7270 (sloww): Use mynumber union. Expand ternary operator into
7272 (cslow): use mynumber union.
7274 2013-12-16 Allan McRae <allan@archlinux.org>
7276 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7277 * configure: Regenerated.
7279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7282 * configure.ac: Added --enable-maintainer-mode. Check for
7283 autoconf when enabled.
7284 * configure: Regenerated.
7286 * nscd/nscd.service: New file.
7287 * nscd/nscd.tmpfiles: New file.
7289 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7292 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7293 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7294 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7295 (strstr): Add __strstr_sse2_unaligned ifunc.
7296 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7297 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7298 (strcasestr): Remove __strcasestr_sse42 ifunc.
7299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7303 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7305 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7306 * sysdeps/sh/bits/fenv.h: ... here.
7307 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7309 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7314 hypotf multiarch implementations.
7315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7318 multiarch hypot for PPC64.
7319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7322 multiarch hypotf for PPC64.
7324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7325 modff multiarch implementations.
7326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7329 multiarch modf for PPC64.
7330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7333 multiarch modff for PPC64.
7335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7336 and logl multiarch implementations.
7337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7340 multiarch logb for PPC64.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7344 multiarch logb for PPC64.
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7348 multiarch logb for PPC64.
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7351 isinff multiarch implementation.
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7356 multiarch isinf for PPC64.
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7360 multiarch isinff for PPC64.
7362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7363 finitef multiarch implementation.
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7368 multiarch finite for PPC64.
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7372 multiarch finitef for PPC64.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7375 lrint multiarch implementation.
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7380 multiarch llrint for PPC64.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7382 multiarch lrint for PPC64.
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7385 copysignf multiarch implementation.
7386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7391 multiarch copysign for PPC64.
7392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7393 multiarch copysignf for PPC64.
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7396 multiarch implementation.
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7405 multiarch llround for PPC64.
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7407 multiarch trunc for PPC64.
7408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7409 multiarch truncf for PPC64.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7412 multiarch implementation.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7421 multiarch llround for PPC64.
7422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7423 multiarch round for PPC64.
7424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7425 multiarch roundf for PPC64.
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7428 multiarch implementation.
7429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7437 multiarch llround for PPC64.
7438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7439 multiarch floor for PPC64.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7441 multiarch floorf for PPC64.
7443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7444 multiarch implementation.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7453 multiarch llround for PPC64.
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7455 multiarch ceil for PPC64.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7457 multiarch ceilf for PPC64.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7460 multiarch implementation.
7461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7468 multiarch llround for PPC64.
7469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7470 multiarch lround for PPC64.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7473 multiarch implementation.
7474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7481 multiarch isnan for PPC64.
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7483 multiarch isnanf for PPC64.
7485 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7486 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7487 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7488 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7489 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7492 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7493 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7498 multiarch implementations.
7499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7500 (__libc_ifunc_impl_list): Likewise.
7501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7502 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7504 multiarch stpcpy for PPC64.
7506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7507 multiarch implementations.
7508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7509 (__libc_ifunc_impl_list): Likewise.
7510 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7512 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7513 multiarch strcpy for PPC64.
7515 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7516 redefine function name.
7517 (_wordcopy_fwd_dest_aligned): Likewise.
7518 (_wordcopy_bwd_aligned): Likewise.
7519 (_wordcopy_bwd_dest_aligned): Likewise.
7520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7521 multiarch implementations.
7522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7523 (__libc_ifunc_impl_list): Likewise.
7524 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7526 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7528 multiarch wcscpy for PPC64.
7530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7531 multiarch implementations.
7532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7533 (__libc_ifunc_impl_list): Likewise.
7534 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7535 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7536 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7538 multiarch wcscpy for PPC64.
7540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7541 multiarch implementations.
7542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7543 (__libc_ifunc_impl_list): Likewise.
7544 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7545 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7546 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7547 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7548 multiarch wcsrchr for PPC64.
7550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7551 multiarch implementations.
7552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7553 (__libc_ifunc_impl_list): Likewise.
7554 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7555 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7556 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7557 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7558 multiarch wcschr for PPC64.
7560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7561 multiarch implementations.
7562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7563 (__libc_ifunc_impl_list): Likewise.
7564 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7565 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7566 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7567 multiarch strchrnul for PPC64.
7569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7572 (__libc_ifunc_impl_list): Likewise.
7573 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7574 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7575 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7576 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7582 (__libc_ifunc_impl_list): Likewise.
7583 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7590 multiarch implementations.
7591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7592 (__libc_ifunc_impl_list): Likewise.
7593 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7594 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7595 strncasecmp for PPC64.
7596 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7597 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7598 multiarch strncasecmp_l for PPC64.
7600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7601 multiarch implementations.
7602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7603 (__libc_ifunc_impl_list): Likewise.
7604 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7606 multiarch strcasecmp for PPC64.
7607 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7609 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7610 multiarch strcasecmp_l for PPC64.
7612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7615 (__libc_ifunc_impl_list): Likewise.
7616 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7617 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7624 (__libc_ifunc_impl_list): Likewise.
7625 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7626 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7627 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7633 (__libc_ifunc_impl_list): Likewise.
7634 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7635 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7637 rawmemrchr for PPC64.
7639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7642 (__libc_ifunc_impl_list): Likewise.
7643 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7651 (__libc_ifunc_impl_list): Likewise.
7652 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7653 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7654 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7660 (__libc_ifunc_impl_list): Likewise.
7661 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7662 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7663 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7666 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7667 avoid cretion of __bzero symbol.
7668 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7670 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7672 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7675 multiarch implementations.
7676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7677 (__libc_ifunc_impl_list): Likewise.
7678 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7680 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7681 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7683 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7684 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7685 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7686 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7687 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7689 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7691 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7695 (__libc_ifunc_impl_list): Likewise.
7696 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7699 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7703 multiarch for POWER/PPC64.
7704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7705 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7712 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7715 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7716 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7717 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7718 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7719 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7720 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7721 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7722 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7723 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7724 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7725 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7726 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7727 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7728 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7729 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7738 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7742 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7744 * benchtests/Makefile (bench): Add exp2 and log2.
7745 (LDLIBS-bench-exp2): Add -lm.
7746 (LDLIBS-bench-log2): Likewise.
7747 * benchtests/exp2-inputs: New inputs file.
7748 * benchtests/log2-inputs: New inputs file.
7749 * benchtests/log-inputs: Add new inputs.
7750 * benchtests/tan-inputs: Likewise.
7752 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7756 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7757 (csloww2): ... from here.
7759 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7760 instead of structures.
7761 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7762 (POLYNOMIAL): Likewise.
7763 (TAYLOR_SLOW): Likewise.
7771 (bsloww1): Likewise.
7772 (bsloww2): Likewise.
7775 (csloww1): Likewise.
7776 (csloww2): Likewise.
7778 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7780 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7781 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7782 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7783 * malloc/hooks.c (realloc_check): Likewise.
7785 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7786 * malloc/arena.c: Remove PER_THREAD conditional.
7787 [!PER_THREAD]: Remove code.
7788 (ptmalloc_unlock_all2): Likewise.
7789 (ptmalloc_init): Likewise.
7790 (_int_new_arena): Likewise.
7791 (arena_get2): Likewise.
7792 * malloc/hooks.c (__malloc_get_state): Likewise.
7793 (__malloc_set_state): Likewise.
7794 * malloc/malloc.c: Likewise.
7795 (struct malloc_state): Likewise.
7796 (struct malloc_par): Likewise.
7797 (__libc_realloc): Likewise.
7798 (__libc_mallopt): Likewise.
7800 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7804 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7806 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7807 macro to a function. Check for zero perturb_byte.
7808 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7810 * malloc/malloc.c: (force_reg): Remove.
7811 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7812 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7813 force_reg by atomic_forced_read.
7814 * malloc/arena.c (ptmalloc_init): Likewise.
7815 * malloc/hooks.c (top_check): Likewise.
7817 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7821 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7825 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7827 * math/auto-libm-test-in: Add tests of lgamma.
7828 * math/auto-libm-test-out: Regenerated.
7829 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7830 (M_LOG_2_SQRT_PIl): Likewise.
7831 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7832 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7834 (func_calc_desc): Add mpfr_f_f1 union field.
7843 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7844 (test_functions): Add lgamma.
7845 (calc_generic_results): Handle mpfr_f_f1.
7846 * sysdeps/i386/fpu/libm-test-ulps: Update.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7849 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7851 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7852 __mpn_add_n for PowerPC64/POWER7.
7853 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7854 __mpn_sub_n for PowerPC64/POWER7.
7856 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7857 __mpn_addmul_1 for PowerPC64.
7858 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7859 __mpn_submul_1 for PowerPC64.
7860 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7862 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7865 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7868 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7870 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7872 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7874 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7875 add multiarch folders.
7876 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7877 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7878 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7879 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7880 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7881 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7882 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7883 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7884 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7885 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7886 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7895 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7901 multiarch __ieee754_hypot for PowerPC32.
7902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7907 multiarch __ieee754_hypotf for PowerPC32.
7909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7910 long_double_symbol only if __logbl is defined.
7911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7912 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7914 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7916 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7918 path for implementation.
7919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7922 logb, and logbl multiarch implementations for PowerPC32.
7923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7928 multiarch logb for PowerPC32.
7929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7934 multiarch logbf for PowerPC32.
7935 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7939 multiarch logbl implementation for PowerPC32.
7941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7942 and modff multiarch implementations.
7943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7948 multiarch modf for PowerPC32.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7954 multiarch modff for PowerPC32.
7956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7957 and lrintf multiarch implementations.
7958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7963 multiarch lrint for PowerPC32.
7964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7965 file: multiarch lrintf for PowerPC32.
7967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7968 and lroundf multiarch implementations.
7969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7976 multiarch lround for PowerPC32.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7978 file: multiarch lroundf for PowerPC32.
7980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7981 copysign and copysignf multiarch implementations.
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7987 file: multiarch copysign for PowerPC32.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7989 file: multiarch copysignf for PowerPC32.
7991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7992 and truncf multiarch implementations.
7993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7998 multiarch trunc for PowerPC32.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8004 multiarch truncf for PowerPC32.
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8007 and roundf multiarch implementations.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8013 multiarch round for PowerPC32.
8014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8019 multiarch roundf for PowerPC32.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8022 and floorf multiarch implementations.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8028 multiarch floor for PowerPC32.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8034 multiarch floorf for PowerPC32.
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8037 and ceilf multiarch implementations.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8043 multiarch ceil for PowerPC32.
8044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8049 multiarch ceilf for PowerPC32.
8051 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8053 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8056 and finitef multiarch implementations.
8057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8062 multiarch finite for PowerPC32.
8063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8066 file: multiarch finitef for PowerPC32.
8068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8069 and isinff multiarch implementations.
8070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8075 multiarch isinf for PowerPC32.
8076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8079 multiarch isinff for PowerPC32.
8081 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8082 alias when __isnan is defined.
8083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8084 and isnanf multiarch implementations.
8085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8094 multiarch isnan for PowerPC32.
8095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8100 multiarch isnanf for PowerPC32.
8102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8103 and sqrtf multiarch implementations.
8104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8109 multiarch sqrt for PowerPC32.
8110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8115 multiarch sqrtf for PowerPC32.
8117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8118 and llroundf multiarch implementations.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8126 file: multiarch llround for PowerPC32.
8127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8128 file: multiarch llroundf for PowerPC32.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8131 multiarch PowerPC32 fpu implementations.
8132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8137 multiarch llrint for PowerPC32.
8138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8147 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8149 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8154 multiarch wordcopy for PPC32.
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8158 (__libc_ifunc_impl_list): Likewise.
8159 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8160 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8161 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8162 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8164 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8166 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8174 multiarch wcscpy for PPC32.
8175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8178 (__libc_ifunc_impl_list): Likewise.
8179 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8180 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8181 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8182 sysdeps/powerpc/power6/wcscpy.c.
8184 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8192 multiarch wcsrchr for PPC32.
8193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8196 (__libc_ifunc_impl_list): Likewise.
8197 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8198 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8199 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8200 sysdeps/powerpc/power6/wcsrchr.c.
8202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8208 multiarch wcschr for PPc32.
8209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8212 (__libc_ifunc_impl_list): Likewise.
8213 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8214 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8215 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8216 sysdeps/powerpc/power6/wcschr.c.
8218 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8221 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8222 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8223 file: multiarch strchr for PPC32.
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8227 (__libc_ifunc_impl_list): Likewise.
8229 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8231 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8236 multiarch strchrnul for PPC32.
8237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8240 (__libc_ifunc_impl_list): Likewise.
8242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8245 multiarch strncasecmp for PPC32.
8246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8249 multiarch strncasecmp_l for PPC32.
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8251 strncasecmp multiarch objects.
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8253 (__libc_ifunc_impl_list): Likewise.
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8257 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8258 multiarch strncasecmp for PPC32.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8262 multiarch strcasecmp_l for PPC32.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8266 (__libc_ifunc_impl_list): Likewise.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8273 multiarch strncmp for PPC32.
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8277 (__libc_ifunc_impl_list): Likewise.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8280 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8287 (__libc_ifunc_impl_list): Likewise.
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8291 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8293 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8297 (__libc_ifunc_impl_list): Likewise.
8299 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8303 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8304 multiarch rawmemchr for PPC32.
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8308 (__libc_ifunc_impl_list): Likewise.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8312 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8314 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8315 file: memrchr multiarch for PPC32.
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8319 (__libc_ifunc_impl_list): Likewise.
8321 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8326 multiarch memchr for PPC32.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8330 (__libc_ifunc_impl_list): Likewise.
8332 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8338 file: multiarch mempcpy for PPC32.
8339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8342 (__libc_ifunc_impl_list): Likewise.
8344 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8348 multiarch bzero for PPC32.
8349 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8351 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8353 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8354 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8355 file: multiarch memset for PPC32.
8356 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8358 memset multiarch objects.
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8360 (__libc_ifunc_impl_list): Likewise.
8362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8367 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8371 (__libc_ifunc_impl_list): Likewise.
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8379 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8382 multiarch memcpy for PPC32.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8386 (__libc_ifunc_impl_list): Likewise.
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8389 support multiarch for POWER/PPC32.
8390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8392 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8394 Implies file to make multiarch folder appers before the fpu and
8395 default folder for power4 configuration.
8397 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8399 * scripts/bench.pl: Append volatile keyword to type.
8401 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8403 * sysdeps/sh/sotruss-lib.c: New file.
8404 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8406 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8410 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8413 * math/w_tgamma.c: Include <errno.h>.
8414 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8415 * math/w_tgammaf.c: Include <errno.h>.
8416 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8417 * math/w_tgammal.c: Include <errno.h>.
8418 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8419 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8420 underflow. Add more tgamma tests.
8421 * math/auto-libm-test-out: Regenerated.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8425 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8426 sin, sinh, tan, tanh, tgamma, y0 and y1.
8427 * math/auto-libm-test-out: Regenerated.
8428 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8429 (TEST_COND_x86): Likewise.
8430 (M_E2l): Remove macro.
8432 (M_2_SQRT_PIl): Likewise.
8433 (M_SQRT_PIl): Likewise.
8434 (M_1_DIV_El): Likewise.
8435 (log_test_data): Use AUTO_TESTS_f_f.
8436 (log10_test_data): Likewise.
8437 (log1p_test_data): Likewise.
8438 (log2_test_data): Likewise.
8439 (sin_test_data): Likewise.
8440 (sin_tonearest_test_data): Likewise.
8441 (sin_towardzero_test_data): Likewise.
8442 (sin_downward_test_data): Likewise.
8443 (sin_upward_test_data): Likewise.
8444 (sinh_test_data): Likewise.
8445 (sinh_tonearest_test_data): Likewise.
8446 (sinh_towardzero_test_data): Likewise.
8447 (sinh_downward_test_data): Likewise.
8448 (sinh_upward_test_data): Likewise.
8449 (tan_test_data): Likewise.
8450 (tan_tonearest_test_data): Likewise.
8451 (tan_towardzero_test_data): Likewise.
8452 (tan_downward_test_data): Likewise.
8453 (tan_upward_test_data): Likewise.
8454 (tanh_test_data): Likewise.
8455 (tgamma_test_data): Likewise.
8456 (y0_test_data): Likewise.
8457 (y1_test_data): Likewise.
8458 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8459 (special_real_inputs): Add pi/4.
8460 * sysdeps/i386/fpu/libm-test-ulps: Update.
8461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8463 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8465 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8466 "longjmp_target" static probes.
8467 (__longjmp): Rename to __longjmp_symbol.
8468 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8469 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8470 on which longjmp to generate.
8471 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8474 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8475 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8476 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8478 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8479 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8481 __longjmp_symbol based on which __longjmp to generate.
8482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8484 (setjmp): Rename to setjmp_symbol.
8485 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8486 (_setjmp): Rename to _setjmp_symbol.
8487 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8488 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8489 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8490 which setjmp to generate.
8491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8492 "longjmp_target" static probes.
8494 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8496 * benchtests/README: Add note about output arguments.
8497 * benchtests/bench-sincos.c: Remove file.
8498 * benchtests/sincos-inputs: New file.
8499 * scripts/bench.pl: Identify output arguments and define
8500 static variables for them.
8502 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8505 * Makefile (INSTALL): Add install-plain.texi as the primary
8507 * manual/install-plain.texi: New file.
8508 * manual/install.texi: Include node directive only for
8509 non-plaintext output.
8511 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8513 * stdlib/longlong.h: Update from GCC.
8517 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8518 * math/w_j0f.c (y0f): Likewise.
8519 * math/w_j0l.c (__y0l): Likewise.
8520 * math/w_j1.c (y1): Likewise.
8521 * math/w_j1f.c (y1f): Likewise.
8522 * math/w_j1l.c (__y1l): Likewise
8523 * math/w_jn.c (yn): Likewise.
8524 * math/w_jnf.c (ynf): Likewise.
8525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8526 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8527 value for Bessel function domain errors outside _SVID_ mode.
8528 Adjust sign of return value for yn (negative integer, 0).
8529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8530 by zero in return for negative x and set sign appropriately for
8532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8534 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8535 expectations in error cases.
8536 (y1_test_data): Likewise.
8537 (yn_test_data): Likewise.
8538 * sysdeps/i386/fpu/libm-test-ulps: Update.
8539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8541 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8543 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8544 "64" to "64-v1". Add "64-v2".
8545 (abi-64-options): Rename to ...
8546 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8547 (abi-64-condition): Rename to ...
8548 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8549 (abi-64-ld-soname): Rename to ...
8550 (abi-64-v1-ld-soname): ... this.
8551 (abi-64-v2-options): Define.
8552 (abi-64-v2-condition): Likewise.
8553 (abi-64-v2-ld-soname): Likewise.
8554 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8560 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8561 Alan Modra <amodra@gmail.com>
8563 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8564 New versions for use with the ELFv2 ABI.
8565 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8566 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8568 (struct La_ppc64v2_retval): Likewise.
8569 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8570 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8571 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8572 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8573 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8574 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8575 Do not save or restore CR.
8576 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8577 (_dl_profile_resolve): Do no save or restore CR. Support extended
8578 return values for ELFv2 ABI. Fix location of FPR return registers.
8579 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8580 updated values for _CALL_ELF == 2.
8581 (La_regs, La_retval, int_retval): Likewise.
8583 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8585 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8586 (FRAME_MIN_SIZE_PARM): Likewise.
8587 (FRAME_BACKCHAIN): Likewise.
8588 (FRAME_CR_SAVE): Likewise.
8589 (FRAME_LR_SAVE): Likewise.
8590 (FRAME_TOC_SAVE): Likewise.
8591 (FRAME_PARM_SAVE): Likewise.
8592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8593 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8594 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8595 (call_mcount_parm_offset): New macro.
8596 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8597 (PROF): Use symbolic stack frame offsets.
8598 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8600 Redefine in terms of FRAME_MIN_SIZE.
8601 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8602 (_dl_profile_resolve): Likewise. Update comment.
8603 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8604 symbols stack frame offsets.
8605 (__sigsetjmp): Likewise.
8606 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8607 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8608 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8609 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8612 (FRAME_BACKCHAIN): Remove.
8613 (FRAME_CR_SAVE): Likewise.
8614 (FRAME_LR_SAVE): Likewise.
8615 (FRAME_COMPILER_DW): Likewise.
8616 (FRAME_LINKER_DW): Likewise.
8617 (FRAME_TOC_SAVE): Likewise.
8618 (FRAME_PARM_SAVE): Likewise.
8619 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8620 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8621 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8623 (CHECK_SP): Use symbolic stack frame offsets.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8625 zone" instead of caller's parameter save area for temp storage.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8627 Likewise. Also, use symbolic stack frame offsets.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8629 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8630 our own stack frame instead of the caller's.
8631 (__socket): Use symbolic stack frame offsets.
8633 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8634 Alan Modra <amodra@gmail.com>
8636 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8638 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8639 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8640 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8642 (elf_machine_fixup_plt): Call it.
8643 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8645 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8647 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8648 r2 before calling target.
8650 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8651 Alan Modra <amodra@gmail.com>
8653 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8654 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8655 versions of macros to support ELFv2 ABI.
8656 (LOCALENTRY): New macro.
8657 (ENTRY, EALIGN): Use it.
8658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8659 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8660 fall through into ENTRY entry point.
8661 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8662 Only define if _CALL_ELF != 2.
8664 (elf_machine_matches_host): Verify ABI version matches.
8665 (RTLD_START): Use LOCALENTRY.
8666 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8667 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8668 (PLT_ENTRY_WORDS): New macro.
8669 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8670 (elf_machine_runtime_setup): Support ELFv2 ABI.
8671 (elf_machine_fixup_plt): Likewise.
8672 (elf_machine_plt_conflict): Likewise.
8673 (resolve_ifunc): Likewise.
8674 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8678 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8680 (makecontext): Support ELFv2 ABI.
8681 * elf/elf.h (EF_PPC64_ABI): Define.
8683 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8685 * sysdeps/powerpc/powerpc64/sysdep.h
8686 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8687 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8688 (ENTRY) [ASSEMBLER]: ... but instead here ...
8689 (EALIGN) [ASSEMBLER]: ... and here.
8690 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8691 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8692 (ENTRY_2) [!ASSEMBLER]: Use it.
8693 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8694 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8696 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8697 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8699 Use PPC64_LOAD_FUNCPTR.
8701 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8703 2013-12-04 Alan Modra <amodra@gmail.com>
8705 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8706 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8707 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8708 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8711 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8712 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8713 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8714 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8715 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8717 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8720 (__makecontext): Fix incorrect CFI when backtracing out of
8721 context created via makecontext.
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8723 (__setcontext): Fix incorrect CFI during switch to new context.
8724 (__novec_setcontext): Likewise.
8726 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8729 * time/strptime_l.c (__strptime_internal): Allow modifiers
8731 * time/tst-strptime.c (day_tests): Add testcase.
8733 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8735 * scripts/bench.pl: Skip over blank lines.
8737 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8740 * manual/time.texi (Calendar Time): Clarify what timezone functions
8743 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8747 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8749 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8751 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8752 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8753 * debug/memset_chk.c (__memset_chk): Likewise.
8754 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8755 * debug/strncpy_chk.c: Likewise.
8757 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8761 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8762 (__ieee754_exp): For possibly underflowing results, check size of
8763 result and force underflow exception if required.
8764 * math/auto-libm-test-in: Add more tests of exp.
8765 * math/auto-libm-test-out: Regenerated.
8766 * sysdeps/i386/fpu/libm-test-ulps: Update.
8767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8770 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8771 * math/w_exp2f.c (__exp2f): Likewise.
8772 * math/w_exp2l.c (__exp2l): Likewise.
8773 * math/auto-libm-test-in: Do not allow missing errno on exp2
8775 * math/auto-libm-test-out: Regenerated.
8777 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8780 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8781 handle filename validation.
8782 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8785 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8788 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8789 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8790 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8792 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8794 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8796 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8798 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8799 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8800 Add more erfc tests.
8801 * math/auto-libm-test-out: Regenerated.
8802 * sysdeps/i386/fpu/libm-test-ulps: Update.
8803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8805 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8806 exp2, expm1, j0 and j1.
8807 * math/auto-libm-test-out: Regenerated.
8808 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8809 (erfc_test_data): Likewise.
8810 (exp_test_data): Likewise.
8811 (exp_tonearest_test_data): Likewise.
8812 (exp_towardzero_test_data): Likewise.
8813 (exp_downward_test_data): Likewise.
8814 (exp_upward_test_data): Likewise.
8815 (exp10_test_data): Likewise.
8816 (exp2_test_data): Likewise.
8817 (expm1_test_data): Likewise.
8818 (j0_test_data): Likewise.
8819 (j1_test_data): Likewise.
8820 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8821 (input_flag_type): Add flag_xfail_rounding.
8822 (input_flags): Add xfail-rounding.
8823 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8824 (output_for_one_input_case): Handle flag_xfail_rounding.
8825 * sysdeps/i386/fpu/libm-test-ulps: Update.
8826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8831 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8834 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8837 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8838 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8839 (STAP_PROBE0): New macro.
8840 (STAP_PROBE1): Likewise.
8841 (STAP_PROBE2): Likewise.
8842 (STAP_PROBE3): Likewise.
8843 (STAP_PROBE4): Likewise.
8845 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8847 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8849 2013-12-02 Steve Ellcey <sellcey@mips.com>
8851 * benchtests/Makefile (bench): Add sqrt.
8852 (LDLIBS-bench-sqrt): New.
8853 * benchtests/sqrt-input: New.
8855 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8857 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8858 (GAIH_EAI): Likewise.
8859 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8860 (gaih_inet): Likewise.
8861 (getaddrinfo): Don't use GAIH_EAI.
8863 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8864 (struct gaih): Remove definition.
8866 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8868 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8869 Use HERRNOP directly.
8871 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8875 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8877 * math/gen-auto-libm-tests.c (test_functions): Add more
8878 single-argument functions.
8879 (special_fill_pi_2): New function.
8880 (special_fill_minus_pi_2): Likewise.
8881 (special_fill_pi_6): Likewise.
8882 (special_fill_minus_pi_6): Likewise.
8883 (special_fill_pi_3): Likewise.
8884 (special_fill_2pi_3): Likewise.
8885 (special_fill_e): Likewise.
8886 (special_fill_1_e): Likewise.
8887 (special_fill_e_minus_1): Likewise.
8888 (special_real_inputs): Add more special inputs.
8889 (output_for_one_input_case): Do not require ERANGE on underflow to
8890 zero if round-to-nearest result does not underflow to zero, unless
8891 exact results required.
8892 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8893 atan, atanh, cbrt, cos and cosh.
8894 * math/auto-libm-test-out: Regenerated.
8895 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8896 (acos_tonearest_test_data): Likewise.
8897 (acos_towardzero_test_data): Likewise.
8898 (acos_downward_test_data): Likewise.
8899 (acos_upward_test_data): Likewise.
8900 (acosh_test_data): Likewise.
8901 (asin_test_data): Likewise.
8902 (asin_tonearest_test_data): Likewise.
8903 (asin_towardzero_test_data): Likewise.
8904 (asin_upward_test_data): Likewise.
8905 (asinh_test_data): Likewise.
8906 (atan_test_data): Likewise.
8907 (atanh_test_data): Likewise.
8908 (cbrt_test_data): Likewise.
8909 (cos_test_data): Likewise.
8910 (cos_tonearest_test_data): Likewise.
8911 (cos_towardzero_test_data): Likewise.
8912 (cos_downward_test_data): Likewise.
8913 (cos_upward_test_data): Likewise.
8914 (cosh_test_data): Likewise.
8915 (cosh_tonearest_test_data): Likewise.
8916 (cosh_towardzero_test_data): Likewise.
8917 (cosh_downward_test_data): Likewise.
8918 (cosh_upward_test_data): Likewise.
8919 * sysdeps/i386/fpu/libm-test-ulps: Update.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8922 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8925 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8926 * math/w_exp10f.c (__exp10f): Likewise.
8927 * math/w_exp10l.c (__exp10l): Likewise.
8928 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8929 errno settings in existing tests.
8932 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8933 precision control set to double precision.
8934 * sysdeps/i386/fpu/w_sqrt.c: New file.
8935 * math/auto-libm-test-in: Add more tests.
8936 * math/auto-libm-test-out: Update.
8938 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8939 (sqrt_test_tonearest): New function.
8940 (sqrt_towardzero_test_data): New variable.
8941 (sqrt_test_towardzero): New function.
8942 (sqrt_downward_test_data): New variable.
8943 (sqrt_test_downward): New function.
8944 (sqrt_upward_test_data): New variable.
8945 (sqrt_test_upward): New function.
8946 (main): Call the new functions.
8948 * math/gen-auto-libm-tests.c: New file.
8949 * math/auto-libm-test-in: Likewise.
8950 * math/auto-libm-test-out: New generated file.
8951 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8953 (%beautify): Add generated representations of zero.
8954 (top level): Set $auto_input and call parse_auto_input.
8955 (beautify): Remove trailing "f" from hex float constants.
8956 (parse_args): Handle XFAIL_TEST.
8957 (convert_condition): New function.
8958 (or_value): Likewise.
8959 (or_cond_value): Likewise.
8960 (generate_testfile): Handle AUTO_TESTS_* lines.
8961 (parse_auto_input): New function.
8962 * math/libm-test.inc (XFAIL_TEST): New macro.
8963 (ERRNO_UNCHANGED): Update value.
8964 (ERRNO_EDOM): Likewise.
8965 (ERRNO_ERANGE): Likewise.
8966 (IGNORE_RESULT): Likewise.
8967 (TEST_COND_flt_32): New macro.
8968 (TEST_COND_dbl_64): Likewise.
8969 (TEST_COND_ldbl_96_intel): Likewise.
8970 (TEST_COND_ldbl_96_m68k): Likewise.
8971 (TEST_COND_ldbl_128): Likewise.
8972 (TEST_COND_ldbl_128ibm): Likewise.
8973 (TEST_COND_long32): Likewise.
8974 (TEST_COND_long64): Likewise.
8975 (TEST_COND_before_rounding): Likewise.
8976 (TEST_COND_after_rounding): Likewise.
8977 (enable_test): Handle XFAIL_TEST flag.
8978 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8979 with finite results.
8980 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8983 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8984 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8987 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8988 __tls_get_addr_internal instead of __tls_get_offset in order to
8989 avoid GOT pointer dependency. Make rtld export
8990 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8991 __tls_get_addr since we are a __tls_get_offset platform.
8992 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8993 GOT pointer being set up before.
8994 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8996 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8998 * manual/math.texi (Errors in Math Functions): Document accuracy
9002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9019 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9020 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9021 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9022 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9023 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9031 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9032 atomic-feupdateenv and flt-rounds.
9033 * sysdeps/powerpc/nofpu/Versions (libc): Add
9034 __atomic_feholdexcept, __atomic_feclearexcept,
9035 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9036 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9037 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9038 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9039 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9044 * manual/arith.texi (FP Exceptions): Document that exceptions may
9045 not be raised when matherr is used.
9046 (Math Error Reporting): Document overflow in directed rounding
9047 modes. Document that errno may not be set when finite values are
9048 returned on overflow. Document intent to set errno on underflow
9049 only for underflow to zero.
9052 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9053 round-to-nearest then adjust result for other rounding modes.
9054 * include/fenv.h (fegetround): Use libm_hidden_proto.
9055 * math/fegetround.c (fegetround): Use libm_hidden_def.
9056 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9057 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9058 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9059 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9061 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9062 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9063 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9064 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9066 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9069 * nss/Versions (libnss_files): Add
9070 _nss_files_gethostbyname3_r.
9071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9073 (HOST_DB_LOOKUP): Remove macro.
9074 (_nss_files_gethostbyname_r): Implement function without the
9075 HOST_DB_LOOKUP macro.
9076 (_nss_files_gethostbyname2_r): Likewise.
9078 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9080 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9082 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9084 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9085 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9088 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9091 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9093 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9094 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9095 __fe_nomask_env_priv and attribute_hidden.
9096 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9097 (libc_feupdateenv_test_ppc): Likewise.
9098 (libc_feresetround_ppc): Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9100 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9101 compat_symbol macro.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9103 (__fe_nomask_env): Likewise.
9104 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9106 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9108 * string/Makefile: Remove ifunc tests.
9109 * string/test-string.h: Define TEST_IFUNC.
9110 * string/test-bcopy-ifunc.c: Remove.
9111 * string/test-bzero-ifunc.c: Likewise.
9112 * string/test-memccpy-ifunc.c: Likewise.
9113 * string/test-memchr-ifunc.c: Likewise.
9114 * string/test-memcmp-ifunc.c: Likewise.
9115 * string/test-memcpy-ifunc.c: Likewise.
9116 * string/test-memmem-ifunc.c: Likewise.
9117 * string/test-memmove-ifunc.c: Likewise.
9118 * string/test-mempcpy-ifunc.c: Likewise.
9119 * string/test-memrchr-ifunc.c: Likewise.
9120 * string/test-memset-ifunc.c: Likewise.
9121 * string/test-rawmemchr-ifunc.c: Likewise.
9122 * string/test-stpcpy-ifunc.c: Likewise.
9123 * string/test-stpncpy-ifunc.c: Likewise.
9124 * string/test-strcasecmp-ifunc.c: Likewise.
9125 * string/test-strcasestr-ifunc.c: Likewise.
9126 * string/test-strcat-ifunc.c: Likewise.
9127 * string/test-strchr-ifunc.c: Likewise.
9128 * string/test-strchrnul-ifunc.c: Likewise.
9129 * string/test-strcmp-ifunc.c: Likewise.
9130 * string/test-strcpy-ifunc.c: Likewise.
9131 * string/test-strcspn-ifunc.c: Likewise.
9132 * string/test-strlen-ifunc.c: Likewise.
9133 * string/test-strncasecmp-ifunc.c: Likewise.
9134 * string/test-strncat-ifunc.c: Likewise.
9135 * string/test-strncmp-ifunc.c: Likewise.
9136 * string/test-strncpy-ifunc.c: Likewise.
9137 * string/test-strnlen-ifunc.c: Likewise.
9138 * string/test-strpbrk-ifunc.c: Likewise.
9139 * string/test-strrchr-ifunc.c: Likewise.
9140 * string/test-strspn-ifunc.c: Likewise.
9141 * string/test-strstr-ifunc.c: Likewise.
9143 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9145 * benchtests/Makefile: Remove ifunc tests.
9146 * benchtests/bench-string.h: Define TEST_IFUNC.
9147 * benchtests/bench-bcopy-ifunc.c: Remove.
9148 * benchtests/bench-bzero-ifunc.c: Likewise.
9149 * benchtests/bench-memccpy-ifunc.c: Likewise.
9150 * benchtests/bench-memchr-ifunc.c: Likewise.
9151 * benchtests/bench-memcmp-ifunc.c: Likewise.
9152 * benchtests/bench-memcpy-ifunc.c: Likewise.
9153 * benchtests/bench-memmem-ifunc.c: Likewise.
9154 * benchtests/bench-memmove-ifunc.c: Likewise.
9155 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9156 * benchtests/bench-memrchr-ifunc.c: Likewise.
9157 * benchtests/bench-memset-ifunc.c: Likewise.
9158 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9159 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9160 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9161 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9162 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9163 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9164 * benchtests/bench-strcat-ifunc.c: Likewise.
9165 * benchtests/bench-strchr-ifunc.c: Likewise.
9166 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9167 * benchtests/bench-strcmp-ifunc.c: Likewise.
9168 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9169 * benchtests/bench-strcpy-ifunc.c: Likewise.
9170 * benchtests/bench-strcspn-ifunc.c: Likewise.
9171 * benchtests/bench-strlen-ifunc.c: Likewise.
9172 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9173 * benchtests/bench-strncat-ifunc.c: Likewise.
9174 * benchtests/bench-strncmp-ifunc.c: Likewise.
9175 * benchtests/bench-strncpy-ifunc.c: Likewise.
9176 * benchtests/bench-strnlen-ifunc.c: Likewise.
9177 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9178 * benchtests/bench-strrchr-ifunc.c: Likewise.
9179 * benchtests/bench-strsep-ifunc.c: Likewise.
9180 * benchtests/bench-strspn-ifunc.c: Likewise.
9181 * benchtests/bench-strstr-ifunc.c: Likewise.
9183 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9185 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9187 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9189 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9190 * rt/aio.h: Likewise.
9191 * sysdeps/gnu/bits/utmp.h: Likewise.
9192 * sysdeps/gnu/bits/utmpx.h: Likewise.
9193 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9194 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9195 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9196 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9197 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9198 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9199 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9200 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9208 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9209 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9210 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9211 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9212 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9223 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9225 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9229 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9230 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9231 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9232 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9233 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9234 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9236 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9240 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9242 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9244 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9248 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9251 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9252 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9253 (__fesetround): Remove define.
9254 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9255 rounding and exceptions handling.
9256 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9257 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9258 (__fe_nomask_env): Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9260 __fegetround instead of fegetround.
9261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9264 2013-11-21 Roland McGrath <roland@hack.frob.com>
9266 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9269 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9271 2013-11-21 Meador Inge <meadori@codesourcery.com>
9274 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9275 (encrypt_r): Likewise.
9276 * malloc/obstack.h (obstack_free): Likewise.
9277 * posix/unistd.h (encrypt): Likewise.
9279 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9281 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9282 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9283 DL_CALL_DT_FINI() that call the functions directly.
9284 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9285 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9286 * elf/dl-fini.c: Likewise.
9288 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9290 * malloc/hooks.c (memalign_check): Add alignment rounding.
9291 * malloc/malloc.c (_mid_memalign): New function.
9292 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9293 Implement by calling _mid_memalign.
9294 * manual/probes.texi (Memory Allocation Probes): Remove
9295 memory_valloc_retry and memory_pvalloc_retry.
9297 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9299 * locale/programs/locarchive.c (open_archive): Add const
9300 qualifier to ARCHIVEFNAME and copy default fname to
9304 * libio/tst-widetext.input: Rename Oriya to Odia.
9305 * locale/iso-639.def: Likewise.
9307 * manual/probes.texi (Mathematical Function Probes): Add
9308 documentation for sin, cos, asin and acos probes.
9309 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9310 (__sin32): Add slowasin probe.
9311 (__cos32): Add slowacos probe.
9312 (__mpsin): Add slowsin probe.
9313 (__mpcos): Add slowcos probe.
9315 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9318 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9319 thread-local __sim_exceptions_thread and global
9320 __sim_exceptions_global.
9321 (__sim_disabled_exceptions): Change to thread-local
9322 __sim_disabled_exceptions_thread and global
9323 __sim_disabled_exceptions_global.
9324 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9325 and global __sim_round_mode_global.
9326 (__simulate_exceptions): Use thread-local floating-point state and
9327 set global state from it as needed.
9328 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9329 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9330 __sim_round_mode_thread.
9331 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9332 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9333 and global __sim_exceptions_global.
9334 (__sim_disabled_exceptions): Change to thread-local
9335 __sim_disabled_exceptions_thread and global
9336 __sim_disabled_exceptions_global.
9337 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9338 and global __sim_round_mode_global.
9339 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9340 (SIM_SET_GLOBAL): Likewise.
9341 * sysdeps/powerpc/soft-fp/sfp-machine.h
9342 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9343 __sim_round_mode_thread.
9344 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9345 __sim_disabled_exceptions_thread.
9346 (__sim_exceptions): Change to __sim_exceptions_thread.
9347 (__sim_disabled_exceptions): Change to
9348 __sim_disabled_exceptions_thread.
9349 (__sim_round_mode): Change to __sim_round_mode_thread.
9350 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9351 thread-local floating-point state and set global state from it as
9353 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9354 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9355 (__sim_disabled_exceptions): Remove extern declaration.
9356 (feenableexcept): Use thread-local floating-point state and set
9357 global state from it as needed.
9358 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9360 (__sim_disabled_exceptions): Likewise.
9361 (__sim_round_mode): Likewise.
9362 (__fegetenv): Use thread-local floating-point state.
9363 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9364 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9365 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9366 floating-point state and set global state from it as needed.
9367 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9368 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9369 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9371 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9372 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9374 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9375 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9376 Use __sim_round_mode_thread.
9377 * math/test-fenv-tls.c: New file.
9378 * math/Makefile (tests): Add test-fenv-tls.
9379 ($(objpfx)test-fenv-tls): Depend on
9380 $(common-objpfx)nptl/libpthread.so.
9382 2013-11-19 Andreas Schwab <schwab@suse.de>
9384 * locale/programs/locale.c (show_info): Decode wordarray elements.
9385 * locale/categories.def (LC_MONETARY): Add element for
9386 _NL_MONETARY_CRNCYSTR.
9387 * locale/C-monetary.c (conversion_rate): New variable.
9388 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9391 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9393 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9394 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9396 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9398 * elf/Makefile (tst-auxv): New test.
9399 * elf/tst-auxv.c: New
9400 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9402 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9404 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9405 (hidden_proto): Caller changed.
9406 (hidden_tls_proto): New macro.
9407 (libc_hidden_tls_proto): Likewise.
9408 (rtld_hidden_tls_proto): Likewise.
9409 (libm_hidden_tls_proto): Likewise.
9410 (libresolv_hidden_tls_proto): Likewise.
9411 (librt_hidden_tls_proto): Likewise.
9412 (libdl_hidden_tls_proto): Likewise.
9413 (libnss_files_hidden_tls_proto): Likewise.
9414 (libnsl_hidden_tls_proto): Likewise.
9415 (libnss_nisplus_hidden_tls_proto): Likewise.
9416 (libutil_hidden_tls_proto): Likewise.
9418 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9421 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9422 (decompose_rpath): Defer expansion to fillin_rpath.
9423 (_dl_init_paths): Pass linkmap to fillin_rpath.
9425 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9427 * benchtests/Makefile: Add strsep.
9428 * benchtests/bench-strsep.c: New file: strsep benchtest.
9429 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9431 2013-11-18 Andreas Schwab <schwab@suse.de>
9433 * locale/programs/locale.c (show_info) [case byte]: Check for
9434 '\377' instead of '\177'.
9435 * locale/C-monetary.c (not_available): Always use "\377".
9436 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9437 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9438 detect unavailable sign_posn locale elements.
9439 * locale/localeconv.c (__localeconv): For grouping and
9440 mon_grouping handle "\177" and "\377" like no grouping.
9441 (INT_ELEM): New macro. Use it to set all numeric members.
9442 * locale/programs/ld-monetary.c (monetary_read)
9443 <tok_mon_grouping>: Normalize single -1 to the empty string.
9444 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9447 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9451 when we match (nil).
9452 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9454 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9456 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9457 (NO_TEST_INLINE): Update value.
9458 (ERRNO_UNCHANGED): Likewise.
9459 (ERRNO_EDOM): Likewise.
9460 (ERRNO_ERANGE): Likewise.
9461 (IGNORE_RESULT): Likewise.
9462 (check_float_internal): Check signs of NaN results if
9464 (check_complex): Pass TEST_NAN_SIGN flag through to second
9465 check_float_internal call.
9466 (copysign_test_data): Add tests with quiet NaNs as second
9467 argument. Use TEST_NAN_SIGN.
9468 (fabs_test_data): Add test of negative quiet NaN argument. Use
9470 (signbit_test_data): Add tests of quiet NaN argument.
9471 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9473 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9475 (parse_args): Handle function results specified as IGNORE.
9476 * math/libm-test.inc (IGNORE_RESULT): New macro.
9477 (check_float_internal): Do not check numerical result if flag
9479 (check_complex): Pass through IGNORE_RESULT to second
9480 check_float_internal call.
9481 (check_int): Do not check numerical result if flag IGNORE_RESULT
9483 (check_long): Likewise.
9484 (check_bool): Likewise.
9485 (check_longlong): Likewise.
9486 (lrint_test_data): Add tests of infinite and NaN arguments.
9487 (lrint_tonearest_test_data): Likewise.
9488 (lrint_towardzero_test_data): Likewise.
9489 (lrint_downward_test_data): Likewise.
9490 (lrint_upward_test_data): Likewise.
9491 (llrint_test_data): Likewise.
9492 (llrint_tonearest_test_data): Likewise.
9493 (llrint_towardzero_test_data): Likewise.
9494 (llrint_downward_test_data): Likewise.
9495 (llrint_upward_test_data): Likewise.
9496 (lround_test_data): Likewise.
9497 (llround_test_data): Likewise.
9499 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9500 (ERRNO_UNCHANGED): Update value.
9501 (ERRNO_EDOM): Likewise.
9502 (ERRNO_ERANGE): Likewise.
9503 (NO_TEST_INLINE_FLOAT): New macro.
9504 (NO_TEST_INLINE_DOUBLE): Likewise.
9505 (enable_test): New function.
9506 (RUN_TEST_f_f): Check enable_test before running test.
9507 (RUN_TEST_2_f): Likewise.
9508 (RUN_TEST_fff_f): Likewise.
9509 (RUN_TEST_c_f): Likewise.
9510 (RUN_TEST_f_f1): Likewise.
9511 (RUN_TEST_fF_f1): Likewise.
9512 (RUN_TEST_fI_f1): Likewise.
9513 (RUN_TEST_ffI_f1): Likewise.
9514 (RUN_TEST_c_c): Likewise.
9515 (RUN_TEST_cc_c): Likewise.
9516 (RUN_TEST_f_i): Likewise.
9517 (RUN_TEST_f_i_tg): Likewise.
9518 (RUN_TEST_ff_i_tg): Likewise.
9519 (RUN_TEST_f_b): Likewise.
9520 (RUN_TEST_f_b_tg): Likewise.
9521 (RUN_TEST_f_l): Likewise.
9522 (RUN_TEST_f_L): Likewise.
9523 (RUN_TEST_fFF_11): Likewise.
9524 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9526 (cosh_test_data): Likewise.
9527 (exp_test_data): Likewise.
9528 (expm1_test_data): Likewise.
9529 (hypot_test_data): Likewise.
9530 (pow_test_data): Likewise.
9531 (sinh_test_data): Likewise.
9532 (tanh_test_data): Likewise.
9533 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9536 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9537 tests with quiet NaN input and output.
9538 (acosh_test_data): Likewise.
9539 (asin_test_data): Likewise.
9540 (asinh_test_data): Likewise.
9541 (atan_test_data): Likewise.
9542 (atanh_test_data): Likewise.
9543 (atan2_test_data): Likewise.
9544 (cbrt_test_data): Likewise.
9545 (cos_test_data): Likewise.
9546 (cosh_test_data): Likewise.
9547 (erf_test_data): Likewise.
9548 (erfc_test_data): Likewise.
9549 (exp_test_data): Likewise.
9550 (exp10_test_data): Likewise.
9551 (exp2_test_data): Likewise.
9552 (expm1_test_data): Likewise.
9553 (hypot_test_data): Likewise.
9554 (j0_test_data): Likewise.
9555 (j1_test_data): Likewise.
9556 (jn_test_data): Likewise.
9557 (lgamma_test_data): Likewise.
9558 (log_test_data): Likewise.
9559 (log10_test_data): Likewise.
9560 (log1p_test_data): Likewise.
9561 (log2_test_data): Likewise.
9562 (pow_test_data): Likewise.
9563 (scalb_test_data): Likewise.
9564 (sin_test_data): Likewise.
9565 (sincos_test_data): Likewise.
9566 (sinh_test_data): Likewise.
9567 (tan_test_data): Likewise.
9568 (tanh_test_data): Likewise.
9569 (tgamma_test_data): Likewise.
9570 (y0_test_data): Likewise.
9571 (y1_test_data): Likewise.
9572 (yn_test_data): Likewise.
9575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9576 argument being NaN and avoid computations with second argument in
9578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9580 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9582 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9584 * locale/iso-639.def: Add Chitwani Tharu (the).
9586 2013-11-14 Andreas Schwab <schwab@suse.de>
9588 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9589 word instead of empty string.
9591 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9594 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9596 (__fe_nomask_env): Likewise.
9598 2013-11-13 Steve Ellcey <sellcey@mips.com>
9600 * benchtests/bench-timing.h: Include time.h.
9602 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9605 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9607 * sysdeps/unix/sysv/linux/configure: Regenerated.
9609 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9612 * stdlib/strtod_l.c (round_and_return): Do not consider
9613 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9614 exponent one less than half the least subnormal exponent.
9615 * stdlib/test-strtod-round-data: Add more tests.
9616 * stdlib/tst-strtod-round.c (tests): Regenerated.
9618 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9621 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9622 (__fe_mask_env): Likewise.
9623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9624 libm_hidden_proto and add function prototype.
9625 (__fe_mask_env): Add function prototype.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9627 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9629 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9631 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9633 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9635 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9636 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9638 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9640 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9641 of htab_find_slot().
9643 2013-11-11 David S. Miller <davem@davemloft.net>
9646 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9647 symbol in the non-vis3 case in static builds.
9648 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9649 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9650 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9653 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9656 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9659 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9661 * benchtests/Makefile: Add bench-strtod.
9662 * benchtests/bench-strtod.c: New file: strtod benchtest
9664 2013-11-11 Andreas Schwab <schwab@suse.de>
9667 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9668 terminating NUL in key length.
9670 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9673 Add artificial ODP entry for vDSO symbol for PPC64.
9674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9675 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9677 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9680 * nss/getent.c (services_keys): Recognize services starting with digit.
9682 2013-11-06 David S. Miller <davem@davemloft.net>
9685 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9686 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9688 2013-11-06 Will Newton <will.newton@linaro.org>
9690 * manual/memory.texi (Malloc Examples): Remove register
9691 keyword from examples.
9693 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9695 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9697 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9700 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9701 depending on [__GCC_IEC_559 > 0].
9702 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9703 depending on [__GCC_IEC_559_COMPLEX > 0].
9705 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9707 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9710 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9712 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9714 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9717 * malloc/malloc (malloc_info): Do not handle first bin as
9720 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9722 * locale/iso-639.def: Add Central Nahuatl (nhn).
9724 2013-11-01 Bruno Haible <bruno@clisp.org>
9727 * manual/math.texi (BSD Random): Specify range upper bound as
9730 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9732 * locale/iso-639.def: Add Meadow Mari (mhr).
9734 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9736 [BZ #14752], [BZ #15763]
9737 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9739 * rt/tst_shm.c: Add test for escaping directory.
9741 2013-10-31 Andreas Schwab <schwab@suse.de>
9744 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9745 followed by 'x' as part of digit sequence.
9746 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9748 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9751 * configure.ac: allow GNU Make 4.0 and greater.
9752 * configure: Regenerated.
9754 2013-10-30 Will Newton <will.newton@linaro.org>
9757 * malloc/hooks.c (memalign_check): Limit alignment to the
9758 maximum representable power of two.
9759 * malloc/malloc.c (__libc_memalign): Likewise.
9760 * malloc/tst-memalign.c (do_test): Add test for very
9761 large alignment values.
9762 * malloc/tst-posix_memalign.c (do_test): Likewise.
9764 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9767 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9768 (munmap_chunk): Likewise.
9769 (mremap_chunk): Likewise.
9771 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9774 * stdlib/div.c (div): Remove obsolete code.
9775 * stdlib/ldiv.c (ldiv): Likewise.
9776 * stdlib/lldiv.c (lldiv): Likewise.
9778 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9781 * nss/nss_files/files-XXX.c (get_contents_ret): New
9783 (get_contents): New function.
9784 (internal_getent): Use it. Expand size of LINEBUFLEN.
9786 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9788 * configure.in: Moved to ...
9789 * configure.ac: ... here. Change reference to configure.in
9791 * sysdeps/arm/preconfigure.ac: ... here.
9792 configure.in to configure.ac.
9793 * sysdeps/gnu/configure.in: Moved to ...
9794 * sysdeps/gnu/configure.ac: ... here.
9795 * sysdeps/i386/configure.in: Moved to ...
9796 * sysdeps/i386/configure.ac: ... here.
9797 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9798 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9799 * sysdeps/mach/configure.in: Moved to ...
9800 * sysdeps/mach/configure.ac: ... here.
9801 * sysdeps/mach/hurd/configure.in: Moved to ...
9802 * sysdeps/mach/hurd/configure.ac: ... here.
9803 * sysdeps/powerpc/configure.in: Moved to ...
9804 * sysdeps/powerpc/configure.ac: ... here.
9805 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9806 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9807 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9808 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9809 * sysdeps/s390/s390-32/configure.in: Moved to ...
9810 * sysdeps/s390/s390-32/configure.ac: ... here.
9811 * sysdeps/s390/s390-64/configure.in: Moved to ...
9812 * sysdeps/s390/s390-64/configure.ac: ... here.
9813 * sysdeps/sh/configure.in: Moved to ...
9814 * sysdeps/sh/configure.ac: ... here.
9815 * sysdeps/sparc/configure.in: Moved to ...
9816 * sysdeps/sparc/configure.ac: ... here.
9817 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9818 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9819 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9820 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9821 * sysdeps/x86_64/configure.in: Moved to ...
9822 * sysdeps/x86_64/configure.ac: ... here.
9823 * sysdeps/x86_64/preconfigure.in: Moved to ...
9824 * sysdeps/x86_64/preconfigure.ac: ... here.
9825 * aclocal.m4: Change reference to configure.in to configure.ac.
9826 * config.h.in: Likewise.
9827 * manual/install.texi: Likewise.
9828 * manual/maint.texi: Likewise.
9829 * Makefile: Likewise.
9830 * malloc/Makefile: Likewise.
9831 * nscd/Makefile: Likewise.
9832 * Makeconfig: Change reference to configure.in and
9833 preconfigure.in to configure.ac and preconfigure.ac
9835 * INSTALL: Regenerated.
9836 * configure: Likewise.
9837 * sysdeps/gnu/configure: Likewise.
9838 * sysdeps/i386/configure: Likewise.
9839 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9840 * sysdeps/mach/configure: Likewise.
9841 * sysdeps/mach/hurd/configure: Likewise.
9842 * sysdeps/powerpc/configure: Likewise.
9843 * sysdeps/powerpc/powerpc32/configure: Likewise.
9844 * sysdeps/powerpc/powerpc64/configure: Likewise.
9845 * sysdeps/s390/s390-32/configure: Likewise.
9846 * sysdeps/s390/s390-64/configure: Likewise.
9847 * sysdeps/sh/configure: Likewise.
9848 * sysdeps/sparc/configure: Likewise.
9849 * sysdeps/unix/sysv/linux/configure: Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9851 * sysdeps/x86_64/configure: Likewise.
9852 * sysdeps/x86_64/preconfigure: Likewise.
9854 2013-10-29 Andreas Schwab <schwab@suse.de>
9856 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9858 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9860 * benchtests/pow-inputs: Add new inputs.
9862 * benchtests/exp-inputs: Add new inputs.
9864 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9865 conditional check for return value.
9866 (__cos32): Likewise.
9868 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9871 to provide a boost for large inputs with word alignment.
9872 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9873 implementation based on optimized PPC64 strcpy.
9874 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9875 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9876 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9877 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9879 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9882 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9884 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9887 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9888 * time/tst-strptime.c (day_tests): Add testcase.
9890 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9893 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9895 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9898 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9899 MAP_FAILED on error.
9901 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9904 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9905 heap for large requests.
9907 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9910 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9911 result if the result has no associated interface.
9912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9913 interface for all 127.X.Y.Z addresses.
9915 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9917 * locale/iso-639.def: Add Ligurian (lij)
9919 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9922 * sunrpc/rpc_main.c: Document rpcgen -5.
9924 2013-10-19 Michael Stahl <mstahl@redhat.com>
9926 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9928 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9931 * posix/glob.c: Match only directories when trailing slash is present.
9932 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9933 (main): Add testcase.
9935 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9938 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9940 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9942 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9943 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9944 AUTH_DES and cindex for FIPS 140-2.
9945 (DES Encryption): Add cindex FIPS 46-3.
9947 * locale/locarchive.h (struct locarhandle): Add fname.
9948 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9949 if an optional argument was specified to --list-archive,
9951 * locale/programs/locarchive.c (show_archive_content): Take new
9952 argument fname and pass it via ah.fname to open_archive.
9953 * locale/programs/localedef.h: Update decl.
9954 (open_archive): If AH->fname is non-null, open that file
9955 rather than the default file name, and don't ignore ENOENT.
9956 (create_archive): Set AH.fname to NULL.
9957 (delete_locales_from_archive): Likewise.
9958 (add_locales_to_archive): Likewise.
9959 * locale/programs/locfile.c (write_all_categories): Likewise.
9961 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9962 Aldy Hernandez <aldyh@redhat.com>
9964 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9965 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9966 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9967 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9968 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9969 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9973 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9974 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9975 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9980 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9982 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9984 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9986 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9987 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9989 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9991 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9992 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9995 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9996 * sysdeps/powerpc/preconfigure: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9999 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10000 Replace contents of file by #include of <fenv_libc.h>.
10001 * sysdeps/powerpc/soft-fp/sfp-machine.h
10002 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10004 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10017 Allow copysignl PLT reference to be missing.
10019 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10020 Joseph Myers <joseph@codesourcery.com
10023 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10025 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10027 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10029 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10030 * elf/tst-tls1.c: Likewise.
10031 * elf/tst-tls10.h: Likewise.
10032 * elf/tst-tls14.c: Likewise.
10033 * elf/tst-tls2.c: Likewise.
10034 * elf/tst-tls3.c: Likewise.
10035 * elf/tst-tls4.c: Likewise.
10036 * elf/tst-tls5.c: Likewise.
10037 * elf/tst-tls6.c: Likewise.
10038 * elf/tst-tls7.c: Likewise.
10039 * elf/tst-tls8.c: Likewise.
10040 * elf/tst-tls9.c: Likewise.
10041 * elf/tst-tlsmod1.c: Likewise.
10042 * elf/tst-tlsmod13.c: Likewise.
10043 * elf/tst-tlsmod13a.c: Likewise.
10044 * elf/tst-tlsmod14a.c: Likewise.
10045 * elf/tst-tlsmod16a.c: Likewise.
10046 * elf/tst-tlsmod16b.c: Likewise.
10047 * elf/tst-tlsmod2.c: Likewise.
10048 * elf/tst-tlsmod3.c: Likewise.
10049 * elf/tst-tlsmod4.c: Likewise.
10050 * elf/tst-tlsmod5.c: Likewise.
10051 * elf/tst-tlsmod6.c: Likewise.
10053 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10056 * malloc/malloc.c: remove checks for statistics.
10058 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10061 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10062 * inet/tst-network.c: Add testcase.
10064 2013-10-17 Andreas Schwab <schwab@suse.de>
10067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10068 to determine canonical name.
10070 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10072 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10073 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10096 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10097 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10105 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10106 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10107 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10108 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10109 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10110 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10131 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10134 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10135 make result into a quiet NaN.
10137 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10139 * soft-fp/adddf3.c: Fix horizontal whitespace.
10140 * soft-fp/addsf3.c: Likewise.
10141 * soft-fp/addtf3.c: Likewise.
10142 * soft-fp/divdf3.c: Likewise.
10143 * soft-fp/divsf3.c: Likewise.
10144 * soft-fp/divtf3.c: Likewise.
10145 * soft-fp/double.h: Likewise.
10146 * soft-fp/eqdf2.c: Likewise.
10147 * soft-fp/eqsf2.c: Likewise.
10148 * soft-fp/eqtf2.c: Likewise.
10149 * soft-fp/extenddftf2.c: Likewise.
10150 * soft-fp/extended.h: Likewise.
10151 * soft-fp/extendsfdf2.c: Likewise.
10152 * soft-fp/extendsftf2.c: Likewise.
10153 * soft-fp/extendxftf2.c: Likewise.
10154 * soft-fp/fixdfdi.c: Likewise.
10155 * soft-fp/fixdfsi.c: Likewise.
10156 * soft-fp/fixdfti.c: Likewise.
10157 * soft-fp/fixsfdi.c: Likewise.
10158 * soft-fp/fixsfsi.c: Likewise.
10159 * soft-fp/fixsfti.c: Likewise.
10160 * soft-fp/fixtfdi.c: Likewise.
10161 * soft-fp/fixtfsi.c: Likewise.
10162 * soft-fp/fixtfti.c: Likewise.
10163 * soft-fp/fixunsdfdi.c: Likewise.
10164 * soft-fp/fixunsdfsi.c: Likewise.
10165 * soft-fp/fixunsdfti.c: Likewise.
10166 * soft-fp/fixunssfdi.c: Likewise.
10167 * soft-fp/fixunssfsi.c: Likewise.
10168 * soft-fp/fixunssfti.c: Likewise.
10169 * soft-fp/fixunstfdi.c: Likewise.
10170 * soft-fp/fixunstfsi.c: Likewise.
10171 * soft-fp/fixunstfti.c: Likewise.
10172 * soft-fp/floatdidf.c: Likewise.
10173 * soft-fp/floatdisf.c: Likewise.
10174 * soft-fp/floatditf.c: Likewise.
10175 * soft-fp/floatsidf.c: Likewise.
10176 * soft-fp/floatsisf.c: Likewise.
10177 * soft-fp/floatsitf.c: Likewise.
10178 * soft-fp/floattidf.c: Likewise.
10179 * soft-fp/floattisf.c: Likewise.
10180 * soft-fp/floattitf.c: Likewise.
10181 * soft-fp/floatundidf.c: Likewise.
10182 * soft-fp/floatundisf.c: Likewise.
10183 * soft-fp/floatunditf.c: Likewise.
10184 * soft-fp/floatunsidf.c: Likewise.
10185 * soft-fp/floatunsisf.c: Likewise.
10186 * soft-fp/floatunsitf.c: Likewise.
10187 * soft-fp/floatuntidf.c: Likewise.
10188 * soft-fp/floatuntisf.c: Likewise.
10189 * soft-fp/floatuntitf.c: Likewise.
10190 * soft-fp/fmadf4.c: Likewise.
10191 * soft-fp/fmasf4.c: Likewise.
10192 * soft-fp/fmatf4.c: Likewise.
10193 * soft-fp/gedf2.c: Likewise.
10194 * soft-fp/gesf2.c: Likewise.
10195 * soft-fp/getf2.c: Likewise.
10196 * soft-fp/ledf2.c: Likewise.
10197 * soft-fp/lesf2.c: Likewise.
10198 * soft-fp/letf2.c: Likewise.
10199 * soft-fp/muldf3.c: Likewise.
10200 * soft-fp/mulsf3.c: Likewise.
10201 * soft-fp/multf3.c: Likewise.
10202 * soft-fp/negdf2.c: Likewise.
10203 * soft-fp/negsf2.c: Likewise.
10204 * soft-fp/negtf2.c: Likewise.
10205 * soft-fp/op-1.h: Likewise.
10206 * soft-fp/op-2.h: Likewise.
10207 * soft-fp/op-4.h: Likewise.
10208 * soft-fp/op-8.h: Likewise.
10209 * soft-fp/op-common.h: Likewise.
10210 * soft-fp/quad.h: Likewise.
10211 * soft-fp/single.h: Likewise.
10212 * soft-fp/soft-fp.h: Likewise.
10213 * soft-fp/sqrtdf2.c: Likewise.
10214 * soft-fp/sqrtsf2.c: Likewise.
10215 * soft-fp/sqrttf2.c: Likewise.
10216 * soft-fp/subdf3.c: Likewise.
10217 * soft-fp/subsf3.c: Likewise.
10218 * soft-fp/subtf3.c: Likewise.
10219 * soft-fp/truncdfsf2.c: Likewise.
10220 * soft-fp/trunctfdf2.c: Likewise.
10221 * soft-fp/trunctfsf2.c: Likewise.
10222 * soft-fp/trunctfxf2.c: Likewise.
10223 * soft-fp/unorddf2.c: Likewise.
10224 * soft-fp/unordsf2.c: Likewise.
10225 * soft-fp/unordtf2.c: Likewise.
10227 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10229 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10230 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10232 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10234 * elf/dl-libc.c: Clear initfini list after freeing.
10236 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10238 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10239 * soft-fp/addsf3.c: Likewise.
10240 * soft-fp/addtf3.c: Likewise.
10241 * soft-fp/divdf3.c: Likewise.
10242 * soft-fp/divsf3.c: Likewise.
10243 * soft-fp/divtf3.c: Likewise.
10244 * soft-fp/double.h: Likewise.
10245 * soft-fp/eqdf2.c: Likewise.
10246 * soft-fp/eqsf2.c: Likewise.
10247 * soft-fp/eqtf2.c: Likewise.
10248 * soft-fp/extenddftf2.c: Likewise.
10249 * soft-fp/extended.h: Likewise.
10250 * soft-fp/extendsfdf2.c: Likewise.
10251 * soft-fp/extendsftf2.c: Likewise.
10252 * soft-fp/extendxftf2.c: Likewise.
10253 * soft-fp/fixdfdi.c: Likewise.
10254 * soft-fp/fixdfsi.c: Likewise.
10255 * soft-fp/fixdfti.c: Likewise.
10256 * soft-fp/fixsfdi.c: Likewise.
10257 * soft-fp/fixsfsi.c: Likewise.
10258 * soft-fp/fixsfti.c: Likewise.
10259 * soft-fp/fixtfdi.c: Likewise.
10260 * soft-fp/fixtfsi.c: Likewise.
10261 * soft-fp/fixtfti.c: Likewise.
10262 * soft-fp/fixunsdfdi.c: Likewise.
10263 * soft-fp/fixunsdfsi.c: Likewise.
10264 * soft-fp/fixunsdfti.c: Likewise.
10265 * soft-fp/fixunssfdi.c: Likewise.
10266 * soft-fp/fixunssfsi.c: Likewise.
10267 * soft-fp/fixunssfti.c: Likewise.
10268 * soft-fp/fixunstfdi.c: Likewise.
10269 * soft-fp/fixunstfsi.c: Likewise.
10270 * soft-fp/fixunstfti.c: Likewise.
10271 * soft-fp/floatdidf.c: Likewise.
10272 * soft-fp/floatdisf.c: Likewise.
10273 * soft-fp/floatditf.c: Likewise.
10274 * soft-fp/floatsidf.c: Likewise.
10275 * soft-fp/floatsisf.c: Likewise.
10276 * soft-fp/floatsitf.c: Likewise.
10277 * soft-fp/floattidf.c: Likewise.
10278 * soft-fp/floattisf.c: Likewise.
10279 * soft-fp/floattitf.c: Likewise.
10280 * soft-fp/floatundidf.c: Likewise.
10281 * soft-fp/floatundisf.c: Likewise.
10282 * soft-fp/floatunsidf.c: Likewise.
10283 * soft-fp/floatunsisf.c: Likewise.
10284 * soft-fp/floatuntidf.c: Likewise.
10285 * soft-fp/floatuntisf.c: Likewise.
10286 * soft-fp/floatuntitf.c: Likewise.
10287 * soft-fp/fmadf4.c: Likewise.
10288 * soft-fp/fmasf4.c: Likewise.
10289 * soft-fp/fmatf4.c: Likewise.
10290 * soft-fp/gedf2.c: Likewise.
10291 * soft-fp/gesf2.c: Likewise.
10292 * soft-fp/getf2.c: Likewise.
10293 * soft-fp/ledf2.c: Likewise.
10294 * soft-fp/lesf2.c: Likewise.
10295 * soft-fp/letf2.c: Likewise.
10296 * soft-fp/muldf3.c: Likewise.
10297 * soft-fp/mulsf3.c: Likewise.
10298 * soft-fp/multf3.c: Likewise.
10299 * soft-fp/negdf2.c: Likewise.
10300 * soft-fp/negsf2.c: Likewise.
10301 * soft-fp/negtf2.c: Likewise.
10302 * soft-fp/op-1.h: Likewise.
10303 * soft-fp/op-2.h: Likewise.
10304 * soft-fp/op-4.h: Likewise.
10305 * soft-fp/op-8.h: Likewise.
10306 * soft-fp/op-common.h: Likewise.
10307 * soft-fp/quad.h: Likewise.
10308 * soft-fp/single.h: Likewise.
10309 * soft-fp/soft-fp.h: Likewise.
10310 * soft-fp/sqrtdf2.c: Likewise.
10311 * soft-fp/sqrtsf2.c: Likewise.
10312 * soft-fp/sqrttf2.c: Likewise.
10313 * soft-fp/subdf3.c: Likewise.
10314 * soft-fp/subsf3.c: Likewise.
10315 * soft-fp/subtf3.c: Likewise.
10316 * soft-fp/truncdfsf2.c: Likewise.
10317 * soft-fp/trunctfdf2.c: Likewise.
10318 * soft-fp/trunctfsf2.c: Likewise.
10319 * soft-fp/trunctfxf2.c: Likewise.
10320 * soft-fp/unorddf2.c: Likewise.
10321 * soft-fp/unordsf2.c: Likewise.
10322 * soft-fp/unordtf2.c: Likewise.
10324 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10327 * misc/error.c (error_tail): Fix possible buffer overflow.
10329 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10332 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10335 2013-10-14 P. J. McDermott <pj@pehjota.net>
10338 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10339 testing pipefail option.
10341 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10343 * soft-fp/double.h: Indent preprocessor directives inside #if.
10344 * soft-fp/extended.h: Likewise.
10345 * soft-fp/op-2.h: Likewise.
10346 * soft-fp/op-4.h: Likewise.
10347 * soft-fp/op-common.h: Likewise.
10348 * soft-fp/quad.h: Likewise.
10349 * soft-fp/single.h: Likewise.
10350 * soft-fp/soft-fp.h: Likewise.
10352 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10354 * iconv/iconv_prog.c: Fix typos.
10355 * stdio-common/psiginfo-data.h: Likewise.
10357 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10360 * locale/setlocale.c: Fix typo.
10362 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10365 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10366 signaling NaN arguments.
10367 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10368 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10371 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10372 unordered operands.
10373 * soft-fp/gesf2.c (__gesf2): Likewise.
10374 * soft-fp/getf2.c (__getf2): Likewise.
10375 * soft-fp/ledf2.c (__ledf2): Likewise.
10376 * soft-fp/lesf2.c (__lesf2): Likewise.
10377 * soft-fp/letf2.c (__letf2): Likewise.
10379 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10380 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10381 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10382 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10383 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10384 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10385 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10386 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10387 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10388 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10389 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10390 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10391 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10392 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10393 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10394 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10395 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10396 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10397 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10398 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10399 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10400 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10401 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10402 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10403 * soft-fp/floattidf.c (__floattidf): Likewise.
10404 * soft-fp/floattisf.c (__floattisf): Likewise.
10405 * soft-fp/floattitf.c (__floattitf): Likewise.
10406 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10407 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10408 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10409 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10410 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10411 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10412 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10413 * soft-fp/gesf2.c (__gesf2): Likewise.
10414 * soft-fp/getf2.c (__getf2): Likewise.
10415 * soft-fp/ledf2.c (__ledf2): Likewise.
10416 * soft-fp/lesf2.c (__lesf2): Likewise.
10417 * soft-fp/letf2.c (__letf2): Likewise.
10419 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10420 Undefine and redefine.
10421 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10422 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10423 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10424 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10425 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10426 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10427 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10428 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10429 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10430 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10431 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10432 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10433 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10434 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10435 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10438 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10439 without decrementing exponent if mantissa >= that for the
10440 denominator, not >.
10441 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10442 denominator, not >. Decrement exponent in < case instead of
10443 incrementing in >= case.
10444 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10445 without decrementing exponent if mantissa >= that for the
10446 denominator, not >.
10448 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10449 computing saturated result for unsigned overflow.
10451 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 Jeff Law <law@redhat.com>
10454 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10455 (atan2Mp): Add systemtap probe marker.
10456 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10457 (__ieee754_log): Add systemtap probe marker.
10458 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10459 (atanMp): Add systemtap probe marker.
10460 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10461 (tanMp): Add systemtap probe marker.
10462 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10463 (__slowexp): Add systemtap probe marker.
10464 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10465 (__slowpow): Add systemtap probe marker.
10466 * manual/probes.texi: Document probes.
10468 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10471 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10473 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10475 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10476 written to buffer but not flushed.
10477 * libio/iofwrite_u.c: Likewise.
10478 * libio/iopadn.c: Return bytes returned even if EOF was
10480 * libio/iowpadn.c: Likewise.
10481 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10482 if _IO_padn does not write the whole buffer.
10483 [!COMPILE_WPRINTF] (PAD): Likewise.
10485 2013-10-10 David S. Miller <davem@davemloft.net>
10487 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10490 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10492 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10493 instead of FSF address.
10494 * soft-fp/fixdfti.c: Likewise.
10495 * soft-fp/fixsfti.c: Likewise.
10496 * soft-fp/fixtfti.c: Likewise.
10497 * soft-fp/fixunsdfti.c: Likewise.
10498 * soft-fp/fixunssfti.c: Likewise.
10499 * soft-fp/fixunstfti.c: Likewise.
10500 * soft-fp/floattidf.c: Likewise.
10501 * soft-fp/floattisf.c: Likewise.
10502 * soft-fp/floattitf.c: Likewise.
10503 * soft-fp/floatuntidf.c: Likewise.
10504 * soft-fp/floatuntisf.c: Likewise.
10505 * soft-fp/floatuntitf.c: Likewise.
10506 * soft-fp/trunctfxf2.c: Likewise.
10508 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10509 * soft-fp/fixdfti.c: Likewise.
10510 * soft-fp/fixsfti.c: Likewise.
10511 * soft-fp/fixtfti.c: Likewise.
10512 * soft-fp/fixunsdfti.c: Likewise.
10513 * soft-fp/fixunssfti.c: Likewise.
10514 * soft-fp/fixunstfti.c: Likewise.
10515 * soft-fp/floattidf.c: Likewise.
10516 * soft-fp/floattisf.c: Likewise.
10517 * soft-fp/floattitf.c: Likewise.
10518 * soft-fp/floatuntidf.c: Likewise.
10519 * soft-fp/floatuntisf.c: Likewise.
10520 * soft-fp/floatuntitf.c: Likewise.
10521 * soft-fp/trunctfxf2.c: Likewise.
10523 2013-10-10 David S. Miller <davem@davemloft.net>
10525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10527 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10529 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10530 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10531 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10538 for NaNs before doing comparisons on argument.
10539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10542 2013-10-10 Will Newton <will.newton@linaro.org>
10544 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10545 passed to _int_memalign does not overflow.
10547 2013-10-10 Torvald Riegel <triegel@redhat.com>
10549 * scripts/bench.pl: Add include-sources directive.
10550 * benchtests/README: Update documentation.
10552 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10554 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10555 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10556 instead of FP_INIT_ROUNDMODE.
10557 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10558 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10561 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10562 copy class of input value.
10563 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10564 not handle exceptions.
10565 * soft-fp/negsf2.c (__negsf2): Likewise.
10566 * soft-fp/negtf2.c (__negtf2): Likewise.
10567 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10569 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10571 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10572 semicolon. From Linux kernel.
10574 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10576 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10578 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10581 * manual/socket.texi: Added statement about buffer
10582 for gethostbyname2_r.
10584 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10586 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10587 Use .p2align directive instead, throughout.
10588 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10589 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10590 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10593 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10594 * sysdeps/x86_64/strchr.S: Likewise.
10595 * sysdeps/x86_64/strrchr.S: Likewise.
10597 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10601 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10603 * sysdeps/generic/math_private.h (__mpsin1): Remove
10605 (__mpcos1): Likewise.
10606 (__mpsin): New argument __range_reduce.
10607 (__mpcos): Likewise.
10608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10609 (slow): Use __mpsin and __mpcos.
10613 (sloww1): Likewise.
10614 (sloww2): Likewise.
10615 (bsloww): Likewise.
10616 (bsloww1): Likewise.
10617 (bsloww2): Likewise.
10618 (cslow2): Likewise.
10619 (csloww): Likewise.
10620 (csloww1): Likewise.
10621 (csloww2): Likewise.
10622 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10623 range_reduce. Merge in __mpsin1.
10624 (__mpcos): Likewise.
10625 (__mpsin1): Remove.
10626 (__mpcos1): Likewise.
10628 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10630 * locale/loadlocale.c (_nl_intern_locale_data): Use
10632 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10633 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10634 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10635 obstack data is appropriately aligned.
10636 (obstack_int32_grow_fast): Likewise.
10637 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10638 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10639 (add_locale_uint32_array): Likewise.
10641 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10643 * benchtests/Makefile: Remove ARGLIST and RET variables.
10644 ($(objpfx)bench-%.c): Pass only function name to the script.
10645 * benchtests/README: Update documentation.
10646 * benchtests/acos-inputs: Add new directives.
10647 * benchtests/acosh-inputs: Likewise.
10648 * benchtests/asin-inputs: Likewise.
10649 * benchtests/asinh-inputs: Likewise.
10650 * benchtests/atan-inputs: Likewise.
10651 * benchtests/atanh-inputs: Likewise.
10652 * benchtests/cos-inputs: Likewise.
10653 * benchtests/cosh-inputs: Likewise.
10654 * benchtests/exp-inputs: Likewise.
10655 * benchtests/log-inputs: Likewise.
10656 * benchtests/pow-inputs: Likewise.
10657 * benchtests/rint-inputs: Likewise.
10658 * benchtests/sin-inputs: Likewise.
10659 * benchtests/sinh-inputs: Likewise.
10660 * benchtests/tan-inputs: Likewise.
10661 * benchtests/tanh-inputs: Likewise.
10662 * scripts/bench.pl: Add support for new directives.
10664 2013-10-07 Alan Modra <amodra@gmail.com>
10666 * README: Fix careless merge.
10668 2013-10-05 Alan Modra <amodra@gmail.com>
10670 * NEWS: Mention powerpc64le support and bugs fixed.
10671 * README: Both big-endian and little-endian powerpc64 supported.
10673 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10675 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10676 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10677 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10678 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10680 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10682 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10685 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10687 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10688 Move -mhard-float appending from
10689 ports/sysdeps/powerpc/powerpc32/Makefile.
10690 [$(with-fp) = yes] (ASFLAGS): Likewise.
10691 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10692 * sysdeps/powerpc/nofpu: Move directory from
10693 ports/sysdeps/powerpc/nofpu.
10694 * sysdeps/powerpc/soft-fp: Move directory from
10695 ports/sysdeps/powerpc/soft-fp.
10696 * sysdeps/powerpc/powerpc32/405: Move directory from
10697 ports/sysdeps/powerpc/powerpc32/405.
10698 * sysdeps/powerpc/powerpc32/440: Move directory from
10699 ports/sysdeps/powerpc/powerpc32/440.
10700 * sysdeps/powerpc/powerpc32/464: Move directory from
10701 ports/sysdeps/powerpc/powerpc32/464.
10702 * sysdeps/powerpc/powerpc32/476: Move directory from
10703 ports/sysdeps/powerpc/powerpc32/476.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10709 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10711 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10713 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10714 * README: Update for powerpc-*-linux-gnu software floating point
10717 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10718 case to powerpc/powerpc32*.
10719 * sysdeps/unix/sysv/linux/configure: Regenerated.
10721 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10722 (_FPU_MASK_OM): Define as 0x04.
10723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10731 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10734 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10737 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10738 and setcontext_e500.
10740 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10742 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10744 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 * manual/threads.texi (Default Thread Attributes): Fix typo.
10748 2013-10-04 Will Newton <will.newton@linaro.org>
10750 * malloc/Makefile: Add tst-memalign.
10751 * malloc/tst-memalign.c: New file.
10753 * malloc/tst-posix_memalign.c: Add comments.
10754 (do_test): Add comments and call free on all potentially
10755 allocated pointers. Add space after cast.
10757 * malloc/tst-pvalloc.c: Add comments.
10758 (do_test): Add comments and call free on all potentially
10759 allocated pointers. Remove duplicate check for NULL pointer.
10760 Add space after cast.
10762 * malloc/tst-valloc.c: Add comments.
10763 (do_test): Add comments and call free on all potentially
10764 allocated pointers. Remove duplicate check for NULL pointer.
10765 Add space after cast.
10767 2013-10-04 Alan Modra <amodra@gmail.com>
10769 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10770 Use stdint types in rather than __attribute__((mode())).
10771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10773 2013-10-04 Alan Modra <amodra@gmail.com>
10775 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10776 Correct handling of unaligned relocs for little-endian.
10777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10779 2013-10-04 Alan Modra <amodra@gmail.com>
10781 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10782 * configure: Regenerate.
10783 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10784 * shlib-versions: Likewise.
10786 2013-10-04 Alan Modra <amodra@gmail.com>
10788 * string/tester.c (test_memrchr): Increment reported test cycle.
10790 2013-10-04 Alan Modra <amodra@gmail.com>
10792 * string/test-memcpy.c (do_one_test): When reporting errors, print
10793 string address and don't overrun end of string.
10795 2013-10-04 Alan Modra <amodra@gmail.com>
10797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10798 insrdi. Make better use of reg selection to speed exit slightly.
10799 Schedule entry path a little better. Remove useless "are we done"
10800 checks on entry to main loop. Handle wrapping around zero address.
10801 Correct main loop count. Handle single left-over word from main
10802 loop inline rather than by using loop_small. Remove extra word
10803 case in loop_small caused by wrong loop count. Add little-endian
10805 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10806 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10809 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10810 support. Avoid rlwimi.
10811 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10813 2013-10-04 Alan Modra <amodra@gmail.com>
10815 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10816 insrdi. Formatting.
10817 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10818 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10819 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10820 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10821 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10822 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10824 2013-10-04 Alan Modra <amodra@gmail.com>
10826 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10829 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10830 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10831 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10833 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10834 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10835 use of regs. Use power7 mtocrf. Tidy function tails.
10837 2013-10-04 Alan Modra <amodra@gmail.com>
10839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10840 Formatting. Consistently use rXXX register defines or rN defines.
10841 Use early exit labels that avoid restoring unused non-volatile regs.
10842 Make cr field use more consistent with rWORDn compares. Rename
10843 regs used as shift registers for unaligned loop, using rN defines
10844 for short lifetime/multiple use regs.
10845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10846 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10847 addi 1,1,64 to pop stack frame. Simplify return value code.
10848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10850 2013-10-04 Alan Modra <amodra@gmail.com>
10852 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10853 support. Correct typos, formatting. Optimize tail. Use insrdi
10854 rather than rlwimi.
10855 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10856 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10857 little-endian support. Correct typos.
10858 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10859 rather than rlwimi.
10860 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10861 in loop and entry code to keep "and." results.
10862 (strchr): Add little-endian support. Comment. Move cntlzd
10864 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10866 2013-10-04 Alan Modra <amodra@gmail.com>
10868 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10869 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10870 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10871 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10873 2013-10-04 Alan Modra <amodra@gmail.com>
10875 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10876 (rTMP): Define as r11.
10877 (strcmp): Add little-endian support. Optimise tail.
10878 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10879 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10880 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10881 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10886 2013-10-04 Alan Modra <amodra@gmail.com>
10888 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10889 little-endian support. Remove unnecessary "are we done" tests.
10890 Handle "s" wrapping around zero and extremely large "size".
10891 Correct main loop count. Handle single left-over word from main
10892 loop inline rather than by using small_loop. Correct comments.
10893 Delete "zero" tail, use "end_max" instead.
10894 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10896 2013-10-04 Alan Modra <amodra@gmail.com>
10898 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10899 support. Don't branch over align.
10900 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10901 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10902 support. Rearrange tmp reg use to suit. Comment.
10903 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10905 2013-10-04 Alan Modra <amodra@gmail.com>
10907 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10909 2013-10-04 Alan Modra <amodra@gmail.com>
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10912 conditional form of branch and link when obtaining pc.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10915 2013-10-04 Alan Modra <amodra@gmail.com>
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10922 2013-10-04 Alan Modra <amodra@gmail.com>
10924 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10925 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10926 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10927 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10928 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10929 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10931 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10933 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10935 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10936 Alistair Popple <alistair@ozlabs.au.ibm.com>
10937 Alan Modra <amodra@gmail.com>
10940 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10942 _dl_hwcap access for little-endian.
10943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10944 destroy vmx regs when saving unaligned.
10945 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10946 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10947 destroy vmx regs when saving unaligned.
10949 2013-10-04 Alan Modra <amodra@gmail.com>
10951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10952 Don't use a union to pack hi/low value.
10954 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10956 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10958 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10959 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10960 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10961 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10962 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10964 2013-10-04 Alan Modra <amodra@gmail.com>
10966 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10967 constants to usual value for .cst8 section, and remove redundant
10969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10970 constant for 0x1p52. Load little-endian words of double from
10971 correct stack offsets.
10973 2013-10-04 Alan Modra <amodra@gmail.com>
10975 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10976 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10977 words of double from correct stack offsets.
10978 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10979 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10980 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10985 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10986 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10987 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10990 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10991 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10992 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10993 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10994 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10996 2013-10-04 Alan Modra <amodra@gmail.com>
10998 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10999 64-bit int/double union.
11000 (_FPU_SETCW): Likewise.
11001 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11002 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11004 2013-10-04 Alan Modra <amodra@gmail.com>
11006 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11007 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11009 2013-10-04 Alan Modra <amodra@gmail.com>
11011 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11012 use vector int constants.
11013 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11015 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11017 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11018 array with long long.
11019 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11020 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11021 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11022 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11023 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11024 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11025 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11027 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11028 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11029 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11030 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11031 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11033 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11035 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11036 (__signbit): Likewise. Correct for little-endian.
11037 (__signbitl): Call __signbit.
11038 (lrint): Correct for little-endian.
11039 (lrintf): Call lrint.
11041 2013-10-04 Alan Modra <amodra@gmail.com>
11043 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11044 union 32-bit int array member with 64-bit int array.
11045 (t515, tm256): Double rather than long double.
11046 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11048 2013-10-04 Alan Modra <amodra@gmail.com>
11050 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11052 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11054 version of math_ldbl.h.
11056 2013-10-04 Alan Modra <amodra@gmail.com>
11058 [BZ #15734], [BZ #15735]
11059 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11060 all uses of ieee875 long double macros and unions. Simplify test
11061 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11062 ldbl_extract_mantissa value for ix,iy exponents. Properly
11063 normalize after ldbl_extract_mantissa, and don't add hidden bit
11064 already handled. Don't treat low word of ieee854 mantissa like
11065 low word of IBM long double and mask off bit when testing for
11067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11068 all uses of ieee875 long double macros and unions. Simplify tests
11069 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11070 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11071 two1022, instead use their values. Recognise that tests for large
11072 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11074 Rewrite all uses of ieee875 long double macros and unions. Simplify
11075 test for 0.0L and nan. Correct negation.
11076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11077 ieee875 long double macros and unions. Correct output for large
11078 magnitude x. Correct absolute value calculation.
11079 (__erfcl): Likewise.
11080 * math/libm-test.inc: Add tests for errors discovered in IBM long
11081 double versions of fmodl, remainderl, erfl and erfcl.
11083 2013-10-04 Alan Modra <amodra@gmail.com>
11085 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11086 all uses of ieee854 long double macros and unions. Simplify tests
11087 for long doubles that are fully specified by the high double.
11088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11090 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11091 Remove dead code too.
11092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11093 (__ieee754_ynl): Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11097 Remove dead code too.
11098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11108 Comment on variable precision.
11109 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11112 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11118 2013-10-04 Alan Modra <amodra@gmail.com>
11120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11122 all uses of ieee854 long double macros and unions.
11123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11136 Simplify sign and nan test too.
11137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11142 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11146 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11148 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11152 2013-10-04 Alan Modra <amodra@gmail.com>
11154 * stdio-common/printf_size.c (__printf_size): Don't use
11155 union ieee854_long_double in fpnum union.
11156 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11157 signbit macro to retrieve sign from long double.
11158 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11159 retrieve sign from long double.
11160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11161 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11163 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11164 * math/test-misc.c (main): Don't use union ieee854_long_double.
11166 2013-10-04 Alan Modra <amodra@gmail.com>
11169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11170 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11171 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11172 calculation. Remove unnecessary test for denormal exponent.
11173 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11174 Correct handling of denormals. Avoid undefined shift behaviour.
11175 Correct normalisation of low mantissa when low double is denormal.
11176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11177 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11178 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11179 Correct normalisation of low mantissa. Test for overflow of high
11180 mantissa and normalise.
11181 (ldbl_nearbyint): Use more readable constant for two52.
11182 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11183 (__mpn_construct_long_double): Fix test for overflow of high
11184 mantissa and correct normalisation. Avoid undefined shift.
11186 2013-10-04 Alan Modra <amodra@gmail.com>
11188 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11189 (union ibm_extended_long_double): Define as an array of ieee754_double.
11190 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11192 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11193 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11202 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11204 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11205 page size instead of calling getpagesize.
11207 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11208 (LOCFILE_ALIGN_MASK): Likewise.
11209 (LOCFILE_ALIGN_UP): Likewise.
11210 (LOCFILE_ALIGNED_P): Likewise.
11211 * locale/programs/ld-collate.c (collate_output): Use the new
11212 macros instead of __alignof__ (int32_t).
11213 * locale/weight.h (findidx): Likewise.
11215 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11218 * manual/string.texi: Fix strncat and wcsncat.
11220 2013-10-03 Brooks Moses <bmoses@google.com>
11223 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11224 * Makerules: ...here, and adjust associated comments.
11226 2013-10-02 Will Newton <will.newton@linaro.org>
11228 * malloc/Makefile: Add tst-pvalloc.
11229 * malloc/tst-pvalloc.c: New file.
11231 2013-10-02 Will Newton <will.newton@linaro.org>
11233 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11234 improve test coverage.
11236 2013-10-02 Will Newton <will.newton@linaro.org>
11238 * malloc/Makefile: Add tst-posix_memalign.
11239 * malloc/tst-posix_memalign.c: New file.
11241 2013-10-01 Eric Blake <eblake@redhat.com>
11243 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11244 Use __THROWNL rather than __THROW on static functions.
11246 2013-09-30 Petr Machata <pmachata@redhat.com>
11248 * elf/elf.h (R_AARCH64_ABS16): New macro.
11249 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11250 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11251 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11252 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11253 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11254 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11255 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11256 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11257 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11258 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11259 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11260 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11261 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11262 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11263 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11264 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11265 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11266 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11267 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11268 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11269 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11270 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11271 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11272 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11273 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11274 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11275 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11276 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11277 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11278 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11279 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11280 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11281 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11282 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11283 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11284 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11285 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11286 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11287 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11288 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11289 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11290 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11291 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11292 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11293 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11294 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11295 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11296 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11297 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11298 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11299 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11300 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11301 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11302 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11303 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11304 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11305 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11306 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11307 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11308 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11309 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11310 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11311 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11312 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11313 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11314 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11315 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11316 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11317 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11318 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11319 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11320 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11321 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11322 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11323 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11324 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11325 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11326 (R_AARCH64_TLSDESC_LDR): Likewise.
11327 (R_AARCH64_TLSDESC_ADD): Likewise.
11328 (R_AARCH64_TLSDESC_CALL): Likewise.
11330 2013-09-30 Andreas Schwab <schwab@suse.de>
11333 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11334 the nss database lookup.
11335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11338 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11340 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11342 2013-09-28 P. J. McDermott <pj@pehjota.net>
11344 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11345 ${Bash-specific parameter/pattern/string} parameter expansion.
11346 * sysdeps/unix/make-syscalls.sh: Likewise.
11348 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11350 * sysdeps/sh/stackguard-macros.h: New file.
11352 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11356 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11357 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11359 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11361 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11363 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11364 Fix thread ID register.
11366 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11368 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11369 [POSIX || UNIX98]: Require rather than permitting all symbols from
11371 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11372 element of struct sched_param.
11373 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11374 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11375 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11376 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11379 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11381 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11382 argument calculation.
11384 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11386 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11388 [POSIX] (pthread_attr_t): Do not require type.
11389 [POSIX] (pthread_cond_t): Likewise.
11390 [POSIX] (pthread_condattr_t): Likewise.
11391 [POSIX] (pthread_key_t): Likewise.
11392 [POSIX] (pthread_mutex_t): Likewise.
11393 [POSIX] (pthread_mutexattr_t): Likewise.
11394 [POSIX] (pthread_once_t): Likewise.
11395 [POSIX] (pthread_t): Likewise.
11396 [POSIX-based standards] (pthread_atfork): Expect function.
11398 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11399 Richard Sandiford <richard@codesourcery.com>
11401 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11402 (swap_endianness_p): New extern variable.
11403 (set_big_endian): New inline function.
11404 (maybe_swap_uint32): Likewise.
11405 (maybe_swap_uint32_array): Likewise.
11406 (maybe_swap_uint32_obstack): Likewise.
11407 * locale/programs/locfile.c: Include <stdbool.h>.
11408 (swap_endianness_p): New variable.
11409 (add_locale_uint32): Call maybe_swap_uint32.
11410 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11411 (write_locale_data): Call maybe_swap_uint32_array.
11412 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11414 (obstack_int32_grow_fast): Likewise.
11415 (output_weightwc): Call maybe_swap_uint32_obstack.
11416 (collate_output): Likewise.
11417 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11418 (OPT_LITTLE_ENDIAN): Likewise.
11419 (options): Add --little-endian and --big-endian options.
11420 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11421 * locale/programs/locarchive.c: Include "locfile.h".
11425 (create_archive): Use the new macros to access fields of
11426 structures directly mapped from or written to locale archives.
11427 (oldlocrecentcmp): Likewise.
11428 (enlarge_archive): Likewise.
11429 (insert_name): Likewise.
11430 (add_alias): Likewise.
11431 (add_locale): Likewise.
11432 (delete_locales_from_archive): Likewise.
11433 (show_archive_content): Likewise.
11434 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11437 2013-09-24 Roland McGrath <roland@hack.frob.com>
11439 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11440 http://www.gnu.org/doc/freemanuals.texi.
11441 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11443 2013-09-24 Will Newton <will.newton@linaro.org>
11445 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11448 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11450 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11453 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11455 * manual/threads.texi (POSIX Threads): Fix a typo.
11457 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11460 * string/tst-strcoll-overflow.c: New test case.
11461 * string/Makefile (xtests): Add tst-strcoll-overflow.
11462 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11463 cache if string sizes may cause integer overflow.
11466 * string/strcoll_l.c (coll_seq): New members rule, idx,
11467 save_idx and back_us.
11468 (get_next_seq_nocache): New function.
11469 (do_compare_nocache): New function.
11470 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11473 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11476 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11477 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11478 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11481 * elf/Makefile (tests): Add tst-ptrguard1.
11482 (tests-static): Add tst-ptrguard1-static.
11483 (tst-ptrguard1-ARGS): Define.
11484 (tst-ptrguard1-static-ARGS): Define.
11485 * elf/tst-ptrguard1.c: New file.
11486 * elf/tst-ptrguard1-static.c: New file.
11487 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11488 * sysdeps/i386/stackguard-macros.h: Likewise.
11489 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11490 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11491 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11492 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11493 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11494 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11496 2013-09-23 Hector Marco <hecmargi@upv.es>
11497 Ismael Ripoll <iripoll@disca.upv.es>
11498 Carlos O'Donell <carlos@redhat.com>
11501 * sysdeps/generic/stackguard-macros.h: Define
11502 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11503 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11504 Define __pointer_chk_guard_local.
11505 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11506 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11508 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11511 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11513 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11515 * include/string.h (__ffs): Declare as hidden.
11516 * string/ffs.c (__ffs): Define as hidden.
11517 * sysdeps/i386/ffs.c (__ffs): Likewise.
11518 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11519 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11520 * sysdeps/s390/ffs.c (__ffs): Likewise.
11521 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11523 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11525 * NEWS: Mention malloc probes.
11527 * malloc/arena.c (new_heap): New memory_heap_new probe.
11528 (grow_heap): New memory_heap_more probe.
11529 (shrink_heap): New memory_heap_less probe.
11530 (heap_trim): New memory_heap_free probe.
11531 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11532 (systrim): New memory_sbrk_less probe.
11533 * manual/probes.texi: Document them.
11535 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11536 * manual/probes.texi: Document it.
11538 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11539 (__libc_realloc): Add memory_realloc_retry probe.
11540 (__libc_memalign): Add memory_memalign_retry probe.
11541 (__libc_valloc): Add memory_valloc_retry probe.
11542 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11543 (__libc_calloc): Add memory_calloc_retry probe.
11544 * manual/probes.texi: Document them.
11546 * malloc/arena.c (get_free_list): Add probe
11547 memory_arena_reuse_free_list.
11548 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11549 and memory_arena_reuse.
11550 (arena_get2) [!PER_THREAD]: Likewise.
11551 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11552 memory_arena_reuse_realloc.
11553 * manual/probes.texi: Document them.
11555 * malloc/malloc.c (__libc_free): Add
11556 memory_mallopt_free_dyn_thresholds probe.
11557 (__libc_mallopt): Add multiple memory_mallopt probes.
11558 * manual/probes.texi: Document them.
11560 * malloc/malloc.c: Include stap-probe.h.
11561 (__libc_mallopt): Add memory_mallopt probe.
11562 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11563 * manual/probes.texi: New.
11564 * manual/Makefile (chapters): Add probes.
11565 * manual/threads.texi: Set next node.
11567 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11569 [BZ #15963, #13985]
11570 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11571 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11572 Add `Chinese' to `nan' entry name.
11574 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11577 (POLYNOMIAL): Likewise.
11578 (TAYLOR_SINCOS): Likewise.
11579 (TAYLOR_SLOW): Likewise.
11580 (__sin): Use TAYLOR_SINCOS.
11582 (slow): Use TAYLOR_SLOW.
11584 (bsloww): Likewise.
11585 (csloww): Likewise.
11587 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11589 * stdlib/strtod_l.c: Fix buffer overrun.
11591 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11593 * benchtests/Makefile (bench): Add sincos.
11594 * benchtests/bench-sincos.c: New file.
11596 * math/libm-test.inc (cos_test_data): New test inputs.
11597 (sin_test_data): Likewise.
11599 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11605 (sloww1): Likewise.
11606 (sloww2): Likewise.
11607 (bsloww1): Likewise.
11608 (bsloww2): Likewise.
11609 (cslow2): Likewise.
11610 (csloww1): Likewise.
11611 (csloww2): Likewise.
11613 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11622 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11624 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11625 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11626 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11627 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11628 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11629 * elf/cache.c (print_entry): Handle the new cache flags.
11631 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11632 Aldy Hernandez <aldyh@redhat.com>
11634 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11635 Change condition to [_SOFT_FLOAT].
11636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11648 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11651 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11654 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11656 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11657 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11658 (__longjmp): Use LOAD_GP to load saved GPRs.
11659 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11660 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11661 (__sigsetjmp): Use SAVE_GP to save GPRs.
11663 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11664 Do not append -msoft-float.
11665 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11667 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11671 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11675 (_FPU_GETCW): Use initial "__" on variable and field names but not
11676 on macro parameter name.
11677 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11678 parentheses around reference to macro parameter.
11680 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11682 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11684 (ctype_startup): Use uint32_t in cast and sizeof for
11687 2013-09-11 Jia Liu <proljc@gmail.com>
11689 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11691 [__FreeBSD__]: Likewise.
11693 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11696 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11697 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11698 (strchr): Remove __strchr_sse42 ifunc selection.
11699 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11700 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11702 2013-09-11 Will Newton <will.newton@linaro.org>
11704 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11705 parameter to RES. Remove hardcoded 1000 value.
11706 * benchtests/bench-skeleton.c (main): Pass RES parameter
11707 to TIMING_INIT and multiply result by 1000.
11709 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11713 2013-09-11 Andreas Schwab <schwab@suse.de>
11715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11717 (O_TMPFILE) [__USE_GNU]: Define.
11718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11721 2013-09-11 Will Newton <will.newton@linaro.org>
11724 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11727 2013-09-11 Will Newton <will.newton@linaro.org>
11730 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11733 2013-09-11 Will Newton <will.newton@linaro.org>
11736 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11739 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11741 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11747 2013-09-10 Allan McRae <allan@archlinux.org>
11750 * manual/arith.texi (Parsing of Floats): Clarify
11754 * manual/install.texi (Running make install): Mention
11756 * INSTALL: Regenerated.
11758 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11760 * csu/init-first.c (_init): Remove the !SHARED condition around
11761 FPU control word initialization.
11762 * elf/dl-support.c (_dl_fpu_control): New variable.
11763 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11764 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11765 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11766 * math/test-fpucw-static.c: New file.
11767 * math/test-fpucw-ieee.c: New file.
11768 * math/test-fpucw-ieee-static.c: New file.
11769 * math/Makefile (tests): Add `test-fpucw-ieee' and
11771 (tests-static): New variable.
11772 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11774 [($(build-shared),yes)]
11775 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11777 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11780 2013-09-09 Allan McRae <allan@archlinux.org>
11783 * manual/string.texi (Collation Functions): Fix typo in
11785 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11788 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11791 * libio/memstream.c (open_memstream): Fix memory leak.
11792 * libio/wmemstream.c (open_wmemstream): Likewise.
11795 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11797 2013-09-09 Will Newton <will.newton@linaro.org>
11799 * malloc/Makefile: Add tst-realloc to tests.
11800 * malloc/tst-realloc.c: New file.
11802 2013-09-09 Allan McRae <allan@archlinux.org>
11805 * COPYING: Update from GNU website to fix FSF address.
11806 * COPYING.LIB: Likewise.
11808 2013-09-06 David S. Miller <davem@davemloft.net>
11810 * po/zh_TW.po: Update Chinese (traditional) translation from
11811 translation project.
11813 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11814 Joseph Myers <joseph@codesourcery.com>
11816 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11818 (obstack_chunk_alloc): New macro.
11819 (obstack_chunk_free): Likewise.
11820 (record_offset): New function.
11821 (init_locale_data): Likewise.
11822 (align_locale_data): Likewise.
11823 (add_locale_empty): Likewise.
11824 (add_locale_raw_data): Likewise.
11825 (add_locale_raw_obstack): Likewise.
11826 (add_locale_string): Likewise.
11827 (add_locale_wstring): Likewise.
11828 (add_locale_uint32): Likewise.
11829 (add_locale_uint32_array): Likewise.
11830 (add_locale_char): Likewise.
11831 (start_locale_structure): Likewise.
11832 (end_locale_structure): Likewise.
11833 (start_locale_prelude): Likewise.
11834 (end_locale_prelude): Likewise.
11835 (write_locale_data): Take locale_file structure rather than an
11837 * locale/programs/locfile.h: Include "obstack.h".
11838 (struct locale_file): Change to store locale file contents instead
11840 (init_locale_data): New prototype.
11841 (align_locale_data): Likewise.
11842 (add_locale_empty): Likewise.
11843 (add_locale_raw_data): Likewise.
11844 (add_locale_raw_obstack): Likewise.
11845 (add_locale_string): Likewise.
11846 (add_locale_wstring): Likewise.
11847 (add_locale_uint32): Likewise.
11848 (add_locale_uint32_array): Likewise.
11849 (add_locale_char): Likewise.
11850 (start_locale_structure): Likewise.
11851 (end_locale_structure): Likewise.
11852 (start_locale_prelude): Likewise.
11853 (end_locale_prelude): Likewise.
11854 (write_locale_data): Update prototype.
11855 * locale/programs/3level.h (struct TABLE): Remove result field.
11856 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11857 Use new locale_file interface.
11858 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11859 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11860 * locale/programs/ld-address.c (address_output): Use new
11861 locale_file interface.
11862 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11864 (collate_finish): Don't call collseq_table_finalize.
11865 (collate_output): Use new locale_file interface.
11866 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11868 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11869 (TABLE): Move defines earlier in file.
11870 (ELEMENT): Likewise.
11871 (DEFAULT): Likewise.
11872 (wctrans_table_add): Move macro and inline function earlier in
11874 (struct wctype_table): Move type earlier in file.
11875 (add_locale_wctype_table): New static prototype.
11876 (struct locale_ctype_t): Use logical types instead of struct iovec
11877 pointers for members.
11878 (ctype_output): Use new locale_file interface.
11879 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11880 new locale_file interface.
11881 (allocate_arrays): Update for use of new locale_file interface.
11882 * locale/programs/ld-identification.c (identification_output): Use
11883 new locale_file interface.
11884 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11885 * locale/programs/ld-messages.c (messages_output): Likewise.
11886 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11887 * locale/programs/ld-name.c (name_output): Likewise.
11888 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11889 * locale/programs/ld-paper.c (paper_output): Likewise.
11890 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11891 * locale/programs/ld-time.c (time_output): Likewise.
11893 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11895 * benchtests/Makefile: Add memrchr benchmark.
11896 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11897 benchmark as memrchr.
11898 * benchtests/bench-memrchr-ifunc.c: New file.
11899 * benchtests/bench-memrchr.c: New file.
11901 2013-09-06 Will Newton <will.newton@linaro.org>
11903 * benchtests/Makefile (string-bench): Add memcpy.
11905 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11906 Cong Wang <amwang@redhat.com>
11909 * sysdeps/unix/sysv/linux/bits/in.h
11910 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11911 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11912 before __USE_KERNEL_IPV6_DEFS uses.
11913 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11915 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11916 sockaddr_in6, or ipv6_mreq.
11918 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11920 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11921 memory access for final bytes in some large inputs.
11922 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11924 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926 * string/test-memrchr.c: New file.
11927 * string/test-memrchr-ifunc.c: New file.
11928 * string/Makefile: Add new memrchr testcase.
11930 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11932 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11933 fanotify_init returns EPERM.
11935 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11937 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11939 (top level): Treat second token from macro or constant entries for
11940 allowed headers as allowed.
11941 * include/complex.h: Condition internal declarations on
11943 * include/fenv.h: Condition include of <stdbool.h> and internal
11944 declarations on [!_ISOMAC].
11946 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11949 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11951 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11953 * configure.in (--enable-versioning): Remove configure option.
11954 (libc_cv_asm_symver_directive): Remove configure test.
11955 (libc_cv_ld_version_script_option): Likewise.
11956 (VERSIONING): Remove variable and AC_SUBST.
11957 (DO_VERSIONING): Remove AC_DEFINE.
11958 * configure: Regenerated.
11959 * config.h.in (DO_VERSIONING): Remove macro.
11960 * Makerules [$(versioning) = yes]: Change conditionals to
11961 [$(build-shared) = yes].
11962 * config.make.in (versioning): Remove variable.
11963 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11964 [$(build-shared) = yes].
11965 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11966 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11967 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11968 [$(build-shared) = yes].
11969 * extra-lib.mk [$(versioning) = yes]: Likewise.
11970 * hurd/Makefile [$(versioning) = yes]: Likewise.
11971 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11973 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11975 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11976 [SHARED && !NO_HIDDEN].
11977 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11979 [SHARED && DO_VERSIONING]: Likewise..
11980 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11981 [$(build-shared) = yes].
11982 * manual/install.texi (--disable-versioning): Remove
11984 * INSTALL: Regenerated.
11985 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11987 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11988 [$(build-shared) = yes].
11989 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11990 * sysdeps/i386/i686/multiarch/strstr-c.c
11991 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11992 [SHARED && !NO_HIDDEN].
11993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11994 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11995 * sysdeps/powerpc/powerpc32/dl-machine.c
11996 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11997 * sysdeps/powerpc/powerpc32/sysdep.h
11998 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11999 to [SHARED && PIC && !NO_HIDDEN].
12000 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12001 conditional to [SHARED].
12003 2013-09-04 Will Newton <will.newton@linaro.org>
12005 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12006 * benchtests/bench-string.h: Include bench-timing.h instead
12007 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12008 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12009 call to HP_TIMING_DIFF_INIT.
12010 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12011 instead of hp-timing.h macros.
12012 * benchtests/bench-memchr.c: Likewise.
12013 * benchtests/bench-memcmp.c: Likewise.
12014 * benchtests/bench-memcpy.c: Likewise.
12015 * benchtests/bench-memmem.c: Likewise.
12016 * benchtests/bench-memmove.c: Likewise.
12017 * benchtests/bench-memset.c: Likewise.
12018 * benchtests/bench-rawmemchr.c: Likewise.
12019 * benchtests/bench-strcasecmp.c: Likewise.
12020 * benchtests/bench-strcasestr.c: Likewise.
12021 * benchtests/bench-strcat.c: Likewise.
12022 * benchtests/bench-strchr.c: Likewise.
12023 * benchtests/bench-strcmp.c: Likewise.
12024 * benchtests/bench-strcpy.c: Likewise.
12025 * benchtests/bench-strcpy_chk.c: Likewise.
12026 * benchtests/bench-strlen.c: Likewise.
12027 * benchtests/bench-strncasecmp.c: Likewise.
12028 * benchtests/bench-strncat.c: Likewise.
12029 * benchtests/bench-strncmp.c: Likewise.
12030 * benchtests/bench-strncpy.c: Likewise.
12031 * benchtests/bench-strnlen.c: Likewise.
12032 * benchtests/bench-strpbrk.c: Likewise.
12033 * benchtests/bench-strrchr.c: Likewise.
12034 * benchtests/bench-strspn.c: Likewise.
12035 * benchtests/bench-strstr.c: Likewise.
12037 2013-09-04 Will Newton <will.newton@linaro.org>
12039 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12041 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12044 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12045 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12046 * math/libm-test.inc (lgamma_test_data): Add more tests.
12047 * sysdeps/i386/fpu/libm-test-ulps: Update.
12048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12050 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12052 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12056 Add strcmp-sse2-unaligned
12057 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12059 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12061 * Versions.def (libc): Add GLIBC_2.19.
12063 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12065 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12066 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12068 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12072 intermediate calculations in recurrence.
12073 (__ieee754_ynf): Likewise.
12074 * math/libm-test.inc (jn_test_data): Do not allow spurious
12075 underflow exception. Add more tests.
12076 (yn_test_data): Add more tests.
12077 * sysdeps/i386/fpu/libm-test-ulps: Update.
12078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12084 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12086 * csu/init-first.c: Fix then/than typos.
12087 * locale/programs/ld-collate.c: Likewise.
12088 * locale/programs/linereader.h: Likewise.
12089 * manual/charset.texi: Likewise.
12090 * manual/filesys.texi: Likewise.
12091 * manual/stdio.texi: Likewise.
12092 * manual/string.texi: Likewise.
12093 * stdlib/fmtmsg.c: Likewise.
12094 * sysdeps/i386/stpncpy.S: Likewise.
12095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12096 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12098 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12100 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12102 * elf/dl-open.c: Fix typos.
12103 * iconvdata/gbbig5.c: Likewise.
12104 * iconvdata/iso-2022-jp.c: Likewise.
12105 * iconv/gconv_int.h: Likewise.
12106 * iconv/loop.c: Likewise.
12107 * nis/rpcsvc/nis.h: Likewise.
12108 * resolv/ns_name.c: Likewise.
12109 * stdio-common/vfscanf.c: Likewise.
12110 * streams/stropts.h: Likewise.
12111 * sunrpc/rpc_thread.c: Likewise.
12112 * sysdeps/i386/strpbrk.S: Likewise.
12113 * sysdeps/ieee754/k_standard.c: Likewise.
12114 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12116 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12117 * sysdeps/mach/hurd/profil.c: Likewise.
12118 * sysdeps/s390/dl-procinfo.h: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12121 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12122 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12125 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12127 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12130 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12133 aix specific files.
12134 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12137 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12140 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12143 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12144 Roland McGrath <roland@hack.frob.com>
12146 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12147 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12149 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12151 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12152 __executable_start symbol instead of _start.
12154 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12156 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12157 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12159 * sysdeps/gnu/ldsodefs.h: ... this new file.
12161 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12162 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12163 instead of ELFOSABI_LINUX.
12165 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12166 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12167 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12168 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12170 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12171 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12174 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12175 (ibm_extended_long_double): Add ieee_nan member.
12176 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12177 (do_test): New function.
12179 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12181 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12182 functions, renamed from truncdfsf_test, trunctfsf_test,
12184 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12186 (do_test): Run all these.
12188 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12190 * argp/argp-help.c: Fix typos.
12191 * argp/argp-parse.c: Likewise.
12192 * debug/backtracesyms.c: Likewise.
12193 * elf/elf.h: Likewise.
12194 * malloc/malloc.c: Likewise.
12195 * nis/nis_print.c: Likewise.
12196 * resolv/res_comp.c: Likewise.
12197 * stdlib/stdlib.h: Likewise.
12198 * sunrpc/clnt_tcp.c: Likewise.
12199 * sunrpc/clnt_udp.c: Likewise.
12200 * sunrpc/clnt_unix.c: Likewise.
12201 * sysdeps/unix/bsd/ptsname.c: Likewise.
12202 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12203 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12210 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12212 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12217 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12220 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12221 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12222 ($(objpfx)bug-dl-leaf): New rule.
12223 ($(objpfx)bug-dl-leaf.so): Likewise.
12224 ($(objpfx)bug-dl-leaf.out): Likewise.
12225 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12226 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12227 * dlfcn/bug-dl-leaf.c: New test.
12228 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12229 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12230 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12231 (dlclose): Likewise.
12232 (dlmopen): Likewise.
12234 2013-08-27 Roland McGrath <roland@hack.frob.com>
12236 * include/netdb.h [!_ISOMAC]:
12237 Don't include <tls.h>.
12238 (h_errno, __libc_h_errno): Move declaration and macros out of
12241 * include/resolv.h [_RESOLV_H_]:
12242 Don't include <tls.h>.
12243 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12244 * resolv/res_libc.c: Don't include <tls.h>.
12245 (_res): Use __attribute__ ((nocommon)) in place of
12246 __attribute__ ((section (".bss"))).
12248 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12249 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12251 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12253 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12254 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12256 * resolv/res_mkquery.c: Include <sys/time.h>.
12258 * inet/ifreq.c: Moved to ...
12259 * sysdeps/unix/ifreq.c: ... here.
12260 * inet/ifreq.c: New file, true stub version.
12262 * socket/sa_len.c: New file.
12263 * socket/Makefile (aux): Add it.
12264 * sysdeps/unix/sysv/linux/Makefile
12265 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12266 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12267 and #include <socket/sa_len.c>.
12268 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12269 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12271 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12272 * bits/socket.h: ... here.
12274 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12275 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12276 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12278 2013-08-27 Andreas Schwab <schwab@suse.de>
12281 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12282 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12283 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12284 * string/test-strcasecmp.c (test_main): Run tests in several
12286 * string/test-strncasecmp.c (test_main): Likewise.
12288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12289 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12290 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12292 (__strncasecmp_ssse3) [PIC]: Likewise.
12294 2013-08-26 Roland McGrath <roland@hack.frob.com>
12296 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12298 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12299 instead of explicitly declaring xdecrypt.
12300 * nis/nss_nis/nis-publickey.c: Likewise.
12302 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12305 * nscd/aicache.c: Include res_hconf.h.
12306 (addhstaiX): Initialize res_hconf.
12308 2013-08-26 Andreas Schwab <schwab@suse.de>
12310 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12311 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12313 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12315 * nscd/aicache.c (addhstaiX): Fix indentation.
12317 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12319 * configure.ac: Quote $build_pt_chown test.
12320 * configure: Regenerated.
12322 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12325 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12326 * math/s_cexpf.c (__cexpf): Likewise.
12327 * math/s_cexpl.c (__cexpl): Likewise.
12328 * math/libm-test.inc (cexp_test_data): Correct expected return
12329 value for NaN + i0. Add another test.
12331 2013-08-22 David S. Miller <davem@davemloft.net>
12333 * po/ca.po: Update Catalan translation from translation project.
12334 * po/uk.po: Add Ukrainian translations from translation project.
12336 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12339 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12340 is infinite, not alongside NaN test.
12341 * math/s_fdimf.c (__fdimf): Likewise.
12342 * math/s_fdiml.c (__fdiml): Likewise.
12343 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12344 errno is unchanged.
12346 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12348 * argp/argp-help.c: Fix typos.
12349 * crypt/speeds.c: Likewise.
12350 * csu/check_fds.c: Likewise.
12351 * elf/dl-load.c: Likewise.
12352 * elf/dl-open.c: Likewise.
12353 * elf/reldep3.c: Likewise.
12354 * elf/reldep.c: Likewise.
12355 * elf/sprof.c: Likewise.
12356 * iconv/iconv_charmap.c: Likewise.
12357 * iconv/skeleton.c: Likewise.
12358 * iconv/strtab.c: Likewise.
12359 * io/lockf64.c: Likewise.
12360 * libio/libioP.h: Likewise.
12361 * resolv/gai_notify.c: Likewise.
12362 * resolv/ns_name.c: Likewise.
12363 * resolv/ns_samedomain.c: Likewise.
12364 * resolv/res_send.c: Likewise.
12365 * stdlib/random.c: Likewise.
12366 * sunrpc/rpc/xdr.h: Likewise.
12367 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12369 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12370 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12374 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12375 * sysdeps/mach/hurd/check_fds.c: Likewise.
12376 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12377 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12380 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12381 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12382 * sysdeps/pthread/aio_notify.c: Likewise.
12383 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12384 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12385 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12387 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12389 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12391 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12392 version if bit_Slow_SSE4_2 is set.
12393 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12396 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12399 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12400 trampoline stack frame information.
12401 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12403 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12404 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12405 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12406 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12407 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12408 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12410 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12411 interrupting a syscall and set with option SA_SIGINFO.
12413 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12416 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12417 argument is infinite.
12418 * math/s_cprojf.c (__cprojf): Likewise.
12419 * math/s_cprojl.c (__cprojl): Likewise.
12420 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12421 * math/libm-test.inc (cproj_test_data): Add more tests.
12423 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12426 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12427 size. Use __ffs to determine corresponding shift.
12429 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12430 Roland McGrath <roland@hack.frob.com>
12432 * Makefile (INSTALL): Remove trailing blank lines from output of
12435 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12437 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12438 Align 32 bit compat elf_greg to 8 bytes.
12440 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12442 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12444 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12446 * string/strcoll_l.c (coll_seq): New structure.
12447 (get_next_seq_cached): New function.
12448 (get_next_seq): New function.
12449 (do_compare): New function.
12450 (STRCOLL): Use GNU style definition. Simplify implementation
12451 by using get_next_seq, get_next_seq_cached and do_compare.
12453 2013-08-16 Florian Weimer <fweimer@redhat.com>
12457 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12459 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12461 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12462 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12463 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12465 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12466 GETDENTS_64BIT_ALIGNED.
12467 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12468 * manual/filesys.texi (Reading/Closing Directory): Document
12469 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12471 * manual/conf.texi (Limits for Files): Add portability note to
12472 NAME_MAX, PATH_MAX.
12473 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12475 2013-08-13 Andreas Schwab <schwab@suse.de>
12478 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12480 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12481 LDBL_MAX_EXP >= 16384]: Add tests for it.
12483 2013-08-12 David S. Miller <davem@davemloft.net>
12485 * version.h (RELEASE): Set to "development".
12486 (VERSION): Set to "2.18.90".
12487 * NEWS: Add 2.19 section.
12489 2013-08-03 David S. Miller <davem@davemloft.net>
12491 * po/ko.po: Update Korean translation from translation project.
12493 2013-08-01 David S. Miller <davem@davemloft.net>
12495 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12496 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12499 2013-07-30 David S. Miller <davem@davemloft.net>
12501 * po/fr.po: Update French translation from translation project.
12503 2013-07-28 David S. Miller <davem@davemloft.net>
12505 * po/cs.po: Update Czech translation from translation project.
12507 * po/sv.po: Update Swedish translation from translation project.
12509 2013-07-27 David S. Miller <davem@davemloft.net>
12511 * po/eo.po: Update Esperanto translation from translation project.
12513 * po/vi.po: Update Vietnamese translation from translation project.
12515 * po/de.po: Update German translation from translation project.
12517 2013-07-26 David S. Miller <davem@davemloft.net>
12519 * po/bg.po: Update Bulgarian translation from translation project.
12521 * po/nl.po: Update Dutch translation from translation project.
12522 * po/pl.po: Update Polish translation from translation project.
12523 * po/ru.po: Update Russian translation from translation project.
12525 2013-07-24 David S. Miller <davem@davemloft.net>
12527 * po/libc.pot: Update.
12529 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12531 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12532 variable page size.
12533 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12535 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12537 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12539 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12541 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12542 Andreas Schwab <schwab@suse.de>
12543 Roland McGrath <roland@hack.frob.com>
12544 Joseph Myers <joseph@codesourcery.com>
12545 Carlos O'Donell <carlos@redhat.com>
12548 * config.h.in: Define HAVE_PT_CHOWN.
12549 * config.make.in (build-pt-chown): New variable.
12550 * configure.in (--enable-pt_chown): New configure option.
12551 * configure: Regenerate.
12552 * login/Makefile: Include Makeconfig. Build pt_chown only if
12553 build-pt-chown is enabled.
12554 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12555 pt_chown to fix pty ownership.
12556 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12558 * manual/install.texi (Configuring and compiling): Mention
12559 --enable-pt_chown. Add @findex for grantpt.
12560 * INSTALL: Regenerate.
12562 2013-07-20 David S. Miller <davem@davemloft.net>
12564 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12565 difference between 32-bit and 64-bit.
12567 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12570 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12571 Avoid system header dependency with -ffreestanding.
12572 ($(objpfx)bits/syscall%d): Likewise.
12574 2013-07-13 David S. Miller <davem@davemloft.net>
12576 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12577 underflows from atanl/atan2l due to bug 15319.
12578 (casinh_test_data): Likewise.
12580 2013-07-07 David S. Miller <davem@davemloft.net>
12582 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12584 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12586 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12589 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12591 * configure.in (--enable-lock-elision): Fix message text.
12592 * INSTALL: Regenerate.
12593 * configure: Regenerate.
12595 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12599 2013-07-03 Andreas Jaeger <aj@suse.de>
12601 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12603 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12604 (ptrace_peeksiginfo_args): Add.
12605 (__ptrace_peeksiginfo_flags): Add.
12606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12610 2013-07-03 Allan McRae <allan@archlinux.org>
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12614 2013-07-02 David S. Miller <davem@davemloft.net>
12616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12618 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12622 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12627 2013-07-02 Andi Kleen <ak@linux.intel.com>
12629 * config.h.in (ENABLE_LOCK_ELISION): Add.
12630 * configure.in (--enable-lock-elision): Add option.
12631 * manual/install.texi: Document --enable lock elision.
12632 * configure: Regenerate
12633 * INSTALL: Regenerate.
12635 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12637 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12638 SSE4.2 strcasecmp for libc.a.
12639 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12641 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12644 * soft-fp/op-common.h (_FP_FMA): New macro.
12645 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12646 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12647 (_FP_MUL_MEAT_1_imm): ... here.
12648 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12649 (_FP_MUL_MEAT_1_wide): ... here.
12650 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12651 (_FP_MUL_MEAT_1_hard): ... here.
12652 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12653 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12654 (_FP_MUL_MEAT_2_wide): ... here.
12655 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12656 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12657 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12658 (_FP_MUL_MEAT_2_gmp): ... here.
12659 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12660 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12661 (_FP_MUL_MEAT_4_wide): ... here.
12662 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12663 (_FP_MUL_MEAT_4_gmp): ... here.
12664 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12665 (_FP_WFRACBITS_DW_S): Likewise.
12666 (_FP_WFRACXBITS_DW_S): Likewise.
12667 (_FP_HIGHBIT_DW_S): Likewise.
12668 (FP_FMA_S): Likewise.
12669 (_FP_FRAC_HIGH_DW_S): Likewise.
12670 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12671 (_FP_WFRACBITS_DW_D): Likewise.
12672 (_FP_WFRACXBITS_DW_D): Likewise.
12673 (_FP_HIGHBIT_DW_D): Likewise.
12674 (FP_FMA_D): Likewise.
12675 (_FP_FRAC_HIGH_DW_D): Likewise.
12676 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12677 (_FP_WFRACBITS_DW_E): Likewise.
12678 (_FP_WFRACXBITS_DW_E): Likewise.
12679 (_FP_HIGHBIT_DW_E): Likewise.
12680 (FP_FMA_E): Likewise.
12681 (_FP_FRAC_HIGH_DW_E): Likewise.
12682 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12683 (_FP_WFRACBITS_DW_Q): Likewise.
12684 (_FP_WFRACXBITS_DW_Q): Likewise.
12685 (_FP_HIGHBIT_DW_Q): Likewise.
12686 (FP_FMA_Q): Likewise.
12687 (_FP_FRAC_HIGH_DW_Q): Likewise.
12688 * soft-fp/fmasf4.c: New file.
12689 * soft-fp/fmadf4.c: Likewise.
12690 * soft-fp/fmatf4.c: Likewise.
12692 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12695 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12699 (index_Slow_SSE4_2): Likewise.
12700 (index_Prefer_PMINUB_for_stringop): Likewise.
12701 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12702 bit_Slow_SSE4_2 is set.
12703 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12704 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12706 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12708 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12709 rtld_global._dl_hwcap2.
12710 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12712 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12713 POWER8 feature descriptions defined in _dl_hwcap2.
12714 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12715 string handling for POWER8 feature bits.
12716 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12717 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12718 _dl_powerpc_cap_flags.
12719 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12720 * sysdeps/powerpc/rtld-global-offsets.sym
12721 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12722 _dl_hwcap2 in the rtld_global_ro structure.
12724 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12726 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12727 hardware capabilities in support of AT_HWCAP2.
12728 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12729 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12731 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12732 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12733 explicitly the unknown a_type display mechanism is used.
12734 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12735 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12737 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12738 to macro prototype for AT_HWCAP2 support.
12739 * sysdeps/i386/dl-procinfo.h: Likewise.
12740 * sysdeps/s390/dl-procinfo.h: Likewise.
12741 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12742 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12743 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12744 return -1 for unknown a_type display fallback.
12745 * sysdeps/sparc/dl-procinfo.h: Likewise.
12746 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12747 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12749 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12751 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12752 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12754 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12757 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12758 mprotect making __stack_prot writable.
12760 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12761 Joseph Myers <joseph@codesourcery.com>
12763 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12764 as being properly aligned.
12766 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12768 * dlfcn/modstatic5.c: New file.
12769 * dlfcn/tststatic5.c: New file.
12770 * dlfcn/Makefile (tests): Add tststatic5.
12771 (tests-static): Likewise.
12772 (modules-names): Add modstatic5.
12773 (tststatic5-ENV): New variable.
12774 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12777 * elf/dl-support.c (_dl_main_map): New variable.
12778 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12779 (_dl_nns, _dl_load_adds): Set to 1.
12780 (_dl_initial_searchlist): Refer to _dl_main_map.
12781 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12782 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12783 call to _dl_get_origin.
12784 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12786 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12787 * dlfcn/modstatic3.c: New file.
12788 * dlfcn/tststatic3.c: New file.
12789 * dlfcn/tststatic4.c: New file.
12790 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12791 (tests-static): Likewise.
12792 (modules-names): Add modstatic3.
12793 (tststatic3-ENV, tststatic4-ENV): New variables.
12794 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12795 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12797 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12799 * configure.in (CC): Require GCC version 4.4 or later.
12800 * configure: Regenerated.
12801 * manual/install.texi (Tools for Compilation): Update GCC version
12803 * INSTALL: Regenerated.
12805 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12808 * string/test-memcmp.c (check2): New.
12809 (main): Call check2.
12811 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12813 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12816 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12818 (dl_open_worker) [!SHARED]: ... here.
12820 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12822 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12824 2013-06-25 Richard Henderson <rth@redhat.com>
12826 * locale/programs/locarchive.c: Include <libc-internal.h>
12828 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12830 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12831 trailing whitespace removed.
12833 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12836 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12837 * locale/programs/locarchive.c: Include libc-mmap.h.
12838 (prepare_address_space): Take two new outputs (the mmap base and len).
12839 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12841 (create_archive): Declare new mmap base and len values for
12842 prepare_address_space, and store the result in ah.
12843 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12844 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12845 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12846 Declare new mmap base and len values for
12847 prepare_address_space, and store the result in new_ah.
12848 (open_archive): Declare new mmap base and len values for
12849 prepare_address_space, and store the result in ah.
12850 (close_archive): If ah->mmap_base is not NULL, use that and
12851 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12852 * sysdeps/generic/libc-mmap.h: New file.
12854 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12856 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12857 (ALIGN_UP): Likewise.
12858 (PTR_ALIGN_DOWN): Likewise.
12859 (PTR_ALIGN_UP): Likewise.
12861 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12863 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12864 entry mapped to PPC_PLATFORM_POWER8.
12865 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12867 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12868 (_dl_string_platform): Add case for exporting platform position for
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12871 search path to sysdeps/powerpc/powerpc32/power8 directory.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12873 search path to sysdeps/powerpc/powerpc64/power8 directory.
12874 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12875 power7 directories.
12876 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12877 power7 directories.
12879 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12881 * INSTALL: Regenerate.
12883 * nscd/connections.c (nscd_init): Fix comment.
12885 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12887 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12890 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12891 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12893 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12895 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12897 (DL_DST_REQ_STATIC): Remove macro.
12899 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12902 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12903 with a shift of 0 bits.
12905 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12907 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12910 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12913 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12915 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12917 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12918 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12919 accepts -fno-tree-loop-distribute-patterns.
12920 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12921 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12923 * string/memset.c (memset): Likewise.
12924 * string/test-memmove.c (simple_memmove): Disable loop transformation
12926 * string/test-memset.c (simple_memset): Likewise.
12927 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12928 * benchtests/bench-memset.c (simple_memset): Likewise.
12929 * configure: Regenerated.
12931 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12933 * math/test-misc.c (main): Ignore fesetround failure when failures
12934 of subsequent rounding tests would be ignored.
12937 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12938 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12939 * math/fegetenv.c (__fegetenv): Return 0.
12940 * math/fegetexcept.c (fegetexcept): Return 0.
12941 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12943 * math/feholdexcpt.c (feholdexcept): Return 0.
12944 * math/fesetenv.c (__fesetenv): Return 0.
12945 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12946 argument FE_TONEAREST.
12947 * math/feupdateenv.c (__feupdateenv): Return 0.
12948 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12950 2013-06-18 Roland McGrath <roland@hack.frob.com>
12952 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12953 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12954 ($(objpfx)rtld-%.os rules): Use them.
12956 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12961 2013-06-17 Roland McGrath <roland@hack.frob.com>
12963 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12964 length of target pattern, then descending length of dependency pattern.
12965 * configure.in (AWK): Require gawk 3.1.2 or newer.
12966 * manual/install.texi (Tools for Compilation): Say that we do.
12967 * configure: Regenerated.
12969 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12970 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12971 * scripts/sysd-rules.awk: ... this new script.
12972 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12973 than a glob-style pattern.
12975 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12977 * math/test-misc.c (main): Do not treat incorrectly rounded
12978 conversions as failure unless ROUNDING_TESTS passes.
12980 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12983 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12984 restore exception state around main square root computation, then
12985 check for inexactness explicitly.
12987 * math/libm-test.inc (fma_test_data): Add another test.
12989 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12991 * manual/threads.texi (Non-POSIX Extensions): New document
12992 node. Document pthread_getattr_default_np and
12993 pthread_setattr_default_np.
12995 * Versions.def (libpthread): Add GLIBC_2.18.
12996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13005 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13016 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13019 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13021 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13022 H.J. Lu <hjl.tools@gmail.com>
13025 * sysdeps/x86_64/rtld-memset.c: Remove file.
13026 * sysdeps/x86_64/rtld-memset.S: New file.
13028 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13030 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13031 (test_in_one_mode): Take arguments for whether the rounding mode
13032 is supported for each floating-point type.
13033 (do_test): Pass new arguments to test_in_one_mode using
13036 2013-06-13 Roland McGrath <roland@hack.frob.com>
13038 * posix/tst-waitid.c (do_test): Distinguish different instances of
13039 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13040 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13041 before entering the kernel for waitpid.
13043 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13045 * NEWS: Fix note on clock function precision. Text by Roland
13048 2013-06-13 Roland McGrath <roland@hack.frob.com>
13050 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13051 it into place only when and if the sanity check passes.
13053 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13055 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13056 output for whether conversion result is exact. Take argument
13057 indicating whether type is IBM long double.
13058 (round_for_all): Change need_exact field to ibm_ld.
13059 * stdlib/tst-strtod-round.c (struct exactness): New type.
13060 (struct test): Change bool ld_ok field to struct exactness exact.
13061 (TEST): Update all definitions for change to field.
13062 (tests): Regenerate array contents.
13063 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13064 field value. Check for IBM long double here.
13065 (do_test): Update calls to test_in_one_mode.
13067 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13070 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13071 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13073 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13076 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13077 generated by the compiler on loop optimizations.
13078 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13079 general definitions.
13081 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13083 * math/bug-nextafter.c: Include <math-tests.h>.
13084 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13086 * math/bug-nexttoward.c: Include <math-tests.h>.
13087 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13089 * math/test-misc.c: Include <math-tests.h>.
13090 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13093 2013-06-12 Andreas Jaeger <aj@suse.de>
13095 * po/ia.po: Update Interlingua translation from translation
13098 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13100 * include/fenv.h: Include stdbool.h.
13101 (struct rm_ctx): New structure.
13102 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13104 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13105 (SET_RESTORE_ROUNDF): Likewise.
13106 (SET_RESTORE_ROUNDL): Likewise.
13107 (SET_RESTORE_ROUND_NOEX): Likewise.
13108 (SET_RESTORE_ROUND_NOEXF): Likewise.
13109 (SET_RESTORE_ROUND_NOEXL): Likewise.
13110 (SET_RESTORE_ROUND_53BIT): Likewise.
13111 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13112 (libc_feresetround_noexf_ctx): Likewise.
13113 (libc_feresetround_noexl_ctx): Likewise.
13114 (libc_feholdsetround_53bit_ctx): Likewise.
13115 (libc_feresetround_53bit_ctx): Likewise.
13116 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13117 (libc_feholdexcept_setround_sse_ctx): New function.
13118 (libc_fesetenv_sse_ctx): Likewise.
13119 (libc_feupdateenv_sse_ctx): Likewise.
13120 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13121 (libc_feholdexcept_setround_387_ctx): Likewise.
13122 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13123 (libc_feholdsetround_387_prec_ctx): Likewise.
13124 (libc_feholdsetround_387_ctx): Likewise.
13125 (libc_feholdsetround_387_53bit_ctx): Likewise.
13126 (libc_feholdsetround_sse_ctx): Likewise.
13127 (libc_feresetround_sse_ctx): Likewise.
13128 (libc_feresetround_387_ctx): Likewise.
13129 (libc_feupdateenv_387_ctx): Likewise.
13130 (libc_feholdexcept_setroundf_ctx): Define macro.
13131 (libc_fesetenvf_ctx): Likewise.
13132 (libc_feupdateenvf_ctx): Likewise.
13133 (libc_feholdsetroundf_ctx): Likewise.
13134 (libc_feresetroundf_ctx): Likewise.
13135 (libc_feholdexcept_setround_ctx): Likewise.
13136 (libc_fesetenv_ctx): Likewise.
13137 (libc_feupdateenv_ctx): Likewise.
13138 (libc_feholdsetround_ctx): Likewise.
13139 (libc_feresetround_ctx): Likewise.
13140 (libc_feholdexcept_setroundl_ctx): Likewise.
13141 (libc_feupdateenvl_ctx): Likewise.
13142 (libc_feholdsetroundl_ctx): Likewise.
13143 (libc_feresetroundl_ctx): Likewise.
13144 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13145 (libc_feresetround_53bit_ctx): Likewise.
13147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * locale/iso-639.def: Convert to UTF-8.
13151 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13153 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13154 (EXCEPTION_TESTS_double): Likewise.
13155 (EXCEPTION_TESTS_long_double): Likewise.
13156 (EXCEPTION_TESTS): Likewise.
13157 * math/libm-test.inc (test_exceptions): Only test exceptions if
13158 EXCEPTION_TESTS (FLOAT).
13160 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13162 * benchtests/Makefile (string-bench): Add strcpy_chk and
13164 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13165 * benchtests/bench-stpcpy_chk.c: New file.
13166 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13167 * benchtests/bench-strcpy_chk.c: New file.
13168 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13170 (do_test): Likewise.
13172 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13174 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13175 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13176 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13177 with tabs where appropriate.
13178 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13180 [PPC_PLATFORM_PPC440]: Likewise.
13181 [PPC_PLATFORM_PPC464]: Likewise.
13182 [PPC_PLATFORM_PPC476]: Likewise.
13183 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13184 ppc464, and ppc476 platform strings merging from ports/
13187 2013-06-11 Andreas Schwab <schwab@suse.de>
13190 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13191 (from_ucs4_idx): Regenerate.
13192 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13193 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13194 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13195 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13196 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13197 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13198 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13199 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13200 from FROM_LOOP and TO_LOOP specific macros.
13201 (BODY): Handle combining characters.
13202 * iconvdata/BIG5HKSCS.irreversible: Update.
13203 * iconvdata/BIG5HKSCS.precomposed: New file.
13204 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13206 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13208 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13210 * include/sys/time.h: Fix indentation and add copyright header.
13212 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13213 (do_test): Likewise.
13214 * string/test-memchr.c (do_one_test): Likewise.
13215 (do_test): Likewise.
13216 * string/test-memcmp.c (do_one_test): Likewise.
13217 (do_test): Likewise.
13218 * string/test-memcpy.c (do_one_test): Likewise.
13219 (do_test): Likewise.
13220 * string/test-memmem.c (do_one_test): Likewise.
13221 (do_test): Likewise.
13222 (do_random_tests): Likewise.
13223 * string/test-memmove.c (do_one_test): Likewise.
13224 (do_test): Likewise.
13225 * string/test-memset.c (do_one_test): Likewise.
13226 (do_test): Likewise.
13227 * string/test-rawmemchr.c (do_one_test): Likewise.
13228 (do_test): Likewise.
13229 * string/test-strcasecmp.c (do_one_test): Likewise.
13230 (do_test): Likewise.
13231 * string/test-strcasestr.c (do_one_test): Likewise.
13232 (do_test): Likewise.
13233 * string/test-strcat.c (do_one_test): Likewise.
13234 (do_test): Likewise.
13235 * string/test-strchr.c (do_one_test): Likewise.
13236 (do_test): Likewise.
13237 * string/test-strcmp.c (do_one_test): Likewise.
13238 (do_test): Likewise.
13239 * string/test-strcpy.c (do_one_test): Likewise.
13240 (do_test): Likewise.
13241 * string/test-string.h: Likewise.
13242 (test_init): Likewise.
13243 * string/test-strlen.c (do_one_test): Likewise.
13244 (do_test): Likewise.
13245 * string/test-strncasecmp.c (do_one_test): Likewise.
13246 (do_test): Likewise.
13247 * string/test-strncat.c (do_one_test): Likewise.
13248 (do_test): Likewise.
13249 * string/test-strncmp.c (do_one_test): Likewise.
13250 (do_test_limit): Likewise.
13251 (do_test): Likewise.
13252 * string/test-strncpy.c (do_one_test): Likewise.
13253 (do_test): Likewise.
13254 * string/test-strnlen.c (do_one_test): Likewise.
13255 (do_test): Likewise.
13256 * string/test-strpbrk.c (do_one_test): Likewise.
13257 (do_test): Likewise.
13258 * string/test-strrchr.c (do_one_test): Likewise.
13259 (do_test): Likewise.
13260 * string/test-strspn.c (do_one_test): Likewise.
13261 (do_test): Likewise.
13262 * string/test-strstr.c (do_one_test): Likewise.
13263 (do_test): Likewise.
13265 * benchtests/Makefile (string-bench): Add string benchmarks.
13266 * benchtests/bench-bcopy-ifunc.c: New file.
13267 * benchtests/bench-bcopy.c: New file.
13268 * benchtests/bench-bzero-ifunc.c: New file.
13269 * benchtests/bench-bzero.c: New file.
13270 * benchtests/bench-memccpy-ifunc.c: New file.
13271 * benchtests/bench-memccpy.c: New file.
13272 * benchtests/bench-memchr-ifunc.c: New file.
13273 * benchtests/bench-memchr.c: New file.
13274 * benchtests/bench-memcmp-ifunc.c: New file.
13275 * benchtests/bench-memcmp.c: New file.
13276 * benchtests/bench-memmem-ifunc.c: New file.
13277 * benchtests/bench-memmem.c: New file.
13278 * benchtests/bench-memmove-ifunc.c: New file.
13279 * benchtests/bench-memmove.c: New file.
13280 * benchtests/bench-mempcpy-ifunc.c: New file.
13281 * benchtests/bench-mempcpy.c: New file.
13282 * benchtests/bench-memset-ifunc.c: New file.
13283 * benchtests/bench-memset.c: New file.
13284 * benchtests/bench-rawmemchr-ifunc.c: New file.
13285 * benchtests/bench-rawmemchr.c: New file.
13286 * benchtests/bench-stpcpy-ifunc.c: New file.
13287 * benchtests/bench-stpcpy.c: New file.
13288 * benchtests/bench-stpncpy-ifunc.c: New file.
13289 * benchtests/bench-stpncpy.c: New file.
13290 * benchtests/bench-strcasecmp-ifunc.c: New file.
13291 * benchtests/bench-strcasecmp.c: New file.
13292 * benchtests/bench-strcasestr-ifunc.c: New file.
13293 * benchtests/bench-strcasestr.c: New file.
13294 * benchtests/bench-strcat-ifunc.c: New file.
13295 * benchtests/bench-strcat.c: New file.
13296 * benchtests/bench-strchr-ifunc.c: New file.
13297 * benchtests/bench-strchr.c: New file.
13298 * benchtests/bench-strchrnul-ifunc.c: New file.
13299 * benchtests/bench-strchrnul.c: New file.
13300 * benchtests/bench-strcmp-ifunc.c: New file.
13301 * benchtests/bench-strcmp.c: New file.
13302 * benchtests/bench-strcpy-ifunc.c: New file.
13303 * benchtests/bench-strcpy.c: New file.
13304 * benchtests/bench-strcspn-ifunc.c: New file.
13305 * benchtests/bench-strcspn.c: New file.
13306 * benchtests/bench-strlen-ifunc.c: New file.
13307 * benchtests/bench-strlen.c: New file.
13308 * benchtests/bench-strncasecmp-ifunc.c: New file.
13309 * benchtests/bench-strncasecmp.c: New file.
13310 * benchtests/bench-strncat-ifunc.c: New file.
13311 * benchtests/bench-strncat.c: New file.
13312 * benchtests/bench-strncmp-ifunc.c: New file.
13313 * benchtests/bench-strncmp.c: New file.
13314 * benchtests/bench-strncpy-ifunc.c: New file.
13315 * benchtests/bench-strncpy.c: New file.
13316 * benchtests/bench-strnlen-ifunc.c: New file.
13317 * benchtests/bench-strnlen.c: New file.
13318 * benchtests/bench-strpbrk-ifunc.c: New file.
13319 * benchtests/bench-strpbrk.c: New file.
13320 * benchtests/bench-strrchr-ifunc.c: New file.
13321 * benchtests/bench-strrchr.c: New file.
13322 * benchtests/bench-strspn-ifunc.c: New file.
13323 * benchtests/bench-strspn.c: New file.
13324 * benchtests/bench-strstr-ifunc.c: New file.
13325 * benchtests/bench-strstr.c: New file.
13327 * benchtests/Makefile: Disable parallel execution of targets.
13328 (string-bench): Add memcpy.
13329 (benchset): New variable to store a list of benchmark sets.
13330 (bench-func): Renamed from bench.
13331 (bench-set): New target.
13332 (bench): Depend on bench-func and bench-set.
13333 * benchtests/README: Add section on benchmark sets.
13334 * benchtests/bench-memcpy-ifunc.c: New file.
13335 * benchtests/bench-memcpy.c: New file.
13336 * benchtests/bench-string.h: New file.
13338 2013-06-11 Andreas Schwab <schwab@suse.de>
13341 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13342 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13343 values in the triple.
13344 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13345 terminator in the group key.
13347 2013-06-11 Andreas Jaeger <aj@suse.de>
13349 * po/zh_TW.po: Update Chinese (traditional) translation from
13350 translation project.
13352 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13354 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13355 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13356 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13358 (clock_getcpuclockid): Likewise.
13359 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13360 Add weak_alias and libc_hidden_def.
13361 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13362 * rt/clock_gettime.c (clock_gettime): Rename to
13363 __clock_gettime. Add weak_alias and libc_hidden_def.
13364 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13365 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13366 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13367 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13368 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13370 * rt/clock_settime.c (clock_settime): Rename to
13371 __clock_settime. Add weak_alias and libc_hidden_def.
13372 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13374 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13376 * mach/err_boot.sub: Remove trailing whitespace.
13377 * mach/err_ipc.sub: Likewise.
13378 * mach/err_mach.sub: Likewise.
13380 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13381 (ROUNDING_TESTS_double): Likewise.
13382 (ROUNDING_TESTS_long_double): Likewise.
13383 (ROUNDING_TESTS): Likewise.
13384 * math/libm-test.inc: Include <math-tests.h>.
13385 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13386 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13387 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13388 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13390 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13392 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13395 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13397 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13398 otherwise empty TRANS lines.
13399 * sysdeps/gnu/errlist.c: Regenerated.
13401 * catgets/gencat.c (error_print): Use (void) in function
13403 * crypt/crypt_util.c (__init_des): Likewise.
13404 * crypt/speeds.c (Stop): Likewise.
13406 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13407 * inet/ruserpass.c (token): Likewise.
13408 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13409 * intl/localealias.c (extend_alias_table): Likewise.
13410 * intl/plural-exp.c (init_germanic_plural): Likewise.
13411 * libio/fcloseall.c (__fcloseall): Likewise.
13412 * libio/genops.c (_IO_flush_all): Likewise.
13413 (_IO_flush_all_linebuffered): Likewise.
13414 (_IO_cleanup): Likewise.
13415 (_IO_iter_begin): Likewise.
13416 (_IO_iter_end): Likewise.
13417 (_IO_list_lock): Likewise.
13418 (_IO_list_unlock): Likewise.
13419 (_IO_list_resetlock): Likewise.
13420 * libio/getchar.c (getchar): Likewise.
13421 * libio/getchar_u.c (getchar_unlocked): Likewise.
13422 * libio/getwchar.c (getwchar): Likewise.
13423 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13424 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13425 * login/getpt.c (__getpt): Likewise.
13426 * login/tst-utmp.c (main): Likewise.
13427 * malloc/hooks.c (__malloc_check_init): Likewise.
13428 * malloc/malloc.c (__malloc_stats): Likewise.
13429 * malloc/mtrace.c (tr_break): Likewise.
13430 (mtrace): Likewise.
13431 (muntrace): Likewise.
13432 * misc/fstab.c (endfsent): Likewise.
13433 * misc/getclktck.c (__getclktck): Likewise.
13434 * misc/getdtsz.c (__getdtablesize): Likewise.
13435 * misc/gethostid.c (gethostid): Likewise.
13436 * misc/getpagesize.c (__getpagesize): Likewise.
13437 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13438 (__get_nprocs): Likewise.
13439 (__get_phys_pages): Likewise.
13440 (__get_avphys_pages): Likewise.
13441 * misc/getttyent.c (getttyent): Likewise.
13442 (setttyent): Likewise.
13443 (endttyent): Likewise.
13444 * misc/getusershell.c (getusershell): Likewise.
13445 (endusershell): Likewise.
13446 (setusershell): Likewise.
13447 (initshells): Likewise.
13448 * misc/hsearch.c (__hdestroy): Likewise.
13449 * misc/sync.c (sync): Likewise.
13450 * misc/syslog.c (closelog_internal): Likewise.
13451 (closelog): Likewise.
13452 * misc/ttyslot.c (ttyslot): Likewise.
13453 * misc/vhangup.c (vhangup): Likewise.
13454 * posix/fork.c (__fork): Likewise.
13455 * posix/getegid.c (__getegid): Likewise.
13456 * posix/geteuid.c (__geteuid): Likewise.
13457 * posix/getgid.c (__getgid): Likewise.
13458 * posix/getpid.c (__getpid): Likewise.
13459 * posix/getppid.c (__getppid): Likewise.
13460 * posix/getuid.c (__getuid): Likewise.
13461 * posix/pause.c (pause): Likewise.
13462 * posix/setpgrp.c (setpgrp): Likewise.
13463 * posix/setsid.c (__setsid): Likewise.
13464 * posix/test-vfork.c (noop): Likewise.
13465 * resolv/gethnamaddr.c (_endhtent): Likewise.
13466 (_gethtent): Likewise.
13467 (ht_endhostent): Likewise.
13468 (gethostent): Likewise.
13469 (dns_service): Likewise.
13470 * stdlib/drand48.c (drand48): Likewise.
13471 * stdlib/lrand48.c (lrand48): Likewise.
13472 * stdlib/mrand48.c (mrand48): Likewise.
13473 * stdlib/rand.c (rand): Likewise.
13474 * stdlib/random.c (__random): Likewise.
13475 * stdlib/setenv.c (clearenv): Likewise.
13476 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13477 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13478 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13479 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13480 (__get_nprocs): Likewise.
13481 (__get_phys_pages): Likewise.
13482 (__get_avphys_pages): Likewise.
13483 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13484 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13485 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13486 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13487 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13488 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13489 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13490 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13491 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13492 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13493 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13494 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13495 * sysdeps/posix/clock.c (clock): Likewise.
13496 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13497 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13498 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13499 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13500 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13502 (__get_nprocs_conf): Likewise.
13503 (__get_phys_pages): Likewise.
13504 (__get_avphys_pages): Likewise.
13505 * time/clock.c (clock): Likewise.
13506 * time/tzset.c (__tzname_max): Likewise.
13508 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13510 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13511 (__bswap_32): Do not use "register".
13512 * crypt/crypt.c (_ufc_doit_r): Likewise.
13513 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13514 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13515 * gmon/gmon.c (__monstartup): Likewise.
13516 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13517 * hurd/hurdmalloc.c (more_memory): Likewise.
13518 (malloc): Likewise.
13520 (realloc): Likewise.
13521 (malloc_fork_prepare): Likewise.
13522 (malloc_fork_parent): Likewise.
13523 (malloc_fork_child): Likewise.
13524 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13525 (_svcauth_des): Likewise.
13526 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13527 * inet/inet_net.c (inet_network): Likewise.
13528 * inet/inet_netof.c (inet_netof): Likewise.
13529 * inet/rcmd.c (__validuser2_sa): Likewise.
13530 * io/fts.c (fts_open): Likewise.
13531 (fts_load): Likewise.
13532 (fts_close): Likewise.
13533 (fts_read): Likewise.
13534 (fts_children): Likewise.
13535 (fts_build): Likewise.
13536 (fts_stat): Likewise.
13537 (fts_sort): Likewise.
13538 (fts_alloc): Likewise.
13539 (fts_lfree): Likewise.
13540 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13541 (_IO_file_xsgetn): Likewise.
13542 (_IO_file_xsgetn_mmap): Likewise.
13543 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13544 (_IO_cookie_write): Likewise.
13545 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13546 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13547 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13548 * malloc/obstack.c (_obstack_begin): Likewise.
13549 (_obstack_begin_1): Likewise.
13550 (_obstack_newchunk): Likewise.
13551 (_obstack_allocated_p): Likewise.
13552 (obstack_free): Likewise.
13553 (_obstack_memory_used): Likewise.
13554 * misc/getttyent.c (getttynam): Likewise.
13555 (getttyent): Likewise.
13558 * misc/getusershell.c (initshells): Likewise.
13559 * misc/syslog.c (__vsyslog_chk): Likewise.
13560 * misc/ttyslot.c (ttyslot): Likewise.
13561 * nis/nis_hash.c (__nis_hash): Likewise.
13562 * posix/fnmatch_loop.c (FCT): Likewise.
13563 * posix/getconf.c (print_all): Likewise.
13565 * posix/getopt.c (exchange): Likewise.
13566 * posix/glob.c (globfree): Likewise.
13567 (prefix_array): Likewise.
13568 (__glob_pattern_type): Likewise.
13569 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13570 (NS_GET32): Likewise.
13571 (NS_PUT16): Likewise.
13572 (NS_PUT32): Likewise.
13573 * resolv/gethnamaddr.c (getanswer): Likewise.
13574 (gethostbyname2): Likewise.
13575 (gethostbyaddr): Likewise.
13576 (_gethtent): Likewise.
13577 (_gethtbyname2): Likewise.
13578 (_gethtbyaddr): Likewise.
13579 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13580 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13581 * resolv/res_init.c (__res_vinit): Likewise.
13582 (net_mask): Likewise.
13583 * resolv/res_mkquery.c (outchar): Likewise.
13585 * stdio-common/printf_fp.c (outchar): Likewise.
13587 * stdio-common/printf_fphex.c (outchar): Likewise.
13589 * stdio-common/printf_size.c (outchar): Likewise.
13591 * stdio-common/test_rdwr.c (main): Likewise.
13592 * stdio-common/tfformat.c (matches): Likewise.
13593 * stdio-common/vfprintf.c (outchar): Likewise.
13594 (printf_unknown): Likewise.
13595 (buffered_vfprintf): Likewise.
13596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13597 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13598 (ReadFile): Likewise.
13599 * stdlib/qsort.c (SWAP): Likewise.
13600 (_quicksort): Likewise.
13601 * stdlib/setenv.c (__add_to_environ): Likewise.
13602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13603 * stdlib/strtol_l.c (__strtol_l): Likewise.
13604 * stdlib/tst-strtod.c (main): Likewise.
13605 * stdlib/tst-strtol.c (main): Likewise.
13606 * stdlib/tst-strtoll.c (main): Likewise.
13607 * string/bits/string2.h (__strcmp_cc): Likewise.
13608 (__strcmp_cg): Likewise.
13609 (__strcspn_c1): Likewise.
13610 (__strcspn_c2): Likewise.
13611 (__strcspn_c3): Likewise.
13612 (__strspn_c1): Likewise.
13613 (__strspn_c2): Likewise.
13614 (__strspn_c3): Likewise.
13615 (__strsep_1c): Likewise.
13616 (__strsep_2c): Likewise.
13617 (__strsep_3c): Likewise.
13618 * string/memccpy.c (__memccpy): Likewise.
13619 * string/stpcpy.c (__stpcpy): Likewise.
13620 * string/strcmp.c (strcmp): Likewise.
13621 * string/strrchr.c (strrchr): Likewise.
13622 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13624 * sysdeps/mach/hurd/getcwd.c
13625 (_hurd_canonicalize_directory_name_internal): Likewise.
13626 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13627 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13628 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13629 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13630 Likewise, in both definitions.
13631 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13633 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13634 64] (__bswap_64): Likewise.
13635 * time/test_time.c (main): Likewise.
13636 * time/tzfile.c (__tzfile_read): Likewise.
13637 (__tzfile_compute): Likewise.
13638 * time/tzset.c (__tzset_parse_tz): Likewise.
13639 (tzset_internal): Likewise.
13640 (compute_change): Likewise.
13641 * wcsmbs/wcscat.c (__wcscat): Likewise.
13642 * wcsmbs/wcschr.c (wcschr): Likewise.
13643 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13644 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13645 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13646 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13647 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13648 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13649 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13650 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13651 * wcsmbs/wmemset.c (wmemset): Likewise.
13653 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13655 * scripts/config.guess: Update to version 2013-05-16.
13656 * scripts/config.sub: Update to version 2013-04-24.
13657 * scripts/install-sh: Update to version 2011-11-20.07.
13658 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13659 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13661 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13663 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13664 * elf/sln.c: Likewise.
13665 * hurd/hurd/ioctl.h: Likewise.
13666 * hurd/hurdmalloc.c: Likewise.
13667 * hurd/xattr.c: Likewise.
13668 * include/shlib-compat.h: Likewise.
13669 * inet/ruserpass.c: Likewise.
13670 * libio/iofgets_u.c: Likewise.
13671 * libio/iofgetws_u.c: Likewise.
13672 * locale/programs/ld-identification.c: Likewise.
13673 * locale/programs/ld-time.c: Likewise.
13674 * mach/msg-destroy.c: Likewise.
13675 * nss/nss_files/files-netgrp.c: Likewise.
13676 * resolv/res_data.c: Likewise.
13677 * soft-fp/op-1.h: Likewise.
13678 * soft-fp/op-2.h: Likewise.
13679 * soft-fp/op-4.h: Likewise.
13680 * soft-fp/op-common.h: Likewise.
13681 * stdio-common/printf_fphex.c: Likewise.
13682 * stdlib/strtod_l.c: Likewise.
13683 * sunrpc/rpc/clnt.h: Likewise.
13684 * sysdeps/generic/framestate.c: Likewise.
13685 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13686 * sysdeps/i386/bsd-setjmp.S: Likewise.
13687 * sysdeps/i386/__longjmp.S: Likewise.
13688 * sysdeps/i386/setjmp.S: Likewise.
13689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13707 * sysdeps/ieee754/support.c: Likewise.
13708 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13709 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13710 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13711 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13712 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13713 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13714 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13715 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13716 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13717 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13718 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13719 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13720 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13722 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13723 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13724 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13727 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13729 * posix/transbug.c: Remove executable mode.
13731 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13733 * crypt/speeds.c: Remove trailing whitespace.
13734 * dlfcn/default.c: Likewise.
13735 * elf/ifuncdep2.c: Likewise.
13736 * elf/ifuncmain1.c: Likewise.
13737 * elf/ifuncmain1vis.c: Likewise.
13738 * elf/testobj.h: Likewise.
13739 * elf/tst-stackguard1.c: Likewise.
13740 * gmon/sys/gmon.h: Likewise.
13741 * hurd/hurdmsg.c: Likewise.
13742 * hurd/new-fd.c: Likewise.
13743 * hurd/ports-get.c: Likewise.
13744 * iconvdata/ibm1008_420.c: Likewise.
13745 * inet/tst-getni1.c: Likewise.
13746 * inet/tst-getni2.c: Likewise.
13747 * libio/ioungetc.c: Likewise.
13748 * libio/wfiledoalloc.c: Likewise.
13749 * manual/libm-err-tab.pl: Likewise.
13750 * math/w_dremf.c: Likewise.
13751 * misc/ftruncate.c: Likewise.
13752 * posix/bug-glob2.c: Likewise.
13753 * posix/tst-pcre.c: Likewise.
13754 * posix/wait4.c: Likewise.
13755 * resolv/README: Likewise.
13756 * resolv/res_debug.h: Likewise.
13757 * resolv/tst-inet_ntop.c: Likewise.
13758 * setjmp/bug269-setjmp.c: Likewise.
13759 * soft-fp/extended.h: Likewise.
13760 * soft-fp/op-1.h: Likewise.
13761 * soft-fp/op-2.h: Likewise.
13762 * soft-fp/op-4.h: Likewise.
13763 * soft-fp/op-8.h: Likewise.
13764 * soft-fp/testit.c: Likewise.
13765 * stdio-common/bug16.c: Likewise.
13766 * stdlib/random.c: Likewise.
13767 * sunrpc/rpcsvc/rquota.x: Likewise.
13768 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13769 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13771 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13772 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13773 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13774 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13777 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13778 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13797 * sysdeps/ieee754/s_lib_version.c: Likewise.
13798 * sysdeps/mach/hurd/check_fds.c: Likewise.
13799 * sysdeps/mach/hurd/getsockname.c: Likewise.
13800 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13801 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13802 * sysdeps/powerpc/bits/link.h: Likewise.
13803 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13804 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13805 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13806 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13807 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13809 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13810 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13811 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13812 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13814 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13816 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13817 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13818 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13824 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13825 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13826 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13828 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13830 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13835 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13836 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13837 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13838 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13839 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13840 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13841 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13842 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13843 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13848 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13855 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13856 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13858 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13859 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13861 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13862 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13865 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13867 * sysdeps/powerpc/sysdep.h: Likewise.
13868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13869 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13870 * sysdeps/sh/dl-trampoline.S: Likewise.
13871 * sysdeps/sh/memset.S: Likewise.
13872 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13873 * sysdeps/sh/strlen.S: Likewise.
13874 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13875 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13876 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13877 * sysdeps/sparc/sparc32/rem.S: Likewise.
13878 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13879 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13880 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13881 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13882 * sysdeps/sparc/sparc32/urem.S: Likewise.
13883 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13884 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13885 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13886 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13887 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13888 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13889 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13890 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13891 * sysdeps/unix/bsd/times.c: Likewise.
13892 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13893 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13898 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13899 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13904 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13905 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13910 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13911 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13912 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13913 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13914 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13915 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13916 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13917 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13919 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13920 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13921 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13922 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13923 * sysdeps/x86_64/strcspn.S: Likewise.
13925 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13927 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13928 generated file. Regenerate properly from gen-translit.pl.
13929 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13930 locale/C-translit.h.
13932 2013-06-05 Andreas Schwab <schwab@suse.de>
13935 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13936 week as 6 instead of -1.
13937 * time/tst-strptime.c (day_tests): Add test case.
13939 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13941 * sysdeps/generic/math_private.h
13942 (libc_feholdexcept_setround_53bit): Replace with
13943 libc_feholdsetround_53bit.
13944 (libc_feupdateenv_53bit): Replace with
13945 libc_feresetround_53bit.
13946 (SET_RESTORE_ROUND_53BIT): Adjust.
13948 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13950 * string/test-strchrnul.c: Add copyright header.
13952 * posix/tst-getaddrinfo4.c: Increase test timeout.
13954 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13957 * math/libm-test.inc (MAX_EXP): Remove
13959 (ulp): Use MIN_EXP - MANT_DIG.
13960 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13962 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13964 * po/be.po: Revert last change.
13965 * po/zh_CN.po: Likewise.
13966 * po/header.pot: Likewise.
13968 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13970 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13971 link-libc-deps to empty as target-specific variable.
13972 * Makerules (link-libc-args): New variable.
13973 (libc-for-link): Likewise.
13974 (link-libc-deps): Likewise.
13975 (lib%.so): Depend on $(link-libc-deps). Link with
13977 (build-module): Link with $(link-libc-args).
13978 (build-module-asneeded): Likewise.
13979 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13981 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13982 target-specific variable.
13983 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13984 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13985 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13987 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13989 ($(objpfx)libpcprofile.so): Likewise.
13990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13992 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13993 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13994 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13996 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13997 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13998 * login/Makefile ($(objpfx)libutil.so): Likewise.
13999 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14000 * math/Makefile ($(objpfx)libm.so): Likewise.
14001 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14002 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14003 variable instead of depending directly on libc.
14004 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14005 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14007 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14009 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14010 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14011 ($(objpfx)libanl.so): Likewise.
14012 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14014 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14016 * sysdeps/i386/fpu/Makefile: Remove file.
14017 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14018 ($(objpfx)libm.so): Remove dependency on ld.so.
14020 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14023 * nis/yp_xdr.c (XDRMAXNAME): Define.
14024 (XDRMAXRECORD): Define.
14025 (xdr_domainname): Use XDRMAXNAME.
14026 (xdr_mapname): Likewise.
14027 (xdr_peername): Likewise.
14028 (xdr_keydat): Use XDRMAXRECORD.
14029 (xdr_valdat): Likewise.
14031 2013-05-30 Jeff Law <law@redhat.com>
14034 * manual/errno.texi (ESTALE): Update to account for more than
14035 just NFS file systems.
14036 * sysdeps/gnu/errlist.c: Regenerated.
14038 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14041 * elf/Makefile (tests): Add tst-null-argv.
14042 (modules-names): Add tst-null-argv-lib.
14043 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14044 (tst-null-argv-ENV): Set environment for tst-null-argv.
14045 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14046 (RTLD_PROGNAME): New macro.
14047 * elf/tst-null-argv.c: New test case.
14048 * elf/tst-null-argv-lib.c: Library for test case.
14049 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14050 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14051 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14052 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14053 * elf/dl-init.c (call_init): Likewise.
14054 (_dl_init): Likewise.
14055 * elf/dl-load.c (print_search_path): Likewise.
14056 (_dl_map_object): Likewise.
14057 * elf/dl-lookup.c (do_lookup_x): Likewise.
14058 (add_dependency): Likewise.
14059 (_dl_lookup_symbol_x): Likewise.
14060 (_dl_debug_bindings): Likewise.
14061 * elf/dl-open.c (_dl_show_scope): Likewise.
14062 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14063 * elf/dl-version.c (match_symbol): Likewise.
14064 (_dl_check_map_versions): Likewise.
14065 * elf/rtld.c (dl_main): Likewise.
14066 (print_unresolved): Use RTLD_PROGNAME.
14067 (print_missing_version): Likewise.
14068 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14069 (elf_machine_rela): Likewise.
14070 * sysdeps/powerpc/powerpc32/dl-machine.c
14071 (__process_machine_rela): Likewise.
14072 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14085 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14087 * po/be.po: Add descriptive title.
14088 * po/zh_CN.po: Likewise.
14089 * po/header.pot: Likewise.
14091 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14093 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14095 (enlarge_archive): Likewise.
14097 2013-05-28 Ben North <ben@redfrontdoor.org>
14099 * manual/arith.texi (frexp): It is the magnitude of the return
14100 value which lies in [0.5, 1), not the return value itself.
14102 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14106 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14108 * stdio-common/bug26.c (main): Correct fscanf template.
14110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14111 declare _dl_skip_args.
14113 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14116 * manual/platform.texi: Add missing @end deftypefun.
14118 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14122 bit of mantissa of 2^16382.
14123 * math/libm-test.inc (hypot_test_data): Add more tests.
14125 * math/libm-test.inc: Add drem and pow10 to list of tested
14127 (pow10_test): New function.
14128 (drem_test): Likewise.
14129 (drem_test_tonearest): Likewise.
14130 (drem_test_towardzero): Likewise.
14131 (drem_test_downward): Likewise.
14132 (drem_test_upward): Likewise.
14133 (main): Call the new functions.
14135 * math/libm-test.inc (finite_test_data): Remove.
14136 (finite_test): Run tests from isfinite_test_data.
14137 (gamma_test_data): Remove.
14138 (gamma_test): Run tests from lgamma_test_data.
14139 * sysdeps/i386/fpu/libm-test-ulps: Update.
14140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14144 * manual/platform.texi: Add PowerPC PPR function set documentation.
14145 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14148 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14150 * math/libm-test.inc (MAX_EXP): Define.
14152 (ulp): New function.
14153 (check_float_internal): Use ULPDIFF.
14154 (cpow_test): Disable failing test.
14155 (check_ulp): Test ulp() implemetnation.
14156 (main): Call check_ulp before starting tests.
14158 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14160 * math/gen-libm-test.pl (generate_testfile): Do not handle
14161 START_DATA and END_DATA.
14162 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14164 (acos_tonearest_test_data): Likewise.
14165 (acos_towardzero_test_data): Likewise.
14166 (acos_downward_test_data): Likewise.
14167 (acos_upward_test_data): Likewise.
14168 (acosh_test_data): Likewise.
14169 (asin_test_data): Likewise.
14170 (asin_tonearest_test_data): Likewise.
14171 (asin_towardzero_test_data): Likewise.
14172 (asin_downward_test_data): Likewise.
14173 (asin_upward_test_data): Likewise.
14174 (asinh_test_data): Likewise.
14175 (atan_test_data): Likewise.
14176 (atanh_test_data): Likewise.
14177 (atan2_test_data): Likewise.
14178 (cabs_test_data): Likewise.
14179 (cacos_test_data): Likewise.
14180 (cacosh_test_data): Likewise.
14181 (carg_test_data): Likewise.
14182 (casin_test_data): Likewise.
14183 (casinh_test_data): Likewise.
14184 (catan_test_data): Likewise.
14185 (catanh_test_data): Likewise.
14186 (cbrt_test_data): Likewise.
14187 (ccos_test_data): Likewise.
14188 (ccosh_test_data): Likewise.
14189 (ceil_test_data): Likewise.
14190 (cexp_test_data): Likewise.
14191 (cimag_test_data): Likewise.
14192 (clog_test_data): Likewise.
14193 (clog10_test_data): Likewise.
14194 (conj_test_data): Likewise.
14195 (copysign_test_data): Likewise.
14196 (cos_test_data): Likewise.
14197 (cos_tonearest_test_data): Likewise.
14198 (cos_towardzero_test_data): Likewise.
14199 (cos_downward_test_data): Likewise.
14200 (cos_upward_test_data): Likewise.
14201 (cosh_test_data): Likewise.
14202 (cosh_tonearest_test_data): Likewise.
14203 (cosh_towardzero_test_data): Likewise.
14204 (cosh_downward_test_data): Likewise.
14205 (cosh_upward_test_data): Likewise.
14206 (cpow_test_data): Likewise.
14207 (cproj_test_data): Likewise.
14208 (creal_test_data): Likewise.
14209 (csin_test_data): Likewise.
14210 (csinh_test_data): Likewise.
14211 (csqrt_test_data): Likewise.
14212 (ctan_test_data): Likewise.
14213 (ctan_tonearest_test_data): Likewise.
14214 (ctan_towardzero_test_data): Likewise.
14215 (ctan_downward_test_data): Likewise.
14216 (ctan_upward_test_data): Likewise.
14217 (ctanh_test_data): Likewise.
14218 (ctanh_tonearest_test_data): Likewise.
14219 (ctanh_towardzero_test_data): Likewise.
14220 (ctanh_downward_test_data): Likewise.
14221 (ctanh_upward_test_data): Likewise.
14222 (erf_test_data): Likewise.
14223 (erfc_test_data): Likewise.
14224 (exp_test_data): Likewise.
14225 (exp_tonearest_test_data): Likewise.
14226 (exp_towardzero_test_data): Likewise.
14227 (exp_downward_test_data): Likewise.
14228 (exp_upward_test_data): Likewise.
14229 (exp10_test_data): Likewise.
14230 (exp2_test_data): Likewise.
14231 (expm1_test_data): Likewise.
14232 (fabs_test_data): Likewise.
14233 (fdim_test_data): Likewise.
14234 (finite_test_data): Likewise.
14235 (floor_test_data): Likewise.
14236 (fma_test_data): Likewise.
14237 (fma_towardzero_test_data): Likewise.
14238 (fma_downward_test_data): Likewise.
14239 (fma_upward_test_data): Likewise.
14240 (fmax_test_data): Likewise.
14241 (fmin_test_data): Likewise.
14242 (fmod_test_data): Likewise.
14243 (fpclassify_test_data): Likewise.
14244 (frexp_test_data): Likewise.
14245 (gamma_test_data): Likewise.
14246 (hypot_test_data): Likewise.
14247 (ilogb_test_data): Likewise.
14248 (isfinite_test_data): Likewise.
14249 (isgreater_test_data): Likewise.
14250 (isgreaterequal_test_data): Likewise.
14251 (isinf_test_data): Likewise.
14252 (isless_test_data): Likewise.
14253 (islessequal_test_data): Likewise.
14254 (islessgreater_test_data): Likewise.
14255 (isnan_test_data): Likewise.
14256 (isnormal_test_data): Likewise.
14257 (issignaling_test_data): Likewise.
14258 (isunordered_test_data): Likewise.
14259 (j0_test_data): Likewise.
14260 (j1_test_data): Likewise.
14261 (jn_test_data): Likewise.
14262 (ldexp_test_data): Likewise.
14263 (lgamma_test_data): Likewise.
14264 (lrint_test_data): Likewise.
14265 (lrint_tonearest_test_data): Likewise.
14266 (lrint_towardzero_test_data): Likewise.
14267 (lrint_downward_test_data): Likewise.
14268 (lrint_upward_test_data): Likewise.
14269 (llrint_test_data): Likewise.
14270 (llrint_tonearest_test_data): Likewise.
14271 (llrint_towardzero_test_data): Likewise.
14272 (llrint_downward_test_data): Likewise.
14273 (llrint_upward_test_data): Likewise.
14274 (log_test_data): Likewise.
14275 (log10_test_data): Likewise.
14276 (log1p_test_data): Likewise.
14277 (log2_test_data): Likewise.
14278 (logb_test_data): Likewise.
14279 (logb_downward_test_data): Likewise.
14280 (lround_test_data): Likewise.
14281 (llround_test_data): Likewise.
14282 (modf_test_data): Likewise.
14283 (nearbyint_test_data): Likewise.
14284 (nextafter_test_data): Likewise.
14285 (nexttoward_test_data): Likewise.
14286 (pow_test_data): Likewise.
14287 (pow_tonearest_test_data): Likewise.
14288 (pow_towardzero_test_data): Likewise.
14289 (pow_downward_test_data): Likewise.
14290 (pow_upward_test_data): Likewise.
14291 (remainder_test_data): Likewise.
14292 (remainder_tonearest_test_data): Likewise.
14293 (remainder_towardzero_test_data): Likewise.
14294 (remainder_downward_test_data): Likewise.
14295 (remainder_upward_test_data): Likewise.
14296 (remquo_test_data): Likewise.
14297 (rint_test_data): Likewise.
14298 (rint_tonearest_test_data): Likewise.
14299 (rint_towardzero_test_data): Likewise.
14300 (rint_downward_test_data): Likewise.
14301 (rint_upward_test_data): Likewise.
14302 (round_test_data): Likewise.
14303 (scalb_test_data): Likewise.
14304 (scalbn_test_data): Likewise.
14305 (scalbln_test_data): Likewise.
14306 (signbit_test_data): Likewise.
14307 (sin_test_data): Likewise.
14308 (sin_tonearest_test_data): Likewise.
14309 (sin_towardzero_test_data): Likewise.
14310 (sin_downward_test_data): Likewise.
14311 (sin_upward_test_data): Likewise.
14312 (sincos_test_data): Likewise.
14313 (sinh_test_data): Likewise.
14314 (sinh_tonearest_test_data): Likewise.
14315 (sinh_towardzero_test_data): Likewise.
14316 (sinh_downward_test_data): Likewise.
14317 (sinh_upward_test_data): Likewise.
14318 (sqrt_test_data): Likewise.
14319 (tan_test_data): Likewise.
14320 (tan_tonearest_test_data): Likewise.
14321 (tan_towardzero_test_data): Likewise.
14322 (tan_downward_test_data): Likewise.
14323 (tan_upward_test_data): Likewise.
14324 (tanh_test_data): Likewise.
14325 (tgamma_test_data): Likewise.
14326 (trunc_test_data): Likewise.
14327 (y0_test_data): Likewise.
14328 (y1_test_data): Likewise.
14329 (yn_test_data): Likewise.
14330 (significand_test_data): Likewise.
14332 * math/gen-libm-test.pl (@functions): Remove variable.
14333 (generate_testfile): Don't handle START and END lines.
14334 * math/libm-test.inc (START): New macro.
14336 (END_COMPLEX): Likewise.
14337 (acos_test): Use END macro without arguments.
14338 (acos_test_tonearest): Likewise.
14339 (acos_test_towardzero): Likewise.
14340 (acos_test_downward): Likewise.
14341 (acos_test_upward): Likewise.
14342 (acosh_test): Likewise.
14343 (asin_test): Likewise.
14344 (asin_test_tonearest): Likewise.
14345 (asin_test_towardzero): Likewise.
14346 (asin_test_downward): Likewise.
14347 (asin_test_upward): Likewise.
14348 (asinh_test): Likewise.
14349 (atan_test): Likewise.
14350 (atanh_test): Likewise.
14351 (atan2_test): Likewise.
14352 (cabs_test): Likewise.
14353 (cacos_test): Use END_COMPLEX macro without arguments.
14354 (cacosh_test): Likewise.
14355 (carg_test): Use END macro without arguments.
14356 (casin_test): Use END_COMPLEX macro without arguments.
14357 (casinh_test): Likewise.
14358 (catan_test): Likewise.
14359 (catanh_test): Likewise.
14360 (cbrt_test): Use END macro without arguments.
14361 (ccos_test): Use END_COMPLEX macro without arguments.
14362 (ccosh_test): Likewise.
14363 (ceil_test): Use END macro without arguments.
14364 (cexp_test): Use END_COMPLEX macro without arguments.
14365 (cimag_test): Use END macro without arguments.
14366 (clog_test): Use END_COMPLEX macro without arguments.
14367 (clog10_test): Likewise.
14368 (conj_test): Likewise.
14369 (copysign_test): Use END macro without arguments.
14370 (cos_test): Likewise.
14371 (cos_test_tonearest): Likewise.
14372 (cos_test_towardzero): Likewise.
14373 (cos_test_downward): Likewise.
14374 (cos_test_upward): Likewise.
14375 (cosh_test): Likewise.
14376 (cosh_test_tonearest): Likewise.
14377 (cosh_test_towardzero): Likewise.
14378 (cosh_test_downward): Likewise.
14379 (cosh_test_upward): Likewise.
14380 (cpow_test): Use END_COMPLEX macro without arguments.
14381 (cproj_test): Likewise.
14382 (creal_test): Use END macro without arguments.
14383 (csin_test): Use END_COMPLEX macro without arguments.
14384 (csinh_test): Likewise.
14385 (csqrt_test): Likewise.
14386 (ctan_test): Likewise.
14387 (ctan_test_tonearest): Likewise.
14388 (ctan_test_towardzero): Likewise.
14389 (ctan_test_downward): Likewise.
14390 (ctan_test_upward): Likewise.
14391 (ctanh_test): Likewise.
14392 (ctanh_test_tonearest): Likewise.
14393 (ctanh_test_towardzero): Likewise.
14394 (ctanh_test_downward): Likewise.
14395 (ctanh_test_upward): Likewise.
14396 (erf_test): Use END macro without arguments.
14397 (erfc_test): Likewise.
14398 (exp_test): Likewise.
14399 (exp_test_tonearest): Likewise.
14400 (exp_test_towardzero): Likewise.
14401 (exp_test_downward): Likewise.
14402 (exp_test_upward): Likewise.
14403 (exp10_test): Likewise.
14404 (exp2_test): Likewise.
14405 (expm1_test): Likewise.
14406 (fabs_test): Likewise.
14407 (fdim_test): Likewise.
14408 (finite_test): Likewise.
14409 (floor_test): Likewise.
14410 (fma_test): Likewise.
14411 (fma_test_towardzero): Likewise.
14412 (fma_test_downward): Likewise.
14413 (fma_test_upward): Likewise.
14414 (fmax_test): Likewise.
14415 (fmin_test): Likewise.
14416 (fmod_test): Likewise.
14417 (fpclassify_test): Likewise.
14418 (frexp_test): Likewise.
14419 (gamma_test): Likewise.
14420 (hypot_test): Likewise.
14421 (ilogb_test): Likewise.
14422 (isfinite_test): Likewise.
14423 (isgreater_test): Likewise.
14424 (isgreaterequal_test): Likewise.
14425 (isinf_test): Likewise.
14426 (isless_test): Likewise.
14427 (islessequal_test): Likewise.
14428 (islessgreater_test): Likewise.
14429 (isnan_test): Likewise.
14430 (isnormal_test): Likewise.
14431 (issignaling_test): Likewise.
14432 (isunordered_test): Likewise.
14433 (j0_test): Likewise.
14434 (j1_test): Likewise.
14435 (jn_test): Likewise.
14436 (ldexp_test): Likewise.
14437 (lgamma_test): Likewise.
14438 (lrint_test): Likewise.
14439 (lrint_test_tonearest): Likewise.
14440 (lrint_test_towardzero): Likewise.
14441 (lrint_test_downward): Likewise.
14442 (lrint_test_upward): Likewise.
14443 (llrint_test): Likewise.
14444 (llrint_test_tonearest): Likewise.
14445 (llrint_test_towardzero): Likewise.
14446 (llrint_test_downward): Likewise.
14447 (llrint_test_upward): Likewise.
14448 (log_test): Likewise.
14449 (log10_test): Likewise.
14450 (log1p_test): Likewise.
14451 (log2_test): Likewise.
14452 (logb_test): Likewise.
14453 (logb_test_downward): Likewise.
14454 (lround_test): Likewise.
14455 (llround_test): Likewise.
14456 (modf_test): Likewise.
14457 (nearbyint_test): Likewise.
14458 (nextafter_test): Likewise.
14459 (nexttoward_test): Likewise.
14460 (pow_test): Likewise.
14461 (pow_test_tonearest): Likewise.
14462 (pow_test_towardzero): Likewise.
14463 (pow_test_downward): Likewise.
14464 (pow_test_upward): Likewise.
14465 (remainder_test): Likewise.
14466 (remainder_test_tonearest): Likewise.
14467 (remainder_test_towardzero): Likewise.
14468 (remainder_test_downward): Likewise.
14469 (remainder_test_upward): Likewise.
14470 (remquo_test): Likewise.
14471 (rint_test): Likewise.
14472 (rint_test_tonearest): Likewise.
14473 (rint_test_towardzero): Likewise.
14474 (rint_test_downward): Likewise.
14475 (rint_test_upward): Likewise.
14476 (round_test): Likewise.
14477 (scalb_test): Likewise.
14478 (scalbn_test): Likewise.
14479 (scalbln_test): Likewise.
14480 (signbit_test): Likewise.
14481 (sin_test): Likewise.
14482 (sin_test_tonearest): Likewise.
14483 (sin_test_towardzero): Likewise.
14484 (sin_test_downward): Likewise.
14485 (sin_test_upward): Likewise.
14486 (sincos_test): Likewise.
14487 (sinh_test): Likewise.
14488 (sinh_test_tonearest): Likewise.
14489 (sinh_test_towardzero): Likewise.
14490 (sinh_test_downward): Likewise.
14491 (sinh_test_upward): Likewise.
14492 (sqrt_test): Likewise.
14493 (tan_test): Likewise.
14494 (tan_test_tonearest): Likewise.
14495 (tan_test_towardzero): Likewise.
14496 (tan_test_downward): Likewise.
14497 (tan_test_upward): Likewise.
14498 (tanh_test): Likewise.
14499 (tgamma_test): Likewise.
14500 (trunc_test): Likewise.
14501 (y0_test): Likewise.
14502 (y1_test): Likewise.
14503 (yn_test): Likewise.
14504 (significand_test): Likewise.
14506 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14509 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14511 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14514 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14515 __ppc_mdoio and __ppc_mdoom.
14516 * manual/platform.texi: Document new functions __ppc_yield,
14517 __ppc_mdoio and __ppc_mdoom.
14519 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14521 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14522 (main): Mention "tls" pseudo-hwcap is legacy.
14523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14525 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14527 * math/gen-libm-test.pl (parse_args): Output only string of
14528 arguments as text for test name, not full call or descriptions of
14529 tests for extra outputs.
14530 (generate_testfile): Do not pass function name to parse_args.
14531 Generate this_func variable from START.
14532 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14534 (struct test_ff_f_data): Likewise.
14535 (test_ff_f_data_nexttoward): Likewise.
14536 (struct test_fi_f_data): Likewise.
14537 (struct test_fl_f_data): Likewise.
14538 (struct test_if_f_data): Likewise.
14539 (struct test_fff_f_data): Likewise.
14540 (struct test_c_f_data): Likewise.
14541 (struct test_f_f1_data): Likewise. Remove field extra_name.
14542 (struct test_fF_f1_data): Likewise.
14543 (struct test_ffI_f1_data): Likewise.
14544 (struct test_c_c_data): Rename test_name field to arg_str.
14545 (struct test_cc_c_data): Likewise.
14546 (struct test_f_i_data): Likewise.
14547 (struct test_ff_i_data): Likewise.
14548 (struct test_f_l_data): Likewise.
14549 (struct test_f_L_data): Likewise.
14550 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14552 (COMMON_TEST_SETUP): New macro.
14553 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14554 (COMMON_TEST_CLEANUP): Likewise.
14555 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14556 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14558 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14559 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14561 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14562 (RUN_TEST_fff_f): Take argument string. Call new setup and
14564 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14565 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14567 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14568 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14570 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14571 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14573 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14574 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14576 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14577 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14579 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14580 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14582 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14583 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14585 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14586 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14588 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14589 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14591 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14592 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14594 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14595 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14597 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14598 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14600 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14601 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14603 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14604 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14606 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14607 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14609 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14611 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14613 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14614 to _sifields.sigfault.
14615 (si_addr_lsb): Define new macro.
14616 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14618 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14620 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14623 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14625 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14627 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14628 loading the domain.
14630 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14632 * math/gen-libm-test.pl (parse_args): Do not include expected
14633 result in test name.
14634 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14636 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14637 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14638 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14641 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14643 * benchtests/Makefile: Sort function entries.
14645 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14646 tanh, asinh, acosh, atanh.
14647 * benchtests/acos-inputs: New file.
14648 * benchtests/acosh-inputs: New file.
14649 * benchtests/asin-inputs: New file.
14650 * benchtests/asinh-inputs: New file.
14651 * benchtests/atanh-inputs: New file.
14652 * benchtests/cosh-inputs: New file.
14653 * benchtests/log-inputs: New file.
14654 * benchtests/sinh-inputs: New file.
14655 * benchtests/tanh-inputs: New file.
14657 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14660 * posix/tst-getaddrinfo4.c: New test.
14661 * posix/Makefile (tests): Add it.
14663 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14666 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14667 when no services were used.
14668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14669 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14671 2013-05-21 Andreas Schwab <schwab@suse.de>
14674 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14675 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14677 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14678 redundant variable declarations and reallocation of buffer when
14679 parsing as IPv6 address. Always set NSS status when called from
14680 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14681 buffer too small. Correct computation of needed size.
14682 * nss/Makefile (tests): Add test-digits-dots.
14683 * nss/test-digits-dots.c: New test.
14685 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14687 * benchtests/Makefile: Remove instructions for adding
14689 * benchtests/README: New file to explain how to execute and
14690 enhance the benchmark tests.
14692 2013-05-21 Andreas Schwab <schwab@suse.de>
14695 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14696 * setjmp/tst-sigsetjmp.c: New test.
14698 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14700 * sysdeps/x86_64/memset.S (memset): New implementation.
14701 (__bzero): Likewise.
14702 (__memset_tail): New function.
14704 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14706 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14707 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14708 __memcpy_sse2_unaligned ifunc selection.
14709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14710 Add memcpy-sse2-unaligned.S.
14711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14712 Add: __memcpy_sse2_unaligned.
14714 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14717 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14718 math_force_eval before restoring floating-point envrionment.
14719 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14720 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14722 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14724 (__nearbyintl): Use math_force_eval before restoring
14725 floating-point environment.
14726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14728 * math/gen-libm-test.pl (special_functions): Remove.
14729 (parse_args): Don't handle TEST_extra. Handle functions with no
14731 * math/libm-test.inc (struct test_sincos_data): Replace with
14732 struct test_fFF_11_data.
14733 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14734 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14735 (sincos_test_data): Change element type to struct
14736 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14737 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14738 RUN_TEST_LOOP_sincos.
14739 * math/README.libm-test: Don't mention special handling of
14740 individual functions.
14741 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14744 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748 * math/gen-libm-test.pl (get_variable): Remove function.
14749 (parse_args): Don't show pointer parameters to call in test
14750 names. Use "extra output N" in test names for extra outputs
14751 rather than naming variables.
14753 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14756 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14757 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14758 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14760 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14762 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14765 * math/gen-libm-test.pl (@tests): Remove variable.
14766 ($count): Likewise.
14767 (new_test): Remove function.
14768 (show_exceptions): New function.
14769 (special_functions): Use show_exceptions instead of new_test.
14770 (parse_args): Likewise.
14771 (generate_testfile): Pass only function name in generated call to
14772 print_max_error or print_complex_max_error.
14773 (get_ulps): Do not handle complex tests specially.
14774 (output_test): Rename to ...
14775 (get_all_ulps_for_test): ... this. Return a string rather than
14776 printing to a file. Require ulps to be present.
14777 (output_ulps): Generate arrays rather than #defines.
14778 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14779 (struct ulp_data): New type.
14780 (BUILD_COMPLEX_ULP): Remove macro.
14781 (compare_ulp_data): New function.
14782 (find_ulps): Likewise.
14783 (find_test_ulps): Likewise.
14784 (find_function_ulps): Likewise.
14785 (find_complex_function_ulps): Likewise.
14786 (print_max_error): Determine allowed ulps using
14787 find_function_ulps.
14788 (print_complex_max_error): Determine allowed ulps using
14789 find_complex_function_ulps.
14790 (check_float_internal): Determine max ulps using find_test_ulps.
14791 (check_float): Do not take max_ulp parameter. Update call to
14792 check_float_internal.
14793 (check_complex): Likewise.
14794 (check_int): Do not take max_ulp parameter.
14795 (check_long): Likewise.
14796 (check_bool): Likewise.
14797 (check_longlong): Likewise.
14798 (struct test_f_f_data): Remove max_ulp field.
14799 (struct test_ff_f_data): Likewise.
14800 (struct test_ff_f_data_nexttoward): Likewise.
14801 (struct test_fi_f_data): Likewise.
14802 (struct test_fl_f_data): Likewise.
14803 (struct test_if_f_data): Likewise.
14804 (struct test_fff_f_data): Likewise.
14805 (struct test_c_f_data): Likewise.
14806 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14807 (struct test_fF_f1_data): Likewise.
14808 (struct test_ffI_f1_data): Likewise.
14809 (struct test_c_c_data): Remove max_ulp field.
14810 (struct test_cc_c_data): Likewise.
14811 (struct test_f_i_data): Likewise.
14812 (struct test_ff_i_data): Likewise.
14813 (struct test_f_l_data): Likewise.
14814 (struct test_f_L_data): Likewise.
14815 (struct test_sincos_data): Likewise.
14816 (RUN_TEST_f_f): Do not handle ulps.
14817 (RUN_TEST_LOOP_f_f): Likewise.
14818 (RUN_TEST_2_f): Likewise.
14819 (RUN_TEST_LOOP_2_f): Likewise.
14820 (RUN_TEST_fff_f): Likewise.
14821 (RUN_TEST_LOOP_fff_f): Likewise.
14822 (RUN_TEST_c_f): Likewise.
14823 (RUN_TEST_LOOP_c_f): Likewise.
14824 (RUN_TEST_f_f1): Likewise.
14825 (RUN_TEST_LOOP_f_f1): Likewise.
14826 (RUN_TEST_fF_f1): Likewise.
14827 (RUN_TEST_LOOP_fF_f1): Likewise.
14828 (RUN_TEST_fI_f1): Likewise.
14829 (RUN_TEST_LOOP_fI_f1): Likewise.
14830 (RUN_TEST_ffI_f1): Likewise.
14831 (RUN_TEST_LOOP_ffI_f1): Likewise.
14832 (RUN_TEST_c_c): Likewise.
14833 (RUN_TEST_LOOP_c_c): Likewise.
14834 (RUN_TEST_cc_c): Likewise.
14835 (RUN_TEST_LOOP_cc_c): Likewise.
14836 (RUN_TEST_f_i): Likewise.
14837 (RUN_TEST_LOOP_f_i): Likewise.
14838 (RUN_TEST_f_i_tg): Likewise.
14839 (RUN_TEST_LOOP_f_i_tg): Likewise.
14840 (RUN_TEST_ff_i_tg): Likewise.
14841 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14842 (RUN_TEST_f_b): Likewise.
14843 (RUN_TEST_LOOP_f_b): Likewise.
14844 (RUN_TEST_f_b_tg): Likewise.
14845 (RUN_TEST_LOOP_f_b_tg): Likewise.
14846 (RUN_TEST_f_l): Likewise.
14847 (RUN_TEST_LOOP_f_l): Likewise.
14848 (RUN_TEST_f_L): Likewise.
14849 (RUN_TEST_LOOP_f_L): Likewise.
14850 (RUN_TEST_sincos): Likewise.
14851 (RUN_TEST_LOOP_sincos): Likewise.
14853 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14858 main case of finite arguments, set rounding mode to FE_TONEAREST
14859 and discard exceptions.
14860 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14862 (remainder_tonearest_test_data): New variable.
14863 (remainder_test_tonearest): New function.
14864 (remainder_towardzero_test_data): New variable.
14865 (remainder_test_towardzero): New function.
14866 (remainder_downward_test_data): New variable.
14867 (remainder_test_downward): New function.
14868 (remainder_upward_test_data): New variable.
14869 (remainder_test_upward): New function.
14870 (main): Call the new test functions.
14872 * math/libm-test.inc (struct test_f_f1_data): Remove field
14874 (struct test_fF_f1_data): Likewise.
14875 (struct test_ffI_f1_data): Likewise.
14876 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14877 based on value of EXTRA_EXPECTED.
14878 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14879 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14880 EXTRA_VAR based on value of EXTRA_EXPECTED.
14881 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14882 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14883 EXTRA_VAR based on value of EXTRA_EXPECTED.
14884 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14885 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14886 EXTRA_VAR based on value of EXTRA_EXPECTED.
14887 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14888 * math/gen-libm-test.pl (parse_args): Don't output initializers
14889 for extra output values.
14891 * math/libm-test.inc (check_int): Expect result to be exactly
14892 equal to expected value and do not handle ulps.
14893 (check_long): Likewise.
14894 (check_longlong): Likewise.
14896 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14898 (cimag_test_data): Likewise.
14899 (conj_test_data): Likewise.
14900 (copysign_test_data): Likewise.
14901 (cproj_test_data): Likewise.
14902 (creal_test_data): Likewise.
14903 (fabs_test_data): Likewise.
14904 (fdim_test_data): Likewise.
14905 (finite_test_data): Likewise.
14906 (floor_test_data): Likewise.
14907 (fmax_test_data): Likewise.
14908 (fmin_test_data): Likewise.
14909 (fmod_test_data): Likewise.
14910 (fpclassify_test_data): Likewise.
14911 (frexp_test_data): Likewise.
14912 (ilogb_test_data): Likewise.
14913 (isfinite_test_data): Likewise.
14914 (isgreater_test_data): Likewise.
14915 (isgreaterequal_test_data): Likewise.
14916 (isinf_test_data): Likewise.
14917 (isless_test_data): Likewise.
14918 (islessequal_test_data): Likewise.
14919 (islessgreater_test_data): Likewise.
14920 (isnan_test_data): Likewise.
14921 (isnormal_test_data): Likewise.
14922 (issignaling_test_data): Likewise.
14923 (isunordered_test_data): Likewise.
14924 (ldexp_test_data): Likewise.
14925 (lrint_test_data): Likewise.
14926 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14927 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14928 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14929 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14930 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14931 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14933 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14934 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14935 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14936 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14938 (lrint_downward_test_data): Test for "inexact" exceptions.
14939 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14940 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14941 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14943 (lrint_upward_test_data): Test for "inexact" exceptions.
14944 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14946 (llrint_test_data): Test for "inexact" exceptions.
14947 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14948 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14949 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14950 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14951 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14952 (llrint_downward_test_data): Test for "inexact" exceptions.
14953 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14954 (llrint_upward_test_data): Test for "inexact" exceptions.
14955 (logb_test_data): Likewise.
14956 (logb_downward_test_data): Likewise.
14957 (nextafter_test_data): Likewise.
14958 (nexttoward_test_data): Likewise.
14959 (remainder_test_data): Likewise.
14960 (remquo_test_data): Likewise.
14961 (scalbn_test_data): Likewise.
14962 (scalbln_test_data): Likewise.
14963 (signbit_test_data): Likewise.
14964 (sqrt_test_data): Likewise.
14965 (significand_test_data): Likewise.
14967 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14970 * benchtests/bench-modf.c (struct args): Mark arg0 as
14972 * scripts/bench.pl: Mark members of struct args as volatile.
14974 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14977 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14978 negative infinity on POWER6 or lower.
14979 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14981 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14984 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14985 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14986 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14987 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14988 (_FP_SETQNAN): New macro.
14989 (_FP_SETQNAN_SEMIRAW): Likewise.
14990 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14991 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14992 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14993 (FP_EXTEND): Use _FP_FRAC_SNANP.
14994 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14995 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14997 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14999 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15002 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15004 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15005 with DIVIDE_BY_ZERO_EXCEPTION.
15006 (gamma_test_data): Likewise.
15007 (lgamma_test_data): Likewise.
15008 (log_test_data): Likewise.
15009 (log10_test_data): Likewise.
15010 (log2_test_data): Likewise.
15011 (tgamma_test_data): Likewise.
15013 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15014 (acos_test_tonearest): Likewise.
15015 (acos_test_towardzero): Likewise.
15016 (acos_test_downward): Likewise.
15017 (acos_test_upward): Likewise.
15018 (acosh_test): Likewise.
15019 (asin_test): Likewise.
15020 (asin_test_tonearest): Likewise.
15021 (asin_test_towardzero): Likewise.
15022 (asin_test_downward): Likewise.
15023 (asin_test_upward): Likewise.
15024 (asinh_test): Likewise.
15025 (atan_test): Likewise.
15026 (atanh_test): Likewise.
15027 (atan2_test): Likewise.
15028 (cabs_test): Likewise.
15029 (cacos_test): Likewise.
15030 (cacosh_test): Likewise.
15031 (casin_test): Likewise.
15032 (casinh_test): Likewise.
15033 (catan_test): Likewise.
15034 (catanh_test): Likewise.
15035 (cbrt_test): Likewise.
15036 (ccos_test): Likewise.
15037 (ccosh_test): Likewise.
15038 (cexp_test): Likewise.
15039 (clog_test): Likewise.
15040 (clog10_test): Likewise.
15041 (cos_test): Likewise.
15042 (cos_test_tonearest): Likewise.
15043 (cos_test_towardzero): Likewise.
15044 (cos_test_downward): Likewise.
15045 (cos_test_upward): Likewise.
15046 (cosh_test): Likewise.
15047 (cosh_test_tonearest): Likewise.
15048 (cosh_test_towardzero): Likewise.
15049 (cosh_test_downward): Likewise.
15050 (cosh_test_upward): Likewise.
15051 (cpow_test): Likewise.
15052 (csin_test): Likewise.
15053 (csinh_test): Likewise.
15054 (csqrt_test): Likewise.
15055 (ctan_test): Likewise.
15056 (ctan_test_tonearest): Likewise.
15057 (ctan_test_towardzero): Likewise.
15058 (ctan_test_downward): Likewise.
15059 (ctan_test_upward): Likewise.
15060 (ctanh_test): Likewise.
15061 (ctanh_test_tonearest): Likewise.
15062 (ctanh_test_towardzero): Likewise.
15063 (ctanh_test_downward): Likewise.
15064 (ctanh_test_upward): Likewise.
15065 (erf_test): Likewise.
15066 (erfc_test): Likewise.
15067 (exp_test): Likewise.
15068 (exp_test_tonearest): Likewise.
15069 (exp_test_towardzero): Likewise.
15070 (exp_test_downward): Likewise.
15071 (exp_test_upward): Likewise.
15072 (exp10_test): Likewise.
15073 (exp2_test): Likewise.
15074 (expm1_test): Likewise.
15075 (fmod_test): Likewise.
15076 (gamma_test): Likewise.
15077 (hypot_test): Likewise.
15078 (j0_test): Likewise.
15079 (j1_test): Likewise.
15080 (jn_test): Likewise.
15081 (lgamma_test): Likewise.
15082 (log_test): Likewise.
15083 (log10_test): Likewise.
15084 (log1p_test): Likewise.
15085 (log2_test): Likewise.
15086 (logb_test_downward): Likewise.
15087 (pow_test): Likewise.
15088 (pow_test_tonearest): Likewise.
15089 (pow_test_towardzero): Likewise.
15090 (pow_test_downward): Likewise.
15091 (pow_test_upward): Likewise.
15092 (remainder_test): Likewise.
15093 (remquo_test): Likewise.
15094 (sin_test): Likewise.
15095 (sin_test_tonearest): Likewise.
15096 (sin_test_towardzero): Likewise.
15097 (sin_test_downward): Likewise.
15098 (sin_test_upward): Likewise.
15099 (sincos_test): Likewise.
15100 (sinh_test): Likewise.
15101 (sinh_test_tonearest): Likewise.
15102 (sinh_test_towardzero): Likewise.
15103 (sinh_test_downward): Likewise.
15104 (sinh_test_upward): Likewise.
15105 (sqrt_test): Likewise.
15106 (tan_test): Likewise.
15107 (tan_test_tonearest): Likewise.
15108 (tan_test_towardzero): Likewise.
15109 (tan_test_downward): Likewise.
15110 (tan_test_upward): Likewise.
15111 (tanh_test): Likewise.
15112 (tgamma_test): Likewise.
15113 (y0_test): Likewise.
15114 (y1_test): Likewise.
15115 (yn_test): Likewise.
15117 * math/gen-libm-test.pl (adjust_arg): Remove function.
15118 (special_function): Remove argument $in_func. Only handle
15119 generating output for tables of tests, not inside functions.
15120 (parse_args): Likewise.
15121 (generate_testfile): Remove variable $in_func. Update call to
15123 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15124 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15125 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15126 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15127 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15128 (MAX_VALUE_INIT): Rename macro to max_value.
15129 (MIN_VALUE_INIT): Rename macro to min_value.
15130 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15131 (plus_zero): Remove variable.
15132 (minus_zero): Likewise.
15133 (plus_infty): Likewise.
15134 (minus_infty): Likewise.
15135 (qnan_value): Likewise.
15136 (max_value): Likewise.
15137 (min_value): Likewise.
15138 (min_subnorm_value): Likewise.
15140 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15142 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15143 uint64_t or uint32_t usage.
15144 * crypt/sha256-block.c: Likewise.
15145 * crypt/sha256-crypt.c: Likewise.
15146 * crypt/sha256.c: Likewise.
15147 * crypt/sha512-block.c: Likewise.
15148 * crypt/sha512-crypt.c: Likewise.
15149 * crypt/sha512.c: Likewise.
15150 * debug/backtrace-tst.c: Likewise.
15151 * debug/pcprofiledump.c: Likewise.
15152 * elf/cache.c: Likewise.
15153 * elf/dl-cache.c: Likewise.
15154 * elf/dl-misc.c: Likewise.
15155 * elf/dl-profile.c: Likewise.
15156 * elf/dl-support.c: Likewise.
15157 * elf/ldconfig.c: Likewise.
15158 * elf/sprof.c: Likewise.
15159 * iconv/dummy-repertoire.c: Likewise.
15160 * iconv/iconv_charmap.c: Likewise.
15161 * iconv/skeleton.c: Likewise.
15162 * iconvdata/8bit-generic.c: Likewise.
15163 * iconvdata/cp737.h: Likewise.
15164 * iconvdata/cp775.h: Likewise.
15165 * iconvdata/ibm1008.h: Likewise.
15166 * iconvdata/ibm1025.h: Likewise.
15167 * iconvdata/ibm1046.h: Likewise.
15168 * iconvdata/ibm1097.h: Likewise.
15169 * iconvdata/ibm1112.h: Likewise.
15170 * iconvdata/ibm1122.h: Likewise.
15171 * iconvdata/ibm1123.h: Likewise.
15172 * iconvdata/ibm1124.h: Likewise.
15173 * iconvdata/ibm1129.h: Likewise.
15174 * iconvdata/ibm1130.h: Likewise.
15175 * iconvdata/ibm1132.h: Likewise.
15176 * iconvdata/ibm1133.h: Likewise.
15177 * iconvdata/ibm1137.h: Likewise.
15178 * iconvdata/ibm1140.h: Likewise.
15179 * iconvdata/ibm1141.h: Likewise.
15180 * iconvdata/ibm1142.h: Likewise.
15181 * iconvdata/ibm1143.h: Likewise.
15182 * iconvdata/ibm1144.h: Likewise.
15183 * iconvdata/ibm1145.h: Likewise.
15184 * iconvdata/ibm1146.h: Likewise.
15185 * iconvdata/ibm1147.h: Likewise.
15186 * iconvdata/ibm1148.h: Likewise.
15187 * iconvdata/ibm1149.h: Likewise.
15188 * iconvdata/ibm1153.h: Likewise.
15189 * iconvdata/ibm1154.h: Likewise.
15190 * iconvdata/ibm1155.h: Likewise.
15191 * iconvdata/ibm1156.h: Likewise.
15192 * iconvdata/ibm1157.h: Likewise.
15193 * iconvdata/ibm1158.h: Likewise.
15194 * iconvdata/ibm1160.h: Likewise.
15195 * iconvdata/ibm1161.h: Likewise.
15196 * iconvdata/ibm1162.h: Likewise.
15197 * iconvdata/ibm1163.h: Likewise.
15198 * iconvdata/ibm1164.h: Likewise.
15199 * iconvdata/ibm1166.h: Likewise.
15200 * iconvdata/ibm1167.h: Likewise.
15201 * iconvdata/ibm12712.h: Likewise.
15202 * iconvdata/ibm1390.h: Likewise.
15203 * iconvdata/ibm1399.h: Likewise.
15204 * iconvdata/ibm16804.h: Likewise.
15205 * iconvdata/ibm4517.h: Likewise.
15206 * iconvdata/ibm4899.h: Likewise.
15207 * iconvdata/ibm4909.h: Likewise.
15208 * iconvdata/ibm4971.h: Likewise.
15209 * iconvdata/ibm5347.h: Likewise.
15210 * iconvdata/ibm803.h: Likewise.
15211 * iconvdata/ibm856.h: Likewise.
15212 * iconvdata/ibm901.h: Likewise.
15213 * iconvdata/ibm902.h: Likewise.
15214 * iconvdata/ibm9030.h: Likewise.
15215 * iconvdata/ibm9066.h: Likewise.
15216 * iconvdata/ibm921.h: Likewise.
15217 * iconvdata/ibm922.h: Likewise.
15218 * iconvdata/ibm9448.h: Likewise.
15219 * iconvdata/isiri-3342.h: Likewise.
15220 * iconvdata/jis0201.h: Likewise.
15221 * include/link.h: Likewise.
15222 * include/netdb.h: Likewise.
15223 * inet/check_native.c: Likewise.
15224 * inet/check_pf.c: Likewise.
15225 * inet/getipv4sourcefilter.c: Likewise.
15226 * inet/getnameinfo.c: Likewise.
15227 * inet/getsourcefilter.c: Likewise.
15228 * inet/htonl.c: Likewise.
15229 * inet/setipv4sourcefilter.c: Likewise.
15230 * inet/setsourcefilter.c: Likewise.
15231 * inet/test-inet6_opt.c: Likewise.
15232 * inet/tst-network.c: Likewise.
15233 * locale/C-collate.c: Likewise.
15234 * locale/C-ctype.c: Likewise.
15235 * locale/C-time.c: Likewise.
15236 * locale/C-translit.h: Likewise.
15237 * locale/loadarchive.c: Likewise.
15238 * locale/programs/3level.h: Likewise.
15239 * locale/programs/charmap.c: Likewise.
15240 * locale/programs/charmap.h: Likewise.
15241 * locale/programs/ld-address.c: Likewise.
15242 * locale/programs/ld-collate.c: Likewise.
15243 * locale/programs/ld-ctype.c: Likewise.
15244 * locale/programs/ld-identification.c: Likewise.
15245 * locale/programs/ld-measurement.c: Likewise.
15246 * locale/programs/ld-messages.c: Likewise.
15247 * locale/programs/ld-monetary.c: Likewise.
15248 * locale/programs/ld-name.c: Likewise.
15249 * locale/programs/ld-numeric.c: Likewise.
15250 * locale/programs/ld-paper.c: Likewise.
15251 * locale/programs/ld-telephone.c: Likewise.
15252 * locale/programs/ld-time.c: Likewise.
15253 * locale/programs/linereader.c: Likewise.
15254 * locale/programs/locale.c: Likewise.
15255 * locale/programs/locarchive.c: Likewise.
15256 * locale/programs/locfile.h: Likewise.
15257 * locale/programs/repertoire.c: Likewise.
15258 * locale/programs/simple-hash.c: Likewise.
15259 * locale/programs/simple-hash.h: Likewise.
15260 * malloc/memusage.c: Likewise.
15261 * malloc/memusagestat.c: Likewise.
15262 * nis/nis_defaults.c: Likewise.
15263 * nis/nis_hash.c: Likewise.
15264 * nis/nis_print.c: Likewise.
15265 * nis/nis_xdr.c: Likewise.
15266 * nscd/connections.c: Likewise.
15267 * nscd/hstcache.c: Likewise.
15268 * nscd/nscd_gethst_r.c: Likewise.
15269 * nscd/nscd_getserv_r.c: Likewise.
15270 * nscd/nscd_helper.c: Likewise.
15271 * nscd/servicescache.c: Likewise.
15272 * nss/makedb.c: Likewise.
15273 * nss/nss_db/db-XXX.c: Likewise.
15274 * nss/nss_db/db-initgroups.c: Likewise.
15275 * nss/nss_db/db-netgrp.c: Likewise.
15276 * nss/nss_files/files-network.c: Likewise.
15277 * nss/nss_files/files-parse.c: Likewise.
15278 * posix/bug-regex5.c: Likewise.
15279 * posix/fnmatch_loop.c: Likewise.
15280 * posix/regcomp.c: Likewise.
15281 * posix/regexec.c: Likewise.
15282 * posix/tst-rfc3484-2.c: Likewise.
15283 * posix/tst-rfc3484-3.c: Likewise.
15284 * posix/tst-rfc3484.c: Likewise.
15285 * resolv/nss_dns/dns-canon.c: Likewise.
15286 * resolv/nss_dns/dns-network.c: Likewise.
15287 * resolv/res_init.c: Likewise.
15288 * resolv/res_mkquery.c: Likewise.
15289 * resolv/tst-aton.c: Likewise.
15290 * stdlib/cxa_atexit.c: Likewise.
15291 * stdlib/cxa_finalize.c: Likewise.
15292 * stdlib/gen-fpioconst.c: Likewise.
15293 * stdlib/strtol_l.c: Likewise.
15294 * string/tst-endian.c: Likewise.
15295 * sunrpc/auth_des.c: Likewise.
15296 * sunrpc/clnt_udp.c: Likewise.
15297 * sunrpc/rtime.c: Likewise.
15298 * sunrpc/svcauth_des.c: Likewise.
15299 * sunrpc/xdr.c: Likewise.
15300 * sunrpc/xdr_intXX_t.c: Likewise.
15301 * sunrpc/xdr_rec.c: Likewise.
15302 * sysdeps/generic/ldconfig.h: Likewise.
15303 * sysdeps/generic/ldsodefs.h: Likewise.
15304 * sysdeps/generic/memusage.h: Likewise.
15305 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15308 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15315 * sysdeps/posix/getaddrinfo.c: Likewise.
15316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15318 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15319 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15320 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15321 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15322 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15323 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15324 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15325 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15327 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15328 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15329 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15330 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15331 * sysdeps/x86_64/dl-tls.h: Likewise.
15332 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15333 * time/alt_digit.c: Likewise.
15334 * time/era.c: Likewise.
15335 * wcsmbs/tst-c16c32-1.c: Likewise.
15337 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15339 * math/libm-test.inc (struct test_sincos_data): New type.
15340 (RUN_TEST_LOOP_sincos): New macro.
15341 (sincos_test_data): New variable.
15342 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15344 2013-05-16 Richard Henderson <rth@redhat.com>
15346 * math/atest-exp2.c (LIMB64): New macro.
15347 (CONSTSZ): New macro.
15348 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15350 (print_mpn_fp): ... to function scope.
15351 (read_mpn_hex): Remove.
15352 (get_log2): Remove.
15353 (exp2_mpn): Use mp_log2.
15354 (main): Use mp_exp1.
15356 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15358 * math/libm-test.inc: Remove comment about not testing "inexact"
15360 (INEXACT_EXCEPTION): New macro.
15361 (NO_INEXACT_EXCEPTION): Likewise.
15362 (INVALID_EXCEPTION_OK): Update value.
15363 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15364 (OVERFLOW_EXCEPTION_OK): Likewise.
15365 (UNDERFLOW_EXCEPTION_OK): Likewise.
15366 (IGNORE_ZERO_INF_SIGN): Likewise.
15367 (ERRNO_UNCHANGED): Likewise.
15368 (ERRNO_EDOM): Likewise.
15369 (ERRNO_ERANGE): Likewise.
15370 (test_exceptions): Handle testing "inexact" exceptions.
15371 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15372 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15373 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15374 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15376 (rint_towardzero_test_data): Likewise.
15377 (rint_downward_test_data): Likewise.
15378 (rint_upward_test_data): Likewise.
15380 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15381 with OVERFLOW_EXCEPTION.
15382 (exp10_test_data): Likewise.
15383 (exp2_test_data): Likewise.
15384 (expm1_test_data): Likewise.
15385 (lgamma_test_data): Likewise.
15386 (pow_test_data): Likewise.
15387 (tgamma_test_data): Likewise.
15388 (yn_test_data): Remove duplicate test of overflow.
15390 * math/libm-test.inc (struct test_cc_c_data): New type.
15391 (RUN_TEST_LOOP_cc_c): New macro.
15392 (cpow_test_data): New variable.
15393 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15395 * math/libm-test.inc (struct test_f_L_data): New type.
15396 (RUN_TEST_LOOP_f_L): New macro.
15397 (llrint_test_data): New variable.
15398 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15399 (llrint_tonearest_test_data): New variable.
15400 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15401 (llrint_towardzero_test_data): New variable.
15402 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15403 (llrint_downward_test_data): New variable.
15404 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15405 (llrint_upward_test_data): New variable.
15406 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15407 (llround_test_data): New variable.
15408 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15410 2013-05-13 Peter Collingbourne <pcc@google.com>
15412 * math/atest-exp2.c (get_log2): Remove const attribute.
15414 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15416 * math/libm-test.inc (struct test_f_l_data): New type.
15417 (RUN_TEST_LOOP_f_l): New macro.
15418 (lrint_test_data): New variable.
15419 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15420 (lrint_tonearest_test_data): New variable.
15421 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15422 (lrint_towardzero_test_data): New variable.
15423 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15424 (lrint_downward_test_data): New variable.
15425 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15426 (lrint_upward_test_data): New variable.
15427 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15428 (lround_test_data): New variable.
15429 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15431 2013-05-15 Peter Collingbourne <pcc@google.com>
15433 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15434 (EXTRACT_WORDS64) Use where appropriate.
15435 (INSERT_WORDS64) Likewise.
15437 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15438 constraints with x constraints.
15439 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15441 * malloc/obstack.c (_obstack_compat): Add initializer.
15443 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15446 si_trapno and add si_addr_lsb to _sifields.sigfault.
15447 (si_trapno): Remove macro.
15448 (si_addr_lsb): Define new macro.
15449 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15451 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15453 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15454 instead of TEST_f_l.
15455 (llrint_test_tonearest): Likewise.
15456 (llrint_test_towardzero): Likewise.
15457 (llrint_test_downward): Likewise.
15458 (llrint_test_upward): Likewise.
15459 (llround_test): Likewise.
15461 * math/libm-test.inc (struct test_f_i_data): Add comment.
15462 (RUN_TEST_LOOP_f_b): New macro.
15463 (RUN_TEST_LOOP_f_b_tg): Likewise.
15464 (finite_test_data): New variable.
15465 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15466 (isfinite_test_data): New variable.
15467 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15468 (isinf_test_data): New variable.
15469 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15470 (isnan_test_data): New variable.
15471 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15472 (isnormal_test_data): New variable.
15473 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15474 (issignaling_test_data): New variable.
15475 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15476 (signbit_test_data): New variable.
15477 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15479 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15480 with INVALID_EXCEPTION.
15481 (acosh_test_data): Likewise.
15482 (asin_test_data): Likewise.
15483 (atanh_test_data): Likewise.
15484 (fmod_test_data): Likewise.
15485 (log_test_data): Likewise.
15486 (log10_test_data): Likewise.
15487 (log2_test_data): Likewise.
15488 (pow_test_data): Likewise.
15489 (sqrt_test_data): Likewise.
15490 (y0_test_data): Likewise.
15491 (y1_test_data): Likewise.
15492 (yn_test_data): Likewise.
15494 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15497 * math/libm-test.inc (struct test_ff_i_data): New type.
15498 (RUN_TEST_LOOP_ff_i_tg): New macro.
15499 (isgreater_test_data): New variable.
15500 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15501 (isgreaterequal_test_data): New variable.
15502 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15503 (isless_test_data): New variable.
15504 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15505 (islessequal_test_data): New variable.
15506 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15507 (islessgreater_test_data): New variable.
15508 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15509 (isunordered_test_data): New variable.
15510 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15512 2013-05-14 David S. Miller <davem@davemloft.net>
15514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15516 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15518 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15520 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15522 (struct test_f_i_data): Change type of max_ulp to int.
15524 * math/libm-test.inc (test_ffI_f1_data): New type.
15525 (RUN_TEST_LOOP_ffI_f1): New macro.
15526 (remquo_test_data): New variable.
15527 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15529 * setjmp/tst-setjmp-fp.c: New file.
15530 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15531 (link-libm): New variable.
15532 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15534 * math/libm-test.inc (struct test_f_i_data): New type.
15535 (RUN_TEST_LOOP_f_i): New macro.
15536 (RUN_TEST_LOOP_f_i_tg): Likewise.
15537 (fpclassify_test_data): New variable.
15538 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15539 (ilogb_test_data): New variable.
15540 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15542 * math/libm-test.inc (scalbln_test): Correct function name in END
15545 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15546 (RUN_TEST_LOOP_fI_f1): New macro.
15547 (frexp_test_data): New variable.
15548 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15550 * math/libm-test.inc (struct test_fF_f1_data): New type.
15551 (RUN_TEST_LOOP_fF_f1): New macro.
15552 (modf_test_data): New variable.
15553 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15555 * math/libm-test.inc (struct test_f_f1_data): New type.
15556 (RUN_TEST_LOOP_f_f1): New macro.
15557 (gamma_test_data): New variable.
15558 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15559 (lgamma_test_data): New variable.
15560 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15562 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15565 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15566 (main): Comment "tls" pseudo-hwcap.
15568 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15570 * math/libm-test.inc (struct test_fl_f_data): New type.
15571 (RUN_TEST_LOOP_fl_f): New variable.
15572 (scalbln_test_data): New variable.
15573 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15575 * math/libm-test.inc (struct test_fi_f_data): New type.
15576 (RUN_TEST_LOOP_fi_f): New macro.
15577 (ldexp_test_data): New variable.
15578 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15579 (scalbn_test_data): New variable.
15580 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15582 * math/libm-test.inc (struct test_c_f_data): New type.
15583 (RUN_TEST_LOOP_c_f): New macro.
15584 (cabs_test_data): New variable.
15585 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15586 (carg_test_data): New variable.
15587 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15588 (cimag_test_data): New variable.
15589 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15590 (creal_test_data): New variable.
15591 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15593 * math/libm-test.inc (struct test_if_f_data): New type.
15594 (RUN_TEST_LOOP_if_f): New macro.
15595 (jn_test_data): New variable.
15596 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15597 (yn_test_data): New variable.
15598 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15600 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15602 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15604 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15605 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15607 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15609 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15610 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15611 (bench-deps): Add bench-timing.h.
15612 * benchtests-bench-skeleton.c: Include bench-timing.h.
15613 (main): Use TIMING_* macros instead of clock_gettime.
15614 * benchtests/bench-timing.h: New file.
15617 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15618 Renamed from _LIB_VERSION.
15619 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15621 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15623 * math/libm-test.inc (struct test_fff_f_data): New type.
15624 (RUN_TEST_LOOP_fff_f): New macro.
15625 (fma_test_data): New variable.
15626 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15627 (fma_towardzero_test_data): New variable.
15628 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15629 (fma_downward_test_data): New variable.
15630 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15631 (fma_upward_test_data): New variable.
15632 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15634 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15635 (struct test_c_c_data): New type.
15636 (RUN_TEST_LOOP_c_c): New macro.
15637 (cacos_test_data): New variable.
15638 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15639 (cacosh_test_data): New variable.
15640 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15641 (casin_test_data): New variable.
15642 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15643 (casinh_test_data): New variable.
15644 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15645 (catan_test_data): New variable.
15646 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15647 (catanh_test_data): New variable.
15648 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15649 (ccos_test_data): New variable.
15650 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15651 (ccosh_test_data): New variable.
15652 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15653 (cexp_test_data): New variable.
15654 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15655 (clog_test_data): New variable.
15656 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15657 (clog10_test_data): New variable.
15658 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15659 (conj_test_data): New variable.
15660 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15661 (cproj_test_data): New variable.
15662 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15663 (csin_test_data): New variable.
15664 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15665 (csinh_test_data): New variable.
15666 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15667 (csqrt_test_data): New variable.
15668 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15669 (ctan_test_data): New variable.
15670 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15671 (ctan_tonearest_test_data): New variable.
15672 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15673 (ctan_towardzero_test_data): New variable.
15674 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15675 (ctan_downward_test_data): New variable.
15676 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15677 (ctan_upward_test_data): New variable.
15678 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15679 (ctanh_test_data): New variable.
15680 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15681 (ctanh_tonearest_test_data): New variable.
15682 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15683 (ctanh_towardzero_test_data): New variable.
15684 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15685 (ctanh_downward_test_data): New variable.
15686 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15687 (ctanh_upward_test_data): New variable.
15688 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15689 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15692 * math/libm-test.inc (struct test_ff_f_data): New type.
15693 (struct test_ff_f_data_nexttoward): Likewise.
15694 (RUN_TEST_LOOP_2_f): New macro.
15695 (RUN_TEST_LOOP_ff_f): Likewise.
15696 (atan2_test_data): New variable.
15697 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15698 (copysign_test_data): New variable.
15699 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15700 (fdim_test_data): New variable.
15701 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15702 (fmax_test_data): New variable.
15703 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15704 (fmin_test_data): New variable.
15705 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15706 (fmod_test_data): New variable.
15707 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15708 (hypot_test_data): New variable.
15709 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15710 (nextafter_test_data): New variable.
15711 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15712 (nexttoward_test_data): New variable.
15713 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15714 (pow_test_data): New variable.
15715 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15716 (pow_tonearest_test_data): New variable.
15717 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15718 (pow_towardzero_test_data): New variable.
15719 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15720 (pow_downward_test_data): New variable.
15721 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15722 (pow_upward_test_data): New variable.
15723 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15724 (remainder_test_data): New variable.
15725 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15726 (scalb_test_data): New variable.
15727 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15728 * sysdeps/i386/fpu/libm-test-ulps: Update.
15730 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15732 * math/libm-test.inc (fma_test): Use max_value instead of local
15734 (nextafter_test): Likewise.
15736 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15737 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15738 (acos_downward_test_data): New variable.
15739 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15740 (acos_upward_test_data): New variable.
15741 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15742 (acosh_test_data): New variable.
15743 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15744 (asin_test_data): New variable.
15745 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15746 (asin_tonearest_test_data): New variable.
15747 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15748 (asin_towardzero_test_data): New variable.
15749 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15750 (asin_downward_test_data): New variable.
15751 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15752 (asin_upward_test_data): New variable.
15753 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15754 (asinh_test_data): New variable.
15755 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15756 (atan_test_data): New variable.
15757 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15758 (atanh_test_data): New variable.
15759 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15760 (cbrt_test_data): New variable.
15761 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15762 (ceil_test_data): New variable.
15763 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15764 (cos_test_data): New variable.
15765 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15766 (cos_tonearest_test_data): New variable.
15767 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15768 (cos_towardzero_test_data): New variable.
15769 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15770 (cos_downward_test_data): New variable.
15771 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15772 (cos_upward_test_data): New variable.
15773 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15774 (cosh_test_data): New variable.
15775 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15776 (cosh_tonearest_test_data): New variable.
15777 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15778 (cosh_towardzero_test_data): New variable.
15779 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15780 (cosh_downward_test_data): New variable.
15781 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15782 (cosh_upward_test_data): New variable.
15783 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15784 (erf_test_data): New variable.
15785 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15786 (erfc_test_data): New variable.
15787 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15788 (exp_test_data): New variable.
15789 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15790 (exp_tonearest_test_data): New variable.
15791 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15792 (exp_towardzero_test_data): New variable.
15793 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15794 (exp_downward_test_data): New variable.
15795 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15796 (exp_upward_test_data): New variable.
15797 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15798 (exp10_test_data): New variable.
15799 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15800 (exp2_test_data): New variable.
15801 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15802 (expm1_test_data): New variable.
15803 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15804 (fabs_test_data): New variable.
15805 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15806 (floor_test_data): New variable.
15807 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15808 (j0_test_data): New variable.
15809 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15810 (j1_test_data): New variable.
15811 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15812 (log_test_data): New variable.
15813 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15814 (log10_test_data): New variable.
15815 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15816 (log1p_test_data): New variable.
15817 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15818 (log2_test_data): New variable.
15819 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15820 (logb_test_data): New variable.
15821 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15822 (logb_downward_test_data): New variable.
15823 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15824 (nearbyint_test_data): New variable.
15825 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15826 (rint_test_data): New variable.
15827 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15828 (rint_tonearest_test_data): New variable.
15829 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15830 (rint_towardzero_test_data): New variable.
15831 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15832 (rint_downward_test_data): New variable.
15833 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15834 (rint_upward_test_data): New variable.
15835 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15836 (round_test_data): New variable.
15837 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15838 (sin_test_data): New variable.
15839 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15840 (sin_tonearest_test_data): New variable.
15841 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15842 (sin_towardzero_test_data): New variable.
15843 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15844 (sin_downward_test_data): New variable.
15845 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15846 (sin_upward_test_data): New variable.
15847 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15848 (sinh_test_data): New variable.
15849 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15850 (sinh_tonearest_test_data): New variable.
15851 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15852 (sinh_towardzero_test_data): New variable.
15853 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15854 (sinh_downward_test_data): New variable.
15855 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15856 (sinh_upward_test_data): New variable.
15857 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15858 (sqrt_test_data): New variable.
15859 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15860 (tan_test_data): New variable.
15861 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15862 (tan_tonearest_test_data): New variable.
15863 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15864 (tan_towardzero_test_data): New variable.
15865 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15866 (tan_downward_test_data): New variable.
15867 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15868 (tan_upward_test_data): New variable.
15869 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15870 (tanh_test_data): New variable.
15871 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15872 (tgamma_test_data): New variable.
15873 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15874 (trunc_test_data): New variable.
15875 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15876 (y0_test_data): New variable.
15877 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15878 (y1_test_data): New variable.
15879 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15880 (significand_test_data): New variable.
15881 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15883 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15886 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15888 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15890 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15892 2013-05-10 Andreas Jaeger <aj@suse.de>
15895 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15896 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15898 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15900 * math/gen-libm-test.pl (adjust_arg): New function.
15901 (special_functions): Handle generating output in both functions
15903 (parse_args): Likewise.
15904 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15905 $in_func argument to parse_args.
15906 * math/libm-test.inc (struct test_f_f_data): New type.
15907 (IF_ROUND_INIT_): New macro.
15908 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15909 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15910 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15911 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15912 (ROUND_RESTORE_): Likewise.
15913 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15914 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15915 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15916 (ROUND_RESTORE_FE_UPWARD): Likewise.
15917 (RUN_TEST_LOOP_f_f): New macro.
15918 (acos_test_data): New variable.
15919 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15920 (acos_tonearest_test_data): New variable.
15921 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15923 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15925 * benchtests/bench-skeleton.c (startup): Fix coding style.
15927 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15930 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15931 negative infinity argument.
15932 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15933 negative infinity argument.
15934 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15935 negative infinity argument.
15936 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15939 2013-05-10 Florian Weimer <fweimer@redhat.com>
15941 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15942 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15943 * iconv/iconv_prog.c (main): Likewise.
15944 * locale/programs/charmap-dir.c (charmap_readdir)
15945 (fopen_uncompressed): Likewise.
15946 * locale/programs/locfile.c (siblings_uncached)
15947 (write_locale_data): Use lstat64 instead of lstat.
15948 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15951 2013-05-10 Andreas Jaeger <aj@suse.de>
15954 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15956 Include <locale.h>.
15958 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15960 * elf/dl-close.c (_dl_close_worker): Add comments.
15962 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15965 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15967 (__ieee754_rem_pio2l): Update comments.
15970 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15972 (__ieee754_rem_pio2l): Update comments.
15974 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15975 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15977 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15980 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15981 (M_PI_34_LOG10El): Likewise.
15982 (M_PI2_LOG10El): Likewise.
15983 (M_PI4_LOG10El): Likewise.
15984 (M_PI_LOG10El): Likewise.
15986 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15990 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15992 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15993 (MINUS_ZERO_INIT): Likewise.
15994 (PLUS_INFTY_INIT): Likewise.
15995 (MINUS_INFTY_INIT): Likewise.
15996 (QNAN_VALUE_INIT): Likewise.
15997 (MAX_VALUE_INIT): Likewise.
15998 (MIN_VALUE_INIT): Likewise.
15999 (MIN_SUBNORM_VALUE_INIT): Likewise.
16000 (plus_zero): Initialize with PLUS_ZERO_INIT.
16001 (minus_zero): Initialize with MINUS_ZERO_INIT.
16002 (plus_infty): Initialize with PLUS_INFTY_INIT.
16003 (minus_infty): Initialize with MINUS_INFTY_INIT.
16004 (qnan_value): Initialize with QNAN_VALUE_INIT.
16005 (max_value): Initialize with MAX_VALUE_INIT.
16006 (min_value): Initialize with MIN_VALUE_INIT.
16007 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16009 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16010 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16011 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16012 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16014 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16015 (RUN_TEST_2_f): Likewise.
16016 (RUN_TEST_ff_f): Likewise.
16017 (RUN_TEST_fi_f): Likewise.
16018 (RUN_TEST_fl_f): Likewise.
16019 (RUN_TEST_fff_f): Likewise.
16020 (RUN_TEST_c_f): Likewise.
16021 (RUN_TEST_f_f1): Likewise.
16022 (RUN_TEST_fF_f1): Likewise.
16023 (RUN_TEST_fI_f1): Likewise.
16024 (RUN_TEST_ffI_f1): Likewise.
16025 (RUN_TEST_c_c): Likewise.
16026 (RUN_TEST_cc_c): Likewise.
16027 (RUN_TEST_f_i): Likewise.
16028 (RUN_TEST_f_i_tg): Likewise.
16029 (RUN_TEST_ff_i_tg): Likewise.
16030 (RUN_TEST_f_b): Likewise.
16031 (RUN_TEST_f_b_tg): Likewise.
16032 (RUN_TEST_f_l): Likewise.
16033 (RUN_TEST_f_L): Likewise.
16034 (RUN_TEST_sincos): Likewise.
16035 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16036 whether to show exceptions. Do not include ");\n" in return
16038 (special_functions): Output call to RUN_TEST_sincos instead of
16039 check_float calls. Update calls to new_test.
16040 (parse_args): Output call to single RUN_TEST_* macro instead of
16041 check_* calls and other assignments. Update calls to new_test.
16047 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16048 input to result for tgamma overflow.
16049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16050 (gamma_coeff): New variable.
16051 (NCOEFF): New macro.
16052 (gamma_positive): New function.
16053 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16054 underflow here. Use gamma_positive instead of exp (lgamma) for
16056 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16057 (gamma_coeff): New variable.
16058 (NCOEFF): New macro.
16059 (gammaf_positive): New function.
16060 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16061 underflow here. Use gamma_positive instead of exp (lgamma) for
16063 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16064 (gamma_coeff): New variable.
16065 (NCOEFF): New macro.
16066 (gammal_positive): New function.
16067 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16068 underflow here. Use gamma_positive instead of exp (lgamma) for
16070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16071 (gamma_coeff): New variable.
16072 (NCOEFF): New macro.
16073 (gammal_positive): New function.
16074 (__ieee754_gammal_r): Handle positive infinity, overflow and
16075 underflow here. Handle NaN the same as positive infinity. Remove
16076 check x < 0xffffffff for negative integers. Use gamma_positive
16077 instead of exp (lgamma) for other arguments.
16078 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16079 (gamma_coeff): New variable.
16080 (NCOEFF): New macro.
16081 (gammal_positive): New function.
16082 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16083 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16088 * sysdeps/generic/math_private.h (__gamma_productf): New
16090 (__gamma_product): Likewise.
16091 (__gamma_productl): Likewise.
16092 * math/Makefile (libm-calls): Add gamma_product.
16093 * math/libm-test.inc (tgamma_test): Add more tests.
16094 * sysdeps/i386/fpu/libm-test-ulps: Update.
16095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16099 * benchtests/bench-skeleton.c (main): Preheat CPU.
16101 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16103 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16105 2013-05-07 Roland McGrath <roland@hack.frob.com>
16107 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16108 and _dl_skip_args_internal.
16110 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16112 * manual/message.texi (Message Translation): Talk about users.
16113 Message to key mapping impacts design.
16115 2013-05-06 Roland McGrath <roland@hack.frob.com>
16117 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16119 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16121 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16122 * sysdeps/wordsize-64/glob64.c: ... here.
16124 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16125 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16128 * debug/getlogin_r_chk.c: Moved to ...
16129 * login/getlogin_r_chk.c: ... here.
16130 * debug/Makefile (routines): Move getlogin_r_chk to ...
16131 * login/Makefile (routines): ... here.
16132 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16133 * login/Versions (libc: GLIBC_2.4): ... here.
16135 * io/poll.c (__poll): Renamed from poll.
16136 Add libc_hidden_def.
16137 (poll): Define as weak alias.
16139 * debug/ptsname_r_chk.c: Moved to ...
16140 * login/ptsname_r_chk.c: ... here.
16141 * debug/Makefile (routines): Move ptsname_r_chk to ...
16142 * login/Makefile (routines): ... here.
16143 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16144 * login/Versions (libc: GLIBC_2.4): ... here.
16146 * posix/getlogin.c: Moved to ...
16147 * login/getlogin.c: ... here.
16148 * posix/getlogin_r.c: Moved to ...
16149 * login/getlogin_r.c: ... here.
16150 * posix/getlogin_r.c: Moved to ...
16151 * login/getlogin_r.c: ... here.
16152 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16153 * login/Makefile (routines): ... here.
16154 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16155 * login/Versions (libc: GLIBC_2.0): ... here.
16157 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16158 (setrlimit): Define as weak alias.
16160 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16161 Call __ names for open, ftruncate, and close.
16162 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16163 (truncate): Define as weak alias.
16165 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16167 * math/gen-libm-test.pl (parse_args): Initialize x before each
16168 test of frexp, modf and remquo.
16170 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16171 test signgam value.
16173 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16177 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16179 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16181 2013-05-06 Roland McGrath <roland@hack.frob.com>
16183 * elf/dl-writev.h: New file.
16184 * elf/dl-misc.c: Include it.
16185 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16186 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16188 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16190 * math/libm-test.inc (noXFails): Remove variable.
16191 (noXPasses): Likewise.
16192 (BUILD_COMPLEX_INT): Remove macro.
16193 (print_screen): Remove xfail argument.
16194 (print_screen_max_error): Likewise.
16195 (update_stats): Likewise.
16196 (print_max_error): Likewise. Update calls to other affected
16198 (print_complex_max_error): Likewise.
16199 (test_single_exception): Update calls to print_screen.
16200 (test_single_errno): Likewise.
16201 (check_float_internal): Remove xfail argument. Update calls to
16202 other affected functions.
16203 (check_float): Likewise.
16204 (check_complex): Likewise.
16205 (check_int): Likewise.
16206 (check_long): Likewise.
16207 (check_bool): Likewise.
16208 (check_longlong): Likewise.
16209 (main): Don't print noXFails and noXPasses.
16210 * math/gen-libm-test.pl (top level): Don't mention expected
16211 failure handling in comment.
16212 (new_test): Don't handle expected failures.
16213 (parse_args): Don't mention expected failure handling in comment.
16214 (generate_testfile): Don't handle expected failures.
16215 (parse_ulps): Likewise.
16216 (print_ulps_file): Likewise.
16217 (get_failure): Remove function.
16218 (output_test): Don't handle expected failures.
16219 * make/README.libm-test: Don't mention expected failure handling.
16221 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16222 (minus_zero): Likewise.
16223 (plus_infty): Likewise.
16224 (minus_infty): Likewise.
16225 (qnan_value): Likewise.
16226 (max_value): Likewise.
16227 (min_value): Likewise.
16228 (min_subnorm_value): Likewise.
16229 (initialize): Do not initialize those variables dynamically.
16231 2013-05-03 Roland McGrath <roland@hack.frob.com>
16233 * io/open.c (__open_2): Moved to ...
16234 * io/open_2.c: ... this new file.
16235 * io/open64.c (__open64_2): Moved to ...
16236 * io/open64_2.c: ... this new file.
16237 * io/openat.c (__openat_2): Moved to ...
16238 * io/openat_2.c: ... this new file.
16239 * io/openat64.c (__openat64_2): Moved to ...
16240 * io/openat64_2.c: ... this new file.
16241 * io/Makefile (routines): Add them.
16242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16243 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16244 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16245 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16246 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16247 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16248 (__openat64): Add hidden_ver.
16249 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16250 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16252 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16253 Separately conditionalize setting of GLRO(dl_sysinfo) so
16254 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16255 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16257 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16260 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16262 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16263 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16264 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16265 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16266 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16268 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16270 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16271 test signgam value.
16273 * math/libm-test.inc (hypot_test): Do not use
16274 IGNORE_ZERO_INF_SIGN.
16276 2013-05-03 Andreas Jaeger <aj@suse.de>
16278 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16280 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16281 (PF_MAX): Adjust for VSOCK change.
16283 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16287 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16290 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16291 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16292 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16294 2013-05-02 David S. Miller <davem@davemloft.net>
16296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16298 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16300 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16302 2013-05-01 Roland McGrath <roland@hack.frob.com>
16304 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16306 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16309 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16310 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16311 Use __attribute__ ((__gnu_inline__)).
16312 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16313 Don't use __attribute__ ((__gnu_inline__)).
16315 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16318 * math/s_catan.c (__catan): Handle small real or imaginary part of
16319 input specially to avoid spurious underflow.
16320 * math/s_catanf.c (__catanf): Likewise.
16321 * math/s_catanh.c (__catanh): Likewise.
16322 * math/s_catanhf.c (__catanhf): Likewise.
16323 * math/s_catanhl.c (__catanhl): Likewise.
16324 * math/s_catanl.c (__catanl): Likewise.
16325 * math/libm-test.inc (catan_test): Add more tests.
16326 (catanh_test): Likewise.
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16330 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16334 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16337 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16338 accurately for denominator in atan2.
16339 * math/s_catanf.c (__catanf): Likewise.
16340 * math/s_catanh.c (__catanh): Likewise.
16341 * math/s_catanhf.c (__catanhf): Likewise.
16342 * math/s_catanhl.c (__catanhl): Likewise.
16343 * math/s_catanl.c (__catanl): Likewise.
16344 * math/libm-test.inc (catan_test): Add more tests.
16345 (catanh_test): Likewise.
16346 * sysdeps/i386/fpu/libm-test-ulps: Update.
16347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16351 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16353 * benchtests/Makefile (bench): Remove slow benchmarks.
16354 * benchtests/atan-inputs: Add slow benchmark inputs.
16355 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16356 (BENCH_FUNC): Accept variant offset.
16358 * benchtests/bench-skeleton.c (main): Run benchmark for each
16360 * benchtests/cos-inputs: Add slow benchmark inputs.
16361 * benchtests/exp-inputs: Likewise.
16362 * benchtests/pow-inputs: Likewise.
16363 * benchtests/sin-inputs: Likewise.
16364 * benchtests/slowatan-inputs: Remove.
16365 * benchtests/slowatan.c: Remove.
16366 * benchtests/slowcos-inputs: Remove.
16367 * benchtests/slowcos.c: Remove.
16368 * benchtests/slowexp-inputs: Remove.
16369 * benchtests/slowexp.c: Remove.
16370 * benchtests/slowpow-inputs: Remove.
16371 * benchtests/slowpow.c: Remove.
16372 * benchtests/slowsin-inputs: Remove.
16373 * benchtests/slowsin.c: Remove.
16374 * benchtests/slowtan-inputs: Remove.
16375 * benchtests/slowtan.c: Remove.
16376 * benchtests/tan-inputs: Add slow benchmark inputs.
16377 * scripts/bench.pl: Parse comments and directives.
16379 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16381 ($(objpfx)bench-%.c): Remove *-ITER.
16382 * benchtests/bench-modf.c: Remove definition of ITER.
16383 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16384 (main): Loop for DURATION seconds instead of fixed number of
16386 * scripts/bench.pl: Don't expect iterations in parameters.
16388 2013-04-29 Roland McGrath <roland@hack.frob.com>
16390 * io/fchdir.c (__fchdir): Renamed from fchdir.
16391 (fchdir): Define as weak alias.
16393 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16395 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16396 (ERRNO_EDOM): Likewise.
16397 (ERRNO_ERANGE): Likewise.
16398 (noErrnoTests): New variable.
16399 (init_max_error): Set errno to 0.
16400 (test_single_errno): New function.
16401 (test_errno): Likewise.
16402 (check_float_internal): Call test_errno. Set errno to 0.
16403 (check_complex): Refer to errno tests in comment.
16404 (check_int): Call test_errno. Set errno to 0.
16405 (check_long): Likewise.
16406 (check_bool): Likewise.
16407 (check_longlong): Likewise.
16408 (cos_test): Use ERRNO_* flags for errno tests instead of
16410 (expm1_test): Likewise.
16411 (fmod_test): Likewise.
16412 (ilogb_test): Likewise.
16413 (lgamma_test): Likewise.
16414 (pow_test): Likewise.
16415 (remainder_test): Likewise.
16416 (sin_test): Likewise.
16417 (tan_test): Likewise.
16418 (yn_test): Likewise.
16419 (initialize): Set errno to 0.
16420 (main): Print number of errno tests.
16421 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16423 2013-04-29 Andreas Jaeger <aj@suse.de>
16426 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16430 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16431 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16435 * stdlib/random.c (__initstate): Return NULL if
16439 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16440 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16443 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16447 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16449 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16450 of individual tests.
16451 (casin_test): Likewise.
16452 (casinh_test): Likewise.
16454 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16457 * math/s_catan.c (__catan): Handle arguments with large real or
16458 imaginary part separately without squaring.
16459 * math/s_catanf.c (__catanf): Likewise.
16460 * math/s_catanh.c (__catanh): Likewise.
16461 * math/s_catanhf.c (__catanhf): Likewise.
16462 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16464 (__catanhl): Handle arguments with large real or imaginary part
16465 separately without squaring.
16466 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16468 (__catanl): Handle arguments with large real or imaginary part
16469 separately without squaring.
16470 * math/libm-test.inc (catan_test): Add more tests.
16471 (catanh_test): Likewise.
16472 * sysdeps/i386/fpu/libm-test-ulps: Update.
16473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16475 2013-04-27 Andreas Jaeger <aj@suse.de>
16478 * stdlib/stdlib.h: Update guards for qecvt.
16479 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16482 2013-04-27 Allan McRae <allan@archlinux.org>
16484 * sysdeps/i386/fpu/libm-test-ulps: Update.
16486 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16489 * math/s_catan.c: Include <float.h>.
16490 (__catan): Ensure underflow exception occurs for underflowed
16492 * math/s_catanf.c: Include <float.h>.
16493 (__catanf): Ensure underflow exception occurs for underflowed
16495 * math/s_catanh.c: Include <float.h>.
16496 (__catanh): Ensure underflow exception occurs for underflowed
16498 * math/s_catanhf.c: Include <float.h>.
16499 (__catanhf): Ensure underflow exception occurs for underflowed
16501 * math/s_catanhl.c: Include <float.h>.
16502 (__catanhl): Ensure underflow exception occurs for underflowed
16504 * math/s_catanl.c: Include <float.h>.
16505 (__catanl): Ensure underflow exception occurs for underflowed
16507 * math/libm-test.inc (catan_test): Add more tests.
16508 (catanh_test): Likewise.
16511 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16512 underflowed result.
16513 * math/s_ccoshf.c (__ccoshf): Likewise.
16514 * math/s_ccoshl.c (__ccoshl): Likewise.
16515 * math/s_csin.c (__csin): Likewise.
16516 * math/s_csinf.c (__csinf): Likewise.
16517 * math/s_csinh.c (__csinh): Likewise.
16518 * math/s_csinhf.c (__csinhf): Likewise.
16519 * math/s_csinhl.c (__csinhl): Likewise.
16520 * math/s_csinl.c (__csinl): Likewise.
16521 * math/libm-test.inc (ccos_test): Add more tests.
16522 (ccosh_test): Likewise.
16523 (csin_test): Likewise.
16524 (csinh_test): Likewise.
16526 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16528 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16529 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16530 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16531 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16532 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16533 powerpc/power5+/fpu folders.
16534 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16537 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16541 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16543 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16544 additions to variable.
16545 [$(config-machine) = x86_64] (modules-names): Likewise.
16546 ($(objpfx)tst-audit3): Remove dependency.
16547 ($(objpfx)tst-audit3.out): Likewise.
16548 ($(objpfx)tst-audit4): Likewise.
16549 ($(objpfx)tst-audit4.out): Likewise.
16550 ($(objpfx)tst-audit5): Likewise.
16551 ($(objpfx)tst-audit5.out): Likewise.
16552 ($(objpfx)tst-audit6): Likewise.
16553 ($(objpfx)tst-audit6.out): Likewise.
16554 ($(objpfx)tst-audit7): Likewise.
16555 ($(objpfx)tst-audit7.out): Likewise.
16556 (tst-audit3-ENV): Remove variable.
16557 (tst-audit4-ENV): Likewise.
16558 (tst-audit5-ENV): Likewise.
16559 (tst-audit6-ENV): Likewise.
16560 (tst-audit7-ENV): Likewise.
16561 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16562 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16563 addition to variable.
16564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16569 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16570 tst-audit3, tst-audit4 and tst-audit5.
16571 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16572 tst-audit6 and tst-audit7.
16573 [$(subdir) = elf] (modules-names): Add audit modules for those
16575 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16576 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16577 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16578 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16579 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16580 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16581 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16582 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16583 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16584 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16585 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16586 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16587 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16588 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16589 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16590 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16592 [$(subdir) = elf && $(config-cflags-avx) = yes]
16593 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16594 [$(subdir) = elf && $(config-cflags-avx) = yes]
16595 (CFLAGS-tst-auditmod4a.c): Likewise.
16596 [$(subdir) = elf && $(config-cflags-avx) = yes]
16597 (CFLAGS-tst-auditmod4b.c): Likewise.
16598 [$(subdir) = elf && $(config-cflags-avx) = yes]
16599 (CFLAGS-tst-auditmod6b.c): Likewise.
16600 [$(subdir) = elf && $(config-cflags-avx) = yes]
16601 (CFLAGS-tst-auditmod6c.c): Likewise.
16602 [$(subdir) = elf && $(config-cflags-avx) = yes]
16603 (CFLAGS-tst-auditmod7b.c): Likewise.
16604 * elf/tst-audit3.c: Move to ...
16605 * sysdeps/x86_64/tst-audit3.c: ... here.
16606 * elf/tst-audit4.c: Move to ...
16607 * sysdeps/x86_64/tst-audit4.c: ... here.
16608 * elf/tst-audit5.c: Move to ...
16609 * sysdeps/x86_64/tst-audit5.c: ... here.
16610 * elf/tst-audit6.c: Move to ...
16611 * sysdeps/x86_64/tst-audit6.c: ... here.
16612 * elf/tst-audit7.c: Move to ...
16613 * sysdeps/x86_64/tst-audit7.c: ... here.
16614 * elf/tst-auditmod3a.c: Move to ...
16615 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16616 * elf/tst-auditmod3b.c: Move to ...
16617 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16618 * elf/tst-auditmod4a.c: Move to ...
16619 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16620 * elf/tst-auditmod4b.c: Move to ...
16621 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16622 * elf/tst-auditmod5a.c: Move to ...
16623 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16624 * elf/tst-auditmod5b.c: Move to ...
16625 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16626 * elf/tst-auditmod6a.c: Move to ...
16627 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16628 * elf/tst-auditmod6b.c: Move to ...
16629 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16630 * elf/tst-auditmod6c.c: Move to ...
16631 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16632 * elf/tst-auditmod7a.c: Move to ...
16633 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16634 * elf/tst-auditmod7b.c: Move to ...
16635 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16637 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16640 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16641 define unconditionally.
16642 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16643 define unconditionally.
16644 (INT8_C, INT16_C, etc.): Likewise.
16646 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16648 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16649 __ehdr_start with hidden visibility.
16651 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16653 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16655 * math/libm-test.inc (cos_test): Use accurate hex constants.
16656 (sincost_test): Likewise.
16658 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16660 * math/libm-test.inc (catan_test): Add more tests.
16661 (catanh_test): Likewise.
16663 * math/s_catanf.c (__catanf): Use suffixed floating-point
16665 * math/s_catanhf.c (__catanhf): Likewise.
16666 * math/s_catanhl.c (__catanhl): Likewise.
16667 * math/s_catanl.c (__catanl): Likewise.
16670 * math/s_catan.c (__catan): Calculate imaginary part of result
16671 with log1p not log unless computing log of number close to 0.
16672 * math/s_catanf.c (__catanf): Likewise.
16673 * math/s_catanl.c (__catanl): Likewise.
16674 * math/s_catanh.c (__catanh): Calculate real part of result with
16675 log1p not log unless computing log of number close to 0.
16676 * math/s_catanhf.c (__catanhf): Likewise.
16677 * math/s_catanhl.c (__catanhl): Likewise.
16678 * math/libm-test.inc (catan_test): Add more tests.
16679 (catanh_test): Likewise.
16680 * sysdeps/i386/fpu/libm-test-ulps: Update.
16681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16683 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16685 * benchtests/Makefile: Mention files in which fast and slow
16686 paths of math functions are implemented.
16688 2013-04-23 Roland McGrath <roland@hack.frob.com>
16690 * sysdeps/posix/timespec_get.c: New file.
16692 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16694 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16696 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16698 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16699 powerpc/power5/fpu folders.
16700 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16701 * benchtests/Makefile: Add modf testcase.
16702 * benchtests/bench-modf.c: New file: Benchmark test for mo
16704 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16707 * time/Makefile (tests): Add tst-strptime-whitespace.
16708 * time/strptime_l.c (get_number): Use ISSPACE.
16709 (__strptime_internal): Likewise.
16710 * time/tst-strptime-whitespace.c: New test case.
16712 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16714 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16716 (_nss_files_init): Set it here.
16718 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16720 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16721 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16724 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16726 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16728 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16733 2013-04-21 David S. Miller <davem@davemloft.net>
16735 * po/ru.po: Update Russion translation from translation project.
16737 2013-04-17 Adam Conrad <adconrad@0c3.net>
16739 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16742 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16744 * configure.in: Remove i386 configure warning. Remove i386 case.
16745 * configure: Regenerate.
16746 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16747 Add example to error message.
16748 * sysdeps/i386/configure: Regenerate.
16750 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16752 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16754 * benchtests/cos-inputs: New file.
16755 * benchtests/slowcos-inputs: New file.
16756 * benchtests/slowcos.c: New file.
16757 * benchtests/slowtan-inputs: New file.
16758 * benchtests/slowtan.c: New file.
16759 * benchtests/tan-inputs: New file.
16761 2013-04-16 Roland McGrath <roland@hack.frob.com>
16763 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16766 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16768 * benchtests/Makefile: Include cppflags-iterator.mk to add
16769 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16771 * Makefile.in (bench-clean): New target.
16772 * benchtests/Makefile (bench-clean): Likewise.
16774 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16776 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16778 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16780 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16782 2013-04-15 Andreas Schwab <schwab@suse.de>
16784 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16786 * nscd/pwdcache.c (cache_addpw): Likewise.
16787 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16790 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16792 * benchtests/Makefile (bench): Write all output to
16793 bench-out.tmp together.
16795 2013-04-15 Andreas Schwab <schwab@suse.de>
16797 * nscd/nscd.c (main): Don't fork again after closing files.
16799 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16801 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16803 * benchtests/Rules (bench-deps): Collect dependencies into a
16804 single variable. Add Makefile to dependencies.
16805 ($(objpfx)bench-%.c): Depend on bench-deps.
16807 2013-04-12 Roland McGrath <roland@hack.frob.com>
16808 Xavier Roche <roche+kml2@exalead.com>
16811 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16812 just that it's a file descriptor.
16813 * manual/llio.texi (Synchronizing AIO Operations): Update description
16814 for EBADF error from aio_fsync.
16816 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16818 * Rules (bench): Move target definition...
16819 * benchtests/Makefile: ... here.
16821 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16823 * math/libm-test.inc (cos_test): Fix PI/2 test.
16824 (sincos_test): Likewise.
16825 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16826 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16828 2013-04-11 Andreas Schwab <schwab@suse.de>
16831 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16832 accept exponent character only when digits were seen.
16833 * stdio-common/Makefile (tests): Add bug26.
16834 * stdio-common/bug26.c: New file.
16837 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16840 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 * Makeconfig (rtld-prefix): Define built linker prefix.
16843 * Rules (run-bench): Use it.
16844 * math/Makefile (run-regen-ulps): Likewise.
16846 * Rules (bench): Remove eval.
16848 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16849 Roland McGrath <roland@hack.frob.com>
16850 Ondrej Bilka <neleai@seznam.cz>
16853 * time/getdate.c: Include ctype.h and alloca.h.
16854 (__getdate_r): Trim leading and trailing spaces of input.
16855 * time/tst-getdate.c (tests): Add tests with leading and
16858 2013-04-08 Roland McGrath <roland@hack.frob.com>
16861 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16862 when computing value.
16864 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16866 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16867 Use testrun.sh to run libm tests.
16870 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16872 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16875 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16877 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16879 * Makefile.in (regen-ulps): New target.
16880 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16881 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16882 [ifneq (no,$(PERL)] (regen-ulps): New target.
16883 [ifeq (no,$(PERL)] (regen-ulps): New target.
16884 * math/libm-test.inc (ulps_file_name): Define.
16885 (output_dir): New variable.
16886 (options): Add "output-dir" option.
16887 (parse_opt): Handle 'o' case.
16888 (main): If output_dir is non-NULL use it as a prefix
16890 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16892 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16894 [BZ #10060, #10062]
16895 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16896 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16897 fail configure if __sync_val_compare_and_swap is not inlined.
16898 * sysdeps/i386/configure: Regenerate.
16899 * configure.in: Build for i686 when configured for i386.
16900 * configure: Regenerate.
16901 * README: Remove i386 reference.
16903 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16905 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16908 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16910 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16911 (lmsnanval): New variables.
16912 (F): Add conversion tests.
16913 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16914 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16916 * stdio-common/tstdiomisc.c (F): Properly collect individual
16919 [BZ #14686, #15336]
16920 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16921 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16922 Instead, use input NaN values or generate a qNaN by arithmetic
16923 operation. Also fix bugs to comply with the standard.
16924 * math/libm-test.inc (remainder_test): Add more tests.
16926 [BZ #15335, #15342]
16927 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16929 input NaN values or generate a qNaN by arithmetic operation.
16931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16934 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16937 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16940 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16941 underflowed result.
16942 * math/s_cexpf.c (__cexpf): Likewise.
16943 * math/s_cexpl.c (__cexpl): Likewise.
16944 * math/libm-test.inc (cexp_test): Add more tests.
16946 2013-04-03 Andreas Schwab <schwab@suse.de>
16949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16950 order arrays from heap if bigger than alloca cutoff.
16952 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16954 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16955 (SNAN_TESTS_double): Refer to GCC PR56831.
16956 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16959 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * Rules (bench): Move bench.out after the run is complete.
16963 * Rules (bench): Echo currently running benchmark.
16965 * benchtests/Makefile (bench): Add atan and slowatan.
16966 * benchtests/atan-inputs: New file.
16967 * benchtests/slowatan-inputs: New file.
16968 * benchtests/slowatan.c: New file.
16970 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16975 * sysdeps/unix/sysv/linux/kernel-features.h
16976 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16977 __ASSUME_XFS_RESTRICTED_CHOWN.
16978 * sysdeps/unix/sysv/linux/pathconf.c
16979 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16980 Save and restore errno.
16982 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16985 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16986 arguments using __kernel_casinh.
16987 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16988 arguments using __kernel_casinhf.
16989 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16990 arguments using __kernel_casinhl.
16991 * math/libm-test.inc (cacosh_test): Add more tests.
16992 * sysdeps/i386/fpu/libm-test-ulps: Update.
16993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16997 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17000 * bench/Makefile (bench): Add sin and slowsin.
17001 * benchtests/sin-inputs: New file.
17002 * benchtests/slowsin-inputs: New file.
17003 * benchtests/slowsin.c: New file.
17005 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17006 (bench): Add slowexp and slowpow.
17007 (exp-ITER): Increase iterations.
17008 (pow-ITER): Likewise.
17009 * benchtests/exp-inputs: Change input.
17010 * benchtests/pow-inputs: Likewise.
17011 * benchtests/slowexp-inputs: New file.
17012 * benchtests/slowexp.c: New file.
17013 * benchtests/slowpow-inputs: New file.
17014 * benchtests/slowpow.c: New file.
17016 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17018 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17020 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17021 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17022 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17023 * benchtests/Makefile: Add rint benchtest.
17024 * benchtests/rint-inputs: Input for rint benchtest.
17026 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17028 * Versions.def (libm): Add GLIBC_2.18.
17029 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17030 hidden libm prototypes.
17031 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17032 * math/Makefile (libm-calls): Add s_issignaling.
17033 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17034 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17035 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17037 * math/math.h [__USE_GNU] (issignaling): New macro.
17038 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17039 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17041 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17044 * manual/arith.texi (issignaling): New section.
17045 * manual/libm-err-tab.pl (@all_functions): Update comment.
17046 * math/gen-libm-test.pl (parse_args): Apply special handling for
17048 * math/libm-test.inc (print_float, issignaling_test): New
17050 (check_float_internal): Add issignaling checks.
17051 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17052 default definition.
17053 * sysdeps/powerpc/math-tests.h: New file.
17054 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17056 * math/test-snan.c (TEST_FUNC): Likewise.
17058 2013-03-30 David S. Miller <davem@davemloft.net>
17060 * po/de.po: Update from translation team.
17062 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17065 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17066 imaginary part less than 1.0 and real part less than 0.5
17068 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17069 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17070 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17071 (cacos_test): Add more tests.
17072 (casin_test): Likewise.
17073 (casinh_test): Likewise.
17074 * sysdeps/i386/fpu/libm-test-ulps: Update.
17075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17077 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17079 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17080 ONE with its value.
17082 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17083 (__pow_mp): Replace ONE and MONE with their values.
17084 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17087 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17088 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17091 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17093 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17094 (__pow_mp): Replace ZERO and MZERO with their values.
17095 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17096 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17099 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17100 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17103 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17105 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17107 2013-03-28 Roland McGrath <roland@hack.frob.com>
17109 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17110 Declare with __attribute__ ((weak)).
17111 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17112 Call __call_tls_dtors only if it's not NULL.
17114 2013-03-28 Roland McGrath <roland@hack.frob.com>
17116 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17117 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17118 magic __ehdr_start linker symbol if it's defined.
17119 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17120 them up here if it was already done.
17122 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17123 (_dl_aux_init): Use const in cast when setting it.
17124 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17125 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17126 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17128 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17130 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17131 * csu/libc-tls.c: Nor here.
17132 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17134 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17135 (__libc_message): Never call vsyslog.
17137 2013-03-28 Alan Modra <amodra@gmail.com>
17139 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17141 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17144 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17151 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17154 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17155 Don't add gid passed as argument.
17157 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17159 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17162 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17163 imaginary part between 1.0 and 1.5 and real part less than 0.5
17165 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17166 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17167 * math/libm-test.inc (cacos_test): Add more tests.
17168 (casin_test): Likewise.
17169 (casinh_test): Likewise.
17170 * sysdeps/i386/fpu/libm-test-ulps: Update.
17171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17173 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17178 (denorm): Likewise.
17179 (__dbl_mp): Likewise.
17180 (add_magnitudes): Likewise.
17181 (sub_magnitudes): Likewise.
17189 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17191 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17192 (__dubcos): Likewise.
17193 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17194 (__ieee754_acos): Likewise.
17195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17196 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17197 (__exp1): Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17201 (my_log2): Likewise.
17202 (checkint): Likewise.
17203 * sysdeps/ieee754/dbl-64/e_remainder.c
17204 (__ieee754_remainder): Likewise.
17205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17207 (bsloww): Likewise.
17208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17210 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17212 MANTISSA_STORE_T to store computations on mantissa. Use
17213 macros for rounding and division.
17214 (denorm): Likewise.
17215 (__dbl_mp): Likewise.
17216 (add_magnitudes): Likewise.
17217 (sub_magnitudes): Likewise.
17220 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17221 powers of two in terms of TWOPOW macro.
17222 (mp_no): Make type of mantissa as MANTISSA_T.
17223 [!RADIXI]: Define RADIXI.
17224 [!TWO52]: Define TWO52.
17225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17227 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17229 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17230 llroundl symbol when building for PPC32.
17232 2013-03-24 Mark H Weaver <mhw@netris.org>
17234 * manual/arith.texi (Normalization Functions): Fix prototypes for
17235 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17237 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17241 high value to check if expl overflow.
17242 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17243 to check for underflow and overflow.
17244 * math/libm-test.inc: Add exp test.
17246 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17249 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17252 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17254 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17257 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17259 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17260 wrap blocks consisting of several statements.
17262 * sysdeps/generic/math-tests.h: New file.
17263 * sysdeps/i386/fpu/math-tests.h: Likewise.
17264 * math/test-snan.c: Include it.
17265 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17267 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17271 (__ieee754_j0l): Do not improve calculations using cos of twice
17272 input for inputs above LDBL_MAX / 2.0L.
17273 (__ieee754_y0l): Likewise.
17274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17275 (__ieee754_j1l): Do not improve calculations using cos of twice
17276 input for inputs above LDBL_MAX / 2.0L.
17277 (__ieee754_y1l): Likewise.
17278 * math/libm-test.inc (j0_test): Add another test.
17279 (j1_test): Likewise.
17280 (y0_test): Likewise.
17281 (y1_test): Likewise.
17282 * sysdeps/i386/fpu/libm-test-ulps: Update.
17284 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * Rules ($(objpfx)bench-%.c): Include code from a C source
17289 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17293 imaginary part 1.0 and real part less than 0.5 specially.
17294 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17295 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17296 * math/libm-test.inc (cacos_test): Add more tests.
17297 (casin_test): Likewise.
17298 (casinh_test): Likewise.
17299 * sysdeps/i386/fpu/libm-test-ulps: Update.
17300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17302 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17305 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17307 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17309 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17310 * config.make.in (config-cflags-sse4): Remove variable.
17311 (config-cflags-avx): Likewise.
17312 (config-cflags-sse2avx): Likewise.
17313 (config-cflags-novzeroupper): Likewise.
17314 (config-asflags-i686): Likewise.
17315 (have-mfma4): Likewise.
17316 (have-as-vis3): Likewise.
17318 * configure.in (MIG): Do not AC_SUBST.
17319 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17320 (libc_cv_cc_sse4): Do not AC_SUBST.
17321 (libc_cv_cc_avx): Likewise.
17322 (libc_cv_cc_sse2avx): Likewise.
17323 (libc_cv_cc_novzeroupper): Likewise.
17324 (libc_cv_cc_fma4): Likewise.
17325 (libc_cv_as_i686): Likewise.
17326 (libc_cv_sparc_as_vis3): Likewise.
17327 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17329 (config-asflags-i686): Likewise.
17330 (config-cflags-avx): Likewise.
17331 (config-cflags-sse2avx): Likewise.
17332 (have-mfma4): Likewise.
17333 (config-cflags-novzeroupper): Likewise.
17334 * sysdeps/mach/configure.in (MIG): Likewise.
17335 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17336 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17338 (config-cflags-avx): Likewise.
17339 (config-cflags-sse2avx): Likewise.
17340 (have-mfma4): Likewise.
17341 (config-cflags-novzeroupper): Likewise.
17342 * configure: Regenerated.
17343 * sysdeps/i386/configure: Likewise.
17344 * sysdeps/mach/configure: Likewise.
17345 * sysdeps/sparc/configure: Likewise.
17346 * sysdeps/x86_64/configure: Likewise.
17348 2013-03-20 Roland McGrath <roland@hack.frob.com>
17351 * locale/programs/localedef.c (options): Put N_ translation marker
17352 on argument names, not just descriptions.
17354 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17356 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17358 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17361 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17363 2013-03-19 Roland McGrath <roland@hack.frob.com>
17365 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17366 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17367 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17368 [!BEFORE_ABORT] (before_abort): New function.
17369 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17370 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17371 (writev_for_fatal): New function.
17372 (WRITEV_FOR_FATAL): New macro; call that.
17373 (backtrace_and_maps): New function.
17374 (BEFORE_ABORT): New macro; call that.
17375 (struct str_list): Type removed.
17376 (__libc_message, __libc_fatal): Functions removed.
17377 Include <sysdeps/posix/libc_fatal.c> instead.
17379 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17381 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17383 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17386 2013-03-19 Andreas Schwab <schwab@suse.de>
17388 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17389 * sysdeps/gnu/configure: Regenerate.
17391 * configure.in: Substitute libc_cv_rtlddir.
17392 * configure: Regenerate.
17393 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17394 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17395 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17396 * elf/Makefile (install-others, CFLAGS-interp.c)
17397 (ldso_install, common-ldd-rewrite): Likewise.
17398 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17399 $(inst_slibdir)/$(rtld-installed-name).
17400 * scripts/rellns-sh: Add -p option.
17401 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17404 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17406 * manual/nptl.texi: Renamed to ...
17407 * manual/threads.texi: ... this.
17408 * manual/Makefile (chapters): Update.
17410 2013-03-18 Roland McGrath <roland@hack.frob.com>
17413 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17414 on argument names, not just descriptions.
17415 * malloc/memusagestat.c (options): Likewise.
17416 * nss/getent.c (options): Likewise.
17418 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17421 * iconv/iconv_prog.c (options): Put N_ translation marker
17422 on argument names, not just descriptions.
17423 * iconv/iconvconfig.c (options): Likewise.
17425 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17427 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17428 implementation which is faster on all x86_64 architectures.
17429 Tested on AMD, Intel Nehalem, SNB, IVB.
17430 * sysdeps/x86_64/strnlen.S: Likewise.
17432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17433 Remove all multiarch strlen and strnlen versions.
17434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17435 Remove strlen and strnlen related parts.
17437 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17438 Inline strlen part.
17439 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17441 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17442 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17443 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17444 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17446 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17448 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17450 * manual/memory.texi (Malloc Tunable Parameters):
17451 Sort parameters alphabetically. Add comments for missing entries.
17453 2013-03-17 David S. Miller <davem@davemloft.net>
17455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17457 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17460 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17461 for arguments at most half maximum finite value.
17462 * math/libm-test.inc (j0_test): Add more tests.
17463 (j1_test): Likewise.
17464 (y0_test): Likewise.
17465 (y1_test): Likewise.
17466 * sysdeps/i386/fpu/libm-test-ulps: Update.
17467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17471 1 / x and functions P and Q for arguments above 0x1p256L.
17472 (__ieee754_y0l): Likewise.
17473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17474 (__ieee754_y1l): Likewise.
17475 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17476 (j1_test): Likewise.
17477 (y0_test): Likewise.
17478 (y1_test): Likewise.
17480 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17482 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17485 2013-03-15 Roland McGrath <roland@hack.frob.com>
17487 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17488 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17489 zero since it's initialized to EXEC_PAGESIZE.
17491 * sysdeps/unix/sysv/linux/ldsodefs.h
17492 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17493 * sysdeps/generic/ldsodefs.h: ... here.
17495 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17497 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17499 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17501 * math/test-snan.c: Renamed from
17502 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17503 * math/Makefile (tests): Add test-snan.
17504 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17507 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17508 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17510 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17511 __builtin_nan family of functions.
17512 * math/libm-test.inc (initialize): Initialize qnan_value with
17513 __builtin_nan family of functions.
17514 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17516 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17518 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17519 storage class. Initialize qNaN_var and sNaN_var with
17520 __builtin_nan and __builtin_nans families of functions,
17523 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17524 (sqrt_test): Remove duplicate test with qNaN input.
17525 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17526 (round_test, signbit_test, significand_test): Note missing +/-Inf
17527 as well as qNaN tests.
17529 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17530 qNaN_var. Fix a few strings, too.
17531 * math/libm-test.inc (nan_value): Rename to qnan_value.
17532 * math/gen-libm-test.pl (%beautify): Adjust to that.
17533 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17534 * math/test-misc.c (main): Likewise.
17535 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17536 to __qnan_bytes, and __qnan_union, respectively.
17537 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17539 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17540 and lqnanval, respectively.
17541 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17542 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17544 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17546 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17547 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17550 * math/test-misc.c (main): Fix copy'n'pastos.
17551 * misc/tst-efgcvt.c (special): Likewise.
17553 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17554 Remove declarations.
17556 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17558 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17559 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17560 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17561 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17563 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17566 macro to return vdso values correctly in IFUNC implementations.
17567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17568 Optimization by using IFUNC.
17570 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17571 Richard Henderson <rth@redhat.com>
17572 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17574 * Makefile.in (bench): New target.
17575 * NEWS: Mention the benchmark framework.
17576 * Rules (bench): Likewise.
17577 (binaries-bench): Generate binaries for functions to
17579 * benchtests/Makefile: New makefile for benchmark tests.
17580 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17582 * benchtests/exp-inputs: New input file for EXP function.
17583 * benchtests/pow-inputs: New input file for POW function.
17584 * scripts/bench.pl: New script to generate source files for
17585 benchmark programs.
17587 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17589 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17590 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17591 computations on mantissa. Use macros for rounding and
17593 (denorm): Likewise.
17594 (__dbl_mp): Likewise.
17595 (add_magnitudes): Likewise.
17596 (sub_magnitudes): Likewise.
17599 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17600 powers of two in terms of TWOPOW macro.
17601 (mp_no): Make type of mantissa as MANTISSA_T.
17602 [!RADIXI]: Define RADIXI.
17603 [!TWO52]: Define TWO52.
17604 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17606 * manual/nptl.texi (cindex): Modify threads to pthreads.
17608 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17610 * sysdeps/x86_64/preconfigure: Regenerated.
17612 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17615 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17617 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17618 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17620 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17621 * math/libm-test.inc (j0_test): Do not allow one spurious
17622 underflow exception.
17623 (y1_test): Likewise.
17625 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17627 * manual/Makefile (chapters): Add nptl.
17628 * manual/debug.texi (Debugging Support): Add link to Threads
17630 * manual/nptl.texi: New file.
17632 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17634 2013-03-14 Petr Baudis <pasky@ucw.cz>
17636 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17637 for non-NULL pointer before the memory validity test. Pointed
17638 out by Holger Brunck <holger.brunck@keymile.com>.
17640 2013-03-13 Andreas Schwab <schwab@suse.de>
17642 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17645 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17647 * timezone/zic.c: Update from tzcode 2013b.
17649 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17651 * manual/install.texi (Configuring and compiling):
17652 Mention i686 and i586.
17653 * INSTALL: Regenerate.
17655 2013-03-12 Roland McGrath <roland@hack.frob.com>
17657 * sysdeps/init_array/elf-init.c: New file.
17659 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17660 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17662 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17663 __gmon_start__ as global, but as static with a .preinit_array pointer.
17664 * sysdeps/init_array/gmon-start.c: New file. Use that.
17665 * sysdeps/init_array/crti.S: New file, empty except for comments.
17666 * sysdeps/init_array/crtn.S: Likewise.
17668 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17670 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17673 Remove Prefer_SSE_for_memop.
17674 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17675 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17676 HAS_PREFER_SSE_FOR_MEMOP.
17677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17680 Remove bzero, memset ifunc support.
17681 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17682 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17683 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17684 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17686 2013-03-11 Andreas Schwab <schwab@suse.de>
17689 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17692 (GLIBC_2.16): Remove pthread_atfork.
17694 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17696 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17697 (ptestcases.h): Likewise.
17699 2013-03-08 Roland McGrath <roland@hack.frob.com>
17701 * Makeconfig ($(common-objpfx)config.status): Depend on
17702 sysdeps/*/preconfigure{,.in} too.
17704 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17706 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17707 (__free_hook): Use void * instead of __malloc_ptr_t.
17708 (__malloc_hook): Likewise.
17709 (__realloc_hook): Likewise.
17710 (__memalign_hook): Likewise.
17711 (__after_morecore_hook): Likewise.
17712 * malloc/arena.c (save_malloc_hook): Likewise.
17713 (save_free_hook): Likewise.
17714 * malloc/hooks.c (malloc_hook_ini): Likewise.
17715 (realloc_hook_ini): Likewise.
17716 (memalign_hook_ini): Likewise.
17717 * malloc/malloc.c (malloc_hook_ini): Likewise.
17718 (realloc_hook_ini): Likewise.
17719 (memalign_hook_ini): Likewise.
17720 (__free_hook): Likewise.
17721 (__malloc_hook): Likewise.
17722 (__realloc_hook): Likewise.
17723 (__memalign_hook): Likewise.
17724 (__libc_malloc): Likewise.
17725 (__libc_free): Likewise.
17726 (__libc_realloc): Likewise.
17727 (__libc_memalign): Likewise.
17728 (__libc_valloc): Likewise.
17729 (__libc_pvalloc): Likewise.
17730 (__libc_calloc): Likewise.
17731 (__posix_memalign): Likewise.
17732 * malloc/morecore.c (__sbrk): Likewise.
17733 (__default_morecore): Likewise.
17735 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17737 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17738 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17739 __malloc_ptrdiff_t.
17741 * malloc/malloc.h (__malloc_size_t): Remove macro.
17742 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17744 (old_memalign_hook): Likewise.
17745 (old_realloc_hook): Likewise.
17746 (struct hdr): Likewise.
17748 (mallochook): Likewise.
17749 (memalignhook): Likewise.
17750 (reallochook): Likewise.
17751 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17752 (tr_old_realloc_hook): Likewise.
17753 (tr_old_memalign_hook): Likewise.
17754 (tr_mallochook): Likewise.
17755 (tr_reallochook): Likewise.
17756 (tr_memalignhook): Likewise.
17758 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17761 default_ldbl_pack and using as default implementation.
17762 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17764 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17765 redundant definition.
17766 (ldbl_insert_mantissa): Likewise.
17767 (ldbl_canonicalize): Likewise.
17768 (ldbl_nearbyint): Likewise.
17769 (ldbl_pack): Rename to ldbl_pack_ppc.
17770 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17771 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17772 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17774 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17777 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17779 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17782 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17783 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17785 2013-03-07 Andreas Jaeger <aj@suse.de>
17787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17790 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17792 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17793 Include mpa.h and declare __MPEXP.
17794 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17795 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17796 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17797 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17798 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17799 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17800 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17802 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17803 (__slowpow): Use long double EXPL and LOGL functions to
17805 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17806 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17809 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17813 intermediate variable to calculate exponent.
17815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17819 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17820 [!NO__SQR]: Define __sqr.
17821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17822 and NO__SQR. Remove all code except __mul and __sqr. Include
17823 sysdeps/ieee754/dbl-64/mpa.c.
17824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17827 * posix/Makefile (tests): Add tst-pathconf.
17828 * posix/tst-pathconf.c: New test case.
17829 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17833 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17835 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17837 2013-03-06 Andreas Jaeger <aj@suse.de>
17839 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17840 definition via __MAP_ANONYMOUS.
17842 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17843 it's not part of Linux headers.
17845 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17846 (MAP_HUGE_MASK): Define.
17848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17850 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17853 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17854 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17856 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17859 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17861 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17862 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17864 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17865 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17866 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17872 Handle f2fs and efivarfs.
17874 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17877 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17878 (EFIVARFS_MAGIC): Add.
17879 (F2FS_LINK_MAX): Add.
17881 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17883 * stdio-common/vfprintf.c: Replace __builtin_expect with
17886 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17889 * sysdeps/generic/bp-sym.h: Remove file.
17890 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17891 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17892 <bp-sym.h> and <bp-asm.h>.
17893 (__longjmp): Don't use BP_SYM.
17894 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17896 (memcpy): Don't use BP_SYM.
17897 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17898 <bp-sym.h> and <bp-asm.h>.
17899 (memcpy): Don't use BP_SYM.
17900 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17902 (memcpy): Don't use BP_SYM.
17903 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17905 (memset): Don't use BP_SYM.
17906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17908 (__bzero): Don't use BP_SYM.
17909 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17910 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17912 <bp-sym.h> and <bp-asm.h>.
17913 (memcmp): Don't use BP_SYM. Remove comment about bounded
17915 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17916 <bp-sym.h> and <bp-asm.h>.
17917 (memcpy): Don't use BP_SYM.
17918 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17919 <bp-sym.h> and <bp-asm.h>.
17920 (memset): Don't use BP_SYM.
17921 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17922 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17923 (__bzero): Don't use BP_SYM.
17924 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17925 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17927 <bp-sym.h> and <bp-asm.h>.
17928 (strncmp): Don't use BP_SYM. Remove comment about bounded
17930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17931 <bp-sym.h> and <bp-asm.h>.
17932 (memcpy): Don't use BP_SYM.
17933 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17934 <bp-sym.h> and <bp-asm.h>.
17935 (memset): Don't use BP_SYM.
17936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17938 (__bzero): Don't use BP_SYM.
17939 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17940 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17942 <bp-sym.h> and <bp-asm.h>.
17943 (__memchr): Don't use BP_SYM.
17944 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17945 <bp-sym.h> and <bp-asm.h>.
17946 (memcmp): Don't use BP_SYM. Remove comment about bounded
17948 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17949 <bp-sym.h> and <bp-asm.h>.
17950 (memcpy): Don't use BP_SYM.
17951 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17952 <bp-sym.h> and <bp-asm.h>.
17953 (__mempcpy): Don't use BP_SYM.
17954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17955 <bp-sym.h> and <bp-asm.h>.
17956 (__memrchr): Don't use BP_SYM.
17957 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17958 <bp-sym.h> and <bp-asm.h>.
17959 (memset): Don't use BP_SYM.
17960 (__bzero): Likewise.
17961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17962 <bp-sym.h> and <bp-asm.h>.
17963 (__rawmemchr): Don't use BP_SYM.
17964 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17965 <bp-sym.h> and <bp-asm.h>.
17966 (__STRCMP): Don't use BP_SYM.
17967 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17968 <bp-sym.h> and <bp-asm.h>.
17969 (strchr): Don't use BP_SYM.
17970 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17971 <bp-sym.h> and <bp-asm.h>.
17972 (__strchrnul): Don't use BP_SYM.
17973 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17974 <bp-sym.h> and <bp-asm.h>.
17975 (strlen): Don't use BP_SYM.
17976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17977 <bp-sym.h> and <bp-asm.h>.
17978 (strncmp): Don't use BP_SYM. Remove comment about bounded
17980 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17981 <bp-sym.h> and <bp-asm.h>.
17982 (__strnlen): Don't use BP_SYM.
17983 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17984 <bp-sym.h> and <bp-asm.h>.
17985 (__GI__setjmp): Don't use BP_SYM.
17986 (_setjmp): Likewise.
17987 (__sigsetjmp): Likewise.
17988 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17989 (L(start_addresses)): Don't use BP_SYM.
17990 (_start): Likewise.
17991 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17993 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17994 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17997 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17999 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18000 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18001 about bounded pointers.
18002 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18003 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18004 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18006 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18007 about bounded pointers. Remove GKM FIXME comments.
18008 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18009 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18011 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18012 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18013 Remove GKM FIXME comments.
18014 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18015 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18016 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18018 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18019 about bounded pointers. Remove GKM FIXME comment.
18020 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18022 (strncmp): Don't use BP_SYM. Remove comment about bounded
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18025 <bp-sym.h> and <bp-asm.h>.
18026 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18028 <bp-sym.h> and <bp-asm.h>.
18029 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18032 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18034 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18037 2013-03-05 David S. Miller <davem@davemloft.net>
18039 * po/es.po: Update from translation team.
18041 2013-03-05 Andreas Jaeger <aj@suse.de>
18043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18044 <bits/mman-linux.h>.
18045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18047 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18048 <bits/mman-linux.h> to end of file.
18049 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18051 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18052 <bits/mman-linux.h> to end of file.
18053 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18056 <bits/mman-linux.h> to end of file.
18058 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18059 (MCL_CURRENT, MCL_FUTURE): Define here.
18061 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18068 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18070 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18071 fourth parameter needed for rt_sigprocmask syscall.
18072 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18073 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18075 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18076 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18077 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18079 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18082 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18083 comment about bounded pointers.
18084 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18085 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18087 2013-03-04 Andreas Jaeger <aj@suse.de>
18089 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18090 common definitions.
18092 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18093 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18094 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18095 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18099 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18103 __ieee754_sqrl instead of __sqrl.
18105 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18107 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18108 * sysdeps/powerpc/fpu_control.h: ... here.
18109 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18110 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18111 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18112 * sysdeps/powerpc/bits/mathinline.h: ... here.
18114 2013-03-01 Roland McGrath <roland@hack.frob.com>
18116 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18117 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18118 to just [NEED_DL_SYSINFO_DSO].
18119 * elf/dl-support.c: Likewise.
18120 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18121 * elf/rtld.c (dl_main): Likewise.
18122 * elf/setup-vdso.h (setup_vdso): Likewise.
18123 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18124 * sysdeps/unix/sysv/linux/dl-sysdep.c
18125 (_dl_discover_osversion): Likewise.
18127 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18129 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18130 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18132 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18134 * NEWS: Mention libm performance improvements and non-x86 PI
18137 * csu/libc-start.c (__pthread_initialize_minimal): Change
18138 function arguments.
18139 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18141 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18144 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18145 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18146 <bp-sym.h> and <bp-asm.h>.
18147 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18150 (memcpy): Don't use BP_SYM.
18151 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18153 (__mpn_add_n): Don't use BP_SYM.
18154 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18155 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18157 (__mpn_addmul_1): Don't use BP_SYM.
18158 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18159 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18161 (_setjmp): Don't use BP_SYM.
18162 (__novmx_setjmp): Likewise.
18163 (__GI__setjmp): Likewise.
18164 (__vmx_setjmp): Likewise.
18165 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18167 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18168 (__bzero): Don't use BP_SYM.
18169 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18170 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18171 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18172 <bp-sym.h> and <bp-asm.h>.
18173 (memcpy): Don't use BP_SYM.
18174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18175 <bp-sym.h> and <bp-asm.h>.
18176 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18178 <bp-sym.h> and <bp-asm.h>.
18179 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18180 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18182 (__mpn_lshift): Don't use BP_SYM.
18183 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18184 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18186 (memset): Don't use BP_SYM.
18187 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18188 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18189 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18191 (__mpn_mul_1): Don't use BP_SYM.
18192 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18194 <bp-sym.h> and <bp-asm.h>.
18195 (memcmp): Don't use BP_SYM.
18196 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18197 <bp-sym.h> and <bp-asm.h>.
18198 (memcpy): Don't use BP_SYM.
18199 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18200 <bp-sym.h> and <bp-asm.h>.
18201 (memset): Don't use BP_SYM.
18202 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18203 <bp-sym.h> and <bp-asm.h>.
18204 (strncmp): Don't use BP_SYM.
18205 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18206 <bp-sym.h> and <bp-asm.h>.
18207 (memcpy): Don't use BP_SYM.
18208 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18209 <bp-sym.h> and <bp-asm.h>.
18210 (memset): Don't use BP_SYM.
18211 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18212 <bp-sym.h> and <bp-asm.h>.
18213 (__memchr): Don't use BP_SYM.
18214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18215 <bp-sym.h> and <bp-asm.h>.
18216 (memcmp): Don't use BP_SYM.
18217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18218 <bp-sym.h> and <bp-asm.h>.
18219 (memcpy): Don't use BP_SYM.
18220 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18221 <bp-sym.h> and <bp-asm.h>.
18222 (__mempcpy): Don't use BP_SYM.
18223 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18224 <bp-sym.h> and <bp-asm.h>.
18225 (__memrchr): Don't use BP_SYM.
18226 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18227 <bp-sym.h> and <bp-asm.h>.
18228 (memset): Don't use BP_SYM.
18229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18230 <bp-sym.h> and <bp-asm.h>.
18231 (__rawmemchr): Don't use BP_SYM.
18232 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18233 <bp-sym.h> and <bp-asm.h>.
18234 (__STRCMP): Don't use BP_SYM.
18235 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18236 <bp-sym.h> and <bp-asm.h>.
18237 (strchr): Don't use BP_SYM.
18238 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18239 <bp-sym.h> and <bp-asm.h>.
18240 (__strchrnul): Don't use BP_SYM.
18241 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18242 <bp-sym.h> and <bp-asm.h>.
18243 (strlen): Don't use BP_SYM.
18244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18245 <bp-sym.h> and <bp-asm.h>.
18246 (strncmp): Don't use BP_SYM.
18247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18248 <bp-sym.h> and <bp-asm.h>.
18249 (__strnlen): Don't use BP_SYM.
18250 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18252 (__mpn_rshift): Don't use BP_SYM.
18253 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18254 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18255 <bp-sym.h> and <bp-asm.h>.
18256 (__sigsetjmp): Don't use BP_SYM.
18257 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18258 (L(start_addresses)): Don't use BP_SYM.
18259 (_start): Likewise.
18260 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18262 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18263 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18264 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18265 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18267 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18268 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18269 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18270 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18272 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18274 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18275 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18277 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18279 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18280 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18281 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18283 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18285 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18287 (strncmp): Don't use BP_SYM,
18288 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18290 (__mpn_sub_n): Don't use BP_SYM.
18291 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18292 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18294 (__mpn_submul_1): Don't use BP_SYM.
18295 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18297 <bp-sym.h> and <bp-asm.h>.
18298 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18300 <bp-sym.h> and <bp-asm.h>.
18301 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18304 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18307 Use ZK to minimize writes to Z.
18308 (sub_magnitudes): Simplify code a bit.
18309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18310 Use ZK to minimize writes to Z.
18311 (sub_magnitudes): Simplify code a bit.
18313 2013-02-27 Roland McGrath <roland@hack.frob.com>
18315 * csu/gmon-start.c: Add special exception to license text.
18317 2013-02-27 Richard Henderson <rth@redhat.com>
18319 * scripts/config.guess: Update from config.git.
18320 * scripts/config.sub: Likewise.
18322 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18326 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18328 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18330 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18332 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18334 2013-02-26 Roland McGrath <roland@hack.frob.com>
18336 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18337 [$(build-shared = yes].
18339 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18341 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18342 (__mul): Reduce iterations for calculating mantissa.
18344 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18346 (__mpranred): Likewise.
18349 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18350 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18352 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18354 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18355 Define __attribute__.
18357 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18359 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18361 * posix/regex_internal.h (__attribute): Remove.
18362 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18363 (re_string_context_at): Likewise.
18364 (bitset_not): Use __attribute__ and mark function as possibly
18366 (bitset_merge): Likewise.
18367 (bitset_mask): Likewise.
18368 (re_string_char_size_at): Likewise.
18369 (re_string_wchar_at): Likewise.
18370 (re_string_elem_size_at): Likewise.
18372 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18374 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18378 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18382 (denorm): Likewise.
18383 (__dbl_mp): Likewise.
18384 (add_magnitudes): Likewise.
18385 (sub_magnitudes): Likewise.
18389 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18392 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18395 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18399 up changes with default code.
18400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18403 2013-02-24 Allan McRae <allan@archlinux.org>
18405 * manual/socket.texi (The Internet Namespace): Order menu items
18406 to match that in the file.
18408 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18409 node listing of the info page menu.
18411 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18414 * sysdeps/i386/bp-asm.h: Remove file.
18415 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18416 (PARMS): Do not use macros from bp-asm.h.
18420 (__mpn_add_n): Do not use BP_SYM
18421 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18423 (PARMS): Do not use macros from bp-asm.h.
18426 (__mpn_addmul_1): Do not use BP_SYM
18427 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18429 (PARMS): Do not use macros from bp-asm.h.
18430 (SIGMSK): Likewise.
18431 (_setjmp): Likewise. Do not use BP_SYM.
18432 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18434 (PARMS): Do not use macros from bp-asm.h.
18435 (SIGMSK): Likewise.
18436 (setjmp): Likewise. Do not use BP_SYM.
18437 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18439 (PARMS): Do not use macros from bp-asm.h.
18440 (__frexp): Do not use BP_SYM.
18442 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18444 (PARMS): Do not use macros from bp-asm.h.
18445 (__frexpf): Do not use BP_SYM.
18446 (frexpf): Likewise.
18447 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18449 (PARMS): Do not use macros from bp-asm.h.
18450 (__frexpl): Do not use BP_SYM.
18451 (frexpl): Likewise.
18452 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18454 (PARMS): Do not use macros from bp-asm.h.
18455 (__remquo): Do not use BP_SYM.
18456 (remquo): Likewise.
18457 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18459 (PARMS): Do not use macros from bp-asm.h.
18460 (__remquof): Do not use BP_SYM.
18461 (remquof): Likewise.
18462 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18464 (PARMS): Do not use macros from bp-asm.h.
18465 (__remquol): Do not use BP_SYM.
18466 (remquol): Likewise.
18467 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18469 (PARMS): Do not use macros from bp-asm.h.
18472 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18473 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18475 (PARMS): Do not use macros from bp-asm.h.
18476 (strlen): Do not use BP_SYM.
18477 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18479 (PARMS): Do not use macros from bp-asm.h.
18483 (__mpn_add_n): Do not use BP_SYM.
18484 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18486 (PARMS): Do not use macros from bp-asm.h.
18489 (__mpn_addmul_1): Do not use BP_SYM.
18490 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18493 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18495 (PARMS): Do not use macros from bp-asm.h.
18498 (__mpn_lshift): Do not use BP_SYM.
18499 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18501 (PARMS): Do not use macros from bp-asm.h.
18505 (memcpy): Likewise. Do not use BP_SYM.
18506 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18507 libc_hidden_def and weak_alias.
18508 (mempcpy): Do not use BP_SYM in weak_alias.
18509 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18511 (PARMS): Do not use macros from bp-asm.h.
18514 [!BZERO_P] (CHR): Likewise.
18515 (memset): Likewise. Do not use BP_SYM.
18516 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18518 (PARMS): Do not use macros from bp-asm.h.
18521 (__mpn_mul_1): Do not use BP_SYM.
18522 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18524 (PARMS): Do not use macros from bp-asm.h.
18527 (__mpn_rshift): Do not use BP_SYM.
18528 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18530 (PARMS): Do not use macros from bp-asm.h.
18533 (strchr): Likewise. Do not use BP_SYM.
18534 (index): Do not use BP_SYM in weak_alias.
18535 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18537 (PARMS): Do not use macros from bp-asm.h.
18540 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18541 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18543 (PARMS): Do not use macros from bp-asm.h.
18544 (strlen): Do not use BP_SYM.
18545 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18547 (PARMS): Do not use macros from bp-asm.h.
18551 (__mpn_sub_n): Do not use BP_SYM.
18552 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18554 (PARMS): Do not use macros from bp-asm.h.
18557 (__mpn_submul_1): Do not use BP_SYM.
18558 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18560 (PARMS): Do not use macros from bp-asm.h.
18564 (__mpn_add_n): Do not use BP_SYM.
18565 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18568 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18570 (PARMS): Do not use macros from bp-asm.h.
18573 (memcmp): Do not use BP_SYM.
18574 (bcmp): Do not use BP_SYM in weak_alias.
18575 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18577 (PARMS): Do not use macros from bp-asm.h.
18581 (memcpy): Likewise. Do not use BP_SYM.
18582 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18584 (PARMS): Do not use macros from bp-asm.h.
18588 (memmove): Likewise. Do not use BP_SYM.
18589 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18591 (PARMS): Do not use macros from bp-asm.h.
18595 (__mempcpy): Likewise. Do not use BP_SYM.
18596 (mempcpy): Do not use BP_SYM in weak_alias.
18597 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18599 (PARMS): Do not use macros from bp-asm.h.
18602 [!BZERO_P] (CHR): Likewise.
18603 (memset): Likewise. Do not use BP_SYM.
18604 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18606 (PARMS): Do not use macros from bp-asm.h.
18608 (strcmp): Do not use BP_SYM.
18609 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18611 (PARMS): Do not use macros from bp-asm.h.
18614 [USE_AS_STRTOK_R] (SAVE): Likewise.
18615 (FUNCTION): Likewise. Do not use BP_SYM.
18616 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18618 (strtok_r): Likewise.
18619 (__GI___strtok_r): Likewise.
18620 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18621 (PARMS): Do not use macros from bp-asm.h.
18624 (__mpn_lshift): Do not use BP_SYM.
18625 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18626 (PARMS): Do not use macros from bp-asm.h.
18629 (__memchr): Do not use BP_SYM.
18630 (memchr): Do not use BP_SYM in weak_alias.
18631 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18632 (PARMS): Do not use macros from bp-asm.h.
18635 (memcmp): Do not use BP_SYM.
18636 (bcmp): Do not use BP_SYM in weak_alias.
18637 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18638 (PARMS): Do not use macros from bp-asm.h.
18641 (__mpn_mul_1): Do not use BP_SYM.
18642 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18644 (PARMS): Do not use macros from bp-asm.h.
18647 (__rawmemchr): Do not use BP_SYM.
18648 (rawmemchr): Do not use BP_SYM in weak_alias.
18649 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18650 (PARMS): Do not use macros from bp-asm.h.
18653 (__mpn_rshift): Do not use BP_SYM.
18654 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18655 (PARMS): Do not use macros from bp-asm.h.
18656 (SIGMSK): Likewise.
18657 (__sigsetjmp): Likewise. Do not use BP_SYM.
18658 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18659 (_start): Do not use BP_SYM.
18660 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18661 (PARMS): Do not use macros from bp-asm.h.
18664 (__stpcpy): Likewise. Do not use BP_SYM.
18665 (stpcpy): Do not use BP_SYM in weak_alias.
18666 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18668 (PARMS): Do not use macros from bp-asm.h.
18672 (__stpncpy): Likewise. Do not use BP_SYM.
18673 (stpncpy): Do not use BP_SYM in weak_alias.
18674 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18675 (PARMS): Do not use macros from bp-asm.h.
18678 (strchr): Likewise. Do not use BP_SYM.
18679 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18681 (PARMS): Do not use macros from bp-asm.h.
18684 (__strchrnul): Likewise. Do not use BP_SYM.
18685 (strchrnul): Do not use BP_SYM in weak_alias.
18686 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18688 (PARMS): Do not use macros from bp-asm.h.
18690 (strcspn): Do not use BP_SYM.
18691 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18693 (PARMS): Do not use macros from bp-asm.h.
18696 (strpbrk): Likewise. Do not use BP_SYM.
18697 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18699 (PARMS): Do not use macros from bp-asm.h.
18702 (strrchr): Likewise. Do not use BP_SYM.
18703 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18704 (PARMS): Do not use macros from bp-asm.h.
18706 (strspn): Do not use BP_SYM.
18707 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18708 (PARMS): Do not use macros from bp-asm.h.
18712 (FUNCTION): Likewise. Do not use BP_SYM.
18713 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18715 (strtok_r): Likewise.
18716 (__GI___strtok_r): Likewise.
18717 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18718 (PARMS): Do not use macros from bp-asm.h.
18722 (__mpn_sub_n): Do not use BP_SYM.
18723 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18725 (PARMS): Do not use macros from bp-asm.h.
18728 (__mpn_submul_1): Do not use BP_SYM.
18729 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18731 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18733 (PARMS): Do not use macros from bp-asm.h.
18738 (__clone): Do not use BP_SYM.
18739 (clone): Do not use BP_SYM in weak_alias.
18740 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18742 (PARMS): Do not use macros from bp-asm.h.
18744 (__mmap64): Do not use BP_SYM.
18745 (mmap64): Do not use BP_SYM in weak_alias.
18746 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18747 <bp-sym.h> and <bp-asm.h>.
18748 (PARMS): Do not use macros from bp-asm.h.
18749 (__posix_fadvise64_l64): Do not use BP_SYM.
18750 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18751 (PARMS): Do not use macros from bp-asm.h.
18753 (semtimedop): Do not use BP_SYM.
18754 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18757 2013-02-21 Allan McRae <allan@archlinux.org>
18759 * manual/message.texi (Charset conversion in gettext):
18760 Move @end statement to beginning of line.
18762 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18770 (denorm): Likewise.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18774 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18776 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18777 tail-call to the resolved function if pltexit isn't needed.
18779 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18782 or Y being zero as being unlikely.
18783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18786 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18788 * manual/nss.texi (System Databases and Name Service Switch):
18789 Remove frobnicate @pxref.
18791 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18793 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18794 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18796 2013-02-20 Petr Machata <pmachata@redhat.com>
18798 * elf/elf.h (R_ARM_TARGET1): New macro.
18799 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18800 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18801 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18802 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18803 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18804 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18805 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18806 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18807 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18808 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18809 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18810 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18811 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18812 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18813 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18814 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18815 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18816 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18817 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18818 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18819 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18820 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18821 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18822 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18823 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18824 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18825 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18826 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18827 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18828 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18829 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18830 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18831 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18832 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18833 (R_ARM_THM_GOT_BREL12): Likewise.
18834 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18835 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18836 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18837 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18838 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18839 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18840 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18841 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18842 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18844 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18846 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18847 __attribute_used__ to __attribute__ ((unused)).
18849 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18854 comment formatting.
18855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18857 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18860 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18862 (ENTER): Remove both macro definitions.
18864 (CHECK_BOUNDS_LOW): Likewise.
18865 (CHECK_BOUNDS_HIGH): Likewise.
18866 (CHECK_BOUNDS_BOTH): Likewise.
18867 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18868 (RETURN_BOUNDED_POINTER): Likewise.
18869 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18870 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18871 (POP_ERRNO_LOCATION_RETURN): Likewise.
18872 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18873 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18874 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18876 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18878 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18879 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18880 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18881 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18882 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18883 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18884 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18885 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18886 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18887 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18888 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18889 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18891 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18892 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18894 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18895 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18896 * sysdeps/i386/i586/memset.S (memset): Likewise.
18897 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18898 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18899 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18902 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18903 Change uses of L(2) to L(out).
18904 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18905 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18906 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18907 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18908 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18910 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18911 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18913 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18914 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18915 (RETURN): Do not use macro LEAVE.
18916 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18917 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18918 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18919 * sysdeps/i386/i686/memset.S (memset): Likewise.
18920 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18921 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18923 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18925 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18926 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18927 L(1_2) and L(1_3) into L(1).
18928 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18929 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18931 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18932 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18933 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18934 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18935 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18936 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18938 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18939 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18940 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18941 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18942 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18943 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18944 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18945 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18946 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18947 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18948 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18949 * sysdeps/i386/strspn.S (strspn): Likewise.
18950 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18952 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18953 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18954 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18955 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18956 L(1_3) into L(1_1).
18957 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18958 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18959 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18963 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18965 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18968 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18970 * math/atest-exp.c (exp_mpn): Remove ROUND.
18971 * math/atest-exp2.c (exp_mpn): Likewise.
18972 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18974 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18975 * stdlib/tst-tls-atexit-lib.c: Likewise.
18976 * stdlib/tst-tls-atexit.c: Likewise.
18978 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18980 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18981 and __attribute_alloc_size__.
18983 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18985 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18986 __attribute_alloc_size__.
18987 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18988 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18990 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18992 * include/programs/xmalloc.h: New file.
18993 * catgets/gencat.c: Include it.
18994 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18995 * elf/pldd.c: Likewise.
18996 * iconv/iconv_charmap.c: Likewise.
18997 * iconv/iconvconfig.c: Likewise.
18998 * iconv/strtab.c: Likewise.
18999 * locale/programs/locale.c: Likewise.
19000 * locale/programs/localedef.h: Likewise.
19001 * locale/programs/simple-hash.c: Likewise.
19002 * nscd/nscd.h: Likewise.
19003 * nss/makedb.c: Likewise.
19004 * sysdeps/generic/ldconfig.h: Likewise.
19006 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19008 * Versions.def: Add GLIBC_2.18.
19009 * include/link.h (struct link_map): New member l_tls_dtor_count.
19010 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19011 (__call_tls_dtors): Likewise.
19012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19013 __cxa_thread_atexit_impl.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19030 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19031 (tests): Add test case tst-tls-atexit.
19032 (modules-names): Add shared library for tst-tls-atexit.
19033 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19034 (GLIBC_PRIVATE): Add __call_tls_dtors.
19035 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19037 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19038 * stdlib/tst-tls-atexit.c: New test case.
19039 * stdlib/tst-tls-atexit-lib.c: New test case.
19041 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19043 * elf/Versions (ld): Add _dl_find_dso_for_object.
19044 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19045 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19046 (dl_open_worker): Use _dl_find_dso_for_object.
19047 * elf/dl-sym.c (do_sym): Likewise.
19048 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19050 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19052 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19053 Syntactic changes only.
19054 (_dl_runtime_profile): Do a tail-call to the resolved function.
19056 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19059 * sysdeps/x86_64/bp-asm.h: Remove file.
19060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19061 <bp-sym.h> and <bp-asm.h>.
19062 (__clone): Do not use BP_SYM.
19063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19064 <bp-sym.h> and <bp-asm.h>.
19065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19066 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19068 (_setjmp): Do not use BP_SYM.
19069 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19071 (setjmp): Do not use BP_SYM.
19072 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19074 (mempcpy): Do not use BP_SYM in weak_alias.
19075 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19077 (strchr): Do not use BP_SYM.
19078 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19080 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19081 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19082 (_start): Do not use BP_SYM.
19083 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19085 (strcat): Do not use BP_SYM.
19086 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19088 (STRCMP): Do not use BP_SYM.
19089 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19091 (STRCPY): Do not use BP_SYM.
19092 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19094 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19096 (FUNCTION): Do not use BP_SYM.
19097 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19099 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19101 2013-02-17 Andreas Jaeger <aj@suse.de>
19103 * time/Versions: Sort entries.
19104 * string/Versions: Likewise.
19105 * resolv/Versions: Likewise.
19106 * posix/Versions: Likewise.
19107 * iconv/Versions: Likewise.
19108 * elf/Versions: Likewise.
19109 * wcsmbs/Versions: Likewise.
19111 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19113 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19114 loop termination condition.
19116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19117 variable to calculate EZ.
19120 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19121 the lower precision input.
19123 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19126 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19127 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19128 (run-via-rtld-prefix): Do not handle %-bp tests.
19129 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19130 (all-object-suffixes): Remove .ob.
19131 (bppfx): Remove variable.
19132 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19133 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19134 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19135 [$(build-bounded) = yes] (libtype.ob): Likewise.
19136 * Makerules (elide-routines.ob): Remove variable.
19137 (do-tests-clean): Do not handle *-bp.out.
19138 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19139 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19140 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19141 (tests): Do not include $(tests-bp.out).
19142 (xtests): Do not include $(xtests-bp.out).
19143 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19144 [$(build-bounded) = yes] ($(addprefix
19145 $(objpfx),$(binaries-bounded))): Remove rule.
19146 ($(objpfx)%-bp.out): Remove rule.
19147 * config.make.in (build-bounded): Remove variable.
19148 * crypt/Makefile [$(build-bounded) = yes]
19149 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19150 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19151 append to variable.
19152 [$(build-bounded) = yes] (install-lib): Likewise.
19153 [$(build-bounded) = yes] (generated): Likewise.
19154 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19156 * intl/Makefile [$(build-bounded) = yes]
19157 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19158 * math/Makefile [$(build-bounded) = yes]
19159 ($(tests:%=$(objpfx)%-bp): Likewise.
19160 * misc/Makefile [$(build-bounded) = yes]
19161 ($(objpfx)tst-tsearch-bp): Likewise.
19162 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19163 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19165 * string/Makefile (o-objects.ob): Remove variable.
19166 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19167 (CFLAGS-.ob): Remove variable.
19168 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19169 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19170 both definitions of variable.
19171 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19172 (ASFLAGS-.ob): Remove variable.
19174 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19177 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19178 Remove __BOUNDED_POINTERS__ from condition.
19179 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19180 * string/bits/string2.h [!__NO_STRING_INLINES &&
19181 !__BOUNDED_POINTERS__]: Likewise.
19182 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19184 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19185 Remove conditional code.
19186 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19187 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19188 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19192 * csu/libc-start.c: Do not include <bp-sym.h>.
19193 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19194 * elf/dl-open.c: Do not include <bp-sym.h>.
19195 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19196 * math/fegetenv.c: Do not include <bp-sym.h>.
19197 (fegetenv): Do not use BP_SYM in versioned symbols.
19198 * nptl/sysdeps/pthread/bits/libc-lockP.h
19199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19202 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19204 (__pthread_mutex_destroy): Likewise.
19205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19206 (__pthread_mutex_lock): Likewise.
19207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19208 (__pthread_mutex_trylock): Likewise.
19209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19210 (__pthread_mutex_unlock): Likewise.
19211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19212 (__pthread_mutexattr_init): Likewise.
19213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19214 (__pthread_mutexattr_destroy): Likewise.
19215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19216 (__pthread_mutexattr_settype): Likewise.
19217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19218 (__pthread_rwlock_init): Likewise.
19219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19220 (__pthread_rwlock_destroy): Likewise.
19221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19222 (__pthread_rwlock_rdlock): Likewise.
19223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19224 (__pthread_rwlock_tryrdlock): Likewise.
19225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19226 (__pthread_rwlock_wrlock): Likewise.
19227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19228 (__pthread_rwlock_trywrlock): Likewise.
19229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19230 (__pthread_rwlock_unlock): Likewise.
19231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19232 (__pthread_key_create): Likewise.
19233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19234 (__pthread_setspecific): Likewise.
19235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19236 (__pthread_getspecific): Likewise.
19237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19240 (_pthread_cleanup_push_defer): Likewise.
19241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19242 (_pthread_cleanup_pop_restore): Likewise.
19243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19244 (pthread_setcancelstate): Likewise.
19245 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19247 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19248 (memchr): Do not use BP_SYM in weak_alias.
19249 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19250 (fegetenv): Do not use BP_SYM in versioned symbols.
19251 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19252 (fesetenv): Do not use BP_SYM in versioned symbols.
19253 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19254 (feupdateenv): Do not use BP_SYM in versioned symbols.
19255 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19256 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19257 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19258 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19259 (open64): Do not use BP_SYM in weak_alias.
19260 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19261 (fegetenv): Do not use BP_SYM in versioned symbols.
19262 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19263 (fesetenv): Do not use BP_SYM in versioned symbols.
19264 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19265 (feupdateenv): Do not use BP_SYM in versioned symbols.
19266 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19267 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19268 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19269 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19270 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19271 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19272 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19274 (__libc_start_main): Do not use BP_SYM.
19276 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19279 redundant return line.
19281 (denorm): Likewise.
19282 (dbl_mp): Likewise.
19283 (sub_magnitudes): Likewise.
19289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19291 (denorm): Likewise.
19292 (dbl_mp): Likewise.
19293 (sub_magnitudes): Likewise.
19300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19302 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19303 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19306 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19307 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19309 of __mul for squares.
19310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19315 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19317 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19320 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19322 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19323 prototype or function definition. Rename ubp_* variables and
19324 parameters. Remove argv definitions conditional on
19325 [__BOUNDED_POINTERS__].
19326 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19327 * elf/dl-runtime.c (_dl_fixup): Likewise.
19328 * include/set-hooks.h (RUN_HOOK): Likewise.
19329 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19331 * string/strcpy.c (strcpy): Do not use __unbounded.
19332 * sysdeps/generic/frame.h (struct layout): Likewise.
19333 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19334 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19335 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19336 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19337 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19338 (__backtrace): Likewise.
19339 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19341 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19342 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19343 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19345 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19346 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19348 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19349 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19350 Do not use __unbounded.
19351 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19352 Rename __unboundedrlimits parameter to rlimits in prototype.
19353 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19354 Do not use __unbounded.
19355 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19356 not use __ptrvalue.
19357 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19358 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19359 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19360 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19361 __ptrvalue or __unbounded.
19362 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19363 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19365 (__new_msgctl): Do not use __ptrvalue.
19366 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19368 (__libc_msgrcv): Do not use __ptrvalue.
19369 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19370 startup_info): Do not use __unbounded.
19371 (__libc_start_main): Likewise. Rename ubp_* variables and
19372 parameters. Remove argv definitions conditional on
19373 [__BOUNDED_POINTERS__].
19374 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19376 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19380 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19382 (__new_shmctl): Do not use __ptrvalue.
19383 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19384 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19386 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19388 (__libc_sigaction): Likewise.
19389 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19392 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19394 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19396 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19398 * string/mempcpy.c: Implement by calling memcpy.
19400 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19408 values in the mantissa.
19410 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19411 minimize writes to Z.
19412 (sub_magnitudes): Simplify code a bit.
19414 2013-02-12 Roland McGrath <roland@hack.frob.com>
19416 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19417 from the message. The linker prefixes all warnings with that already.
19419 2013-02-12 Andreas Schwab <schwab@suse.de>
19422 * posix/regexec.c (extend_buffers): Add parameter min_len.
19423 (check_matching): Pass minimum needed length.
19424 (clean_state_log_if_needed): Likewise.
19425 (get_subexp): Likewise.
19426 * posix/Makefile (tests): Add bug-regex34.
19427 (bug-regex34-ENV): Define.
19428 * posix/bug-regex34.c: New file.
19431 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19432 elements compare against the byte sequence of it, not its name.
19433 * posix/Makefile (tests): Add bug-regex35.
19434 (bug-regex35-ENV): Define.
19435 * posix/bug-regex35.c: New file.
19437 2013-02-11 Tom de Vries <tom@codesourcery.com>
19439 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19441 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19442 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19443 (CHECK_EOL): Add undef.
19445 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19447 * bits/stdlib-bsearch.h: New file.
19448 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19449 * stdlib/stdlib.h: Likewise.
19451 2013-02-11 Roland McGrath <roland@hack.frob.com>
19453 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19454 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19456 * manual/search.texi (Array Search Function): Add missing const in
19458 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19459 declaration to use rlim_t.
19460 (Basic Scheduling Functions): Remove erroneous const from
19461 sched_getparam prototype. Remove erroneous * from
19462 sched_get_priority_max and sched_get_priority_min prototypes.
19463 (Resource Usage): Fix summary @comment on vtimes to refer to
19464 sys/vtimes.h rather than vtimes.h.
19465 Add missing *s in vtimes prototype.
19466 (Limits on Resources): Fix ulimit prototype to return long int.
19467 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19468 prototypes to use long int rather than double.
19469 (BSD Random): Fix initstate and setstate to use char *, not void *.
19470 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19471 prototype to make second argument 'struct aiocb64 *const[]'.
19472 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19473 (Status of AIO Operations): Remove erroneous const in aio_return and
19474 aio_return64 prototypes.
19475 (Synchronizing I/O): Fix sync prototype to return void.
19476 * manual/startup.texi (Suboptions): Remove an erroneous const in
19477 getsubopt prototype.
19478 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19479 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19480 use size_t rather than int.
19481 (Scanning All Users): Likewise for getpwent_r.
19482 (Setting Groups): Add missing const to setgroups prototype.
19483 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19484 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19485 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19486 'const void *' rather than 'const char *'.
19487 (Host Address Functions): Likewise for inet_ntop.
19488 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19489 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19490 ssize_t for return value.
19491 (Sending Data): Likewise for send, sendto, sendmsg.
19492 (Socket Option Functions): Add a missing const in setsockopt prototype.
19493 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19494 use wchar_t for the argument.
19495 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19496 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19498 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19499 double/float/long double for second argument.
19500 Fix return types of significand, significandf, significandl.
19501 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19502 argument in fchmod prototype.
19503 (File Owner): Use uid_t and gid_t in fchown prototype.
19504 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19505 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19506 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19507 use 'const struct dirent **' as argument types to CMP function pointer
19509 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19510 (File Times): Fix summary magic @comment for struct utimbuf and utime
19511 to refer to utime.h, not time.h.
19512 * manual/string.texi (Argz Functions): Add missing const in
19513 argz_extract and argz_next prototypes.
19514 (Finding Tokens in a String): Likewise for basename.
19515 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19516 (Copying and Concatenation): Fix typo in wmemmove prototype.
19517 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19518 (Signal Stack): Remove erroneous const in sigstack prototype.
19519 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19521 (Simple Calendar Time): Likewise for stime.
19522 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19524 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19525 say sys/sysctl.h instead.
19526 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19527 and vsyslog prototypes.
19529 2013-02-11 Tom de Vries <tom@codesourcery.com>
19531 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19534 2013-02-11 Roland McGrath <roland@hack.frob.com>
19536 * misc/sys/mman.h: Fix typo in mremap comment.
19538 2013-02-08 Roland McGrath <roland@hack.frob.com>
19540 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19541 the '\0' terminator.
19543 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19546 * debug/segfault.c: Don't include <bp-checks.h>.
19547 * sysdeps/generic/bp-checks.h: Remove file.
19548 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19549 (__GETDENTS): Don't use CHECK_N.
19550 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19551 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19552 (__getgroups): Don't use CHECK_N.
19553 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19554 (setgroups): Don't use CHECK_N.
19555 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19556 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19557 (__libc_msgrcv): Don't use CHECK_N.
19558 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19559 (__libc_msgsnd): Don't use CHECK_N.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19562 (__libc_pread): Don't use CHECK_N.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19564 include <bp-checks.h>.
19565 (__libc_pread64): Don't use CHECK_N.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19567 include <bp-checks.h>.
19568 (__libc_pwrite): Don't use CHECK_N.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19570 include <bp-checks.h>.
19571 (__libc_pwrite64): Don't use CHECK_N.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19574 (__libc_pread): Don't use CHECK_N.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19576 include <bp-checks.h>.
19577 (__libc_pread64): Don't use CHECK_N.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19579 include <bp-checks.h>.
19580 (__libc_pwrite): Don't use CHECK_N.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19582 include <bp-checks.h>.
19583 (__libc_pwrite64): Don't use CHECK_N.
19584 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19585 (do_pread): Don't use CHECK_N.
19586 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19587 (do_pread64): Don't use CHECK_N.
19588 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19589 (do_pwrite): Don't use CHECK_N.
19590 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19591 (do_pwrite64): Don't use CHECK_N.
19592 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19593 (__libc_readv): Don't use CHECK_N.
19594 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19595 (semop): Don't use CHECK_N.
19596 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19598 (semtimedop): Don't use CHECK_N.
19599 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19600 (__libc_pread): Don't use CHECK_N.
19601 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19603 (__libc_pread64): Don't use CHECK_N.
19604 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19606 (__libc_pwrite): Don't use CHECK_N.
19607 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19609 (__libc_pwrite64): Don't use CHECK_N.
19610 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19612 (__libc_msgrcv): Don't use CHECK_N.
19613 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19614 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19615 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19616 (__libc_writev): Don't use CHECK_N.
19618 2013-02-08 Roland McGrath <roland@hack.frob.com>
19620 * string/strcpy.c: Removed unused variable.
19622 * Makeconfig (+sysdep-includes): Define with := rather than =.
19623 Use an existing include/ subdir of each sysdeps dir before it.
19625 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19627 * nscd/connection.c (register_traced_file): Comment function.
19628 [HAVE_INOTIFY] (union __inev): Define.
19629 [HAVE_INOTIFY] (inotify_check_files): New function.
19630 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19631 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19633 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19635 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19637 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19638 loaded if not already and that a failure is permanent.
19640 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19643 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19644 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19646 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19649 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19650 (CHECK_1_NULL_OK): Likewise.
19651 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19652 (__fxstat): Do not use CHECK_1.
19653 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19655 (___fxstat64): Do not use CHECK_1.
19656 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19658 (__fxstatat): Do not use CHECK_1.
19659 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19661 (__fxstatat64): Do not use CHECK_1.
19662 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19664 (__fxstat): Do not use CHECK_1.
19665 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19667 (__fxstatat): Do not use CHECK_1.
19668 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19670 (__getresgid): Do not use CHECK_1.
19671 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19673 (__getresuid): Do not use CHECK_1.
19674 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19676 (__lxstat): Do not use CHECK_1.
19677 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19679 (__old_msgctl): Do not use CHECK_1.
19680 (__new_msgctl): Likewise.
19681 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19683 (__new_setrlimit): Do not use CHECK_1.
19684 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19686 (__old_shmctl): Do not use CHECK_1.
19687 (__new_shmctl): Likewise.
19688 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19690 (__xstat): Do not use CHECK_1.
19691 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19692 (__lxstat): Do not use CHECK_1.
19693 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19695 (___lxstat64): Do not use CHECK_1.
19696 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19697 (__old_msgctl): Do not use CHECK_1.
19698 (__new_msgctl): Likewise.
19699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19701 (__gettimeofday): Do not use CHECK_1.
19702 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19703 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19704 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19706 (__gettimeofday): Do not use CHECK_1.
19707 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19708 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19709 (__new_shmctl): Do not use CHECK_1.
19710 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19712 (do_sigtimedwait): Do not use CHECK_1.
19713 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19715 (do_sigwaitinfo): Do not use CHECK_1.
19716 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19718 (msgctl): Do not use CHECK_1.
19719 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19721 (shmctl): Do not use CHECK_1.
19722 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19723 (ustat): Do not use CHECK_1.
19724 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19726 (__fxstat): Do not use CHECK_1.
19727 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19729 (__fxstatat): Do not use CHECK_1.
19730 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19732 (__lxstat): Do not use CHECK_1.
19733 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19735 (__xstat): Do not use CHECK_1.
19736 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19737 (__xstat): Do not use CHECK_1.
19738 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19739 (___xstat64): Do not use CHECK_1.
19742 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19744 (CHECK_BOUNDS_HIGH): Likewise.
19745 * string/strcpy.c: Do not include <bp-checks.h>.
19746 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19748 2013-02-07 Roland McGrath <roland@hack.frob.com>
19750 * nscd/nscd-client.h (__nscd_drop_map_ref):
19751 Add __attribute__ ((unused)).
19752 * nis/nss-nisplus.h (niserr2nss): Likewise.
19754 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19755 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19757 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19758 Remove inline keyword.
19759 * include/rounding-mode.h (round_away): Likewise.
19760 * libio/wfileops.c (adjust_wide_data): Likewise.
19761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19762 (__m128i_strloadu_tolower): Likewise.
19763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19764 (__m128i_strloadu_tolower): Likewise.
19765 * time/mktime.c (ydhms_diff): Likewise.
19766 * locale/elem-hash.h (elem_hash): Likewise.
19767 * locale/setlocale.c (setdata): Likewise.
19768 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19769 (re_string_wchar_at): Likewise.
19770 (bitset_not, bitset_merge, bitset_mask): Likewise.
19771 [!(__GNUC__ > 3)] (inline): Remove macro.
19772 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19773 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19774 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19775 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19776 * string/memcmp.c (memcmp_bytes): Likewise.
19777 * locale/programs/locarchive.c (compute_hashval): Likewise.
19778 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19779 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19780 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19781 * nss/getent.c (print_rpc, print_protocols): Likewise.
19782 (print_passwd, print_group, print_aliases): Likewise.
19783 * nis/nss-nisplus.h (niserr2nss): Likewise.
19784 * nscd/connections.c (restart_p): Likewise.
19785 Change return type to bool.
19787 2013-02-05 Roland McGrath <roland@hack.frob.com>
19789 * Makeconfig (all-Depend-files): Add existing
19790 $(sorted-subdirs:=/Depend) files.
19791 (all-subdirs): Remove nss.
19792 * sysdeps/unix/inet/Subdirs: Add it here instead.
19793 * hesiod/Depend: New file.
19795 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19796 instead of calling alloca.
19798 * io/lseek.c (__lseek): Rename to __libc_lseek.
19799 Define __lseek as an alias.
19801 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19803 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19805 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19806 else clause and remove check for non-standard endianness.
19808 2013-02-04 David S. Miller <davem@davemloft.net>
19810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19812 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19815 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19816 (__ubp_memchr): Remove prototype.
19817 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19818 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19819 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19820 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19821 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19823 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19824 (__ubp_memchr): Likewise.
19825 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19826 (__ubp_memchr): Likewise.
19827 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19828 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19829 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19830 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19832 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19833 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19834 (__getcwd): Do not use CHECK_STRING.
19835 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19837 (__real_chown): Do not use CHECK_STRING.
19838 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19840 (fchownat): Do not use CHECK_STRING.
19841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19843 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19845 (__lchown): Do not use CHECK_STRING.
19846 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19847 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19848 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19849 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19851 include <bp-checks.h>.
19852 (truncate64): Do not use CHECK_STRING.
19853 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19855 (__real_chown): Do not use CHECK_STRING.
19856 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19858 (__lchown): Do not use CHECK_STRING.
19859 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19861 (__chown): Do not use CHECK_STRING.
19862 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19864 (truncate64): Do not use CHECK_STRING.
19865 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19867 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19868 (__xmknod): Do not use CHECK_STRING.
19869 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19871 (__xmknodat): Do not use CHECK_STRING.
19872 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19873 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19875 2013-02-04 Andreas Schwab <schwab@suse.de>
19878 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19879 * include/netdb.h: Likewise for h_errno.
19880 * elf/tst-stackguard1.c: Include <tls.h>.
19882 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19884 * elf/link.h (struct link_map): Extend the l_addr comment.
19885 * include/link.h (struct link_map): Likewise.
19887 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19890 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19891 (BOUNDED_1): Remove macro.
19892 * debug/backtrace.c: Don't include <bp-checks.h>.
19893 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19894 (__backtrace): Likewise.
19895 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19897 (__backtrace): Don't use BOUNDED_1.
19898 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19900 (__backtrace): Don't use BOUNDED_1.
19901 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19902 (__backtrace): Don't use BOUNDED_1.
19903 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19904 (shmat): Don't use BOUNDED_N.
19906 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19909 * sysdeps/generic/bp-start.h: Remove file.
19910 * csu/libc-start.c: Don't include <bp-start.h>.
19911 (LIBC_START_MAIN): Set up __environ directly instead of using
19912 INIT_ARGV_and_ENVIRON.
19913 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19917 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19919 (CHECK_FCNTL): Likewise.
19920 (CHECK_N_PAGES): Likewise.
19923 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19925 (CHECK_SIGSET_NULL_OK): Likewise.
19926 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19928 (sigpending): Don't use CHECK_SIGSET.
19929 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19931 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19932 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19934 (do_sigsuspend): Don't use CHECK_SIGSET.
19935 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19937 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19938 (do_sigwait): Don't use CHECK_SIGSET.
19939 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19941 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19942 include <bp-checks.h>.
19943 (sigpending): Don't use CHECK_SIGSET.
19944 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19945 include <bp-checks.h>.
19946 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19947 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19949 (sigpending): Don't use CHECK_SIGSET.
19950 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19952 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19955 * sysdeps/generic/bp-semctl.h: Remove file.
19956 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19957 <bp-checks.h> and <bp-semctl.h>.
19958 (__old_semctl): Don't use CHECK_SEMCTL.
19959 (__new_semctl): Likewise.
19960 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19962 (__old_semctl): Don't use CHECK_SEMCTL.
19963 (__new_semctl): Likewise.
19964 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19965 <bp-checks.h> and <bp-semctl.h>.
19966 (__old_semctl): Don't use CHECK_SEMCTL.
19967 (__new_semctl): Likewise.
19968 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19969 <bp-checks.h> and <bp-semctl.h>.
19970 (semctl): Don't use CHECK_SEMCTL.
19973 * Makerules (elide-bp-thunks): Remove variable.
19974 (elide-routines.oS): Don't use $(elide-bp-thunks).
19975 (elide-routines.os): Likewise.
19976 (elide-routines.o): Likewise.
19977 (elide-routines.op): Likewise.
19978 (elide-routines.og): Likewise.
19979 (objects): Don't use $(bp-thunks).
19980 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19982 (common-generated): Do not add s-proto-bp.d.
19983 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19986 Do not generate makefile rules for bounded-pointer thunks.
19987 * sysdeps/generic/bp-thunks.h: Remove file.
19988 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19989 * sysdeps/unix/s-proto-bp.S: Likewise.
19992 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19993 parts of result separately when argument is not close to line from
19994 -i to i and one part of argument is small.
19995 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19996 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19997 * math/libm-test.inc (cacos_test): Add more tests.
19998 (casin_test): Likewise.
19999 (casinh_test): Likewise.
20000 * sysdeps/i386/fpu/libm-test-ulps: Update.
20001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20003 2013-01-31 David S. Miller <davem@davemloft.net>
20005 * po/de.po: Update from translation team.
20007 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20009 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20011 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20013 * configure.in (_AC_PROG_CC_C89): New definition.
20014 * configure: Regenerate.
20016 * configure.in (AC_PROG_CPP): New definition.
20017 * configure: Regenerate.
20019 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20021 * debug/tst-backtrace.h: New file.
20022 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20023 (ret): Remove variable.
20025 (FAIL): Remove macro.
20026 (NO_INLINE): Likewise.
20027 (fn1): Use match function instead of strstr.
20028 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20029 (ret): Remove variable.
20031 (FAIL): Remove macro.
20032 (NO_INLINE): Likewise.
20033 (fn): Use match function instead of strstr.
20034 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20035 (ret): Remove variable.
20037 (FAIL): Remove macro.
20038 (NO_INLINE): Likewise.
20039 (handle_signal): Use match function instead of strstr.
20040 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20041 (ret): Remove variable.
20043 (FAIL): Remove macro.
20044 (NO_INLINE): Likewise.
20045 (handle_signal): Use match function instead of strstr.
20047 2013-01-23 Roland McGrath <roland@hack.frob.com>
20049 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20051 2013-01-23 David S. Miller <davem@davemloft.net>
20053 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20054 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20055 argument of CAS if possible.
20056 * sysdeps/sparc/sparc64/bits/atomic.h
20057 (__arch_compare_and_exchange_val_32_acq): Likewise.
20058 (__arch_compare_and_exchange_val_64_acq): Likewise.
20060 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20062 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20063 * sysdeps/posix/ulimit.c: ... this.
20064 Include <limits.h>.
20065 * sysdeps/unix/bsd/ulimit.c: Remove file.
20067 2013-01-23 Adam Conrad <adconrad@0c3.net>
20069 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20070 (LDFLAGS-tst-array5): Likewise.
20072 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20075 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20076 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20077 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20078 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20080 2013-01-21 David S. Miller <davem@davemloft.net>
20082 * sysdeps/sparc/backtrace.c: New file.
20083 * sysdeps/sparc/sparc32/backtrace.h: New file.
20084 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20085 * sysdeps/sparc/sparc64/backtrace.h: New file.
20086 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20087 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20090 2013-01-21 Andreas Schwab <schwab@suse.de>
20093 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20096 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20102 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20103 Mark Mitchell <mark@codesourcery.com>
20104 Tom de Vries <tom@codesourcery.com>
20105 Paul Pluzhnikov <ppluzhnikov@google.com>
20107 * debug/tst-backtrace2.c: New file.
20108 * debug/tst-backtrace3.c: Likewise.
20109 * debug/tst-backtrace4.c: Likewise.
20110 * debug/tst-backtrace5.c: Likewise.
20111 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20112 (CFLAGS-tst-backtrace3.c): Likewise.
20113 (CFLAGS-tst-backtrace4.c): Likewise.
20114 (CFLAGS-tst-backtrace5.c): Likewise.
20115 (LDFLAGS-tst-backtrace2): Likewise.
20116 (LDFLAGS-tst-backtrace3): Likewise.
20117 (LDFLAGS-tst-backtrace4): Likewise.
20118 (LDFLAGS-tst-backtrace5): Likewise.
20119 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20120 tst-backtrace4 and tst-backtrace5.
20122 2013-01-18 Anton Blanchard <anton@samba.org>
20123 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20125 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20126 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20127 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20128 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20130 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20131 "+r" and remove output regs list as redundant. Add explicit inline
20132 asm to specify register of return val to work around compiler codegen
20133 bug. Remove (int) cast on return value. Add return type parameter to
20134 use in macro so that this macro does not truncate return value for
20136 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20137 pass to INTERNAL_VSYSCALL_NCS.
20138 (INLINE_VSYSCALL): Add 'long int' as return type to
20139 INTERNAL_VSYSCALL_NCS macro invocation.
20140 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20141 INTERNAL_VSYSCALL_NCS macro invocation.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20144 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20147 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20148 Fix application of SIMD FP exception mask.
20150 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20151 mp_no from a power of two.
20152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20153 __mpexp_twomm1. Use __pow_mp.
20155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20158 2013-01-17 David S. Miller <davem@davemloft.net>
20160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20162 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20165 * include/complex.h: Condition contents on [!_COMPLEX_H].
20166 (__kernel_casinhf): New prototype.
20167 (__kernel_casinh): Likewise.
20168 (__kernel_casinhl): Likewise.
20169 * math/Makefile (libm_calls): Add k_casinh.
20170 * math/k_casinh.c: New file.
20171 * math/k_casinhf.c: Likewise.
20172 * math/k_casinhl.c: Likewise.
20173 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20174 finite nonzero arguments.
20175 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20176 finite nonzero arguments.
20177 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20178 finite nonzero arguments.
20179 * math/s_casinh.c: Do not include <float.h>.
20180 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20181 * math/s_casinhf.c: Do not include <float.h>.
20182 (__casinhf): Move code for finite nonzero arguments to
20184 * math/s_casinhl.c: Do not include <float.h>.
20185 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20187 (__casinhl): Move code for finite nonzero arguments to
20189 * math/libm-test.inc (cacos_test): Add more tests.
20190 * sysdeps/i386/fpu/libm-test-ulps: Update.
20191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20193 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20195 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20196 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20197 [!HAVE_MREMAP]: Remove [defined linux] case.
20198 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20200 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20204 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20206 * elf/elf.h (R_386_SIZE32): New relocation.
20207 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20209 (elf_machine_rela): Likewise.
20210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20211 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20213 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20215 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20216 (FP_FAST_FMA): Do not define.
20217 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20218 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20219 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20220 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20221 !_SOFT_FLOAT]: Likewise.
20222 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20225 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20226 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20227 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20229 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20230 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20233 2013-01-16 Andreas Schwab <schwab@suse.de>
20236 * include/stdlib.h (__mktemp): Add declaration.
20237 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20238 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20240 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20242 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20244 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20245 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20246 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20248 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20249 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20253 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20254 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20255 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20257 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20258 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20260 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20262 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20264 2013-01-15 David S. Miller <davem@davemloft.net>
20266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20267 trunc{,f} to libm-sysdep_routes.
20268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20279 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20280 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20282 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20283 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20286 nearbyint{,f} to libm-sysdep_routes.
20287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20300 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20303 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20304 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20305 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20307 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20308 libc_feholdexcept and libc_fesetenv.
20310 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20312 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20314 2013-01-14 David S. Miller <davem@davemloft.net>
20316 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20317 (SPARC_ASM_VIS2_IFUNC): Likewise.
20318 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20320 use of 'siam' instruction.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20354 routines to libm-sysdep_routines.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20358 fdim/fdimf to libm-sysdep_routines.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20367 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20368 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20369 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20370 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20372 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20375 to optimize copies.
20377 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20382 local variable MPTWO.
20383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20386 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20388 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20391 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20393 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20395 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20397 * manual/pattern.texi (glob_t): Document gl_flags.
20398 (glob64_t): Likewise.
20400 2013-01-11 David S. Miller <davem@davemloft.net>
20402 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20403 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20404 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20405 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20406 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20407 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20408 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20409 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20410 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20411 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20412 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20413 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20414 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20417 sparc V9 rather than using V8 code.
20418 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20419 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20421 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20423 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20426 2013-01-11 Roland McGrath <roland@hack.frob.com>
20428 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20429 not in the main loop.
20430 * configure: Regenerated.
20432 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20434 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20435 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20437 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20438 [!__GLIBC_HAVE_LONG_LONG] case.
20439 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20440 condition to just #else.
20441 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20442 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20443 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20444 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20446 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20447 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20448 #elif condition to just #else.
20449 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20450 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20451 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20452 #elif condition to just #else.
20454 2013-01-11 Steve Ellcey <sellcey@mips.com>
20456 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20457 (EF_MIPS_ARCH_64): Fix value.
20458 (EF_MIPS_ARCH_32R2): New.
20459 (EF_MIPS_ARCH_64R2): New.
20461 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20463 * Makeconfig (+link-pie-before-libc): New.
20464 (+link-pie-after-libc): Likewise.
20465 (+link-pie-tests): Likewise.
20466 (+link-pie): Rewritten.
20467 (link-before-libc): Remove $(config-LDFLAGS).
20468 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20469 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20470 (config-LDFLAGS): Renamed to ...
20471 (rtld-LDFLAGS): This.
20472 (rtld-tests-LDFLAGS): New macro.
20473 (link-libc-rpath-link): Likewise.
20474 (link-libc-tests-rpath-link): Likewise.
20475 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20476 (link-libc): Prepand $(link-libc-rpath-link).
20477 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20478 (test-program-prefix): New macro.
20479 (test-via-rtld-prefix): Likewise.
20480 (test-program-cmd): Likewise.
20481 (host-test-program-cmd): Likewise.
20482 * Makefile ($(common-objpfx)testrun.sh): Replace
20483 $(run-program-prefix) with $(test-program-prefix).
20484 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20486 ($(common-objpfx)shlib.lds): Likewise.
20487 (build-module-helper): Likewise.
20488 ($(common-objpfx)format.lds): Likewise.
20489 * Rules (binaries-pie-tests): New.
20490 (binaries-pie-notests): Likewise.
20491 (binaries-pie): Rewritten.
20492 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20493 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20494 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20495 (make-test-out): Replace $(host-built-program-cmd) with
20496 $(host-test-program-cmd).
20497 * config.make.in (build-hardcoded-path-in-tests): New variable.
20498 * configure.in (--enable-hardcoded-path-in-tests): New configure
20500 (hardcoded_path_in_tests): New AC_SUBST.
20501 * configure: Regenerated.
20502 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20503 $(built-program-cmd) with $(test-program-cmd).
20504 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20505 (test_program_cmd): This.
20506 * elf/Makefile ($(objpfx)order.out): Run test with
20507 $(test-program-prefix).
20508 ($(objpfx)order2.out): Likewise.
20509 ($(objpfx)tst-initorder.out): Likewise.
20510 ($(objpfx)tst-initorder2.out): Likewise.
20511 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20512 $(test-program-cmd).
20513 ($(objpfx)tst-array1-static.out): Likewise.
20514 ($(objpfx)tst-array2.out): Likewise.
20515 ($(objpfx)tst-array3.out): Likewise.
20516 ($(objpfx)tst-array4.out): Likewise.
20517 ($(objpfx)tst-array5.out): Likewise.
20518 ($(objpfx)tst-array5-static.out): Likewise.
20519 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20520 $(test-program-cmd).
20521 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20522 $(run-program-prefix) with $(test-program-prefix).
20523 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20524 (test_program_prefix): This.
20525 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20526 $(run-program-prefix) with $(test-program-prefix).
20527 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20528 (test_program_prefix): This.
20529 * iconvdata/tst-tables.sh: Likewise.
20530 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20531 $(run-program-prefix) with $(test-program-prefix).
20532 ($(objpfx)tst-translit.out): Likewise.
20533 ($(objpfx)tst-gettext2.out): Likewise.
20534 ($(objpfx)tst-gettext4.out): Likewise.
20535 ($(objpfx)tst-gettext6.out): Likewise.
20536 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20537 (test_program_prefix): This.
20538 * intl/tst-gettext2.sh: Likewise.
20539 * intl/tst-gettext4.sh Likewise.
20540 * intl/tst-gettext6.sh: Likewise.
20541 * intl/tst-translit.sh: Likewise.
20542 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20543 with $(test-program-cmd).
20544 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20545 $(run-program-prefix) with $(test-program-prefix).
20546 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20547 (test_program_prefix): This.
20548 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20549 $(run-program-prefix) with $(test-program-prefix).
20550 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20551 (test_program_prefix): This.
20552 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20553 * posix/Makefile ($(objpfx)globtest.out): Replace
20554 $(run-via-rtld-prefix) and $(test-wrapper) with
20555 $(test-program-prefix) and $(test-via-rtld-prefix).
20556 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20557 $(test-program-prefix).
20558 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20559 $(host-test-program-cmd).
20560 (tst-spawn-ARGS): Likewise.
20561 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20562 $(test-program-prefix).
20563 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20564 (test_via_rtld_prefix): This.
20565 (test_wrapper): Renamed to ...
20566 (test_program_prefix): This.
20567 (run_program_prefix): Replaced by test_program_prefix.
20568 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20569 (test_program_prefix): This.
20570 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20571 with $(host-test-program-cmd).
20572 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20573 $(run-program-prefix) with $(test-program-prefix).
20574 ($(objpfx)tst-printf.out): Likewise.
20575 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20576 $(test-program-cmd).
20577 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20578 (test_program_prefix): This.
20579 * stdio-common/tst-unbputc.sh: Likewise.
20580 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20581 $(run-program-prefix) with $(test-program-prefix).
20582 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20583 (test_program_prefix): This.
20584 * string/Makefile ($(objpfx)tst-svc.out): Replace
20585 $(built-program-cmd) with $(test-program-cmd).
20587 2013-01-11 Andreas Jaeger <aj@suse.de>
20590 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20591 value. Sync with Linux 3.7.
20593 2013-01-10 David S. Miller <davem@davemloft.net>
20595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20599 2013-01-10 Roland McGrath <roland@hack.frob.com>
20601 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20603 * configure: Regenerated.
20605 2013-01-10 David S. Miller <davem@davemloft.net>
20607 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20608 sparc V9 rather than using V8 code.
20609 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20610 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20612 2013-01-10 Roland McGrath <roland@hack.frob.com>
20614 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20615 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20616 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20617 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20618 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20619 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20620 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20621 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20622 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20623 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20624 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20625 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20626 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20627 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20628 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20629 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20630 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20631 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20632 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20633 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20634 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20635 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20636 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20637 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20638 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20639 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20640 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20642 2013-01-10 David S. Miller <davem@davemloft.net>
20644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20646 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20648 * posix/Makefile (tests-static): New variable.
20649 (tests): Add $(tests-static).
20650 (tst-exec-static-ARGS): New variable.
20651 (tst-spawn-static-ARGS): Likewise.
20652 * posix/tst-exec-static.c: New file.
20653 * posix/tst-spawn-static.c: Likewise.
20654 * posix/tst-exec.c: Support run directly.
20655 * posix/tst-spawn.c: Likewise.
20657 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20659 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20661 * math/bits/mathcalls.h (llrint): Likewise.
20662 (llround): Likewise.
20663 * stdlib/stdlib.h (struct drand48_data): Likewise.
20664 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20665 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20666 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20668 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20670 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20671 (elf_greg_t): Likewise.
20672 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20673 (__jmp_buf): Likewise.
20674 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20676 (llrint): Likewise, for all definitions.
20677 (llrintl): Likewise.
20679 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20680 Remove [__GNUC__] condition.
20681 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20682 condition to just [__USE_ISOC99].
20683 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20685 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20688 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20689 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20691 (_POSIX_V6_ILP32_OFF32): Likewise.
20692 (_XBS5_ILP32_OFF32): Likewise.
20693 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20694 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20696 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20698 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20701 doubles __mpexp_twomm1. Adjust usage.
20702 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20705 2013-01-10 Andreas Schwab <schwab@suse.de>
20708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20709 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20711 2013-01-09 David S. Miller <davem@davemloft.net>
20714 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20715 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20716 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20717 (TCP_FASTOPEN): Define.
20718 (tcp_repair_opt): New structure.
20719 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20721 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20722 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20723 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20724 (tcp_cookie_transactions): New structure.
20726 2013-01-09 Anton Blanchard <anton@samba.org>
20728 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20729 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20730 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20733 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20735 * include/features.h (__USE_ANSI): Remove.
20737 2013-01-09 Roland McGrath <roland@hack.frob.com>
20739 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20741 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20743 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 * sysdeps/s390/fpu/libm-test-ulps: Update.
20747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20749 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20753 (denorm): Likewise.
20754 (__mp_dbl): Likewise.
20755 (__dbl_mp): Likewise.
20756 (add_magnitudes): Likewise.
20757 (sub_magnitudes): Likewise.
20763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20767 (denorm): Likewise.
20768 (__mp_dbl): Likewise.
20769 (__dbl_mp): Likewise.
20770 (add_magnitudes): Likewise.
20771 (sub_magnitudes): Likewise.
20777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20781 (denorm): Likewise.
20782 (__mp_dbl): Likewise.
20783 (__dbl_mp): Likewise.
20784 (add_magnitudes): Likewise.
20785 (sub_magnitudes): Likewise.
20792 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20794 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20795 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20796 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20797 2 && __USE_EXTERN_INLINES]: Likewise.
20799 2013-01-08 Andreas Jaeger <aj@suse.de>
20802 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20804 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20805 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20807 2013-01-07 Anton Blanchard <anton@samba.org>
20809 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20810 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20811 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20812 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20813 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20814 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20815 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20816 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20821 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20824 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20827 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20828 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20832 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20834 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20835 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20836 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20838 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20839 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20842 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20843 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20847 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20848 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20851 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20853 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20855 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20856 (__MALLOC_PMT): Likewise.
20857 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20858 [__GNUC__], only on [_LIBC].
20859 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20860 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20861 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20862 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20863 forward declaration.
20864 (realloc_hook_ini): Likewise.
20865 (memalign_hook_ini): Likewise.
20866 (__libc_memalign): Do not use __MALLOC_PMT in variable
20868 (__libc_valloc): Likewise.
20869 (__libc_pvalloc): Likewise.
20870 (__libc_calloc): Likewise.
20871 (__posix_memalign): Likewise.
20874 * math/s_casinh.c: Include <float.h>.
20875 (__casinh): Do not do computation with squaring and square root
20876 for large arguments.
20877 * math/s_casinhf.c: Include <float.h>.
20878 (__casinhf): Do not do computation with squaring and square root
20879 for large arguments.
20880 * math/s_casinhl.c: Include <float.h>.
20881 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20882 (__casinhl): Do not do computation with squaring and square root
20883 for large arguments.
20884 * math/libm-test.inc (casin_test): Add more tests.
20885 (casinh_test): Likewise.
20886 * sysdeps/i386/fpu/libm-test-ulps: Update.
20887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20889 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20891 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20892 (__x86_64_raw_data_cache_size): Likewise.
20893 (__x86_64_data_cache_size_half): Likewise.
20894 (__x86_64_raw_data_cache_size_half): Likewise.
20895 (__x86_64_shared_cache_size): Likewise.
20896 (__x86_64_raw_shared_cache_size): Likewise.
20897 (__x86_64_shared_cache_size_half): Likewise.
20898 (__x86_64_raw_shared_cache_size_half): Likewise.
20899 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20901 (__x86_data_cache_size): This.
20902 (__x86_64_raw_data_cache_size): Renamed to ...
20903 (__x86_raw_data_cache_size): This.
20904 (__x86_64_data_cache_size_half): Renamed to ...
20905 (__x86_data_cache_size_half): This.
20906 (__x86_64_raw_data_cache_size_half): Renamed to ...
20907 (__x86_raw_data_cache_size_half): This.
20908 (__x86_64_shared_cache_size): Renamed to ...
20909 (__x86_shared_cache_size): This.
20910 (__x86_64_raw_shared_cache_size): Renamed to ...
20911 (__x86_raw_shared_cache_size): This.
20912 (__x86_64_shared_cache_size_half): Renamed to ...
20913 (__x86_shared_cache_size_half): This.
20914 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20915 (__x86_raw_shared_cache_size_half): This.
20916 * sysdeps/x86_64/memcpy.S: Updated.
20917 * sysdeps/x86_64/memset.S: Likewise.
20918 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20922 2013-01-04 David S. Miller <davem@davemloft.net>
20924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20926 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20928 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20929 1 to avoid redefinition warning.
20930 (__USE_GNU): Don't define.
20931 (init_signaling_nan): Protoize.
20933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20935 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20937 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20939 (__cpymn): Likewise.
20940 (norm): Remove commented code.
20941 (denorm): Likewise.
20942 (__mp_dbl): Likewise.
20944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20945 (__cpymn): Likewise.
20946 (norm): Remove commented code.
20947 (denorm): Likewise.
20948 (__mp_dbl): Likewise.
20951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20952 mp_no value for 1.0 and 2.0.
20953 (norm): Use RADIXI instead of radixi.d.
20954 (denorm): Likewise.
20955 (__mul): Use 0.0 instead of zero.d.
20956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20957 mp_no value for 1.0 and 2.0.
20958 (norm): Use RADIXI instead of radixi.d.
20959 (denorm): Likewise.
20960 (__mul): Use 0.0 instead of zero.d.
20962 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20965 * math/s_casinh.c (__casinh): Reduce finite argument to first
20966 quadrant then set signs of results at the end.
20967 * math/s_casinhf.c (__casinhf): Likewise.
20968 * math/s_casinhl.c (__casinhl): Likewise.
20969 * math/libm-test.inc (casin_test): Add more tests.
20970 (casinh_test): Likewise.
20971 * sysdeps/i386/fpu/libm-test-ulps: Update.
20972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20974 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20978 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20980 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20982 (denorm): Likewise.
20983 (__mp_dbl): Likewise.
20986 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20987 and adjust the header comment.
20989 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20990 variable name from declaration.
20992 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20995 Initialize COMMON_CPUID_INDEX_7 element.
20996 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20997 (CPUID_RTM): Likewise.
20998 (HAS_RTM): Likewise.
20999 (COMMON_CPUID_INDEX_7): New enum.
21001 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21004 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21005 size is zero, record memory as freed.
21007 2013-01-03 Andreas Jaeger <aj@suse.de>
21009 * po/ia.po: Add new Interlingua translation.
21011 2012-01-03 Allan McRae <allan@archlinux.org>
21013 * locale/programs/localedef.c: Fix description of '--posix' flag.
21015 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21017 * NEWS: Update dates in second copyright notice.
21018 * README: Update copyright dates in example.
21019 * manual/libc.texinfo: Update copyright dates.
21020 * scripts/test-installation.pl: Update copyright date in --version
21023 * hurd/ctty-input.c: Fix copyright notice formatting.
21024 * hurd/ctty-output.c: Likewise.
21025 * hurd/dtable.c: Likewise.
21026 * hurd/hurd-raise.c: Likewise.
21027 * hurd/hurdprio.c: Likewise.
21028 * hurd/msgportdemux.c: Likewise.
21029 * misc/sys/file.h: Likewise.
21030 * misc/sys/ioctl.h: Likewise.
21031 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21032 * sysdeps/mach/hurd/chdir.c: Likewise.
21033 * sysdeps/mach/hurd/fchdir.c: Likewise.
21034 * sysdeps/mach/hurd/rename.c: Likewise.
21035 * sysdeps/mach/hurd/rmdir.c: Likewise.
21036 * sysdeps/mach/hurd/seekdir.c: Likewise.
21037 * sysdeps/mach/hurd/setsid.c: Likewise.
21038 * sysdeps/posix/wait3.c: Likewise.
21040 * All files with FSF copyright notices: Update copyright dates
21041 using scripts/update-copyrights.
21042 * intl/plural.c: Regenerated.
21043 * locale/programs/charmap-kw.h: Likewise.
21044 * locale/programs/locfile-kw.h: Likewise.
21046 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21048 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21052 calculation loop and add branch prediction.
21054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21055 check access beyond bounds of m1np.
21057 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21059 (__inv): Remove local variable MPTWO to use the global
21061 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21065 MP3HALFS static const.
21067 2013-01-01 David S. Miller <davem@davemloft.net>
21069 * po/ca.po: Update from translation team.
21071 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21073 * scripts/update-copyrights: New file.
21074 * Makeconfig: Reformat copyright notice.
21075 * ctype/ctype.h: Likewise.
21076 * debug/swprintf_chk.c: Likewise.
21077 * elf/dl-cache.c: Likewise.
21078 * elf/dl-debug.c: Likewise.
21079 * elf/dl-object.c: Likewise.
21080 * grp/initgroups.c: Likewise.
21081 * hurd/Makefile: Likewise.
21082 * hurd/hurd/signal.h: Likewise.
21083 * hurd/hurdfault.c: Likewise.
21084 * hurd/hurdioctl.c: Likewise.
21085 * hurd/hurdlookup.c: Likewise.
21086 * hurd/intr-msg.c: Likewise.
21087 * iconv/gconv_open.c: Likewise.
21088 * libio/swprintf.c: Likewise.
21089 * locale/lc-ctype.c: Likewise.
21090 * locale/nl_langinfo.c: Likewise.
21091 * mach/Machrules: Likewise.
21092 * mach/Makefile: Likewise.
21093 * malloc/obstack.h: Likewise.
21094 * manual/Makefile: Likewise.
21095 * manual/tsort.awk: Likewise.
21096 * misc/bits/stab.def: Likewise.
21097 * nis/nis_print_group_entry.c: Likewise.
21098 * nis/nis_table.c: Likewise.
21099 * nis/nss_compat/compat-pwd.c: Likewise.
21100 * nis/nss_compat/compat-spwd.c: Likewise.
21101 * po/Makefile: Likewise.
21102 * posix/fnmatch.c: Likewise.
21103 * posix/regex.h: Likewise.
21104 * resolv/Makefile: Likewise.
21105 * resolv/nss_dns/dns-network.c: Likewise.
21106 * resolv/res_hconf.c: Likewise.
21107 * scripts/gen-sorted.awk: Likewise.
21108 * soft-fp/soft-fp.h: Likewise.
21109 * stdio-common/printf.h: Likewise.
21110 * stdlib/monetary.h: Likewise.
21111 * stdlib/random.c: Likewise.
21112 * stdlib/random_r.c: Likewise.
21113 * sysdeps/generic/Makefile: Likewise.
21114 * sysdeps/gnu/Makefile: Likewise.
21115 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21143 * sysdeps/mach/hurd/errnos.awk: Likewise.
21144 * sysdeps/mach/hurd/fork.c: Likewise.
21145 * sysdeps/mach/hurd/getcwd.c: Likewise.
21146 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21147 * sysdeps/mach/hurd/mmap.c: Likewise.
21148 * sysdeps/mach/hurd/utimes.c: Likewise.
21149 * sysdeps/mach/hurd/xmknod.c: Likewise.
21150 * sysdeps/posix/profil.c: Likewise.
21151 * sysdeps/posix/readdir_r.c: Likewise.
21152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21153 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21154 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21155 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21159 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21163 * sysdeps/pthread/lio_listio.c: Likewise.
21164 * sysdeps/sparc/dl-procinfo.h: Likewise.
21165 * sysdeps/unix/i386/sysdep.S: Likewise.
21166 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21167 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21168 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21169 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21171 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21172 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21173 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21174 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21175 * sysdeps/wordsize-32/divdi3.c: Likewise.
21176 * time/sys/time.h: Likewise.
21177 * wcsmbs/Makefile: Likewise.
21179 2013-01-01 David S. Miller <davem@davemloft.net>
21181 * po/fr.po: Update from translation team.
21183 * catgets/gencat.c: Update copyright year.
21184 * csu/version.c: Likewise.
21185 * debug/catchsegv.sh: Likewise.
21186 * debug/pcprofiledump.c: Likewise.
21187 * debug/xtrace.sh: Likewise.
21188 * elf/ldconfig.c: Likewise.
21189 * elf/ldd.bash.in: Likewise.
21190 * elf/pldd.c: Likewise.
21191 * elf/sotruss.ksh: Likewise.
21192 * elf/sprof.c: Likewise.
21193 * iconv/iconv_prog.c: Likewise.
21194 * iconv/iconvconfig.c: Likewise.
21195 * locale/programs/locale.c: Likewise.
21196 * locale/programs/localedef.c: Likewise.
21197 * login/programs/pt_chown.c: Likewise.
21198 * malloc/memusage.sh: Likewise.
21199 * malloc/memusagestat.c: Likewise.
21200 * malloc/mtrace.pl: Likewise.
21201 * nscd/nscd.c: Likewise.
21202 * nss/getent.c: Likewise.
21203 * nss/makedb.c: Likewise.
21204 * posix/getconf.c: Likewise.
21206 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21208 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21211 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21213 * math/bits/mathcalls.h (modf): Use __nonnull.
21215 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21217 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21218 (split): Use macro CN instead of the bare value.
21219 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21222 instead of the bare value.
21223 (power1): Likewise.
21225 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21229 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21231 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21233 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21234 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21235 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21236 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21238 2012-12-28 Andreas Jaeger <aj@suse.de>
21240 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21241 values are from Linux 3.7.
21243 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21244 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21246 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21248 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21253 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21254 variables with preprocessor constants.
21255 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21256 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21259 2012-12-27 Bruno Haible <bruno@clisp.org>
21262 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21265 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21268 and use variable directly.
21269 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21273 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21274 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21276 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21278 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21279 include directive. Remove local variable MPONE.
21280 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21284 2012-12-25 David S. Miller <davem@davemloft.net>
21286 * version.h (RELEASE): Set to "development".
21287 (VERSION): Set to "2.17.90".
21288 * NEWS: Add 2.18 section.
21290 2012-12-21 David S. Miller <davem@davemloft.net>
21292 * po/hr.po: Update from translation team.
21294 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21296 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21298 2012-12-19 Steve Ellcey <sellcey@mips.com>
21300 * NEWS: Mention new memcpy for MIPS.
21302 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21304 * manual/contrib.texi (Contributors): Spelling correction.
21306 2012-12-15 David S. Miller <davem@davemloft.net>
21308 * po/ru.po: Update from translation team.
21310 2012-12-13 David S. Miller <davem@davemloft.net>
21312 * NEWS: Mention IFUNC testsuite enhancements.
21314 * po/pl.po: Update from translation team.
21315 * po/bg.po: Likewise.
21317 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21318 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21320 2012-12-11 David S. Miller <davem@davemloft.net>
21322 * po/sv.po: Update from translation team.
21324 * po/vi.po: Update from translation team.
21326 * po/cs.po: Update from translation team.
21328 * po/de.po: Update from translation team.
21329 * po/eo.po: Likewise.
21330 * po/nl.po: Likewise.
21332 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21335 * manual/argp.texi (Argp Helper Functions): Move node to follow
21336 Argp Parsing State.
21339 * manual/conf.texi (Limits on File System Capacity): Mention if
21340 terminating null is included in the max size.
21342 2012-12-10 Andreas Jaeger <aj@suse.de>
21344 * po/cs.po: Update from translation team.
21346 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21348 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21349 void pointer and cast to uintptr_t.
21350 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21352 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21353 * sysdeps/s390/s390-64/memset.S: Likewise.
21355 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21358 * menual/message.texi (Message Translation): Fix typos.
21359 (Helper programs for gettext): Likewise.
21361 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21364 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21367 2012-12-07 David S. Miller <davem@davemloft.net>
21369 * po/libc.pot: Update.
21371 2012-12-07 Richard Henderson <rth@redhat.com>
21374 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21375 normal/normal case to before the switch.
21376 (_FP_DIV): Likewise.
21378 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21379 Mike Frysinger <vapier@gentoo.org>
21381 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21382 check for __NR_fadvise64_64.
21384 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21386 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21387 0, not just to plain "0" as a statement.
21388 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21391 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21393 * NEWS: Use sourceware.org in Bugzilla URL.
21395 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21398 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21400 * stdio-common/tst-put-error.c (do_test): Add newline to the
21401 padded test to ensure flush.
21403 2012-12-05 Jeff Law <law@redhat.com>
21405 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21407 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21409 * README: Don't refer to ports add-on as distributed separately.
21410 Mention AArch64 in list of systems supported in the ports add-on.
21412 * LICENSES: Add more non-FSF copyright and license notices.
21414 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21417 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21419 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21420 10000 as width of padded output.
21422 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21424 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21426 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21427 variable LX with __attribute__ ((unused)).
21428 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21430 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21433 with __attribute__ ((unused)).
21435 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21437 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21439 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21441 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21442 (CFLAGS-nldbl-acos.c): New variable.
21443 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21474 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21475 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21476 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21477 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21478 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21479 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21480 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21481 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21482 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21483 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21484 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21485 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21486 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21487 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21488 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21489 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21490 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21491 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21492 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21493 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21494 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21495 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21496 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21497 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21498 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21499 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21500 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21501 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21502 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21503 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21504 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21542 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21545 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21546 whole low double instead of just low 47 bits when splitting values
21549 2012-12-03 Allan McRae <allan@archlinux.org>
21551 * manual/stdio.texi (Predefined Printf Handlers): Remove
21552 @hsep and @vsep usage.
21554 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21556 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21557 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21559 2012-12-03 Jeff Law <law@redhat.com>
21561 * time/sys/time.h (settimeofday): Do not mark TV argument
21564 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21566 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21567 when currently writing and seek to current position when not.
21568 * libio/Makefile (tests): Remove bug-fclose1.
21569 * libio/bug-fclose1.c: Delete.
21571 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21573 * manual/arith.texi (feenableexcept): Fix typo.
21574 (fedisableexcept): Likewise.
21576 2012-11-30 Roland McGrath <roland@hack.frob.com>
21578 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21579 second, differently-typed declaration, rather than a cast.
21581 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21583 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21584 * include/rpc/svc.h: ... here.
21586 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21589 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21590 depending n and resplen2 to catch cases where answer
21593 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21595 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21596 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21598 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21602 2012-11-29 Roland McGrath <roland@hack.frob.com>
21604 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21606 2012-11-28 Jeff Law <law@redhat.com>
21609 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21610 dataset_temporary. Track alloca usage into alloca_used.
21611 If dataset is large allocate and release it via malloc/free.
21613 2012-06-04 Florian Weimer <fweimer@redhat.com>
21616 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21618 2012-11-28 David S. Miller <davem@davemloft.net>
21620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21622 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21625 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21626 of pi/2 rounded to nearest to 64 bits.
21627 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21628 nearest to 64 bits.
21629 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21632 2012-11-28 Jeff Law <law@redhat.com>
21633 Martin Osvald <mosvald@redhat.com>
21636 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21637 * sunrpc/svc.c: Include time.h.
21638 (__svc_accept_failed): New function.
21639 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21640 any reason other than EINTR, call __svc_accept_failed.
21641 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21642 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21644 2012-11-28 Andreas Schwab <schwab@suse.de>
21646 * scripts/abilist.awk: Also handle indirect functions in .opd
21649 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21652 * sysdeps/x86/fpu/powl_helper.c: New file.
21653 * sysdeps/x86/fpu/Makefile: Likewise.
21654 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21656 (__ieee754_powl): Use __powl_helper for finite arguments except
21657 integer exponents below 8.
21658 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21660 (__ieee754_powl): Use __powl_helper for finite arguments except
21661 integer exponents below 8.
21662 * math/libm-test.inc (pow_test): Add more tests and enable some
21663 previously disabled tests.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21668 Carlos O'Donell <carlos_odonell@mentor.com>
21670 * nss/makedb.c (is_prime): Assert that input is odd and greater
21671 than 4. Note that fact in a comment too.
21672 (next_prime): Add 4 to input.
21674 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21677 * libio/Makefile (tests): Add test case tst-fwrite-error.
21678 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21679 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21680 * libio/tst-fwrite-error.c: New test case.
21682 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21684 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21685 before casting to void *.
21686 * include/libc-internal.h (__pointer_type): New macro.
21687 (__integer_if_pointer_type_sub): Likewise.
21688 (__integer_if_pointer_type): Likewise.
21689 (cast_to_integer): Likewise.
21690 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21691 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21692 before casting to atomic64_t.
21693 (atomic_exchange_acq): Likewise.
21694 (__arch_exchange_and_add_body): Likewise.
21695 (__arch_add_body): Likewise.
21696 (atomic_add_negative): Likewise.
21697 (atomic_add_zero): Likewise.
21699 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21701 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21702 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21703 (add_fdes): Likewise.
21704 (linear_search_fdes): Likewise.
21705 (binary_search_unencoded_fdes): Likewise.
21707 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21709 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21711 2012-11-24 Adam Conrad <adconrad@0c3.net>
21713 * configure.in: Autodetect C++ header directories.
21714 * configure: Regenerated.
21716 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21718 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21720 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21724 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21726 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21727 LDBL_MANT_DIG == 106]: Disable some tests.
21728 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21730 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21735 input for small inputs. Return +/- pi/2 for large inputs.
21736 * math/libm-test.inc (atan_test): Add more tests.
21738 * sysdeps/generic/unwind-dw2-fde-glibc.c
21739 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21740 __attribute__ ((unused)).
21743 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21744 x * y if x and y are nonzero and z is zero.
21747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21748 nonzero exponents with absolute value below 0x1p-117 to +/-
21752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21753 up arguments below 2**-450, not just those below 2**-500.
21754 * math/libm-test.inc (hypot_test): Add another test.
21757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21758 Return a+b for ratio over 2**120, not 2**60.
21759 * math/libm-test.inc (hypot_test): Add another test.
21761 * math/libm-test.inc (clog_test): Use
21762 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21763 (clog10_test): Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21768 2012-11-22 Andreas Schwab <schwab@suse.de>
21770 * sysdeps/i386/fpu/libm-test-ulps: Update.
21772 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21774 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21775 printf output with newline.
21777 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21780 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21781 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21782 -z nodlopen, -z initfirst and -z execstack support.
21783 * configure: Regenerated.
21785 * elf/elf.h (DF_1_NODIRECT): New macro.
21786 (DF_1_IGNMULDEF): Likewise.
21787 (DF_1_NOKSYMS): Likewise.
21788 (DF_1_NOHDR): Likewise.
21789 (DF_1_EDITED): Likewise.
21790 (DF_1_NORELOC): Likewise.
21791 (DF_1_SYMINTPOSE): Likewise.
21792 (DF_1_GLOBAUDIT): Likewise.
21793 (DF_1_SINGLETON): Likewise.
21794 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21795 DT_1_SUPPORTED_MASK bits.
21796 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21798 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21800 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21802 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21804 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21807 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21808 (sendmmsg): Move declarations...
21809 * socket/sys/socket.h: ... here.
21810 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21811 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21813 * socket/recvmmsg.c: ... this new file.
21814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21815 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21816 definition of __sendmmsg hidden.
21817 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21818 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21819 Move ENOSYS stub into and include it from...
21820 * socket/sendmmsg.c: ... this new file.
21821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21822 (sysdep_routines): Move recvmmsg and sendmmsg...
21823 * socket/Makefile (routines): ... here.
21824 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21825 (GLIBC_PRIVATE): Add __sendmmsg.
21826 * include/sys/socket.h (__sendmmsg): Add declarations.
21827 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21830 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21833 variable I1 with __attribute__ ((unused)).
21834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21836 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21838 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21839 DUMMY variables with __attribute__ ((unused)).
21841 * bits/byteswap.h: Include <bits/types.h>.
21842 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21844 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21846 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21847 string_t. Do not manually set errno.
21848 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21849 length with __strnlen. Make sure to both set errno and return it on
21852 2012-11-19 David S. Miller <davem@davemloft.net>
21854 With help from Joseph Myers.
21855 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21856 very large arguments properly.
21857 * math/libm-test.inc (atan_test): New tests.
21858 (atan2_test): New tests.
21859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21862 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21865 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21868 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21869 [POSIX] (EADDRNOTAVAIL): Likewise.
21870 [POSIX] (EAFNOSUPPORT): Likewise.
21871 [POSIX] (EALREADY): Likewise.
21872 [POSIX] (ECONNABORTED): Likewise.
21873 [POSIX] (ECONNREFUSED): Likewise.
21874 [POSIX] (ECONNRESET): Likewise.
21875 [POSIX] (EDESTADDRREQ): Likewise.
21876 [POSIX] (EDQUOT): Likewise.
21877 [POSIX] (EHOSTUNREACH): Likewise.
21878 [POSIX] (EIDRM): Likewise.
21879 [POSIX] (EISCONN): Likewise.
21880 [POSIX] (ELOOP): Likewise.
21881 [POSIX] (EMULTIHOP): Likewise.
21882 [POSIX] (ENETDOWN): Likewise.
21883 [POSIX] (ENETUNREACH): Likewise.
21884 [POSIX] (ENOBUFS): Likewise.
21885 [POSIX] (ENODATA): Likewise.
21886 [POSIX] (ENOLINK): Likewise.
21887 [POSIX] (ENOMSG): Likewise.
21888 [POSIX] (ENOPROTOOPT): Likewise.
21889 [POSIX] (ENOSR): Likewise.
21890 [POSIX] (ENOSTR): Likewise.
21891 [POSIX] (ENOTCONN): Likewise.
21892 [POSIX] (ENOTSOCK): Likewise.
21893 [POSIX] (EOPNOTSUPP): Likewise.
21894 [POSIX] (EOVERFLOW): Likewise.
21895 [POSIX] (EPROTO): Likewise.
21896 [POSIX] (EPROTONOSUPPORT): Likewise.
21897 [POSIX] (EPROTOTYPE): Likewise.
21898 [POSIX] (ESTALE): Likewise.
21899 [POSIX] (ETIME): Likewise.
21900 [POSIX] (ETXTBSY): Likewise.
21901 [POSIX] (EWOULDBLOCK): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21903 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21904 [POSIX] (SEEK_CUR): Likewise.
21905 [POSIX] (SEEK_END): Likewise.
21906 [POSIX || UNIX98] (mode_t): Do not require.
21907 [POSIX] (off_t): Likewise.
21908 [POSIX] (pid_t): Likewise.
21909 [POSIX] (sys/stat.h): Do not allow header.
21910 [POSIX] (unistd.h): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21912 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21914 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21916 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21917 sigevent): Specify elements.
21918 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21920 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21921 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21923 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21924 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21925 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21926 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21927 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21928 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21929 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21930 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21932 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21933 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21934 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21935 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21940 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21942 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21944 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21945 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21947 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21948 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21949 Specify lower bound on value.
21950 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21952 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21953 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21954 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21955 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21956 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21957 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21959 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21961 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21962 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21963 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21964 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21965 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21966 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21967 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21968 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21969 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21971 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21973 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21975 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21978 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21980 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21981 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21982 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21983 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21985 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21987 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21989 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21990 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21991 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21992 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21995 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21997 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21998 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21999 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22000 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22001 specify as optional.
22002 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22003 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22004 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22005 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22006 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22007 [XPG3] (NL_LANGMAX): Likewise.
22008 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22009 [POSIX || XPG3] (NL_NMAX): Likewise.
22010 [POSIX || XPG3] (NL_SETMAX): Likewise.
22011 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22012 [XPG3] (NZERO): Likewise.
22013 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22014 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22015 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22016 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22017 (REG_ERANGE): Expect.
22018 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22020 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22021 Use (void) in prototype.
22022 [POSIX] (*_t): Allow.
22023 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22024 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22025 (WRDE_BADVAL): Expect.
22027 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22029 [XPG3 || XPG4] (O_RSYNC): Likewise.
22030 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22032 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22033 [XPG3 || XPG4] (sigqueue): Likewise.
22034 [XPG3 || XPG4] (sigtimedwait): Likewise.
22035 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22036 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22037 [XPG3 || XPG4] (vsnprintf): Likewise.
22038 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22040 [XPG3 || XPG4] (blksize_t): Likewise.
22041 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22043 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22044 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22045 [XPG3 || XPG4] (struct itimerspec): Likewise.
22046 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22047 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22048 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22049 [XPG3 || XPG4] (clockid_t): Likewise.
22050 [XPG3 || XPG4] (timer_t): Likewise.
22051 [XPG3 || XPG4] (clock_getres): Likewise.
22052 [XPG3 || XPG4] (clock_gettime): Likewise.
22053 [XPG3 || XPG4] (clock_settime): Likewise.
22054 [XPG3 || XPG4] (nanosleep): Likewise.
22055 [XPG3 || XPG4] (timer_create): Likewise.
22056 [XPG3 || XPG4] (timer_delete): Likewise.
22057 [XPG3 || XPG4] (timer_gettime): Likewise.
22058 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22059 [XPG3 || XPG4] (timer_settime): Likewise.
22060 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22061 [XPG3 || XPG4] (getlogin_r): Likewise.
22062 [XPG3 || XPG4] (pread): Likewise.
22063 [XPG3 || XPG4] (pthread_atfork): Likewise.
22064 [XPG3 || XPG4] (pwrite): Likewise.
22067 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22070 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22072 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22073 finalizing MALLSTREAM.
22075 * sysdeps/mach/hurd/syncfs.c: New file.
22077 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22080 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22081 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22082 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22083 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22084 (_nss_dns_gethostbyname4_r): Likewise.
22085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22086 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22088 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22091 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22093 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22095 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22096 * elf/cache.c (print_entry): Print ",AArch64" for
22099 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22100 * elf/cache.c (print_entry): Print ",hard-float" for
22103 2012-11-18 David S. Miller <davem@davemloft.net>
22105 With help from Joseph Myers.
22106 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22108 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22110 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22111 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22113 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22114 * math/libm-test.inc (y0_test): New tests.
22115 (y1_test): New tests.
22116 * sysdeps/i386/fpu/libm-test-ulps: Update.
22117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22120 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22122 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22124 * configure: Regenerated.
22126 2012-11-17 David S. Miller <davem@davemloft.net>
22129 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22130 nonzero exponents with absolute value below 0x1p-128 to +/-
22133 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22135 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22137 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22139 * posix/getconf-speclist.c: New file.
22140 * posix/posix-envs.def: Likewise.
22141 * posix/confstr.c (START_ENV_GROUP): New macro.
22142 (END_ENV_GROUP): Likewise.
22143 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22144 (KNOWN_PRESENT_ENV_STRING): Likewise.
22145 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22146 (UNKNOWN_ENVIRONMENT): Likewise.
22147 (confstr): Include posix-envs.def instead of handling
22148 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22149 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22150 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22151 (END_ENV_GROUP): Likewise.
22152 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22153 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22154 (UNKNOWN_ENVIRONMENT): Likewise.
22155 (__sysconf): Include posix-envs.def instead of handling associated
22156 cases directly here.
22157 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22158 preprocessing getconf-speclist.c rather than running getconf or
22159 generating empty file.
22161 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22163 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22165 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22168 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22170 2012-11-16 David S. Miller <davem@davemloft.net>
22172 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22173 smaller than LDBL_EPSILON/2.0L, just return xm1.
22175 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22177 * elf/tst-array1.c (init): Set constructor priority to 1000.
22178 (fini): Set destructor priority to 1000.
22179 * elf/tst-array2dep.c: Likewise.
22181 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22184 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22185 (_IO_new_file_xsputn): Also return EOF if none of the input
22186 data was written when overflow failed.
22187 * libio/iopadn.c (_IO_padn): Likewise.
22188 * libio/iowpadn.c (_IO_wpadn): Likewise.
22189 * stdio-common/tst-put-error.c: Add copyright notice.
22190 (do_test): Add case for printing padded string.
22191 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22192 _IO_padn returned error.
22193 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22194 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22197 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22199 * libio/libioP.h: Add comment note that the references to C++
22200 bits are now obsolete.
22202 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22204 * math/libm-test.inc (check_complex): Use asprintf.
22206 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22208 * debug/pcprofiledump.c (print_version): Update copyright year.
22209 * malloc/memusagestat.c (print_version): Likewise.
22211 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22214 * elf/Makefile (tests): Add tst-audit8.
22215 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22216 ($(objpfx)tst-audit8.out): New target.
22217 (tst-audit8-ENV): New variable.
22218 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22219 audit if l_reloc_result is NULL.
22220 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22221 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22222 * elf/tst-audit8.c: New file.
22224 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22226 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22227 * misc/Makefile (CFLAGS-select.c): Define.
22228 * posix/Makefile (CFLAGS-pause.c): Define.
22230 2012-11-13 David S. Miller <davem@davemloft.net>
22232 * crypt/Makefile: Move test targets after toplevel Rules
22233 inclusion. Grab any necessary sysdep routines when linking.
22234 * crypt/md5.c (md5_process_block): Remove define, we will always
22235 name it __md5_process_block.
22236 (md5_finish_ctx): Update md5_process_block call.
22237 (md5_stream): Likewise.
22238 (md5_process_bytes): Likewise.
22239 (md5_process_block): Rename to __md5_process_block and move to ...
22240 * crypt/md5-block.c: ... here.
22241 * crypt/sha256.c (sha256_process_block): Move to ...
22242 * crypt/sha256-block.c: ... here.
22243 * crypt/sha512.c (sha512_process_block): Move to ...
22244 * crypt/sha512-block.c: ... here.
22245 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22247 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22248 * sysdeps/sparc/sparc64/multiarch/Makefile
22249 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22251 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22254 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22255 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22256 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22257 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22258 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22259 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22260 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22261 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22262 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22264 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22267 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22269 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22271 * timezone/tzselect.ksh: Update from tzcode git revision
22272 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22273 * timezone/zdump.c: Likewise.
22274 * timezone/zic.c: Likewise.
22275 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22276 in TZVERSION setting, not $(PKGVERSION).
22277 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22278 REPORT_BUGS_TO settings.
22281 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22284 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22286 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22287 detection to immediately after _FP_ROUND().
22288 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22291 2012-11-11 David S. Miller <davem@davemloft.net>
22293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22295 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22296 __close rather than their public counterparts.
22298 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22300 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22302 [UNIX98] (sem_timedwait): Do not expect.
22303 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22304 [XPG4 || UNIX98] (sockatmark): Do not expect.
22305 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22306 (clock_getcpuclockid): Do not expect.
22307 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22308 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22310 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22311 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22312 [UNIX98] (vwscanf): Likewise.
22313 [UNIX98] (vswscanf): Likewise.
22315 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22317 * timezone/version.h: Remove file.
22318 * timezone/README: Do not refer to version.h.
22319 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22320 $(objpfx)version.h.
22321 ($(objpfx)zdump.o): Likewise.
22322 ($(objpfx)version.h): New target.
22324 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22326 * timezone/README: Don't mention modification to tzselect.ksh.
22327 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22328 work on unmodified tzselect.ksh. Substitute version numbers in
22331 * Makefile (format-me): Remove.
22332 (INSTALL): Adjust indentation. Use commands directly instead of
22333 using $(format-me).
22335 * aclocal.m4 (ACX_PKGVERSION): New macro.
22336 (ACX_BUGURL): Likewise.
22337 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22338 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22339 (REPORT_BUGS_TO): Likewise.
22340 * configure: Regenerated.
22341 * config.h.in (PKGVERSION): New macro.
22342 (REPORT_BUGS_TO): Likewise.
22343 * config.make.in (PKGVERSION): New variable.
22344 (PKGVERSION_TEXI): Likewise.
22345 (REPORT_BUGS_TO): Likewise.
22346 (REPORT_BUGS_TEXI): Likewise.
22347 * Makefile (format-me): Use -I$(common-objpfx)manual.
22348 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22349 ($(common-objpfx)manual/%): New target.
22350 (manual/%): Remove target.
22351 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22352 (print_version): Use PKGVERSION.
22353 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22354 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22355 and REPORT_BUGS_TO.
22356 ($(objpfx)xtrace): Likewise.
22357 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22358 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22359 (print_version): Use PKGVERSION.
22360 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22361 (do_version): Use PKGVERSION.
22362 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22364 (common-ldd-rewrite): Likewise.
22365 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22366 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22367 (print_version): Use PKGVERSION.
22368 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22369 * elf/pldd.c (argp_program_bug_address): Remove variable.
22370 (more_help): New function.
22371 (argp): Use more_help.
22372 (print_version): Use PKGVERSION.
22373 * elf/sln.c (main): Use PKGVERSION.
22374 (usage): Use REPORT_BUGS_TO.
22375 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22376 (top level): Use PKGVERSION.
22377 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22378 (print_version): Use PKGVERSION.
22379 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22380 (print_version): Use PKGVERSION.
22381 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22382 (print_version): Use PKGVERSION.
22383 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22384 (print_version): Use PKGVERSION.
22385 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22386 (print_version): Use PKGVERSION.
22387 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22388 (print_version): Use PKGVERSION.
22389 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22391 ($(objpfx)memusage): Likewise.
22392 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22393 (do_version): Use PKGVERSION.
22394 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22395 (print_version): Use PKGVERSION.
22396 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22397 ($PKGVERSION): New variable.
22398 ($REPORT_BUGS_TO): Likewise.
22399 (usage): Use $REPORT_BUGS_TO.
22400 (top level): Use $PKGVERSION.
22401 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22402 ($(objpfx)pkgvers.texi): New rule.
22403 ($(objpfx)stamp-pkgvers): Likewise.
22404 * manual/install.texi: Include pkgvers.texi.
22405 (--with-pkgversion): Document new configure option.
22406 (--with-bugurl): Likewise.
22407 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22408 than necessarily for this particular distribution. Use
22409 REPORT_BUGS_TO for where to report bugs.
22410 * INSTALL: Regenerated.
22411 * manual/libc.texinfo: Include pkgvers.texi.
22412 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22413 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22414 (print_version): Use PKGVERSION.
22415 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22416 (print_version): Use PKGVERSION.
22417 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22418 (print_version): Use PKGVERSION.
22419 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22420 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22422 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22423 (print_version): Use PKGVERSION.
22424 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22425 (print_version): Use PKGVERSION.
22426 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22429 * timezone/checktab.awk: Update from tzcode 2012i.
22430 * timezone/ialloc.c: Likewise.
22431 * timezone/private.h: Likewise.
22432 * timezone/scheck.c: Likewise.
22433 * timezone/tzfile.h: Likewise.
22434 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22435 (TZVERSION): Hardcode tzcode version number.
22436 * timezone/zdump.c: Update from tzcode 2012i.
22437 * timezone/zic.c: Likewise.
22438 * timezone/version.h: New file.
22439 * timezone/README: Describe version.h. Update upstream location.
22442 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22443 (mktemp): Enable declaration.
22444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22461 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22462 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22463 for copies of such integer values.
22464 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22465 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22467 2012-11-09 Andreas Jaeger <aj@suse.de>
22469 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22470 definitions and declarations that are provided by
22471 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22473 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22475 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22476 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22477 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22480 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22482 * elf/elf.h: Update comment before AArch64 relocations.
22484 2012-11-07 David S. Miller <davem@davemloft.net>
22486 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22487 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22488 (__start_context): Declare.
22489 (__makecontext_ret): Delete.
22490 (__makecontext): Hook up __start_context instead of
22492 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22493 (sysdep_routines): Add __start_context when in stdlib.
22495 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22497 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22498 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22499 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22501 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22502 (READELF): New variable. Use it instead of hardcoded "readelf".
22504 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22506 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22507 * sysdeps/x86/Makefile: Here.
22508 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22509 * sysdeps/x86/tst-xmmymm.sh: This.
22511 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22513 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22515 [UNIX98] (pthread_barrier_t): Do not expect.
22516 [UNIX98] (pthread_barrierattr_t): Likewise.
22517 [UNIX98] (pthread_spinlock_t): Likewise.
22518 [UNIX98] (pthread_barrier_destroy): Likewise.
22519 [UNIX98] (pthread_barrier_init): Likewise.
22520 [UNIX98] (pthread_barrier_wait): Likewise.
22521 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22522 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22523 [UNIX98] (pthread_barrierattr_init): Likewise.
22524 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22525 [UNIX98] (pthread_getcpuclockid): Likewise.
22526 [UNIX98] (pthread_mutex_timedlock): Likewise.
22527 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22528 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22529 [UNIX98] (pthread_sigmask): Likewise.
22530 [UNIX98] (pthread_spin_destroy): Likewise.
22531 [UNIX98] (pthread_spin_init): Likewise.
22532 [UNIX98] (pthread_spin_lock): Likewise.
22533 [UNIX98] (pthread_spin_trylock): Likewise.
22534 [UNIX98] (pthread_spin_unlock): Likewise.
22535 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22537 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22539 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22540 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22541 [XPG3 || XPG4] (pthread_key_t): Likewise.
22542 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22543 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22544 [XPG3 || XPG4] (pthread_once_t): Likewise.
22545 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22546 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22548 [XPG3 || XPG4] (pthread_t): Likewise.
22550 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22552 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22554 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22555 Change function return type to int.
22557 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22558 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22559 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22560 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22561 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22562 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22563 [!POSIX] (posix_madvise): Likewise.
22564 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22566 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22567 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22568 (mode_t): Likewise.
22569 (posix_mem_offset): Likewise.
22570 (posix_typed_mem_get_info): Likewise.
22571 (posix_typed_mem_open): Likewise.
22573 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22574 Change condition to [XOPEN2K8].
22576 * conform/conformtest.pl: Preprocess allow-header data with -x c
22577 instead of from stdin.
22578 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22579 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22580 [C99-based standards] (cerfc): Likewise.
22581 [C99-based standards] (cexp2): Likewise.
22582 [C99-based standards] (cexpm1): Likewise.
22583 [C99-based standards] (clog10): Likewise.
22584 [C99-based standards] (clog1p): Likewise.
22585 [C99-based standards] (clog2): Likewise.
22586 [C99-based standards] (clgamma): Likewise.
22587 [C99-based standards] (ctgamma): Likewise.
22588 [C99-based standards] (cerff): Likewise.
22589 [C99-based standards] (cerfcf): Likewise.
22590 [C99-based standards] (cexp2f): Likewise.
22591 [C99-based standards] (cexpm1f): Likewise.
22592 [C99-based standards] (clog10f): Likewise.
22593 [C99-based standards] (clog1pf): Likewise.
22594 [C99-based standards] (clog2f): Likewise.
22595 [C99-based standards] (clgammaf): Likewise.
22596 [C99-based standards] (ctgammaf): Likewise.
22597 [C99-based standards] (cerfl): Likewise.
22598 [C99-based standards] (cerfcl): Likewise.
22599 [C99-based standards] (cexp2l): Likewise.
22600 [C99-based standards] (cexpm1l): Likewise.
22601 [C99-based standards] (clog10l): Likewise.
22602 [C99-based standards] (clog1pl): Likewise.
22603 [C99-based standards] (clog2l): Likewise.
22604 [C99-based standards] (clgammal): Likewise.
22605 [C99-based standards] (ctgammal): Likewise.
22606 * conform/data/inttypes.h-data [C99-based standards]: Include
22607 stdint.h-data. Remove all expectations for stdint.h contents.
22608 [C99-based standards] (PRI*): Do not allow.
22609 [C99-based standards] (SCN*): Likewise.
22610 [C99-based standards] (*_t): Likewise.
22611 [C99-based-standards] (PRId8): Expect macro.
22612 [C99-based-standards] (PRIi8): Likewise.
22613 [C99-based-standards] (PRIo8): Likewise.
22614 [C99-based-standards] (PRIu8): Likewise.
22615 [C99-based-standards] (PRIx8): Likewise.
22616 [C99-based-standards] (PRIX8): Likewise.
22617 [C99-based-standards] (SCNd8): Likewise.
22618 [C99-based-standards] (SCNi8): Likewise.
22619 [C99-based-standards] (SCNo8): Likewise.
22620 [C99-based-standards] (SCNu8): Likewise.
22621 [C99-based-standards] (SCNx8): Likewise.
22622 [C99-based-standards] (PRIdLEAST8): Likewise.
22623 [C99-based-standards] (PRIiLEAST8): Likewise.
22624 [C99-based-standards] (PRIoLEAST8): Likewise.
22625 [C99-based-standards] (PRIuLEAST8): Likewise.
22626 [C99-based-standards] (PRIxLEAST8): Likewise.
22627 [C99-based-standards] (PRIXLEAST8): Likewise.
22628 [C99-based-standards] (SCNdLEAST8): Likewise.
22629 [C99-based-standards] (SCNiLEAST8): Likewise.
22630 [C99-based-standards] (SCNoLEAST8): Likewise.
22631 [C99-based-standards] (SCNuLEAST8): Likewise.
22632 [C99-based-standards] (SCNxLEAST8): Likewise.
22633 [C99-based-standards] (PRIdFAST8): Likewise.
22634 [C99-based-standards] (PRIiFAST8): Likewise.
22635 [C99-based-standards] (PRIoFAST8): Likewise.
22636 [C99-based-standards] (PRIuFAST8): Likewise.
22637 [C99-based-standards] (PRIxFAST8): Likewise.
22638 [C99-based-standards] (PRIXFAST8): Likewise.
22639 [C99-based-standards] (SCNdFAST8): Likewise.
22640 [C99-based-standards] (SCNiFAST8): Likewise.
22641 [C99-based-standards] (SCNoFAST8): Likewise.
22642 [C99-based-standards] (SCNuFAST8): Likewise.
22643 [C99-based-standards] (SCNxFAST8): Likewise.
22644 [C99-based-standards] (PRId16): Likewise.
22645 [C99-based-standards] (PRIi16): Likewise.
22646 [C99-based-standards] (PRIo16): Likewise.
22647 [C99-based-standards] (PRIu16): Likewise.
22648 [C99-based-standards] (PRIx16): Likewise.
22649 [C99-based-standards] (PRIX16): Likewise.
22650 [C99-based-standards] (SCNd16): Likewise.
22651 [C99-based-standards] (SCNi16): Likewise.
22652 [C99-based-standards] (SCNo16): Likewise.
22653 [C99-based-standards] (SCNu16): Likewise.
22654 [C99-based-standards] (SCNx16): Likewise.
22655 [C99-based-standards] (PRIdLEAST16): Likewise.
22656 [C99-based-standards] (PRIiLEAST16): Likewise.
22657 [C99-based-standards] (PRIoLEAST16): Likewise.
22658 [C99-based-standards] (PRIuLEAST16): Likewise.
22659 [C99-based-standards] (PRIxLEAST16): Likewise.
22660 [C99-based-standards] (PRIXLEAST16): Likewise.
22661 [C99-based-standards] (SCNdLEAST16): Likewise.
22662 [C99-based-standards] (SCNiLEAST16): Likewise.
22663 [C99-based-standards] (SCNoLEAST16): Likewise.
22664 [C99-based-standards] (SCNuLEAST16): Likewise.
22665 [C99-based-standards] (SCNxLEAST16): Likewise.
22666 [C99-based-standards] (PRIdFAST16): Likewise.
22667 [C99-based-standards] (PRIiFAST16): Likewise.
22668 [C99-based-standards] (PRIoFAST16): Likewise.
22669 [C99-based-standards] (PRIuFAST16): Likewise.
22670 [C99-based-standards] (PRIxFAST16): Likewise.
22671 [C99-based-standards] (PRIXFAST16): Likewise.
22672 [C99-based-standards] (SCNdFAST16): Likewise.
22673 [C99-based-standards] (SCNiFAST16): Likewise.
22674 [C99-based-standards] (SCNoFAST16): Likewise.
22675 [C99-based-standards] (SCNuFAST16): Likewise.
22676 [C99-based-standards] (SCNxFAST16): Likewise.
22677 [C99-based-standards] (PRId32): Likewise.
22678 [C99-based-standards] (PRIi32): Likewise.
22679 [C99-based-standards] (PRIo32): Likewise.
22680 [C99-based-standards] (PRIu32): Likewise.
22681 [C99-based-standards] (PRIx32): Likewise.
22682 [C99-based-standards] (PRIX32): Likewise.
22683 [C99-based-standards] (SCNd32): Likewise.
22684 [C99-based-standards] (SCNi32): Likewise.
22685 [C99-based-standards] (SCNo32): Likewise.
22686 [C99-based-standards] (SCNu32): Likewise.
22687 [C99-based-standards] (SCNx32): Likewise.
22688 [C99-based-standards] (PRIdLEAST32): Likewise.
22689 [C99-based-standards] (PRIiLEAST32): Likewise.
22690 [C99-based-standards] (PRIoLEAST32): Likewise.
22691 [C99-based-standards] (PRIuLEAST32): Likewise.
22692 [C99-based-standards] (PRIxLEAST32): Likewise.
22693 [C99-based-standards] (PRIXLEAST32): Likewise.
22694 [C99-based-standards] (SCNdLEAST32): Likewise.
22695 [C99-based-standards] (SCNiLEAST32): Likewise.
22696 [C99-based-standards] (SCNoLEAST32): Likewise.
22697 [C99-based-standards] (SCNuLEAST32): Likewise.
22698 [C99-based-standards] (SCNxLEAST32): Likewise.
22699 [C99-based-standards] (PRIdFAST32): Likewise.
22700 [C99-based-standards] (PRIiFAST32): Likewise.
22701 [C99-based-standards] (PRIoFAST32): Likewise.
22702 [C99-based-standards] (PRIuFAST32): Likewise.
22703 [C99-based-standards] (PRIxFAST32): Likewise.
22704 [C99-based-standards] (PRIXFAST32): Likewise.
22705 [C99-based-standards] (SCNdFAST32): Likewise.
22706 [C99-based-standards] (SCNiFAST32): Likewise.
22707 [C99-based-standards] (SCNoFAST32): Likewise.
22708 [C99-based-standards] (SCNuFAST32): Likewise.
22709 [C99-based-standards] (SCNxFAST32): Likewise.
22710 [C99-based-standards] (PRId64): Likewise.
22711 [C99-based-standards] (PRIi64): Likewise.
22712 [C99-based-standards] (PRIo64): Likewise.
22713 [C99-based-standards] (PRIu64): Likewise.
22714 [C99-based-standards] (PRIx64): Likewise.
22715 [C99-based-standards] (PRIX64): Likewise.
22716 [C99-based-standards] (SCNd64): Likewise.
22717 [C99-based-standards] (SCNi64): Likewise.
22718 [C99-based-standards] (SCNo64): Likewise.
22719 [C99-based-standards] (SCNu64): Likewise.
22720 [C99-based-standards] (SCNx64): Likewise.
22721 [C99-based-standards] (PRIdLEAST64): Likewise.
22722 [C99-based-standards] (PRIiLEAST64): Likewise.
22723 [C99-based-standards] (PRIoLEAST64): Likewise.
22724 [C99-based-standards] (PRIuLEAST64): Likewise.
22725 [C99-based-standards] (PRIxLEAST64): Likewise.
22726 [C99-based-standards] (PRIXLEAST64): Likewise.
22727 [C99-based-standards] (SCNdLEAST64): Likewise.
22728 [C99-based-standards] (SCNiLEAST64): Likewise.
22729 [C99-based-standards] (SCNoLEAST64): Likewise.
22730 [C99-based-standards] (SCNuLEAST64): Likewise.
22731 [C99-based-standards] (SCNxLEAST64): Likewise.
22732 [C99-based-standards] (PRIdFAST64): Likewise.
22733 [C99-based-standards] (PRIiFAST64): Likewise.
22734 [C99-based-standards] (PRIoFAST64): Likewise.
22735 [C99-based-standards] (PRIuFAST64): Likewise.
22736 [C99-based-standards] (PRIxFAST64): Likewise.
22737 [C99-based-standards] (PRIXFAST64): Likewise.
22738 [C99-based-standards] (SCNdFAST64): Likewise.
22739 [C99-based-standards] (SCNiFAST64): Likewise.
22740 [C99-based-standards] (SCNoFAST64): Likewise.
22741 [C99-based-standards] (SCNuFAST64): Likewise.
22742 [C99-based-standards] (SCNxFAST64): Likewise.
22743 [C99-based-standards] (PRIdMAX): Likewise.
22744 [C99-based-standards] (PRIiMAX): Likewise.
22745 [C99-based-standards] (PRIoMAX): Likewise.
22746 [C99-based-standards] (PRIuMAX): Likewise.
22747 [C99-based-standards] (PRIxMAX): Likewise.
22748 [C99-based-standards] (PRIXMAX): Likewise.
22749 [C99-based-standards] (SCNdMAX): Likewise.
22750 [C99-based-standards] (SCNiMAX): Likewise.
22751 [C99-based-standards] (SCNoMAX): Likewise.
22752 [C99-based-standards] (SCNuMAX): Likewise.
22753 [C99-based-standards] (SCNxMAX): Likewise.
22754 [C99-based-standards] (PRIdPTR): Likewise.
22755 [C99-based-standards] (PRIiPTR): Likewise.
22756 [C99-based-standards] (PRIoPTR): Likewise.
22757 [C99-based-standards] (PRIuPTR): Likewise.
22758 [C99-based-standards] (PRIxPTR): Likewise.
22759 [C99-based-standards] (PRIXPTR): Likewise.
22760 [C99-based-standards] (SCNdPTR): Likewise.
22761 [C99-based-standards] (SCNiPTR): Likewise.
22762 [C99-based-standards] (SCNoPTR): Likewise.
22763 [C99-based-standards] (SCNuPTR): Likewise.
22764 [C99-based-standards] (SCNxPTR): Likewise.
22765 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22767 * conform/data/stdint.h-data: Update comments to clarify
22769 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22771 [C99-based standards] (INT8_MAX): Likewise.
22772 [C99-based standards] (INT16_MIN): Likewise.
22773 [C99-based standards] (INT16_MAX): Likewise.
22774 [C99-based standards] (INT32_MIN): Likewise.
22775 [C99-based standards] (INT32_MAX): Likewise.
22776 [C99-based standards] (INT64_MIN): Likewise.
22777 [C99-based standards] (INT64_MAX): Likewise.
22778 [C99-based standards] (UINT8_MAX): Likewise.
22779 [C99-based standards] (UINT16_MAX): Likewise.
22780 [C99-based standards] (UINT32_MAX): Likewise.
22781 [C99-based standards] (UINT64_MAX): Likewise.
22782 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22783 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22784 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22785 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22786 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22787 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22788 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22789 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22790 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22791 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22792 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22793 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22794 [C99-based standards] (INT_FAST8_MIN): Likewise.
22795 [C99-based standards] (INT_FAST8_MAX): Likewise.
22796 [C99-based standards] (INT_FAST16_MIN): Likewise.
22797 [C99-based standards] (INT_FAST16_MAX): Likewise.
22798 [C99-based standards] (INT_FAST32_MIN): Likewise.
22799 [C99-based standards] (INT_FAST32_MAX): Likewise.
22800 [C99-based standards] (INT_FAST64_MIN): Likewise.
22801 [C99-based standards] (INT_FAST64_MAX): Likewise.
22802 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22803 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22804 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22805 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22806 [C99-based standards] (INTPTR_MIN): Likewise.
22807 [C99-based standards] (INTPTR_MAX): Likewise.
22808 [C99-based standards] (UINTPTR_MAX): Likewise.
22809 [C99-based standards] (INTMAX_MIN): Likewise.
22810 [C99-based standards] (INTMAX_MAX): Likewise.
22811 [C99-based standards] (UINTMAX_MAX): Likewise.
22812 [C99-based standards] (PTRDIFF_MIN): Likewise.
22813 [C99-based standards] (PTRDIFF_MAX): Likewise.
22814 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22815 [C99-based standards] (SIZE_MAX): Likewise.
22816 [C99-based standards] (WCHAR_MAX): Likewise.
22817 [C99-based standards] (WINT_MAX): Likewise.
22818 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22819 constraint on value.
22820 [C99-based standards] (WCHAR_MIN): Likewise.
22821 [C99-based standards] (WINT_MIN): Likewise.
22822 [C99-based standards] (*_t): Allow.
22823 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22824 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22825 Include math.h-data and complex.h-data. Remove all expectations
22826 of math.h and complex.h contents.
22827 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22829 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22830 (struct tm): Expect tag.
22831 [C99-based-standards] (wcstof): Expect function.
22832 [C99-based-standards] (wcstold): Likewise.
22833 [C99-based-standards] (wcstoll): Likewise.
22834 [C99-based-standards] (wcstoull): Likewise.
22835 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22836 macro-int-constant. Specify type.
22837 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22838 constraint on value.
22839 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22841 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22843 [ISO C standards]: Do not allow headers.
22844 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22845 wcs[abcdefghijklmnopqrstuvwxyz]*.
22846 [ISO C standards] (*_t): Do not allow.
22847 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22849 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22850 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22852 [ISO C standards]: Do not allow headers.
22853 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22854 is[abcdefghijklmnopqrstuvwxyz]*.
22855 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22856 to[abcdefghijklmnopqrstuvwxyz]*.
22857 [ISO C standards] (*_t): Do not allow.
22858 * conform/data/stdalign.h-data: New file.
22859 * conform/data/stdbool.h-data: Likewise.
22860 * conform/data/stdnoreturn.h-data: Likewise.
22862 2012-11-07 Roland McGrath <roland@hack.frob.com>
22865 * manual/filesys.texi (Directory Entries): Typo fix.
22866 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22868 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22870 * elf/elf.h (EM_AARCH64): New macro.
22871 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22872 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22873 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22874 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22875 (R_AARCH64_TLSDESC): Likewise.
22876 (NT_ARM_TLS): Likewise.
22877 (NT_ARM_HW_BREAK): Likewise.
22878 (NT_ARM_HW_WATCH): Likewise.
22880 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22883 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22884 (__ieee754_powl): Saturate nonzero exponents with absolute value
22885 below 0x1p-79 to +/- 0x1p-79.
22886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22887 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22888 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22889 nonzero exponents with absolute value below 0x1p-32 to +/-
22891 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22892 (__ieee754_powl): Saturate nonzero exponents with absolute value
22893 below 0x1p-79 to +/- 0x1p-79.
22894 * math/libm-test.inc (pow_test): Add more tests.
22896 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22898 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22899 _dl_s390_cap_flags with kernel. Increase string length.
22900 (_dl_s390_platforms): Add z196 and zEC12.
22902 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22904 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22905 Change XOPEN21K to XOPEN2K.
22907 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22909 * string/memmove.c: Use memcpy when possible.
22911 2012-11-06 Andreas Jaeger <aj@suse.de>
22913 * po/eo.po: Update from translation team.
22915 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22919 exponent and small x and y exponents, scale x or y up. Increase
22920 by 2 the exponent used in scaling up.
22921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22923 * math/libm-test.inc (fma_test): Add more tests.
22924 (fma_test_towardzero): Likewise.
22925 (fma_test_downward): Likewise.
22926 (fma_test_upward): Likewise.
22928 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22931 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22935 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22936 namespace for names of struct fields.
22937 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22939 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22940 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22942 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22945 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22947 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22949 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22953 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22956 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22960 definitely overflow as x * y not x * y + z.
22961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22963 * math/libm-test.inc (fma_test): Add more tests.
22964 (fma_test_towardzero): Likewise.
22965 (fma_test_downward): Likewise.
22966 (fma_test_upward): Likewise.
22968 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22972 * include/stub-tag.h: Remove file.
22973 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22975 * manual/maint.texi (Porting): Don't reference it.
22976 * Makerules ($(objpfx)stubs): Likewise.
22977 * dirent/closedir.c: Don't include <stub-tag.h>.
22978 * dirent/dirfd.c: Likewise.
22979 * dirent/fdopendir.c: Likewise.
22980 * dirent/getdents.c: Likewise.
22981 * dirent/getdents64.c: Likewise.
22982 * dirent/opendir.c: Likewise.
22983 * dirent/readdir.c: Likewise.
22984 * dirent/readdir64.c: Likewise.
22985 * dirent/readdir64_r.c: Likewise.
22986 * dirent/readdir_r.c: Likewise.
22987 * dirent/rewinddir.c: Likewise.
22988 * dirent/seekdir.c: Likewise.
22989 * dirent/telldir.c: Likewise.
22990 * gmon/profil.c: Likewise.
22991 * grp/setgroups.c: Likewise.
22992 * inet/if_index.c: Likewise.
22993 * io/access.c: Likewise.
22994 * io/chdir.c: Likewise.
22995 * io/chmod.c: Likewise.
22996 * io/chown.c: Likewise.
22997 * io/close.c: Likewise.
22998 * io/dup.c: Likewise.
22999 * io/dup2.c: Likewise.
23000 * io/dup3.c: Likewise.
23001 * io/euidaccess.c: Likewise.
23002 * io/faccessat.c: Likewise.
23003 * io/fchdir.c: Likewise.
23004 * io/fchmod.c: Likewise.
23005 * io/fchmodat.c: Likewise.
23006 * io/fchown.c: Likewise.
23007 * io/fchownat.c: Likewise.
23008 * io/fcntl.c: Likewise.
23009 * io/flock.c: Likewise.
23010 * io/fstatfs.c: Likewise.
23011 * io/fstatfs64.c: Likewise.
23012 * io/fstatvfs.c: Likewise.
23013 * io/fstatvfs64.c: Likewise.
23014 * io/futimens.c: Likewise.
23015 * io/fxstat.c: Likewise.
23016 * io/fxstat64.c: Likewise.
23017 * io/fxstatat.c: Likewise.
23018 * io/fxstatat64.c: Likewise.
23019 * io/getcwd.c: Likewise.
23020 * io/isatty.c: Likewise.
23021 * io/lchmod.c: Likewise.
23022 * io/lchown.c: Likewise.
23023 * io/link.c: Likewise.
23024 * io/linkat.c: Likewise.
23025 * io/lseek.c: Likewise.
23026 * io/lseek64.c: Likewise.
23027 * io/lxstat64.c: Likewise.
23028 * io/mkdir.c: Likewise.
23029 * io/mkdirat.c: Likewise.
23030 * io/mkfifo.c: Likewise.
23031 * io/mkfifoat.c: Likewise.
23032 * io/open.c: Likewise.
23033 * io/open64.c: Likewise.
23034 * io/openat.c: Likewise.
23035 * io/openat64.c: Likewise.
23036 * io/pipe.c: Likewise.
23037 * io/pipe2.c: Likewise.
23038 * io/poll.c: Likewise.
23039 * io/posix_fadvise.c: Likewise.
23040 * io/posix_fadvise64.c: Likewise.
23041 * io/posix_fallocate.c: Likewise.
23042 * io/posix_fallocate64.c: Likewise.
23043 * io/read.c: Likewise.
23044 * io/readlink.c: Likewise.
23045 * io/readlinkat.c: Likewise.
23046 * io/rmdir.c: Likewise.
23047 * io/sendfile.c: Likewise.
23048 * io/sendfile64.c: Likewise.
23049 * io/statfs.c: Likewise.
23050 * io/statfs64.c: Likewise.
23051 * io/statvfs.c: Likewise.
23052 * io/statvfs64.c: Likewise.
23053 * io/symlink.c: Likewise.
23054 * io/symlinkat.c: Likewise.
23055 * io/ttyname.c: Likewise.
23056 * io/ttyname_r.c: Likewise.
23057 * io/umask.c: Likewise.
23058 * io/unlink.c: Likewise.
23059 * io/unlinkat.c: Likewise.
23060 * io/utime.c: Likewise.
23061 * io/utimensat.c: Likewise.
23062 * io/write.c: Likewise.
23063 * io/xmknod.c: Likewise.
23064 * io/xmknodat.c: Likewise.
23065 * io/xstat.c: Likewise.
23066 * io/xstat64.c: Likewise.
23067 * login/getpt.c: Likewise.
23068 * login/grantpt.c: Likewise.
23069 * login/unlockpt.c: Likewise.
23070 * math/e_acoshl.c: Likewise.
23071 * math/e_acosl.c: Likewise.
23072 * math/e_asinl.c: Likewise.
23073 * math/e_atan2l.c: Likewise.
23074 * math/e_atanhl.c: Likewise.
23075 * math/e_coshl.c: Likewise.
23076 * math/e_expl.c: Likewise.
23077 * math/e_fmodl.c: Likewise.
23078 * math/e_gammal_r.c: Likewise.
23079 * math/e_hypotl.c: Likewise.
23080 * math/e_j0l.c: Likewise.
23081 * math/e_j1l.c: Likewise.
23082 * math/e_jnl.c: Likewise.
23083 * math/e_lgammal_r.c: Likewise.
23084 * math/e_log10l.c: Likewise.
23085 * math/e_log2l.c: Likewise.
23086 * math/e_logl.c: Likewise.
23087 * math/e_powl.c: Likewise.
23088 * math/e_rem_pio2l.c: Likewise.
23089 * math/e_sinhl.c: Likewise.
23090 * math/e_sqrtl.c: Likewise.
23091 * math/fclrexcpt.c: Likewise.
23092 * math/fedisblxcpt.c: Likewise.
23093 * math/feenablxcpt.c: Likewise.
23094 * math/fegetenv.c: Likewise.
23095 * math/fegetexcept.c: Likewise.
23096 * math/fegetround.c: Likewise.
23097 * math/feholdexcpt.c: Likewise.
23098 * math/fesetenv.c: Likewise.
23099 * math/fesetround.c: Likewise.
23100 * math/feupdateenv.c: Likewise.
23101 * math/fgetexcptflg.c: Likewise.
23102 * math/fraiseexcpt.c: Likewise.
23103 * math/fsetexcptflg.c: Likewise.
23104 * math/ftestexcept.c: Likewise.
23105 * math/k_cosl.c: Likewise.
23106 * math/k_rem_pio2l.c: Likewise.
23107 * math/k_sinl.c: Likewise.
23108 * math/k_tanl.c: Likewise.
23109 * math/s_asinhl.c: Likewise.
23110 * math/s_atanl.c: Likewise.
23111 * math/s_cbrtl.c: Likewise.
23112 * math/s_erfl.c: Likewise.
23113 * math/s_expm1l.c: Likewise.
23114 * math/s_log1pl.c: Likewise.
23115 * math/s_tanhl.c: Likewise.
23116 * misc/acct.c: Likewise.
23117 * misc/brk.c: Likewise.
23118 * misc/chflags.c: Likewise.
23119 * misc/chroot.c: Likewise.
23120 * misc/fchflags.c: Likewise.
23121 * misc/fgetxattr.c: Likewise.
23122 * misc/flistxattr.c: Likewise.
23123 * misc/fremovexattr.c: Likewise.
23124 * misc/fsetxattr.c: Likewise.
23125 * misc/fsync.c: Likewise.
23126 * misc/ftruncate.c: Likewise.
23127 * misc/futimes.c: Likewise.
23128 * misc/futimesat.c: Likewise.
23129 * misc/getdomain.c: Likewise.
23130 * misc/getdtsz.c: Likewise.
23131 * misc/gethostid.c: Likewise.
23132 * misc/gethostname.c: Likewise.
23133 * misc/getloadavg.c: Likewise.
23134 * misc/getpagesize.c: Likewise.
23135 * misc/getsysstats.c: Likewise.
23136 * misc/getxattr.c: Likewise.
23137 * misc/gtty.c: Likewise.
23138 * misc/ioctl.c: Likewise.
23139 * misc/lgetxattr.c: Likewise.
23140 * misc/listxattr.c: Likewise.
23141 * misc/llistxattr.c: Likewise.
23142 * misc/lremovexattr.c: Likewise.
23143 * misc/lsetxattr.c: Likewise.
23144 * misc/lutimes.c: Likewise.
23145 * misc/madvise.c: Likewise.
23146 * misc/mincore.c: Likewise.
23147 * misc/mlock.c: Likewise.
23148 * misc/mlockall.c: Likewise.
23149 * misc/mmap.c: Likewise.
23150 * misc/mprotect.c: Likewise.
23151 * misc/msync.c: Likewise.
23152 * misc/munlock.c: Likewise.
23153 * misc/munlockall.c: Likewise.
23154 * misc/munmap.c: Likewise.
23155 * misc/preadv.c: Likewise.
23156 * misc/preadv64.c: Likewise.
23157 * misc/ptrace.c: Likewise.
23158 * misc/pwritev.c: Likewise.
23159 * misc/pwritev64.c: Likewise.
23160 * misc/readv.c: Likewise.
23161 * misc/reboot.c: Likewise.
23162 * misc/remap_file_pages.c: Likewise.
23163 * misc/removexattr.c: Likewise.
23164 * misc/revoke.c: Likewise.
23165 * misc/select.c: Likewise.
23166 * misc/setdomain.c: Likewise.
23167 * misc/setegid.c: Likewise.
23168 * misc/seteuid.c: Likewise.
23169 * misc/sethostid.c: Likewise.
23170 * misc/sethostname.c: Likewise.
23171 * misc/setregid.c: Likewise.
23172 * misc/setreuid.c: Likewise.
23173 * misc/setxattr.c: Likewise.
23174 * misc/sstk.c: Likewise.
23175 * misc/stty.c: Likewise.
23176 * misc/swapoff.c: Likewise.
23177 * misc/swapon.c: Likewise.
23178 * misc/sync.c: Likewise.
23179 * misc/syncfs.c: Likewise.
23180 * misc/syscall.c: Likewise.
23181 * misc/truncate.c: Likewise.
23182 * misc/ualarm.c: Likewise.
23183 * misc/usleep.c: Likewise.
23184 * misc/ustat.c: Likewise.
23185 * misc/utimes.c: Likewise.
23186 * misc/vhangup.c: Likewise.
23187 * misc/writev.c: Likewise.
23188 * posix/_exit.c: Likewise.
23189 * posix/alarm.c: Likewise.
23190 * posix/execve.c: Likewise.
23191 * posix/fexecve.c: Likewise.
23192 * posix/fork.c: Likewise.
23193 * posix/fpathconf.c: Likewise.
23194 * posix/getaddrinfo.c: Likewise.
23195 * posix/getegid.c: Likewise.
23196 * posix/geteuid.c: Likewise.
23197 * posix/getgid.c: Likewise.
23198 * posix/getgroups.c: Likewise.
23199 * posix/getlogin.c: Likewise.
23200 * posix/getlogin_r.c: Likewise.
23201 * posix/getpgid.c: Likewise.
23202 * posix/getpid.c: Likewise.
23203 * posix/getppid.c: Likewise.
23204 * posix/getresgid.c: Likewise.
23205 * posix/getresuid.c: Likewise.
23206 * posix/getsid.c: Likewise.
23207 * posix/getuid.c: Likewise.
23208 * posix/glob64.c: Likewise.
23209 * posix/nanosleep.c: Likewise.
23210 * posix/pathconf.c: Likewise.
23211 * posix/pause.c: Likewise.
23212 * posix/posix_madvise.c: Likewise.
23213 * posix/pread.c: Likewise.
23214 * posix/pread64.c: Likewise.
23215 * posix/pwrite.c: Likewise.
23216 * posix/pwrite64.c: Likewise.
23217 * posix/sched_getaffinity.c: Likewise.
23218 * posix/sched_getp.c: Likewise.
23219 * posix/sched_gets.c: Likewise.
23220 * posix/sched_primax.c: Likewise.
23221 * posix/sched_primin.c: Likewise.
23222 * posix/sched_rr_gi.c: Likewise.
23223 * posix/sched_setaffinity.c: Likewise.
23224 * posix/sched_setp.c: Likewise.
23225 * posix/sched_sets.c: Likewise.
23226 * posix/sched_yield.c: Likewise.
23227 * posix/setgid.c: Likewise.
23228 * posix/setlogin.c: Likewise.
23229 * posix/setpgid.c: Likewise.
23230 * posix/setresgid.c: Likewise.
23231 * posix/setresuid.c: Likewise.
23232 * posix/setsid.c: Likewise.
23233 * posix/setuid.c: Likewise.
23234 * posix/sleep.c: Likewise.
23235 * posix/spawni.c: Likewise.
23236 * posix/sysconf.c: Likewise.
23237 * posix/times.c: Likewise.
23238 * posix/wait.c: Likewise.
23239 * posix/wait3.c: Likewise.
23240 * posix/wait4.c: Likewise.
23241 * posix/waitpid.c: Likewise.
23242 * resolv/gai_sigqueue.c: Likewise.
23243 * resource/getpriority.c: Likewise.
23244 * resource/getrlimit.c: Likewise.
23245 * resource/getrusage.c: Likewise.
23246 * resource/nice.c: Likewise.
23247 * resource/setpriority.c: Likewise.
23248 * resource/setrlimit.c: Likewise.
23249 * resource/ulimit.c: Likewise.
23250 * rt/aio_cancel.c: Likewise.
23251 * rt/aio_fsync.c: Likewise.
23252 * rt/aio_read.c: Likewise.
23253 * rt/aio_sigqueue.c: Likewise.
23254 * rt/aio_suspend.c: Likewise.
23255 * rt/aio_write.c: Likewise.
23256 * rt/clock_getres.c: Likewise.
23257 * rt/clock_gettime.c: Likewise.
23258 * rt/clock_nanosleep.c: Likewise.
23259 * rt/clock_settime.c: Likewise.
23260 * rt/lio_listio.c: Likewise.
23261 * rt/mq_close.c: Likewise.
23262 * rt/mq_getattr.c: Likewise.
23263 * rt/mq_notify.c: Likewise.
23264 * rt/mq_open.c: Likewise.
23265 * rt/mq_receive.c: Likewise.
23266 * rt/mq_send.c: Likewise.
23267 * rt/mq_setattr.c: Likewise.
23268 * rt/mq_timedreceive.c: Likewise.
23269 * rt/mq_timedsend.c: Likewise.
23270 * rt/mq_unlink.c: Likewise.
23271 * rt/shm_open.c: Likewise.
23272 * rt/shm_unlink.c: Likewise.
23273 * rt/timer_create.c: Likewise.
23274 * rt/timer_delete.c: Likewise.
23275 * rt/timer_getoverr.c: Likewise.
23276 * rt/timer_gettime.c: Likewise.
23277 * rt/timer_settime.c: Likewise.
23278 * setjmp/__longjmp.c: Likewise.
23279 * setjmp/setjmp.c: Likewise.
23280 * signal/kill.c: Likewise.
23281 * signal/killpg.c: Likewise.
23282 * signal/raise.c: Likewise.
23283 * signal/sigaction.c: Likewise.
23284 * signal/sigaltstack.c: Likewise.
23285 * signal/sigblock.c: Likewise.
23286 * signal/sigignore.c: Likewise.
23287 * signal/sigintr.c: Likewise.
23288 * signal/signal.c: Likewise.
23289 * signal/sigpause.c: Likewise.
23290 * signal/sigpending.c: Likewise.
23291 * signal/sigqueue.c: Likewise.
23292 * signal/sigreturn.c: Likewise.
23293 * signal/sigset.c: Likewise.
23294 * signal/sigsetmask.c: Likewise.
23295 * signal/sigstack.c: Likewise.
23296 * signal/sigsuspend.c: Likewise.
23297 * signal/sigtimedwait.c: Likewise.
23298 * signal/sigvec.c: Likewise.
23299 * signal/sigwait.c: Likewise.
23300 * signal/sigwaitinfo.c: Likewise.
23301 * signal/sysv_signal.c: Likewise.
23302 * socket/accept.c: Likewise.
23303 * socket/accept4.c: Likewise.
23304 * socket/bind.c: Likewise.
23305 * socket/connect.c: Likewise.
23306 * socket/getpeername.c: Likewise.
23307 * socket/getsockname.c: Likewise.
23308 * socket/getsockopt.c: Likewise.
23309 * socket/isfdtype.c: Likewise.
23310 * socket/listen.c: Likewise.
23311 * socket/recv.c: Likewise.
23312 * socket/recvfrom.c: Likewise.
23313 * socket/recvmsg.c: Likewise.
23314 * socket/send.c: Likewise.
23315 * socket/sendmsg.c: Likewise.
23316 * socket/sendto.c: Likewise.
23317 * socket/setsockopt.c: Likewise.
23318 * socket/shutdown.c: Likewise.
23319 * socket/sockatmark.c: Likewise.
23320 * socket/socket.c: Likewise.
23321 * socket/socketpair.c: Likewise.
23322 * stdio-common/ctermid.c: Likewise.
23323 * stdio-common/cuserid.c: Likewise.
23324 * stdio-common/remove.c: Likewise.
23325 * stdio-common/rename.c: Likewise.
23326 * stdio-common/renameat.c: Likewise.
23327 * stdio-common/tempname.c: Likewise.
23328 * stdlib/getcontext.c: Likewise.
23329 * stdlib/makecontext.c: Likewise.
23330 * stdlib/setcontext.c: Likewise.
23331 * stdlib/swapcontext.c: Likewise.
23332 * stdlib/system.c: Likewise.
23333 * streams/fattach.c: Likewise.
23334 * streams/fdetach.c: Likewise.
23335 * streams/getmsg.c: Likewise.
23336 * streams/getpmsg.c: Likewise.
23337 * streams/putmsg.c: Likewise.
23338 * streams/putpmsg.c: Likewise.
23339 * sysdeps/unix/bsd/getpt.c: Likewise.
23340 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23341 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23342 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23345 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23346 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23347 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23348 * sysvipc/msgctl.c: Likewise.
23349 * sysvipc/msgget.c: Likewise.
23350 * sysvipc/msgrcv.c: Likewise.
23351 * sysvipc/msgsnd.c: Likewise.
23352 * sysvipc/semctl.c: Likewise.
23353 * sysvipc/semget.c: Likewise.
23354 * sysvipc/semop.c: Likewise.
23355 * sysvipc/semtimedop.c: Likewise.
23356 * sysvipc/shmat.c: Likewise.
23357 * sysvipc/shmctl.c: Likewise.
23358 * sysvipc/shmdt.c: Likewise.
23359 * sysvipc/shmget.c: Likewise.
23360 * termios/tcdrain.c: Likewise.
23361 * termios/tcflow.c: Likewise.
23362 * termios/tcflush.c: Likewise.
23363 * termios/tcgetattr.c: Likewise.
23364 * termios/tcgetpgrp.c: Likewise.
23365 * termios/tcsendbrk.c: Likewise.
23366 * termios/tcsetattr.c: Likewise.
23367 * termios/tcsetpgrp.c: Likewise.
23368 * time/adjtime.c: Likewise.
23369 * time/clock.c: Likewise.
23370 * time/getitimer.c: Likewise.
23371 * time/gettimeofday.c: Likewise.
23372 * time/setitimer.c: Likewise.
23373 * time/settimeofday.c: Likewise.
23374 * time/stime.c: Likewise.
23375 * time/time.c: Likewise.
23377 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23379 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23382 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23384 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23386 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23390 FE_TONEAREST before applying Dekker multiplication and Knuth
23391 addition. Clear inexact exceptions and check for exact zero
23392 results afterwards.
23393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23394 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23396 * math/libm-test.inc (fma_test): Add more tests.
23397 (fma_test_towardzero): Likewise.
23398 (fma_test_downward): Likewise.
23399 (fma_test_upward): Likewise.
23400 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23402 (libc_fesetround): New macro.
23403 (libc_fesetroundf): Likewise.
23404 (libc_fesetroundl): Likewise.
23405 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23407 (libc_fesetround_387): Likewise.
23408 (libc_fesetroundf): New macro.
23409 (libc_fesetround): Likewise.
23410 (libc_fesetroundl): Likewise.
23411 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23413 (libc_fesetroundf): New macro.
23414 (libc_fesetround): Likewise.
23415 (libc_fesetroundl): Likewise.
23416 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23417 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23418 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23420 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23421 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23423 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23424 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23426 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23430 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23431 integer constant usable in #if and use that to give value to enum
23433 (FE_DIVBYZERO): Likewise.
23434 (FE_UNDERFLOW): Likewise.
23435 (FE_OVERFLOW): Likewise.
23436 (FE_INVALID): Likewise.
23437 (FE_INVALID_SNAN): Likewise.
23438 (FE_INVALID_ISI): Likewise.
23439 (FE_INVALID_IDI): Likewise.
23440 (FE_INVALID_ZDZ): Likewise.
23441 (FE_INVALID_IMZ): Likewise.
23442 (FE_INVALID_COMPARE): Likewise.
23443 (FE_INVALID_SOFTWARE): Likewise.
23444 (FE_INVALID_SQRT): Likewise.
23445 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23446 (FE_TONEAREST): Likewise.
23447 (FE_TOWARDZERO): Likewise.
23448 (FE_UPWARD): Likewise.
23449 (FE_DOWNWARD): Likewise.
23450 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23451 (FE_DIVBYZERO): Likewise.
23452 (FE_OVERFLOW): Likewise.
23453 (FE_UNDERFLOW): Likewise.
23454 (FE_INEXACT): Likewise.
23455 (FE_TONEAREST): Likewise.
23456 (FE_DOWNWARD): Likewise.
23457 (FE_UPWARD): Likewise.
23458 (FE_TOWARDZERO): Likewise.
23459 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23460 (FE_UNDERFLOW): Likewise.
23461 (FE_OVERFLOW): Likewise.
23462 (FE_DIVBYZERO): Likewise.
23463 (FE_INVALID): Likewise.
23464 (FE_TONEAREST): Likewise.
23465 (FE_TOWARDZERO): Likewise.
23466 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23467 (FE_OVERFLOW): Likewise.
23468 (FE_UNDERFLOW): Likewise.
23469 (FE_DIVBYZERO): Likewise.
23470 (FE_INEXACT): Likewise.
23471 (FE_TONEAREST): Likewise.
23472 (FE_TOWARDZERO): Likewise.
23473 (FE_UPWARD): Likewise.
23474 (FE_DOWNWARD): Likewise.
23475 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23476 (FE_DIVBYZERO): Likewise.
23477 (FE_OVERFLOW): Likewise.
23478 (FE_UNDERFLOW): Likewise.
23479 (FE_INEXACT): Likewise.
23480 (FE_TONEAREST): Likewise.
23481 (FE_DOWNWARD): Likewise.
23482 (FE_UPWARD): Likewise.
23483 (FE_TOWARDZERO): Likewise.
23485 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23487 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23489 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23491 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23492 commands. Quote $PWD.
23493 (blacklist_exports): Don't use remove_newlines. Replace "declare
23495 (remove_newlines): Remove.
23497 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23499 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23500 * stdlib/stdlib.h (atof): Moved to ...
23501 * include/bits/stdlib-float.h: Here. New file.
23502 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23503 * stdlib/bits/stdlib-float.h: New file.
23504 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23506 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23509 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23511 * conform/conformtest.pl (@headers): Add fenv.h.
23512 * conform/data/fenv.h-data: New file.
23513 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23514 include of <math/fenv.h>.
23516 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23517 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23518 && !UNIX98]. Enables tests for XOPEN2K8.
23519 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23520 POSIX2008]: Likewise.
23522 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23523 (struct rusage): Do not expect type or its members.
23526 * math/math.h (FP_NAN): Define macro to integer constant usable in
23527 #if and use that to give value to enum constant.
23528 (FP_INFINITE): Likewise.
23529 (FP_ZERO): Likewise.
23530 (FP_SUBNORMAL): Likewise.
23531 (FP_NORMAL): Likewise.
23533 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23535 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23536 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23539 2012-11-02 Roland McGrath <roland@hack.frob.com>
23541 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23542 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23543 autoconf-time if not.
23544 * configure.in: Remove AC_PREREQ.
23546 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23548 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23549 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23550 of the internal implementation.
23552 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23554 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23555 except include of <misc/sys/syslog.h>.
23557 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23560 function returns with a NULL context exit with zero.
23562 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23564 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23566 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23568 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23569 (run_program_cmd): This.
23570 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23571 (tst_langinfo): New variable. Use it.
23573 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23575 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23576 floating point opcodes.
23578 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23580 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23583 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23585 * sysdeps/mach/hurd/powerpc: Remove directory.
23586 * sysdeps/mach/powerpc: Likewise.
23588 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23590 * scripts/check-local-headers.sh: Ignore c++ headers.
23592 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23594 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23595 __libc_cleanup_region_start argument.
23597 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23602 x * y using scaling, not as x * y + z.
23603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23605 * math/libm-test.inc (fma_test): Add more tests.
23606 (fma_test_towardzero): Likewise.
23607 (fma_test_downward): Likewise.
23608 (fma_test_upward): Likewise.
23610 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23612 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23614 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23616 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23619 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23621 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23623 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23630 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23633 Fix the order of the list for glibc 2.17.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23637 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23641 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23645 for low part of x being zero before using __atanl (y).
23646 * math/libm-test.inc (atan2_test): Add another test.
23648 * manual/install.texi (Configuring and compiling): Document
23649 general use of test-wrapper and test-wrapper-env.
23650 * INSTALL: Regenerated.
23652 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23653 (__fma): Do not extract and scale down low bits on after-rounding
23654 systems when result rounded to normal precision would have normal
23656 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23657 (__fmal): Do not extract and scale down low bits on after-rounding
23658 systems when result rounded to normal precision would have normal
23660 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23661 (__fmal): Do not extract and scale down low bits on after-rounding
23662 systems when result rounded to normal precision would have normal
23664 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23666 (fma_test): Add more tests.
23667 (fma_test_towardzero): Likewise.
23668 (fma_test_downward): Likewise.
23669 (fma_test_upward): Likewise.
23671 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23673 * sysdeps/i386/tininess.h: Renamed to ...
23674 * sysdeps/x86/tininess.h: This.
23675 * sysdeps/x86_64/tininess.h: Removed.
23677 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23679 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23680 input. Use $(build-program-cmd).
23681 ($(objpfx)tst-array1-static.out): Likewise.
23682 ($(objpfx)tst-array2.out): Likewise.
23683 ($(objpfx)tst-array3.out): Likewise.
23684 ($(objpfx)tst-array4.out): Likewise.
23685 ($(objpfx)tst-array5.out): Likewise.
23686 ($(objpfx)tst-array5-static.out): Likewise.
23688 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23690 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23693 * nss/nsswitch.h (nss_interface_function): Provide new
23694 macro for use with NSS functions.
23695 * grp/initgroups.c: Use new macro.
23696 * nss/getXXbyYY.c: Likewise.
23697 * nss/getXXbyYY_r.c: Likewise.
23698 * nss/getXXent.c: Likewise.
23699 * nss/getXXent_r.c: Likewise.
23700 * sysdeps/posix/getaddrinfo.c: Likewise.
23702 2012-10-30 Andreas Jaeger <aj@suse.de>
23704 * po/ru.po: Update Russion translation from translation project.
23706 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23711 result and shift together with sticky bit instead of replicating
23712 round-to-nearest rounding.
23713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23715 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23716 missing underflow exceptions.
23717 (fma_test_towardzero): Add more tests.
23718 (fma_test_downward): Likewise.
23719 (fma_test_upward): Likewise.
23722 * sysdeps/generic/tininess.h: New file.
23723 * sysdeps/i386/tininess.h: Likewise.
23724 * sysdeps/sh/tininess.h: Likewise.
23725 * sysdeps/x86_64/tininess.h: Likewise.
23726 * stdlib/tst-strtod-underflow.c: Likewise.
23727 * stdlib/tst-tininess.c: Likewise.
23728 * stdlib/strtod_l.c: Include <tininess.h>.
23729 (round_and_return): Do not set errno for exact underflow cases.
23730 Force an underflow exception when setting errno for underflow.
23731 Determine underflow based on rounding to normal precision if
23732 TININESS_AFTER_ROUNDING.
23733 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23734 ERANGE for exact underflow cases.
23735 * stdlib/Makefile (tests): Add tst-tininess and
23736 tst-strtod-underflow.
23737 ($(objpfx)tst-tininess): Use $(link-libm).
23738 ($(objpfx)tst-strtod-underflow): Likewise.
23740 2012-10-30 Andreas Jaeger <aj@suse.de>
23743 * elf/Makefile (tests): Remove conditional for have-initfini-array
23744 since this is now always required and the variable does not exist
23746 (tests-static): Likewise.
23747 (modules-names): Likewise.
23749 * po/eo.po: Add Esperanto translation from translation project.
23751 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23752 merged with constructor/destructor.
23753 (init_array): Likewise.
23754 * elf/tst-array2dep.c (fini_array): Likewise.
23755 (init_array): Likewise.
23757 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23759 * manual/message.texi: Delete @cartouche tags.
23761 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23763 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23765 * sysdeps/mach/hurd/fsync.c: Likewise.
23767 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23768 [_POSIX_REALTIME_SIGNALS]: Change condition to
23769 [_POSIX_REALTIME_SIGNALS > 0].
23771 2012-10-27 Andreas Jaeger <aj@suse.de>
23773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23774 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23776 [__WORDSIZE != 64]: Likewise.
23778 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23780 * iconvdata/tst-table.sh: Remove ${SHELL}.
23781 * iconvdata/tst-tables.sh: Likewise.
23783 2012-10-25 David S. Miller <davem@davemloft.net>
23785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23786 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23792 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23793 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23796 2012-10-25 Roland McGrath <roland@hack.frob.com>
23798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23799 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23802 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23803 Jim Blandy <jimb@codesourcery.com>
23805 * scripts/cross-test-ssh.sh: New file.
23806 * manual/install.texi (Configuring and compiling): Document use of
23808 * INSTALL: Regenerated.
23810 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23812 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23815 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23817 * Makeconfig (run-program-prefix): Fix comment.
23819 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23820 Jim Blandy <jimb@codesourcery.com>
23822 * Makeconfig (test-wrapper): New variable,
23823 (test-wrapper-env): Likewise.
23824 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23825 (run-built-tests): Define to yes.
23826 (run-program-prefix): Use $(test-wrapper).
23827 (built-program-cmd): Likewise.
23828 * Rules (make-test-out): Use $(test-wrapper-env) and
23829 $(host-built-program-cmd).
23830 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23831 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23833 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23834 $(test-wrapper-env) to tst-rtld-load-self.sh.
23835 ($(objpfx)order2.out): Use $(test-wrapper).
23836 ($(objpfx)tst-initorder.out): Likewise.
23837 ($(objpfx)tst-initorder2.out): Likewise.
23838 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23839 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23840 (test_wrapper_env): New variable. Use it to run ld.so.
23841 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23842 Use it to run ld.so.
23843 (test_wrapper_env): Likewise.
23844 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23845 $(test-wrapper) to run-iconv-test.sh.
23846 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23847 (ICONV): Use $test_wrapper.
23848 * posix/Makefile ($(objpfx)globtest.out): Pass
23849 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23850 globtest.sh, not $(run-program-prefix).
23851 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23852 (test_wrapper): Likewise.
23853 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23854 set together with run_via_rtld_prefix.
23855 (run_program_prefix): Define in terms of test_wrapper and
23856 run_via_rtld_prefix.
23858 2012-10-24 Roland McGrath <roland@hack.frob.com>
23860 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23861 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23865 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23866 Declare __clock_getres, __clock_gettime, __clock_settime,
23867 __clock_nanosleep, and __clock_getcpuclockid.
23868 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23869 Remove librt_hidden_def (clock_gettime).
23870 * sysdeps/unix/clock_gettime.c: Likewise.
23871 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23873 * rt/clock_getres.c: Define __clock_getres as an alias.
23874 * sysdeps/posix/clock_getres.c: Likewise.
23875 * rt/clock_settime.c: Define __clock_settime as an alias.
23876 * sysdeps/unix/clock_settime.c: Likewise.
23877 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23878 * sysdeps/unix/clock_nanosleep.c: Likewise.
23879 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23880 * rt/clock-compat.c: New file.
23881 * rt/Makefile (librt-routines): Add clock-compat and move
23882 $(clock-routines) to ...
23883 (routines): ... here, new variable.
23884 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23885 Don't add get_clockfreq here.
23886 * rt/Versions (libc: GLIBC_2.17): New version set.
23887 Add clock_* symbols here.
23888 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23890 (GLIBC_2.17): Add clock_* symbols.
23891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23902 * NEWS: Mention the move.
23904 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23905 Use __open, __read, __close rather than their public counterparts.
23906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23907 (__get_clockfreq_via_cpuinfo): Likewise.
23908 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23909 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23911 * config.h.in (HAVE_IFUNC): New #undef.
23912 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23914 * configure: Regenerated.
23916 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23918 * configure.in: Move READELF check to start of file.
23919 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23920 libc_cv_asm_gnu_indirect_function in the process.
23921 * configure: Regenerated.
23923 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23925 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23926 send the output to /dev/null.
23927 (libc_cv_cc_with_libunwind): Likewise.
23928 (libc_cv_as_noexecstack): Likewise.
23929 * configure: Regenerate.
23931 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23933 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23935 * posix/globtest.sh (TMPDIR): Do not set.
23936 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23937 (testout): Likewise.
23939 2012-10-24 Andreas Jaeger <aj@suse.de>
23941 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23942 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23943 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23944 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23945 posix_fadvise64, posix_fallocate64.
23947 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23948 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23949 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23951 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23953 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23956 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23957 <bits/fcntl-linux.h>.
23958 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23961 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23962 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23963 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23964 [__WORDSIZE != 64]: Likewise.
23966 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23968 * Makeconfig (run-built-tests): New variable.
23969 * Rules [$(cross-compiling) = yes]: Change condition to
23970 [$(run-built-tests) = no].
23971 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23972 to [$(run-built-tests) = yes].
23973 * elf/Makefile [$(cross-compiling) = no]: Likewise
23974 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23975 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23976 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23977 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23978 * io/Makefile [$(cross-compiling) = no]: Likewise.
23979 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23980 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23981 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23982 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23983 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23984 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23985 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23986 * string/Makefile [$(cross-compiling) = no]: Likewise.
23988 * posix/Makefile ($(objpfx)globtest.out): Pass
23989 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23990 $(rtld-installed-name).
23991 * posix/globtest.sh (elf_objpfx): Remove variable.
23992 (rtld_installed_name): Likewise.
23993 (library_path): Likewise.
23994 (run_program_prefix): New variable. Use for running globtest
23997 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23998 Joseph Myers <joseph@codesourcery.com>
24000 * Makeconfig (host-built-program-cmd): New variable.
24001 * elf/Makefile (tst-stackguard1-ARGS): Use
24002 $(host-built-program-cmd).
24003 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24004 (tst-spawn-ARGS): Likewise.
24005 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24007 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24008 Jim Blandy <jimb@codesourcery.com>
24010 * Makeconfig (run-via-rtld-prefix): New variable.
24011 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24012 (built-program-cmd): Likewise.
24014 2012-10-22 Andreas Jaeger <aj@suse.de>
24016 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24017 __O_RSYNC if it exists, otherwise to O_SYNC.
24019 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24020 Joseph Myers <joseph@codesourcery.com>
24022 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24024 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24026 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24029 2012-10-22 Andreas Jaeger <aj@suse.de>
24031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24036 bits/fcntl-linux.h.
24038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24039 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24046 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24047 Joseph Myers <joseph@codesourcery.com>
24049 * config.make.in (NM): New variable.
24051 2012-10-21 Andreas Jaeger <aj@suse.de>
24053 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24054 definitions and declarations that are provided by
24055 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24057 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24060 * elf/Makefile (tests-static): Add tst-leaks1-static.
24061 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24062 ($(objpfx)tst-leaks1-static): New rule.
24063 ($(objpfx)tst-leaks1-static-mem): Likewise.
24064 (tst-leaks1-static-ENV): New macro.
24065 * elf/dl-open.c (dl_open_worker): Check the main application
24066 only if SHARED is defined.
24067 * elf/tst-leaks1-static.c: New file.
24069 2012-10-20 Andreas Jaeger <aj@suse.de>
24071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24072 generic values for Linux.
24073 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24074 and declarations that are provided by <bits/fcntl-linux.h> and
24075 include <bits/fcntl-linux.h>.
24076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24079 2012-10-20 Roland McGrath <roland@hack.frob.com>
24081 * io/fcntl.h: Move include of <bits/types.h> to the top and
24082 include it unconditionally.
24084 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24086 * wcsmbs/Makefile (tests-ifunc): New variable.
24087 (tests): Add $(tests-ifunc).
24088 * wcsmbs/test-wcschr-ifunc.c: New file.
24089 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24090 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24091 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24092 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24093 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24095 * string/Makefile (tests-ifunc): New variable.
24096 (tests): Add $(tests-ifunc).
24097 * string/test-memccpy.c (TEST_NAME): New macro.
24098 * string/test-memchr.c (TEST_NAME): Likewise.
24099 * string/test-memcmp.c (TEST_NAME): Likewise.
24100 * string/test-memcpy.c (TEST_NAME): Likewise.
24101 * string/test-memmem.c (TEST_NAME): Likewise.
24102 * string/test-memmove.c (TEST_NAME): Likewise.
24103 * string/test-memset.c (TEST_NAME): Likewise.
24104 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24105 * string/test-stpcpy.c (TEST_NAME): Likewise.
24106 * string/test-stpncpy.c (TEST_NAME): Likewise.
24107 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24108 * string/test-strcasestr.c (TEST_NAME): Likewise.
24109 * string/test-strcat.c (TEST_NAME): Likewise.
24110 * string/test-strchr.c (TEST_NAME): Likewise.
24111 * string/test-strcmp.c(TEST_NAME): Likewise.
24112 * string/test-strcpy.c (TEST_NAME): Likewise.
24113 * string/test-strcspn.c (TEST_NAME): Likewise.
24114 * string/test-strlen.c (TEST_NAME): Likewise.
24115 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24116 * string/test-strncmp.c (TEST_NAME): Likewise.
24117 * string/test-strncpy.c (TEST_NAME): Likewise.
24118 * string/test-strnlen.c (TEST_NAME): Likewise.
24119 * string/test-strpbrk.c (TEST_NAME): Likewise.
24120 * string/test-strrchr.c (TEST_NAME): Likewise.
24121 * string/test-strspn.c (TEST_NAME): Likewise.
24122 * string/test-strstr.c (TEST_NAME): Likewise.
24123 * string/test-bcopy-ifunc.c: New file.
24124 * string/test-bzero-ifunc.c: Likewise.
24125 * string/test-memccpy-ifunc.c: Likewise.
24126 * string/test-memchr-ifunc.c: Likewise.
24127 * string/test-memcmp-ifunc.c: Likewise.
24128 * string/test-memcpy-ifunc.c: Likewise.
24129 * string/test-memmem-ifunc.c: Likewise.
24130 * string/test-memmove-ifunc.c: Likewise.
24131 * string/test-mempcpy-ifunc.c: Likewise.
24132 * string/test-memset-ifunc.c: Likewise.
24133 * string/test-rawmemchr-ifunc.c: Likewise.
24134 * string/test-stpcpy-ifunc.c: Likewise.
24135 * string/test-stpncpy-ifunc.c: Likewise.
24136 * string/test-strcasecmp-ifunc.c: Likewise.
24137 * string/test-strcasestr-ifunc.c: Likewise.
24138 * string/test-strcat-ifunc.c: Likewise.
24139 * string/test-strchr-ifunc.c: Likewise.
24140 * string/test-strchrnul-ifunc.c: Likewise.
24141 * string/test-strcmp-ifunc.c: Likewise.
24142 * string/test-strcpy-ifunc.c: Likewise.
24143 * string/test-strcspn-ifunc.c: Likewise.
24144 * string/test-strlen-ifunc.c: Likewise.
24145 * string/test-strncasecmp-ifunc.c: Likewise.
24146 * string/test-strncat-ifunc.c: Likewise.
24147 * string/test-strncmp-ifunc.c: Likewise.
24148 * string/test-strncpy-ifunc.c: Likewise.
24149 * string/test-strnlen-ifunc.c: Likewise.
24150 * string/test-strpbrk-ifunc.c: Likewise.
24151 * string/test-strrchr-ifunc.c: Likewise.
24152 * string/test-strspn-ifunc.c: Likewise.
24153 * string/test-strstr-ifunc.c: Likewise.
24155 * debug/Makefile (tests-ifunc): New variable.
24156 (tests): Add $(tests-ifunc).
24157 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24158 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24159 * debug/test-stpcpy_chk-ifunc.c: New file.
24160 * debug/test-strcpy_chk-ifunc.c: Likewise.
24162 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24165 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24166 header is not read in.
24168 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24170 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24171 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24172 directly. Pass built executable to script as
24173 $(built-program-cmd).
24174 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24175 $testprogram without using LD_LIBRARY_PATH and $ldso.
24177 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24178 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24179 $(rtld-installed-name).
24180 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24181 (rtld_installed_name): Likewise.
24182 (library_path): Likewise.
24183 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24184 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24185 $(run-program-prefix) to tst-tables.sh.
24186 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24187 it to run tst-table-from and tst-table-to.
24188 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24189 Pass it to tst-table.sh.
24190 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24191 $(run-program-prefix) to tst-gettext.sh.
24192 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24194 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24196 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24197 to run tst-gettext.
24198 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24199 to run tst-gettext2.
24200 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24201 to run tst-translit.
24202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24203 $(run-program-prefix) to tst-mtrace.sh.
24204 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24206 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24207 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24208 $(rtld-installed-name).
24209 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24210 (rtld_installed_name): Likewise.
24211 (run_program_prefix): New variable. Use it to run wordexp-test.
24213 * Makeconfig (ARCH): Remove all definitions.
24214 (machine): Likewise.
24215 [ARCH]: Remove conditional code.
24216 [!objdir]: Give error.
24217 [!objdir] (objpfx): Remove.
24218 [!objdir] (common-objpfx): Likewise.
24219 [!objdir] (common-objdir): Likewise.
24220 * configure.in (config_makefile): Remove. Hardcode Makefile in
24221 AC_CONFIG_FILES call.
24222 * configure: Regenerated.
24225 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24227 (testout): Likewise.
24229 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24230 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24231 $(rtld-installed-name).
24232 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24233 (rtld_installed_name): Likwise.
24234 (runit): Remove function.
24235 (run_getconf): New variable, Use it for running getconf binary.
24237 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24240 * string/test-memmem.c (check_result): New function.
24241 (do_one_test): Use it.
24242 (check1): New function.
24243 (test_main): Use it.
24245 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24247 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24249 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24251 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24252 (_G_LSEEK64): Likewise.
24253 (_G_MMAP64): Likewise.
24254 (_G_FSTAT64): Likewise.
24255 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24256 (_G_LSEEK64): Likewise.
24257 (_G_MMAP64): Likewise.
24258 (_G_FSTAT64): Likewise.
24259 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24260 unconditional. Call __mmap64 directly.
24261 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24262 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24263 __lseek64 directly.
24264 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24265 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24267 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24268 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24269 __lseek64 directly.
24270 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24271 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24272 __lseek64 directly.
24273 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24274 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24275 __lseek64 directly.
24276 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24277 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24278 __fxstat64 directly.
24279 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24280 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24282 (freopen64) [!_G_OPEN64]: Remove conditional code.
24283 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24285 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24286 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24288 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24289 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24291 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24292 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24294 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24295 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24297 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24298 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24300 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24301 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24303 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24305 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24308 * manual/memory.texi (Malloc Tunable Parameters): Add note
24309 about free list pointers overwriting some perturb bytes.
24310 Wording suggested by Roland McGrath.
24312 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24314 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24315 (lgamma_test): Likewise.
24316 (tgamma_test): Likewise.
24318 2012-10-16 Florian Weimer <fweimer@redhat.com>
24321 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24322 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24324 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24326 * NEWS: Mention BZ #14716.
24327 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24328 when removing AVAILABLE1_USES_J macro.
24330 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24332 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24333 (__bswap_64): __uint64_t for unsigned 64-bit int.
24335 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24337 * include/string.h (memmem): Declare libc hidden alias.
24338 * string/memmem.c (memmem): Define libc hidden alias.
24339 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24340 __read, __close instead of open, read, close.
24342 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24345 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24347 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24348 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24349 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24351 (__rawmemchr_sse2): Likewise.
24352 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24353 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24354 (__strchr_sse2): Likewise.
24355 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24356 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24357 (__strcasecmp_sse2): Likewise.
24358 (__strncasecmp_sse2): Likewise.
24359 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24360 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24361 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24362 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24363 (__strrchr_sse2): Likewise.
24364 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24366 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24367 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24368 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24369 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24370 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24372 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24373 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24374 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24375 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24376 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24377 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24378 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24379 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24380 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24381 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24382 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24383 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24384 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24385 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24386 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24387 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24388 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24389 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24390 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24392 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24393 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24394 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24395 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24399 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24400 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24401 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24402 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24404 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24406 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24407 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24408 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24409 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24411 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24412 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24414 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24415 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24429 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24445 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24448 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24453 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24454 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24455 * include/ifunc-impl-list.h: New file.
24456 * misc/ifunc-impl-list.c: Likewise.
24457 * misc/Makefile (routines): Add ifunc-impl-list.
24458 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24459 * string/test-string.h: Include <ifunc-impl-list.h>.
24460 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24461 TEST_NAME]: New variables.
24462 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24464 (test_init): Call __libc_ifunc_impl_list to initialize
24465 func_list if TEST_IFUNC and TEST_NAME are defined.
24467 * string/Makefile (strop-tests): Add bcopy and bzero.
24468 * string/test-bcopy.c: New file.
24469 * string/test-bzero.c: Likewise.
24470 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24472 * string/test-memset.c: Support bzero test if TEST_BZERO is
24474 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24476 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24478 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24481 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24483 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24484 * configure: Regenerated.
24486 * Makeconfig (+link-static-before-libc): Don't include
24487 $(link-static-libc).
24489 * libio/libio.h (_IO_pos_t): Remove.
24491 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24493 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24496 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24498 * crypt/crypt-entry.c: Include fips-private.h.
24499 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24500 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24501 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24502 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24504 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24506 * crypt/crypt-private.h: Include stdbool.h.
24507 (_ufc_setup_salt_r): Return bool.
24508 * crypt/crypt-entry.c: Include errno.h.
24509 (__crypt_r): Return NULL with EINVAL for bad salt.
24510 * crypt/crypt_util.c (bad_for_salt): New.
24511 (_ufc_setup_salt_r): Check that salt is long enough and within
24512 the specified alphabet.
24513 * crypt/badsalttest.c: New file.
24514 * crypt/Makefile (tests): Add it.
24515 ($(objpfx)badsalttest): New.
24517 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24519 * NEWS: Add entry for BZ #14602.
24521 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24523 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24525 * math/libm-test.inc: Update comment listing what functions and
24527 (isgreater_test): New function.
24528 (isgreaterequal_test): Likewise.
24529 (isless_test): Likewise.
24530 (islessequal_test): Likewise.
24531 (islessgreater_test): Likewise.
24532 (isunordered_test): Likewise.
24533 (main): Call the new functions.
24535 2012-10-09 Roland McGrath <roland@hack.frob.com>
24537 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24538 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24539 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24540 * sysdeps/i386/configure: Regenerated.
24541 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24542 * sysdeps/mach/configure: Regenerated.
24543 * sysdeps/mach/hurd/configure: Regenerated.
24544 * sysdeps/powerpc/configure: Regenerated.
24545 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24546 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24547 * sysdeps/s390/s390-32/configure: Regenerated.
24548 * sysdeps/s390/s390-64/configure: Regenerated.
24549 * sysdeps/sh/configure: Regenerated.
24550 * sysdeps/sparc/configure: Regenerated.
24551 * sysdeps/unix/sysv/linux/configure: Regenerated.
24552 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24553 * sysdeps/x86_64/configure: Regenerated.
24555 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24556 defined. Don't check if MAP is NULL.
24558 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24560 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24561 (_G_stat64): Likewise.
24562 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24563 (_G_stat64): Likewise.
24564 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24565 instead of struct _G_stat64.
24566 * libio/fileops.c (mmap_remap_check): Likewise.
24567 (decide_maybe_mmap): Likewise.
24568 (_IO_new_file_seekoff): Likewise.
24569 (_IO_file_stat): Likewise.
24570 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24572 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24573 instead of struct _G_stat64.
24574 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24576 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24579 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24581 (CHECK_EOL): New macro.
24582 (two_way_short_needle): Check beginning of haystack for EOL. Use
24584 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24585 Replace with CHECK_EOL.
24586 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24587 Replace with CHECK_EOL.
24589 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24591 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24593 * math/libm-test.inc: Update comment listing what functions and
24595 (finite_test): New function.
24596 (isinf_test): Likewise.
24597 (isnan_test): Likewise.
24598 (fpclassify_test): Test subnormal input.
24599 (isfinite_test): Likewise.
24600 (isnormal_test): Likewise.
24601 (main): Call the new functions.
24603 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24606 * Makerules (%.dynsym): Force C locale when running
24607 $(OBJDUMP) --dynamic-syms.
24609 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24611 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24614 2012-10-06 David S. Miller <davem@davemloft.net>
24616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24617 upper 32-bits of the length value in %o2 since we use branch-on-register
24618 tests which consider the entire 64-bit register.
24620 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24622 * string/test-strstr.c (check2): Add a test for page boundary.
24624 2012-10-05 David S. Miller <davem@davemloft.net>
24626 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24629 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24631 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24632 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24633 and bzero when HWCAP_SPARC_CRYPTO is present.
24635 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24638 * string/test-strstr.c (check2): New function.
24639 (test_main): Call check2.
24641 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24643 * string/bug-strcasestr1.c (do_test): Moved to ...
24644 * string/test-strcasestr.c (check1): Here. New function.
24645 (do_one_test): Break out result checking code into ...
24646 (check_result): This. New function.
24647 (do_one_test): Call check_result.
24648 (test_main): Call check1.
24649 * string/bug-strchr1.c (do_test): Moved to ...
24650 * string/test-strchr.c (check1): Here. New function.
24651 (do_one_test): Break out result checking code into ...
24652 (check_result): This. New function.
24653 (do_one_test): Call check_result.
24654 (test_main): Call check1.
24655 * string/bug-strstr1.c (main): Moved to ...
24656 * string/test-strstr.c (check1): Here. New function.
24657 (do_one_test): Break out result checking code into ...
24658 (check_result): This. New function.
24659 (do_one_test): Call check_result.
24660 (test_main): Call check1.
24661 * string/bug-strcasestr1.c: Removed.
24662 * string/bug-strchr1.c: Likewise.
24663 * string/bug-strstr1.c: Likewise.
24665 * elf/Makefile (dl-routines): Add hwcaps.
24666 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24667 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24668 (_dl_important_hwcaps): Moved to ...
24669 * elf/dl-hwcaps.c: Here. New file.
24670 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24673 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24674 if IS_IN_rtld isn't defined.
24676 * elf/dl-support.c (_dl_sysinfo_map): New.
24677 Include "get-dynamic-info.h" and "setup-vdso.h".
24678 (_dl_non_dynamic_init): Call setup_vdso.
24679 * elf/dynamic-link.h: Don't include <assert.h>.
24680 (elf_get_dynamic_info): Moved to ...
24681 * elf/get-dynamic-info.h: Here. New file.
24682 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24683 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24684 * elf/setup-vdso.h: Here. New file.
24685 * elf/rtld.c: Include "setup-vdso.h".
24686 (dl_main): Call setup_vdso.
24688 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24690 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24691 creal in comment listing functions tested. List finite, isinf,
24692 isnan, isless, islessequal, isgreater, isgreaterequal,
24693 islessgreater, isunordered, lgamma_r and pow10 as functions and
24694 macros not tested. Mention which functions not tested are aliases
24695 for other functions. Fix typo. Note that signs of NaNs are not
24698 * scripts/config.guess: Update from config.git.
24699 * scripts/config.sub: Likewise.
24701 2012-10-04 Roland McGrath <roland@hack.frob.com>
24703 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24704 * misc/madvise.c (madvise): Renamed to __madvise.
24705 Make madvise a weak alias.
24706 * include/sys/mman.h: Declare __madvise.
24707 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24708 * sysdeps/unix/syscalls.list
24709 (madvise): Make __madvise the strong name, and madvise a weak alias.
24710 * sysdeps/unix/sysv/linux/syscalls.list
24711 (madvise, mmap): Remove redundant entries.
24712 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24713 * malloc/malloc.c (mtrim): Likewise.
24714 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24716 2012-10-03 Roland McGrath <roland@hack.frob.com>
24718 * sysdeps/mach/hurd/dl-cache.c: File removed.
24719 * config.h.in (USE_LDCONFIG): New #undef.
24720 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24721 * configure: Regenerated.
24722 * elf/Makefile (dl-routines): Add dl-cache only under
24723 [$(use-ldconfig) = yes].
24724 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24725 cache on [USE_LDCONFIG].
24726 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24728 * elf/rtld.c (dl_main): Likewise.
24730 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24732 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24733 _SC_LEVEL4_CACHE_LINESIZE.
24735 2012-10-03 Roland McGrath <roland@hack.frob.com>
24737 * sysdeps/unix/bsd/confstr.h: File removed.
24739 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24741 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24744 2012-10-02 Roland McGrath <roland@hack.frob.com>
24746 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24747 Make 'mapoff' field ElfW(Off) rather than off_t.
24749 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24751 * nscd/Makefile: Remove nscd-cflags and all its users.
24752 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24753 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24756 * malloc.c (malloc_printerr): Clarify error message.
24758 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24762 Set bit_FMA_Usable if FMA is supported.
24763 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24765 (bit_FMA4_Usable): Updated.
24766 (index_FMA_Usable): New macro.
24767 (CPUID_FMA): Likewise
24768 (HAS_FMA): Defined with bit_FMA_Usable.
24770 2012-10-01 Roland McGrath <roland@hack.frob.com>
24772 * bits/types.h (__swblk_t): Type removed.
24773 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24774 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24776 (__SWBLK_T_TYPE): Likewise.
24777 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24778 (__SWBLK_T_TYPE): Likewise.
24779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24780 (__SWBLK_T_TYPE): Likewise.
24781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24782 (__SWBLK_T_TYPE): Likewise.
24784 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24785 Honza Horak <hhorak@redhat.com>
24787 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24788 (xdr_mapname): Use YPMAXMAP as maxsize.
24789 (xdr_peername): Use YPMAXPEER as maxsize.
24790 (xdr_keydat): Use YPAXRECORD as maxsize.
24791 (xdr_valdat): Use YPMAXRECORD as maxsize.
24793 2012-10-01 Roland McGrath <roland@hack.frob.com>
24795 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24797 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24798 * csu/init-first.c: ... here.
24799 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24800 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24801 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24802 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24803 * sysdeps/i386/init-first.c: File removed.
24804 * sysdeps/sh/init-first.c: File removed.
24806 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24810 if x * y might underflow to zero and z is zero.
24811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24813 * math/libm-test.inc (min_subnorm_value): New variable.
24814 (fma_test): Add more tests.
24815 (fma_test_towardzero): Likewise.
24816 (fma_test_downward): Likewise
24817 (fma_test_upward): Likewise.
24818 (initialize): Set min_subnorm_value.
24820 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24825 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24826 mode for addition resulting in exact zero.
24827 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24830 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24832 * math/libm-test.inc (fma_test): Add more tests.
24833 (fma_test_towardzero): New function.
24834 (fma_test_downward): Likewise.
24835 (fma_test_upward): Likewise.
24836 (main): Call the new functions.
24838 2012-09-28 David S. Miller <davem@davemloft.net>
24840 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24842 2012-09-28 Roland McGrath <roland@hack.frob.com>
24844 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24845 instead of SIGALRM.
24847 * sysdeps/gnu/_G_config.h: Moved to ...
24848 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24849 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24850 * sysdeps/generic/_G_config.h: ... here.
24852 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24854 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24856 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24857 Conditionalize target on [libnss_test1.so-version].
24859 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24861 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24862 (elfobjdir): Move out of conditionals.
24864 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24865 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24866 (__nss_lookup_function): Conditionalize label remove_from_tree on
24867 [!DO_STATIC_NSS || SHARED], matching its only use.
24869 2012-09-28 David S. Miller <davem@davemloft.net>
24871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24872 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24874 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24876 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24878 when HWCAP_SPARC_CRYPTO is present.
24880 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24882 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24884 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24887 * stdio-common/vfprintf.c (process_string_arg): Revert
24890 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24892 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24894 * stdio-common/tst-sprintf.c: Include <locale.h>
24895 (main): Test sprintf's handling of incomplete multibyte
24898 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24900 * elf/dl-runtime.c (VERSYMIDX): Removed.
24901 * elf/dl-version.c (VERSYMIDX): Likewise.
24902 * elf/do-rel.h (VERSYMIDX): Likewise.
24903 (VALIDX): Likewise.
24904 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24905 * elf/rtld.c (VALIDX): Likewise.
24906 (ADDRIDX): Likewise.
24907 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24908 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24909 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24910 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24911 (VALIDX): Likewise.
24912 (ADDRIDX): Likewise.
24914 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24916 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24918 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24921 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24923 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24924 addresses are in the same scope as 192.0.2/24.
24925 * posix/gai.conf: Document new scope table defaults.
24927 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24930 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24931 for ftell. Compute offsets from write pointers instead.
24932 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24934 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24937 * libio/Makefile (tests): New test case tst-fseek.
24938 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24939 combination works in wide mode.
24940 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24941 state when the external buffer state changes.
24943 2012-09-27 David S. Miller <davem@davemloft.net>
24946 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24947 pass reloc->r_addend in as the 'high' argument to
24948 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24952 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24954 * rt/tst-aio2.c: Include <pthread.h>.
24955 * rt/tst-aio3.c: Likewise.
24957 2012-09-27 Steve Ellcey <sellcey@mips.com>
24959 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24961 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24963 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24964 contents on [SHARED].
24966 2012-09-26 Marek Polacek <polacek@redhat.com>
24970 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24971 for C++ and GCC <4.3 as well as for non GCC compilers.
24973 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24977 2012-09-25 Roland McGrath <roland@hack.frob.com>
24979 * Makefile.in (all, install): Declare with .PHONY.
24980 Reported by Michael Hope <michael.hope@linaro.org>.
24982 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24984 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24985 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24987 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24989 (sydep_routines): Add the new and the internal functions.
24990 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24991 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24993 (GLIBC_2.17): Add the new function.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24995 (GLIBC_2.17): Likewise.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24997 (GLIBC_2.17): Likewise.
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24999 (GLIBC_2.17): Likewise.
25000 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25002 2012-09-25 Alan Modra <amodra@gmail.com>
25004 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25005 Add release barrier before setting once_control to say
25006 initialisation is done. Add hints on lwarx. Use macro in
25008 (clear_once_control): Add release barrier.
25010 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25013 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25015 * math/s_clog10.c (__clog10): Likewise.
25016 * math/s_clog10f.c (__clog10f): Likewise.
25017 * math/s_clog10l.c (__clog10l): Likewise.
25018 * math/s_clogf.c (__clogf): Likewise.
25019 * math/s_clogl.c (__clogl): Likewise.
25020 * math/Makefile (libm-calls): Add x2y2m1.
25021 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25022 (__x2y2m1): Likewise.
25023 (__x2y2m1l): Likewise.
25024 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25025 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25028 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25029 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25030 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25031 * sysdeps/i386/fpu/libm-test-ulps: Update.
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25035 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25036 int as type of variable DEPTH.
25037 (glob): Use size_t instead of int as type of variables NEWCOUNT
25040 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25042 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25043 Add s_sincosf-sse2.
25044 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25045 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25046 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25047 macros for using routine as __sincosf_ia32.
25048 Use macro for function declaration and weak_alias.
25049 * sysdeps/i386/fpu/libm-test-ulps: Update.
25051 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25054 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25055 subnormal argument.
25056 * math/s_cexpf.c (__cexpf): Likewise.
25057 * math/s_csinf.c (__csinf): Likewise.
25058 * math/s_csinhf.c (__csinhf): Likewise.
25059 * math/s_ctanf.c (__ctanf): Likewise.
25060 * math/s_ctanhf.c (__ctanhf): Likewise.
25061 * math/s_ccosh.c (__ccoshf): Likewise.
25062 * math/s_cexp.c (__cexpl): Likewise.
25063 * math/s_csin.c (__csin): Likewise.
25064 * math/s_csinh.c (__csinh): Likewise.
25065 * math/s_ctan.c (__ctan): Likewise.
25066 * math/s_ctanh.c (ctanh): Likewise.
25067 * math/s_ccoshl.c (__ccoshl): Likewise.
25068 * math/s_cexpl.c (__cexpl): Likewise.
25069 * math/s_csinl.c (__csinl): Likewise.
25070 * math/s_csinhl.c (__csinhl): Likewise.
25071 * math/s_ctanl.c (__ctanl): Likewise.
25072 * math/s_ctanhl.c (__ctanhl): Likewise.
25074 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25076 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25077 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25078 (_IO_off_t): Define to __off_t, not _G_off_t.
25079 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25080 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25081 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25082 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25083 type of __dummy and __dummy2 fields.
25084 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25085 (_G_ssize_t): Likewise.
25086 (_G_off_t): Likewise.
25087 (_G_pid_t): Likewise.
25088 (_G_uid_t): Likewise.
25089 (_G_wchar_t): Likewise.
25090 (_G_wint_t): Likewise.
25091 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25092 (_G_ssize_t): Likewise.
25093 (_G_off_t): Likewise.
25094 (_G_pid_t): Likewise.
25095 (_G_uid_t): Likewise.
25096 (_G_wchar_t): Likewise.
25097 (_G_wint_t): Likewise.
25098 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25099 (_G_ssize_t): Likewise.
25100 (_G_off_t): Likewise.
25101 (_G_pid_t): Likewise.
25102 (_G_uid_t): Likewise.
25103 (_G_wchar_t): Likewise.
25104 (_G_wint_t): Likewise.
25106 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25108 * malloc/arena.c: Include malloc-sysdep.h.
25109 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25110 is sufficient to shrink the heap or an unmap is needed.
25111 * sysdeps/generic/malloc-sysdep.h: New file. Define
25112 new function check_may_shrink_heap.
25113 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25114 new function check_may_shrink_heap.
25116 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25118 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25121 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25123 * catgets/test-gencat.sh: Add "set -e".
25124 * elf/tst-pathopt.sh: Likewise.
25125 * grp/tst_fgetgrent.sh: Likewise.
25126 * iconvdata/run-iconv-test.sh: Likewise.
25127 * intl/tst-gettext.sh: Likewise.
25128 * intl/tst-gettext2.sh: Likewise.
25129 * intl/tst-gettext4.sh: Likewise.
25130 * intl/tst-gettext6.sh: Likewise.
25131 * intl/tst-translit.sh: Likewise.
25132 * io/ftwtest-sh: Likewise.
25133 * libio/test-freopen.sh: Likewise.
25134 * malloc/tst-mtrace.sh: Likewise.
25135 * posix/globtest.sh: Likewise.
25136 * posix/tst-getconf.sh: Likewise.
25137 * posix/wordexp-tst.sh: Likewise.
25138 * stdio-common/tst-printf.sh: Likewise.
25139 * stdio-common/tst-unbputc.sh: Likewise.
25140 * stdlib/tst-fmtmsg.sh: Likewise.
25141 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25142 * catgets/Makefile: Do not specify -e option when running
25143 testsuite shell scripts.
25144 * elf/Makefile: Likewise.
25145 * grp/Makefile: Likewise.
25146 * iconvdata/Makefile: Likewise.
25147 * intl/Makefile: Likewise.
25148 * io/Makefile: Likewise.
25149 * libio/Makefile: Likewise.
25150 * malloc/Makefile: Likewise.
25151 * posix/Makefile: Likewise.
25152 * stdio-common/Makefile: Likewise.
25153 * stdlib/Makefile: Likewise.
25154 * sysdeps/x86_64/Makefile: Likewise.
25156 * io/ftwtest-sh: Add copyright header.
25157 * posix/globtest.sh: Likewise.
25158 * posix/tst-getconf.sh: Likewise.
25159 * posix/wordexp-tst.sh: Likewise.
25160 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25162 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25165 * Makeconfig (+link): Defined as $(+link-static) if
25166 $(build-shared) isn't yes.
25167 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25169 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25171 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25174 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25175 new chunk size with MALLOC_ALIGN_MASK.
25177 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25180 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25182 (__printf_fphex): Determine rounding using get_rounding_mode and
25184 * stdio-common/tst-printf-round.c (struct hex_test): New
25186 (hex_tests): New variable.
25187 (test_hex_in_one_mode): New function.
25188 (do_test): Also run tests for hex float output.
25190 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25192 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25193 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25194 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25195 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25196 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25197 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25198 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25199 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25201 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25203 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25204 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25205 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25206 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25208 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25211 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25213 * elf/tst-rtld-load-self.sh: New test.
25214 * elf/Makefile: Run it.
25216 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25218 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25219 (tst-writev-ENV): Remove.
25220 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25222 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25224 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25226 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25228 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25230 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25232 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25233 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25237 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25240 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25241 * config.make.in (have-cpp-asm-debuginfo): Removed.
25242 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25243 * configure: Regenerated.
25245 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25248 * stdio-common/printf_fp.c: Include <stdbool.h> and
25250 (___printf_fp): Determine rounding using get_rounding_mode and
25252 * stdio-common/tst-printf-round.c: New file.
25253 * stdio-common/Makefile (tests): Add tst-printf-round.
25254 (link-libm): New variable.
25255 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25257 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25260 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25261 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25263 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25266 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25268 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25269 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25270 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25271 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25273 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25276 * include/rounding-mode.h: New file.
25277 * sysdeps/generic/get-rounding-mode.h: Likewise.
25278 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25279 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25280 (MAX_VALUE): New macro.
25281 (MIN_VALUE): Likewise.
25282 (overflow_value): New function.
25283 (underflow_value): Likewise.
25284 (round_and_return): Use overflow_value and underflow_value to
25285 determine return values in overflow and underflow cases. Use
25286 round_away to determine rounding depending on rounding mode.
25287 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25288 determine return values in overflow and underflow cases.
25289 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25290 (struct test_results): New structure.
25291 (struct test): Use struct test_results to store expected results
25292 for all rounding modes.
25293 (TEST): Include expected results for all rounding modes.
25294 (test_in_one_mode): New function.
25295 (do_test): Use test_in_one_mode to compute and check results.
25296 Check results for all rounding modes.
25297 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25300 2012-12-09 Allan McRae <allan@archlinux.org>
25302 * sysdeps/i386/fpu/libm-test-ulps: Update
25304 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25306 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25307 (_G_int32_t): Likewise.
25308 (_G_uint16_t): Likewise.
25309 (_G_uint32_t): Likewise.
25310 (_G_HAVE_BOOL): Likewise.
25311 (_G_HAVE_ATEXIT): Likewise.
25312 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25313 (_G_HAVE_IO_FILE_OPEN): Likewise.
25314 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25315 (_G_int32_t): Likewise.
25316 (_G_uint16_t): Likewise.
25317 (_G_uint32_t): Likewise.
25318 (_G_HAVE_BOOL): Likewise.
25319 (_G_HAVE_ATEXIT): Likewise.
25320 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25321 (_G_HAVE_IO_FILE_OPEN): Likewise.
25322 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25323 (_G_int32_t): Likewise.
25324 (_G_uint16_t): Likewise.
25325 (_G_uint32_t): Likewise.
25326 (_G_HAVE_BOOL): Likewise.
25327 (_G_HAVE_ATEXIT): Likewise.
25328 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25329 (_G_HAVE_IO_FILE_OPEN): Likewise.
25331 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25333 * csu/libc-tls.c: Update copyright years.
25335 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25337 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25338 [!_G_USING_THUNKS]: Remove conditional code.
25339 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25340 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25342 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25343 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25344 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25345 (_G_VTABLE_LABEL_PREFIX): Likewise.
25346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25347 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25348 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25349 (_G_VTABLE_LABEL_PREFIX): Likewise.
25350 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25351 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25352 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25353 (_G_VTABLE_LABEL_PREFIX): Likewise.
25354 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25356 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25358 * libio/Makefile: Include ../Makeconfig before tests.
25359 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25360 only if $(build-shared) is yes.
25362 * iconv/gconv_db.c: Update copyright years.
25364 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25366 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25367 unwind info if defined PIC. Fix special cases description.
25368 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25370 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25372 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25374 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25376 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25378 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25381 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25382 (LDLIBS-tst-chk4): This.
25383 (LDFLAGS-tst-chk5): Renamed to ...
25384 (LDLIBS-tst-chk5): This.
25385 (LDFLAGS-tst-chk6): Renamed to ...
25386 (LDLIBS-tst-chk6): This.
25387 (LDFLAGS-tst-lfschk4): Renamed to ...
25388 (LDLIBS-tst-lfschk4): This.
25389 (LDFLAGS-tst-lfschk5): Renamed to ...
25390 (LDLIBS-tst-lfschk5): This.
25391 (LDFLAGS-tst-lfschk6): Renamed to ...
25392 (LDLIBS-tst-lfschk6): This.
25394 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25395 on $(common-objpfx)soversions.mk.
25397 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25400 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25403 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25405 * malloc/arena.c (arena_get_retry): New function that gets
25406 another arena for the caller to try its request on.
25407 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25408 current arena cannot fulfill the request.
25409 (__libc_memalign): Likewise.
25410 (__libc_memalign): Likewise.
25411 (__libc_pvalloc): Likewise.
25412 (__libc_calloc): Likewise.
25414 2012-09-05 John Tobey <john.tobey@gmail.com>
25417 * manual/arith.texi (Operations on Complex): Fix description
25418 of carg branch cut.
25420 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25423 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25427 * manual/memory.texi (Memory): Make order of menu items match
25430 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25432 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25433 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25434 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25436 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25438 * csu/libc-tls.c (static_dtv): Renamed to ...
25439 (_dl_static_dtv): This. Make it global.
25440 (_dl_initial_dtv): Removed.
25441 (__libc_setup_tls): Updated.
25442 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25443 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25446 2012-09-06 Petr Machata <pmachata@redhat.com>
25448 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25449 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25450 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25451 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25453 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25456 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25457 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25460 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25463 * Makeconfig (link-static-before-libc): Replace $(+prector)
25465 (link-static-after-libc): Replace $(+postctor) with
25467 (link-bounded): Replace $(+prector)/$(+postctor) with
25468 $(+prectorT)/$(+postctorT).
25469 (+prectorT): New macro.
25470 (+postctorT): Likewise.
25472 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25474 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25475 (round_str): Handle values above the maximum for IBM long double
25477 * stdlib/tst-strtod-round.c (tests): Regenerated.
25479 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25481 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25483 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25484 zarch_nohighgprs around the zarch optimized routines.
25485 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25486 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25487 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25490 2012-09-05 David S. Miller <davem@davemloft.net>
25492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25494 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25495 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25496 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25497 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25500 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25502 * malloc/arena.c: Fold copyright years.
25503 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25505 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25507 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25509 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25511 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25513 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25515 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25516 change internal state upon failure.
25518 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25520 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25521 * malloc/memusage.c (mmap): Likewise.
25522 (mmap64, mremap): Likewise. Adjust name in comment.
25524 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25526 * libio/fileops.c: Fix typos in comments.
25527 * libio/oldfileops.c: Likewise.
25528 * libio/wfileops.c: Likewise.
25530 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25533 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25534 (tst-malloc-usable-ENV): Set environment for test case.
25535 * malloc/hooks.c (malloc_check_get_size): New function to get
25537 * malloc/malloc.c (musable): Use malloc_check_get_size.
25538 * malloc/tst-malloc-usable.c: New test case.
25540 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25542 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25544 2012-09-05 Allan McRae <allan@archlinux.org>
25547 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25548 determine header location.
25549 * configure: Regenerated.
25551 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25553 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25555 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25556 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25558 (test): Regenerate.
25560 2012-09-04 David S. Miller <davem@davemloft.net>
25562 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25563 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25566 2012-09-04 Florian Weimer <fweimer@redhat.com>
25568 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25571 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25573 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25576 * libio/iogetdelim.c: Include <limits.h>.
25577 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25578 + len + 1 would overflow.
25580 2012-09-03 Andreas Jaeger <aj@suse.de>
25582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25583 * sysdeps/i386/fpu/libm-test-ulps: Update.
25585 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25587 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25588 Add s_sinf-sse2, s_conf-sse2.
25590 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25591 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25592 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25593 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25595 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25596 for using routine as __sinf_ia32.
25597 Use macro for function declaration and weak_alias.
25598 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25599 for using routine as __cosf_ia32.
25600 Use macro for function declaration and weak_alias.
25602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25603 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25605 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25606 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25609 * math/libm-test.inc (cos_test): Add more test cases.
25610 (sin_test): Likewise.
25611 (sincos_test): Likewise.
25613 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25615 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25616 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25618 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25620 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25623 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25624 first element of the GOT.
25625 (elf_machine_load_address): Return the difference between
25626 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25628 2012-09-01 Allan McRae <allan@archlinux.org>
25631 * configure.in (AWK): Require gawk version 3.0 or later.
25632 * configure: Regenerated.
25634 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25636 * sysdeps/unix/sysv/linux/kernel-features.h
25637 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25639 [__NR_clock_getres]: Make code unconditional.
25640 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25641 (clock_getcpuclockid): Remove code left unreachable by removal of
25643 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25644 code unconditional.
25645 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25647 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25648 Make code unconditional.
25649 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25650 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25651 * sysdeps/unix/sysv/linux/clock_settime.c
25652 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25654 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25655 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25657 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25660 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25661 scripts/test-installation.pl.
25663 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25664 and $ld_so_version if it is set.
25666 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25669 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25670 failure if reading from procfs failed.
25671 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25673 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/unix/sysv/linux/kernel-features.h
25676 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25677 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25678 Remove conditional code.
25679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25680 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25681 Remove conditional code.
25682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25683 * sysdeps/unix/sysv/linux/i386/fxstat.c
25684 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25686 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25687 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25689 * sysdeps/unix/sysv/linux/i386/lxstat.c
25690 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25692 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25693 Remove conditional code.
25694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25695 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25696 Remove conditional code.
25697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25698 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25699 <kernel-features.h>.
25700 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25702 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25703 Remove conditional code.
25704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25705 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25706 Remove conditional.
25708 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25711 * NEWS: Add fixed bug number.
25713 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25716 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25717 underflowing exponent in case of negative sign.
25718 * stdlib/tst-strtod-round-data: Add more tests.
25719 * stdlib/tst-strtod-round.c (tests): Regenerated.
25722 * stdlib/strtod_l.c (NDIG): Remove.
25723 (HEXNDIG): Likewise.
25724 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25725 smallest representable value.
25726 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25727 lie within an exact representation of 1/2 ulp of the result.
25728 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25730 (TENS_P9_IDX): Define unconditionally.
25731 (TENS_P9_SIZE): Likewise.
25732 (TENS_P10_IDX): Likewise.
25733 (TENS_P10_SIZE): Likewise.
25734 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25735 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25736 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25737 entries for 10^2^13 and 10^2^14.
25738 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25739 (TENS_P13_IDX): Define.
25740 (TENS_P13_SIZE): Likewise.
25741 (TENS_P14_IDX): Likewise.
25742 (TENS_P14_SIZE): Likewise.
25743 (_fpioconst_pow10): Change array size to
25744 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25746 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25747 1024]: Add entries for 10^2^13 and 10^2^14.
25748 [LAST_POW10 > _LAST_POW10]: Remove #error.
25749 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25750 (_fpioconst_pow10): Change array size to
25751 FPIOCONST_POW10_ARRAY_SIZE.
25752 * stdlib/gen-fpioconst.c: New file.
25753 * stdlib/gen-tst-strtod-round.c: Likewise.
25754 * stdlib/tst-strtod-round-data: Likewise.
25755 * stdlib/tst-strtod-round.c: Likewise.
25756 * stdlib/Makefile (tests): Add tst-strtod-round.
25759 * stdlib/strtod_l.c: Include <stdint.h>.
25760 (NDEBUG): Do not define.
25761 (round_and_return): Change EXPONENT parameter to type intmax_t.
25762 Rearrange calculations to avoid internal overflow possibilities.
25763 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25764 Rearrange calculations to avoid internal overflow possibilities.
25765 Assert that number fits inside MPNSIZE limbs.
25766 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25767 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25768 calculations and add assertions to avoid internal overflow
25769 possibilities. Add casts to avoid signed/unsigned operations.
25770 * stdlib/tst-strtod-overflow.c: New file.
25771 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25773 2012-08-25 Marek Polacek <polacek@redhat.com>
25775 * time/time.h: Fix some typos in comments.
25777 2012-08-23 Roland McGrath <roland@hack.frob.com>
25779 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25780 * posix/tst-rfc3484-2.c: Likewise.
25781 * posix/tst-rfc3484-3.c: Likewise.
25783 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25785 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25786 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25788 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25790 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25791 #include of fxstatat64.c.
25793 2012-08-22 Roland McGrath <roland@hack.frob.com>
25795 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25796 * shadow/getspent_r.c: Likewise.
25797 * shadow/getspnam.c: Likewise.
25798 * shadow/getspnam_r.c: Likewise.
25799 * gshadow/getsgent.c: Likewise.
25800 * gshadow/getsgent_r.c: Likewise.
25801 * gshadow/getsgnam.c: Likewise.
25802 * gshadow/getsgnam_r.c: Likewise.
25803 * inet/getnetbyad.c: Likewise.
25804 * inet/getnetbyad_r.c: Likewise.
25805 * inet/getnetbynm.c: Likewise.
25806 * inet/getnetbynm_r.c: Likewise.
25807 * inet/getnetent.c: Likewise.
25808 * inet/getnetent_r.c: Likewise.
25809 * inet/getproto.c: Likewise.
25810 * inet/getproto_r.c: Likewise.
25811 * inet/getprtent.c: Likewise.
25812 * inet/getprtent_r.c: Likewise.
25813 * inet/getprtname.c: Likewise.
25814 * inet/getprtname_r.c: Likewise.
25815 * inet/getrpcbyname.c: Likewise.
25816 * inet/getrpcbyname_r.c: Likewise.
25817 * inet/getrpcbynumber.c: Likewise.
25818 * inet/getrpcbynumber_r.c: Likewise.
25819 * inet/getrpcent.c: Likewise.
25820 * inet/getrpcent_r.c: Likewise.
25821 * inet/getaliasent.c: Likewise.
25822 * inet/getaliasent_r.c: Likewise.
25823 * inet/getaliasname.c: Likewise.
25824 * inet/getaliasname_r.c: Likewise.
25825 * nscd/getgrgid_r.c: Likewise.
25826 * nscd/getgrnam_r.c: Likewise.
25827 * nscd/gethstbyad_r.c: Likewise.
25828 * nscd/gethstbynm3_r.c: Likewise.
25829 * nscd/getpwnam_r.c: Likewise.
25830 * nscd/getpwuid_r.c: Likewise.
25831 * nscd/getsrvbynm_r.c: Likewise.
25832 * nscd/getsrvbypt_r.c: Likewise.
25833 * nscd/gai.c: Likewise.
25835 * configure.in (build_nscd): New substituted variable, set
25836 by --disable-build-nscd and defaults to $use_nscd.
25837 * configure: Regenerated.
25838 * config.make.in (build-nscd): New substituted variable.
25839 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25840 Change conditional to require [$(build-nscd) = yes] as well.
25841 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25844 * configure.in (use_nscd): New substituted variable, set by
25845 --disable-nscd. If enabled, define USE_NSCD.
25846 * configure: Regenerated.
25847 * config.h.in: Add USE_NSCD.
25848 * config.make.in (use-nscd): New substituted variable.
25849 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25850 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25851 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25852 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25853 (CFLAGS-getgrnam_r.c): Likewise.
25854 (CFLAGS-initgroups.c): Likewise.
25855 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25856 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25858 * inet/getnetgrent_r.c
25859 (nscd_setnetgrent): New function, broken out of ...
25860 (setnetgrent): ... here. Call it.
25861 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25862 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25863 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25864 * nscd/Makefile (routines, aux): Move definitions after include of
25865 Makeconfig. Conditionalize on [$(use-nscd) != no].
25866 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25867 Conditionalize on [USE_NSCD].
25868 (is_nscd, nscd_init_cb): Likewise.
25869 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25870 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25871 * nss/nss_db/db-init.c: Likewise.
25872 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25874 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25875 (make_request): Use it.
25876 (cache_valid_p): New function.
25877 (__check_pf): Use it.
25878 * NEWS: Add item for --disable-nscd.
25880 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25882 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25883 to support sed >= 4.2.1-20-ga9bf076.
25884 * configure: Regenerated.
25886 2012-08-22 Roland McGrath <roland@hack.frob.com>
25888 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25889 Conditionalize whole body on [IREL].
25891 2012-08-22 Jeff Law <law@redhat.com>
25894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25895 if the family is PF_UNSPEC.
25897 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25899 * Makerules (lib-version): Rename from V.
25900 (install-lib-nosubdir): Change V to lib-version.
25902 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25905 * powerpc32/power6/wcschr.c: New file.
25906 * powerpc32/power6/wcscpy.c: New file.
25907 * powerpc32/power6/wcsrchr.c: New file.
25908 * powerpc64/power6/wcschr.c: New file.
25909 * powerpc64/power6/wcscpy.c: New file.
25910 * powerpc64/power6/wcsrchr.c: New file.
25912 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25914 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25915 (two_way_short_needle): Use it.
25916 * string/strstr.c (AVAILABLE1_USES_J): Define.
25917 * string/strcasestr.c: Likewise.
25919 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25921 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25924 * NEWS: Add an entry.
25925 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25926 define their defaults.
25927 (two_way_short_needle): Detect end-of-string on-the-fly.
25928 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25929 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25930 * string/bug-strcasestr1.c: New test.
25931 * string/Makefile: Run it.
25933 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25936 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25937 the first character.
25939 2012-08-21 Roland McGrath <roland@hack.frob.com>
25941 * csu/elf-init.c (__libc_csu_irel): Function removed.
25942 * csu/libc-start.c (apply_irel): New function.
25943 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25945 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25947 * sysdeps/unix/sysv/linux/kernel-features.h
25948 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25949 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25950 <kernel-features.h>.
25951 [__NR_fadvise64_64]: Make code unconditional.
25952 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25953 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25954 !__NR_fadvise64_64)]: Likewise.
25955 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25956 !__NR_fadvise64_64))]: Likewise.
25957 [__NR_fadvise64]: Make code unconditional.
25958 [!__NR_fadvise64]: Remove conditional code.
25959 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25960 <kernel-features.h>.
25961 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25963 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25966 not include <kernel-features.h>.
25967 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25969 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25971 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25972 include <kernel-features.h>.
25973 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25975 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25978 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25981 slight instruction rearrangements per scrollpipe analysis.
25982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25984 2012-08-20 Roland McGrath <roland@hack.frob.com>
25986 * manual/syslog.texi (syslog; vsyslog, closelog):
25987 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25988 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25990 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25991 DSOCAPS to match condition on defining it.
25993 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25995 * sysdeps/unix/sysv/linux/kernel-features.h
25996 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25998 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25999 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26001 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26002 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26004 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26005 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26007 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26008 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26010 * sysdeps/unix/sysv/linux/kernel-features.h
26011 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26012 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26014 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26015 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26016 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26017 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26018 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26019 Make code unconditional.
26020 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26021 (__mmap64) [!__NR_mmap2]: Likewise.
26022 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26023 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26024 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26026 [__NR_mmap2]: Make code unconditional.
26027 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26028 (__mmap64) [!__NR_mmap2]: Likewise.
26030 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26032 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26034 2012-08-18 Andreas Jaeger <aj@suse.de>
26036 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26038 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26040 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26041 * include/unistd.h (__have_sock_cloexec): Likewise.
26042 (__have_pipe2): Likewise.
26043 (__have_dup3): Likewise.
26045 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26048 * include/unistd.h (__have_pipe2): Change define into an extern int.
26049 (__have_dup3): Likewise.
26050 * socket/have_sock_cloexec.c: Include fcntl.h.
26051 (__have_pipe2): New variable.
26052 (__have_dup3): Likewise.
26054 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26056 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26058 2012-08-17 Marek Polacek <polacek@redhat.com>
26060 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26061 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26063 2012-08-17 Roland McGrath <roland@hack.frob.com>
26065 * configure.in: Add AC_SUBST for sysheaders.
26066 * configure: Regenerated.
26067 * config.make.in (sysheaders): New substituted variable.
26069 * sysdeps/unix/mkfifo.c: Moved ...
26070 * sysdeps/posix/mkfifo.c: ... here.
26071 * sysdeps/unix/mkfifoat.c: Moved ...
26072 * sysdeps/posix/mkfifoat.c: ... here.
26074 * sysdeps/unix/utime.c: Moved ...
26075 * sysdeps/posix/utime.c: ... here.
26077 * sysdeps/unix/time.c: Moved ...
26078 * sysdeps/posix/time.c: ... here.
26079 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26080 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26082 * sysdeps/unix/nice.c: Moved ...
26083 * sysdeps/posix/nice.c: ... here.
26085 * sysdeps/unix/alarm.c: Moved ...
26086 * sysdeps/posix/alarm.c: ... here.
26088 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26090 2012-08-17 Jeff Law <law@redhat.com>
26092 * intl/Makefile (codeset_mo): New variable.
26093 ($(codeset_mo)): New target.
26094 (tst-codeset.out): Depend on that. Remove explicit rule.
26095 (tst-gettext3.out, tst-gettext5.out): Likewise.
26096 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26097 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26098 * intl/tst-codeset.sh: Remove.
26099 * intl/tst-gettext3.sh: Likewise.
26100 * intl/tst-gettext5.sh: Likewise.
26102 2012-08-17 Roland McGrath <roland@hack.frob.com>
26104 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26105 * sysdeps/unix/syscalls.list: ... here.
26107 * sysdeps/posix/getaddrinfo.c
26108 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26109 (gaiconf_init, gaiconf_reload): Use them.
26110 [!_STATBUF_ST_NSEC]
26111 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26112 Define using time_t rather than struct timespec.
26114 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26115 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26117 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26119 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26120 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26123 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26124 __libc_cleanup_push argument.
26126 * bits/param.h: New file.
26127 * misc/sys/param.h: New file.
26128 * include/sys/param.h: New file.
26129 * misc/Makefile (headers): Add bits/param.h.
26130 * sysdeps/generic/sys/param.h: File removed.
26131 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26132 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26133 * sysdeps/mach/hurd/bits/param.h: New file.
26134 * sysdeps/mach/hurd/sys/param.h: File removed.
26136 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26139 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26141 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26142 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26145 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26146 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26147 rather than -D_IO_MTSAFE_IO conditionally.
26148 * stdio-common/Makefile (CPPFLAGS): Likewise.
26149 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26150 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26151 Use $(libio-mtsafe).
26152 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26153 of -D_IO_MTSAFE_IO.
26154 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26155 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26156 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26157 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26158 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26159 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26160 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26161 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26162 (CFLAGS-fread_u_chk.c): Likewise.
26163 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26164 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26165 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26166 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26167 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26168 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26169 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26170 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26171 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26173 * libio/Makefile: Test [$(libc-reentrant) = yes]
26174 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26177 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26178 * sysdeps/pthread/configure: File removed.
26179 * sysdeps/pthread/Makeconfig: New file.
26180 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26181 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26183 2012-08-16 Gary Benson <gbenson@redhat.com>
26185 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26186 unmapping the first object in a namespace.
26188 2012-08-16 Roland McGrath <roland@hack.frob.com>
26190 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26191 (__internal_setnetgrent): ... this. Add internal_function to
26192 definition. Add libc_hidden_def.
26193 (setnetgrent): Update caller.
26194 (internal_endnetgrent): Renamed to ...
26195 (__internal_endnetgrent): ... this. Add internal_function to
26196 definition. Add libc_hidden_def.
26197 (endnetgrent): Update caller.
26198 (internal_getnetgrent_r): Renamed to ...
26199 (__internal_getnetgrent_r): ... this. Add internal_function to
26200 definition. Add libc_hidden_def.
26201 (__getnetgrent_r): Update caller.
26202 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26204 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26206 * stdlib/longlong.h: Update from GCC.
26208 2012-08-16 Roland McGrath <roland@hack.frob.com>
26210 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26211 on _QL, which is set by umul_ppmm but never used.
26212 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26213 variables, which are set by GMP macros but never used.
26214 * stdio-common/_itowa.c (_itowa): Likewise.
26215 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26216 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26218 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26220 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26221 struct La_sh_regs is not constant.
26222 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26223 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26224 and struct La_sparc64_regs are not constant.
26226 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/unix/sysv/linux/kernel-features.h
26229 (__ASSUME_POSIX_TIMERS): Remove.
26230 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26231 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26232 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26233 Make code unconditional.
26234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26235 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26236 Make code unconditional.
26237 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26238 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26239 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26240 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26241 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26242 Make code unconditional.
26243 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26244 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26245 (__libc_missing_posix_timers): Remove.
26247 2012-08-15 Roland McGrath <roland@hack.frob.com>
26249 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26250 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26252 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26254 * elf/dl-sym.c: Include <stdlib.h>.
26256 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26257 constants, which avoids warnings in 32-bit builds.
26259 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26260 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26262 * misc/lseek.c: File moved to ...
26263 * io/lseek.c: ... here.
26265 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26267 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26268 shifting LEN more than 31 bits at once.
26270 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26273 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26274 segmentation fault for a case of two empty input strings.
26275 * string/test-strncasecmp.c (check1): Renamed to...
26276 (bz12205): ...this.
26277 (bz14195): Add new testcase for two empty input strings and N > 0.
26278 (test_main): Call new testcase, adapt for renamed function.
26280 2012-08-15 Andreas Jaeger <aj@suse.de>
26283 * crypt/md5test2.c: New test, based on test supplied by Serge
26284 Belyshev <belyshev@depni.sinp.msu.ru>.
26285 * crypt/Makefile (xtests): Add md5test-giant..
26286 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26288 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26291 * crypt/md5.c (md5_process_block): Don't assume the buffer
26292 length is less than 2**32.
26293 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26294 length is less than 2**64.
26296 2012-08-15 Roland McGrath <roland@hack.frob.com>
26298 * string/str-two-way.h: Include <sys/param.h>.
26299 (MAX): Macro removed.
26301 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26302 Move #define and #undef of memmove to just before and after
26303 including <string.h>.
26305 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26306 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26307 and after including <string.h>. Move declarations of
26308 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26309 to before #include "string/memmove.c".
26311 * include/dirent.h: Declare __getdirentries.
26313 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26314 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26316 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26318 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26319 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26320 * sysdeps/i386/configure: Regenerated.
26321 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26322 STABS_CURRENT_FILE, and STABS_FUN.
26323 (END): Remove call to STABS_FUN_END.
26324 (STABS_CURRENT_FILE1): Delete.
26325 (STABS_CURRENT_FILE): Likewise.
26326 (STABS_FUN): Likewise.
26327 (STABS_FUN_END): Likewise.
26328 (STABS_FUN2): Likewise.
26329 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26330 * sysdeps/x86_64/configure: Regenerated.
26332 2012-08-14 Roland McGrath <roland@hack.frob.com>
26334 * elf/dl-open.c: Include <atomic.h>.
26335 * elf/dl-lookup.c: Likewise.
26337 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26339 * sysdeps/unix/sysv/linux/kernel-features.h
26340 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26341 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26343 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26345 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26346 condition on __ASSUME_CLONE_THREAD_FLAGS.
26348 2012-08-14 Andreas Jaeger <aj@suse.de>
26350 * sysdeps/i386/fpu/libm-test-ulps: Update.
26352 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26354 * include/atomic.h (atomic_exchange_and_add): Split into ...
26355 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26358 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26362 2012-08-13 Jeff Law <law@redhat.com>
26364 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26365 null byte in the output string.
26367 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26369 * sysdeps/unix/sysv/linux/kernel-features.h
26370 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26371 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26372 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26374 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26375 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26376 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26378 2012-08-09 Jeff Law <law@redhat.com>
26381 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26382 When avoid_arena is set, don't retry in the that arena. Pick the
26383 next one, whatever it might be.
26384 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26385 (arena_lock): Pass in new parameter to arena_get2.
26386 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26388 (__libc_malloc): Unify retrying after main arena failure with
26389 __libc_memalign version.
26390 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26392 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26395 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26396 to __redirect_strstr.
26397 (__strstr_sse42): Use typeof __redirect_strstr.
26398 (__strstr_ia32): Likewise.
26399 (__libc_strstr): New prototype.
26400 (strstr): Renamed to ...
26401 (__libc_strstr): This.
26402 (strstr): New strong alias of __libc_strstr.
26403 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26404 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26407 (__libc_time): New prototype.
26408 (time_ifunc): Replace time with __libc_time.
26409 (time): New strong alias and hidden definition of __libc_time.
26410 (__GI_time): Remove strong alias.
26411 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26412 Include <stddef.h>.
26413 (memmove): Redefined to __redirect_memmove.
26414 (__memmove_sse2): Use typeof __redirect_memmove.
26415 (__memmove_ssse3): Likewise.
26416 (__memmove_ssse3_back): Likewise.
26417 (__libc_memmove): New prototype.
26418 (memmove): Renamed to ...
26419 (__libc_memmove): This.
26420 (memmove): New strong alias of __libc_memmove.
26422 2012-08-08 Mark Salter <msalter@redhat.com>
26425 (R_MN10300_TLS_GD): Define.
26426 (R_MN10300_TLS_LD): Likewise.
26427 (R_MN10300_TLS_LDO): Likewise.
26428 (R_MN10300_TLS_GOTIE): Likewise.
26429 (R_MN10300_TLS_IE): Likewise.
26430 (R_MN10300_TLS_LE): Likewise.
26431 (R_MN10300_TLS_DTPMOD): Likewise.
26432 (R_MN10300_TLS_DTPOFF): Likewise.
26433 (R_MN10300_TLS_TPOFF): Likewise.
26434 (R_MN10300_SYM_DIFF): Likewise.
26435 (R_MN10300_ALIGN): Likewise.
26436 (R_MN10300_NUM): Update.
26438 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26443 2012-08-08 Roland McGrath <roland@hack.frob.com>
26445 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26447 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26448 sysdeps/unix -> sysdeps/posix move.
26449 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26451 2012-08-07 Allan McRae <allan@archlinux.org>
26454 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26455 (SUNOS_CPP): Likewise.
26456 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26458 (open_input): Call CPP using execvp.
26460 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26462 * sysdeps/unix/sysv/linux/kernel-features.h
26463 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26464 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26465 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26466 (__ASSUME_WAITID_SYSCALL): Likewise.
26467 * sysdeps/unix/sysv/linux/dl-execstack.c
26468 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26469 code unconditional.
26470 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26472 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26473 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26474 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26476 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26478 [__ASSUME_WAITID_SYSCALL]: Likewise.
26479 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26481 2012-08-07 Roland McGrath <roland@hack.frob.com>
26483 * sysdeps/unix/closedir.c: Renamed to ...
26484 * sysdeps/posix/closedir.c: ... here.
26485 * sysdeps/unix/dirfd.c: Renamed to ...
26486 * sysdeps/posix/dirfd.c: ... here.
26487 * sysdeps/unix/dirstream.h: Renamed to ...
26488 * sysdeps/posix/dirstream.h: ... here.
26489 * sysdeps/unix/fdopendir.c: Renamed to ...
26490 * sysdeps/posix/fdopendir.c: ... here.
26491 * sysdeps/unix/opendir.c: Renamed to ...
26492 * sysdeps/posix/opendir.c: ... here.
26493 * sysdeps/unix/readdir.c: Renamed to ...
26494 * sysdeps/posix/readdir.c: ... here.
26495 * sysdeps/unix/readdir_r.c: Renamed to ...
26496 * sysdeps/posix/readdir_r.c: ... here.
26497 * sysdeps/unix/rewinddir.c: Renamed to ...
26498 * sysdeps/posix/rewinddir.c: ... here.
26499 * sysdeps/unix/seekdir.c: Renamed to ...
26500 * sysdeps/posix/seekdir.c: ... here.
26501 * sysdeps/unix/telldir.c: Renamed to ...
26502 * sysdeps/posix/telldir.c: ... here.
26503 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26504 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26505 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26506 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26508 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26509 * bits/fcntl.h: ... here.
26511 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26513 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26514 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26515 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26516 (struct flock): Move l_start, l_len to the beginning.
26517 Use __pid_t for l_pid.
26518 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26519 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26520 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26521 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26522 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26523 [__USE_LARGEFILE64] (struct flock64): New type.
26524 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26526 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26527 * bits/dirent.h: ... here.
26529 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26530 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26532 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26535 Change from 2.6.0 to 2.6.16.
26536 * sysdeps/unix/sysv/linux/configure: Regenerated.
26537 * sysdeps/unix/sysv/linux/kernel-features.h
26538 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26539 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26541 (__ASSUME_UTIMES): Likewise.
26542 (__ASSUME_CLONE_STOPPED): Remove.
26543 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26544 architectures, not kernel version.
26545 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26546 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26547 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26548 (__ASSUME_WAITID_SYSCALL): Likewise.
26549 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26550 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26551 * README: State 2.6.16 as minimum Linux kernel version. Do not
26552 refer to older versions.
26554 2012-08-06 Roland McGrath <roland@hack.frob.com>
26556 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26557 Define alphasort64 as an alias.
26558 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26559 Define versionsort64 as an alias.
26560 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26561 Define scandir64 as an alias.
26562 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26563 Define scandirat64 as an alias.
26564 * dirent/alphasort64.c (alphasort64):
26565 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26566 * dirent/versionsort64.c: Likewise.
26567 * dirent/scandir64.c: Likewise.
26568 * dirent/scandirat64.c: Likewise.
26569 * sysdeps/wordsize-64/alphasort.c: File removed.
26570 * sysdeps/wordsize-64/alphasort64.c: File removed.
26571 * sysdeps/wordsize-64/scandir.c: File removed.
26572 * sysdeps/wordsize-64/scandir64.c: File removed.
26573 * sysdeps/wordsize-64/scandirat.c: File removed.
26574 * sysdeps/wordsize-64/scandirat64.c: File removed.
26575 * sysdeps/wordsize-64/versionsort.c: File removed.
26576 * sysdeps/wordsize-64/versionsort64.c: File removed.
26577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26579 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26581 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26583 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26584 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26586 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26588 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26590 [defined __arch64__ || defined __sparcv9]
26591 (__INO_T_MATCHES_INO64_T): New macro.
26592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26593 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26594 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26595 * sysdeps/unix/sysv/linux/bits/dirent.h
26596 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26597 (_DIRENT_MATCHES_DIRENT64): New macro.
26599 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26600 Define lockf64 as an alias.
26601 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26602 Define fseeko64 as an alias.
26603 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26604 Define ftello64 as an alias.
26605 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26606 Define _IO_fgetpos64 and fgetpos64 as aliases.
26607 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26608 Define _IO_fsetpos64 and fsetpos64 as aliases.
26609 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26610 Conditionalize body on this.
26611 * libio/fseeko64.c: Likewise.
26612 * libio/ftello64.c: Likewise.
26613 * libio/iofgetpos64.c: Likewise.
26614 * libio/iofsetpos64.c: Likewise.
26615 * sysdeps/wordsize-64/lockf.c: File removed.
26616 * sysdeps/wordsize-64/lockf64.c: File removed.
26617 * sysdeps/wordsize-64/fseeko.c: File removed.
26618 * sysdeps/wordsize-64/fseeko64.c: File removed.
26619 * sysdeps/wordsize-64/ftello.c: File removed.
26620 * sysdeps/wordsize-64/ftello64.c: File removed.
26621 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26622 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26623 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26624 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26633 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26636 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26638 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26640 [defined __arch64__ || defined __sparcv9]
26641 (__OFF_T_MATCHES_OFF64_T): New macro.
26642 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26643 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26645 (__OFF_T_MATCHES_OFF64_T): New macro.
26647 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26649 * stdlib/secure-getenv.c (__secure_getenv): Replace
26650 GLIBC_2_16 with GLIBC_2_17.
26652 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26654 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26657 2012-08-03 David S. Miller <davem@davemloft.net>
26659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26661 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26665 (__ASSUME_CORRECT_SI_PID): Likewise.
26666 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26667 (__ASSUME_TMPFS_NAME): Likewise.
26668 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26669 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26670 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26671 (HAVE_AUX_SECURE): Make definition unconditional.
26672 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26673 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26675 2012-08-03 Roland McGrath <roland@hack.frob.com>
26677 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26678 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26679 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26680 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26681 __eloop_threshold instead of SYMLOOP_MAX.
26683 * sysdeps/generic/eloop-threshold.h: New file.
26684 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26686 * elf/chroot_canon.c (chroot_canon): Likewise.
26688 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26692 Change to 2.6.0 everywhere.
26693 * sysdeps/unix/sysv/linux/configure: Regenerated.
26694 * sysdeps/unix/sysv/linux/kernel-features.h
26695 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26696 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26698 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26699 (__ASSUME_FUTEX_REQUEUE): Remove.
26700 (__ASSUME_STATFS64): Define unconditionally.
26701 (__ASSUME_AT_SECURE): Likewise.
26702 (__ASSUME_CORRECT_SI_PID): Likewise.
26703 (__ASSUME_TGKILL): Define without depending on kernel version for
26705 (__ASSUME_UTIMES): Likewise.
26706 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26708 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26709 (__ASSUME_TMPFS_NAME): Likewise.
26710 * README: Update reference to Linux kernel versions.
26712 2012-08-02 Marek Polacek <polacek@redhat.com>
26715 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26716 libc_cv_asm_type_prefix with %.
26717 * configure: Regenerated.
26718 * include/libc-symbols.h: Remove comment about
26719 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26720 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26721 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26722 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26723 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26724 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26725 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26726 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26727 * elf/tst-unique2mod1.c: Likewise.
26728 * elf/tst-unique1mod2.c: Likewise.
26729 * elf/tst-unique1mod1.c: Likewise.
26730 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26731 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26732 Replace ASM_TYPE_DIRECTIVE with .type.
26733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26734 * sysdeps/i386/sysdep.h: Likewise.
26735 * sysdeps/x86_64/sysdep.h: Likewise.
26736 * sysdeps/sh/sysdep.h: Likewise.
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26738 Do not define ASM_TYPE_DIRECTIVE.
26739 * sysdeps/powerpc/sysdep.h: Likewise.
26740 * sysdeps/powerpc/powerpc32/sysdep.h:
26741 Replace ASM_TYPE_DIRECTIVE with .type.
26742 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26744 * sysdeps/i386/fpu/e_powf.S: Likewise.
26745 * sysdeps/i386/fpu/e_expl.S: Likewise.
26746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26748 * sysdeps/i386/fpu/e_pow.S: Likewise.
26749 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26750 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26751 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26752 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26753 * sysdeps/i386/fpu/e_log2.S: Likewise.
26754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26755 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26756 * sysdeps/i386/fpu/e_powl.S: Likewise.
26757 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26758 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26759 * sysdeps/i386/fpu/e_logl.S: Likewise.
26760 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26761 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26762 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26765 * sysdeps/i386/fpu/e_log.S: Likewise.
26766 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26767 * sysdeps/i386/fpu/e_logf.S: Likewise.
26768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26770 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26771 * sysdeps/i386/fpu/e_log10.S: Likewise.
26772 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26773 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26774 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26775 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26778 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26779 * sysdeps/i386/i686/strtok.S: Likewise.
26780 * sysdeps/i386/i386-mcount.S: Likewise.
26781 * sysdeps/i386/strtok.S: Likewise.
26782 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26786 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26787 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26788 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26789 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26790 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26791 * sysdeps/x86_64/_mcount.S: Likewise.
26792 * sysdeps/x86_64/strtok.S: Likewise.
26793 * sysdeps/sh/_mcount.S: Likewise.
26795 2012-08-01 Roland McGrath <roland@hack.frob.com>
26797 * libio/iofopen.c: Include <fcntl.h>.
26798 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26799 (_IO_fopen64, fopen64): Define as aliases.
26800 * libio/iofopen64.c: Include <fcntl.h>.
26801 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26802 Conditionalize body on this.
26803 * sysdeps/wordsize-64/iofopen.c: File removed.
26804 * sysdeps/wordsize-64/iofopen64.c: File removed.
26806 2012-08-01 Marek Polacek <polacek@redhat.com>
26808 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26809 Use dlfcn directly instead of a variable.
26810 (binfmt-subdir): Do not define.
26813 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26815 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26816 Remove all definitions.
26817 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26818 <kernel-features.h>.
26819 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26820 (miss_F_GETOWN_EX): Remove all definitions.
26821 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26823 [!__ASSUME_FCNTL64]: Remove conditional code.
26824 [__ASSUME_FCNTL64]: Make code unconditional.
26825 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26826 <kernel-features.h>.
26827 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26828 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26829 (lockf64) [__NR_fcntl64]: Make code unconditional.
26830 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26832 * sysdeps/unix/sysv/linux/kernel-features.h
26833 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26834 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26835 Make code unconditional.
26836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26839 [__NR_vfork]: Make code unconditional.
26840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26843 [__NR_vfork]: Make code unconditional.
26844 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26845 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26847 2012-08-01 Roland McGrath <roland@hack.frob.com>
26849 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26850 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26852 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26853 Define mkstemp64 as an alias.
26854 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26855 Define mkstemps64 as an alias.
26856 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26857 Define mkostemp64 as an alias.
26858 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26859 Define mkostemps64 as an alias.
26860 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26861 Conditionalize body on this.
26862 * misc/mkostemp64.c: Likewise.
26863 * misc/mkostemps64.c: Likewise.
26864 * misc/mkstemps64.c: Likewise.
26865 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26866 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26867 * sysdeps/wordsize-64/mkostemp.c: File removed.
26868 * sysdeps/wordsize-64/mkstemp.c: File removed.
26869 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26870 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26872 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26875 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26876 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26877 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26878 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26880 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26881 compat_symbol macros from <shlib-compat.h> rather than the underlying
26882 default_symbol_version and symbol_version macros, so that DEFAULT
26883 lines in shlib-versions are respected.
26884 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26886 2012-08-01 Florian Weimer <fweimer@redhat.com>
26888 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26889 Declare with warn_unused_result.
26890 (setgid, setregid, setegid, setresgid): Likewise.
26891 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26893 * WUR-REPORT: Remove set*id functions.
26895 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26897 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26899 2012-07-31 Roland McGrath <roland@hack.frob.com>
26902 * include/sys/socket.h (__libc_accept, __libc_accept4):
26903 Add attribute_hidden.
26904 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26906 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26908 * inet/getnetgrent_r.c (setup): Likewise.
26910 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26912 2012-07-31 David S. Miller <davem@davemloft.net>
26914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26916 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26919 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26920 value between 1.0 and 2.0 and smaller part has absolute value less
26922 * math/s_clog10.c (__clog10): Likewise.
26923 * math/s_clog10f.c (__clog10f): Likewise.
26924 * math/s_clog10l.c (__clog10l): Likewise.
26925 * math/s_clogf.c (__clogf): Likewise.
26926 * math/s_clogl.c (__clogl): Likewise.
26927 * math/libm-test.inc (clog_test): Add more tests.
26928 (clog10_test): Likewise.
26929 * sysdeps/i386/fpu/libm-test-ulps: Update.
26930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26932 2012-07-31 Florian Weimer <fweimer@redhat.com>
26934 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26935 Exit with zero in case no suitable GID is found, and write a
26936 message to standard error.
26938 2012-07-30 Roland McGrath <roland@hack.frob.com>
26940 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26942 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26943 (MAXPATHLEN): Removed.
26944 (NOGROUP, NODEV): New macros.
26945 (setbit, clrbit, isset, isclr): New macros.
26946 (howmany, roundup, powerof2): New macros.
26947 (DEV_BSIZE): New macro.
26949 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26950 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26952 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26953 definition on [!__NO_LONG_DOUBLE_MATH].
26955 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26956 PTR_MANGLE and PTR_DEMANGLE.
26958 * socket/accept4.c (accept4): Rename to __libc_accept4.
26959 Define accept4 as a weak alias.
26961 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26962 on [_DIRENT_HAVE_D_TYPE].
26963 * io/ftw.c (ftw_dir): Likewise.
26965 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26967 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26969 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26970 Use the BSD numbers rather than the arbitrary ones we had.
26971 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26972 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26973 (SIGXCPU, SIGXFSZ): New macros.
26976 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26977 initializer on [_LIBC_REENTRANT].
26979 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26980 definitions inside [_POSIX_MAPPED_FILES].
26982 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26984 * dirent/opendir.c: Include <fcntl.h>.
26986 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26987 (__libc_getspecific): Likewise.
26988 (__libc_key_create): Likewise.
26990 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26991 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26992 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26993 (tmpfile64): Define as alias.
26994 * sysdeps/wordsize-64/tmpfile.c: File removed.
26995 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26996 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26999 * stdio-common/vfscanf.c: Include <stdbool.h>.
27000 * nss/makedb.c: Likewise.
27001 * stdio-common/_i18n_number.h: Likewise.
27002 * argp/argp-help.c: Likewise.
27003 * posix/wordexp.c: Likewise.
27004 * sysdeps/posix/spawni.c: Likewise.
27005 * nss/nss_files/files-initgroups.c: Likewise.
27006 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27007 * nss/nss_files/files-initgroups.c: Likewise.
27008 * nss/nss_db/db-netgrp.c: Likewise.
27009 * nss/nss_db/db-initgroups.c: Likewise.
27010 * io/fchmodat.c: Include <sys/stat.h>.
27012 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27013 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27015 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27018 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27019 Add multiple inclusion protection.
27021 2012-07-27 David S. Miller <davem@davemloft.net>
27023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27025 2012-07-27 Gary Benson <gbenson@redhat.com>
27028 * elf/rtld.c: Include <stap-probe.h>.
27029 (dl_main): Added static probes "init_start" and "init_complete".
27030 * elf/dl-load.c: Include <stap-probe.h>.
27031 (lose): Take new parameter "nsid".
27032 Added static probe "map_failed".
27033 (_dl_map_object_from_fd): Pass namespace id to lose.
27034 Added static probe "map_start".
27035 (open_verify): Pass namespace id to lose.
27036 * elf/dl-open.c: Include <stap-probe.h>.
27037 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27038 and "reloc_complete".
27039 * elf/dl-close.c: Include <stap-probe.h>.
27040 (_dl_close_worker): Added static probes "unmap_start" and
27042 * elf/rtld-debugger-interface.txt: New file documenting the above.
27044 2012-07-26 Roland McGrath <roland@hack.frob.com>
27046 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27047 rather than a string variable.
27048 * sunrpc/rpc_main.c (h_output): Likewise.
27049 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27051 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27053 * inet/check_native.c: New file.
27055 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27058 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27059 if larger part has absolute value 1.0.
27060 * math/s_clog10.c (__clog10): Likewise.
27061 * math/s_clog10f.c (__clog10f): Likewise.
27062 * math/s_clog10l.c (__clog10l): Likewise.
27063 * math/s_clogf.c (__clogf): Likewise.
27064 * math/s_clogl.c (__clogl): Likewise.
27065 * math/libm-test.inc (clog_test): Add more tests.
27066 (clog10_test): Likewise.
27067 * sysdeps/i386/fpu/libm-test-ulps: Update.
27068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27070 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27071 (pltexit): Likewise.
27072 (La_regs): Likewise.
27073 (La_retval): Likewise.
27074 (int_retval): Likewise.
27075 Update #error for removed macros to refer only to definitions in
27077 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27079 (pltexit): Likewise.
27080 (La_regs): Likewise.
27081 (La_retval): Likewise.
27082 (int_retval): Likewise.
27083 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27085 (pltexit): Likewise.
27086 (La_regs): Likewise.
27087 (La_retval): Likewise.
27088 (int_retval): Likewise.
27089 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27091 (pltexit): Likewise.
27092 (La_regs): Likewise.
27093 (La_retval): Likewise.
27094 (int_retval): Likewise.
27095 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27097 (pltexit): Likewise.
27098 (La_regs): Likewise.
27099 (La_retval): Likewise.
27100 (int_retval): Likewise.
27101 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27103 (pltexit): Likewise.
27104 (La_regs): Likewise.
27105 (La_retval): Likewise.
27106 (int_retval): Likewise.
27107 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27109 (pltexit): Likewise.
27110 (La_regs): Likewise.
27111 (La_retval): Likewise.
27112 (int_retval): Likewise.
27113 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27114 macro definitions in tst-audit.h.
27115 * sysdeps/i386/tst-audit.h: New file.
27116 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27117 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27118 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27119 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27120 * sysdeps/sh/tst-audit.h: Likewise.
27121 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27122 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27123 * sysdeps/x86_64/tst-audit.h: Likewise.
27125 2012-07-26 Andreas Jaeger <aj@suse.de>
27127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27130 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27131 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27132 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27134 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27135 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27136 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27138 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27141 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27143 (si_call_addr, si_syscall, si_arch): Define new macro.
27144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27146 (si_call_addr, si_syscall, si_arch): Define new marcro.
27147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27149 (si_call_addr, si_syscall, si_arch): Define new macro.
27150 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27152 (si_call_addr, si_syscall, si_arch): Define new macro.
27154 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27158 Change to 2.4.21 where previously 2.4.1.
27159 * sysdeps/unix/sysv/linux/configure: Regenerated.
27160 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27161 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27162 Linux kernel version.
27163 (__ASSUME_STD_AUXV): Remove.
27164 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27166 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27167 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27168 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27169 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27170 (__ASSUME_NETLINK_SUPPORT): Likewise.
27171 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27172 (__no_netlink_support): Remove conditional definition.
27173 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27175 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27176 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27177 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27178 (if_nameindex_ioctl): Remove.
27179 (if_nameindex_netlink): Do not handle __no_netlink_support.
27180 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27182 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27183 Remove conditional code.
27184 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27186 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27188 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27189 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27190 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27192 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27193 [!__ASSUME_STD_AUXV]: Remove conditional code.
27194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27195 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27196 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27198 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27199 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27201 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27203 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27204 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27206 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27208 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27211 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27214 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27215 code unconditional.
27216 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27218 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27220 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27223 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27225 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27228 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27229 code unconditional.
27230 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27232 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27234 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27237 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27238 code unconditional.
27239 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27241 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27243 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27246 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27248 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27249 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27250 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27251 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27252 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27253 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27254 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27255 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27256 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27257 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27258 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27259 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27260 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27261 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27262 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27263 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27264 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27266 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27268 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27269 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27272 2012-07-25 Florian Weimer <fweimer@redhat.com>
27274 * Versions.def: Add GLIBC_2.17.
27275 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27276 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27277 Introduce __libc_secure_getenv.
27278 * stdlib/Versions (2.17): Add secure_getenv
27279 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27280 * stdlib/secure-getenv.c: Rename __secure_getenv to
27281 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27282 symbol __secure_getenv for GLIBC_2.0.
27283 * stdlib/tst-secure-getenv.c: New.
27284 * stdlib/Makefile (tests): Add testcase.
27285 * manual/startup.texi (Environment Access): Document
27287 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27288 __libc_secure_getenv.
27289 * inet/ruserpass.c (ruserpass): Likewise.
27290 * malloc/mtrace.c (mtrace): Likewise.
27291 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27292 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27293 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27294 * sysdeps/posix/tempname.c: Likewise. Evaluate
27295 HAVE_SECURE_GETENV.
27296 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27297 __secure_getenv to __libc_secure_getenv.
27298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27305 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27311 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27313 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27314 (struct La_i86_retval): Likewise.
27315 (struct La_x86_64_regs): Likewise.
27316 (struct La_x86_64_retval): Likewise.
27317 (struct La_x32_regs): Likewise.
27318 (struct La_x32_retval): Likewise.
27319 (struct La_ppc32_regs): Likewise.
27320 (struct La_ppc32_retval): Likewise.
27321 (struct La_ppc64_regs): Likewise.
27322 (struct La_ppc64_retval): Likewise.
27323 (struct La_sh_regs): Likewise.
27324 (struct La_sh_retval): Likewise.
27325 (struct La_s390_32_regs): Likewise.
27326 (struct La_s390_32_retval): Likewise.
27327 (struct La_s390_64_regs): Likewise.
27328 (struct La_s390_64_retval): Likewise.
27329 (struct La_sparc32_regs): Likewise.
27330 (struct La_sparc32_retval): Likewise.
27331 (struct La_sparc64_regs): Likewise.
27332 (struct La_sparc64_retval): Likewise.
27333 (struct audit_ifaces): Remove architecture-specific pltenter and
27335 * sysdeps/i386/ldsodefs.h: New file.
27336 * sysdeps/powerpc/ldsodefs.h: Likewise.
27337 * sysdeps/s390/ldsodefs.h: Likewise.
27338 * sysdeps/sh/ldsodefs.h: Likewise.
27339 * sysdeps/sparc/ldsodefs.h: Likewise.
27340 * sysdeps/x86_64/ldsodefs.h: Likewise.
27342 2012-07-25 Marek Polacek <polacek@redhat.com>
27345 * math/libm-test.inc (yn_test): Add another test.
27346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27347 to ERANGE when the result is +-Inf.
27348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27349 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27350 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27351 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27353 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27355 * conform/data/time.h-data (NULL): Use macro-constant. Require
27357 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27359 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27361 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27363 * configure.in <sysdeps resolving>: Correct printing
27365 * configure: Regenerate.
27367 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27369 * math/w_ilogb.c: Include <limits.h>.
27370 * math/w_ilogbl.c: Likewise.
27372 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27374 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27375 va_copy. Document allowing for unavailable va_copy only as
27376 pre-C99 compatibility.
27377 * manual/string.texi (Copying and Concatenation): Use va_copy
27378 instead of __va_copy in concat example.
27380 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27382 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27383 (__sendto): Use create_address_port. Initialize APORT and deallocate
27386 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27387 with O_NOLINK passed to __file_name_lookup.
27389 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27390 with O_NOLINK passed to __file_name_lookup.
27392 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27393 negative N or less than NGIDS.
27395 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27396 type to string_t. Set ERANGE as errno and return it if NAME is not big
27397 enough. Use memcpy instead of strncpy.
27399 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27401 * elf/Makefile (check-data): Remove.
27402 (localplt.data): New vpath directive.
27403 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27404 instead of $(check-data).
27405 * scripts/data/localplt-generic.data: Move to ...
27406 * sysdeps/generic/localplt.data: ... here.
27407 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27408 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27409 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27412 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27415 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27418 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27421 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27424 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27428 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27430 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27431 PPC32 and PPC64 files.
27432 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27433 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27435 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27437 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27438 __makecontext_ret to ...
27439 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27440 ... here and call exit if uc_link is NULL. New file.
27441 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27442 __makecontext_ret.S.
27443 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27444 __makecontext_ret to ...
27445 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27446 ... here and call exit if uc_link is NULL. New file.
27447 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27448 __makecontext_ret.S.
27450 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27452 * elf/elf.h (R_390_IRELATIVE): New definition.
27453 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27454 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27455 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27457 (elf_machine_lazy_rel): Likewise.
27458 * sysdeps/s390/dl-irel.h: New file.
27459 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27460 * sysdeps/s390/s390-64/memset.S: New asm code.
27461 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27462 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27463 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27464 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27465 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27466 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27468 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27469 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27470 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27471 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27472 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27473 * sysdeps/s390/s390-32/memset.S: New asm code.
27474 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27476 2012-07-17 Marek Polacek <polacek@redhat.com>
27479 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27480 * sysdeps/s390/s390-64/configure.in: Likewise.
27481 * sysdeps/sparc/configure.in: Likewise.
27482 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27483 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27484 * sysdeps/i386/configure.in: Likewise.
27485 * sysdeps/x86_64/configure.in: Likewise.
27486 * sysdeps/sh/configure.in: Likewise.
27487 * sysdeps/s390/s390-32/configure: Regenerated.
27488 * sysdeps/s390/s390-64/configure: Likewise.
27489 * sysdeps/x86_64/configure: Likewise.
27490 * sysdeps/sh/configure: Likewise.
27491 * sysdeps/powerpc/powerpc64/configure: Likewise.
27492 * sysdeps/powerpc/powerpc32/configure: Likewise.
27493 * sysdeps/sparc/configure: Likwise.
27494 * sysdeps/i386/configure: Likewise.
27496 * elf/dl-open.c: Comment fixes.
27498 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27500 * Makefile [CXX] (check-data): Remove.
27501 [CXX] (c++-types.data): New vpath directive.
27502 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27503 vpath. Do not allow for C++ type data being missing.
27504 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27505 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27506 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27507 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27508 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27509 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27510 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27513 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27516 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27519 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27522 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27525 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27528 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27531 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27534 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27535 definitions to architecture-specific files.
27536 (TLS_IE): Likewise.
27537 (TLS_LD): Likewise.
27538 (TLS_GD): Likewise.
27539 * sysdeps/i386/tls-macros.h: New file.
27540 * sysdeps/powerpc/tls-macros.h: Likewise.
27541 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27542 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27543 * sysdeps/sh/tls-macros.h: Likewise.
27544 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27545 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27546 * sysdeps/x86_64/tls-macros.h: Likewise.
27548 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27551 zero value for regular exit case.
27553 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27554 (__start_context): Preserve zero value for regular exit case.
27556 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27557 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27559 * manual/setjmp.texi (setcontext): Clarify normal process
27560 termination when uc_link is the null pointer.
27561 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27564 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27566 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27567 preprocessor. Test for each exception mask separately.
27569 2012-07-16 Andreas Jaeger <aj@suse.de>
27571 * po/ru.po: Update from translation team.
27573 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27575 * conform/data/string.h-data (NULL): Use macro-constant. Require
27577 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27578 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27579 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27580 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27583 2012-07-13 Andreas Jaeger <aj@suse.de>
27585 * po/fr.po: Update from translation team.
27587 2012-07-12 Marek Polacek <polacek@redhat.com>
27590 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27594 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27598 Change to 2.4.1 where previously 2.4.0.
27599 * sysdeps/unix/sysv/linux/configure: Regenerated.
27600 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27601 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27603 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27604 (__ASSUME_AT_CLKTCK): Remove.
27605 (__ASSUME_AT_PAGESIZE): Likewise.
27606 (__ASSUME_AT_XID): Likewise.
27607 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27608 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27609 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27611 (HAVE_AUX_PAGESIZE): Likewise.
27612 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27613 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27614 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27616 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27620 the temporary buffer used to invoke __gethostbyname2_r,
27621 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27622 host_data / struct gaih_addrtuple.
27623 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27624 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27625 header file nss/nsswitch.h.
27626 * nss/nsswitch.h (global scope): Add definition of implementation
27627 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27628 resolv/nss_dns/dns-host.c).
27630 2012-07-11 Andreas Jaeger <aj@suse.de>
27632 * po/fr.po: Update from translation team.
27634 * po/sv.po: Update from translation team
27635 * po/fr.po: Another update from translation team.
27637 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27639 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27640 for subnormals or multiply small sinh result by itself.
27641 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27644 2012-07-11 David S. Miller <davem@davemloft.net>
27646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27648 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27651 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27652 (INTERNAL_MARK): Shift it here.
27654 2012-07-10 Marek Polacek <polacek@redhat.com>
27657 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27658 libc_cv_asm_global_directive with .globl.
27659 * configure: Regenerated.
27660 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27662 * sysdeps/i386/configure: Regenerated.
27663 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27665 * sysdeps/x86_64/configure: Regenerated.
27666 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27667 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27668 * elf/tst-unique2mod2.c: Likewise.
27669 * elf/tst-unique2mod1.c: Likewise.
27670 * elf/tst-unique1mod2.c: Likewise.
27671 * elf/tst-unique1mod1.c: Likewise.
27672 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27673 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27675 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27676 * sysdeps/mach/sysdep.h: Likewise.
27677 * sysdeps/i386/sysdep.h: Likewise.
27678 * sysdeps/i386/i386-mcount.S: Likewise.
27679 * sysdeps/x86_64/_mcount.S: Likewise.
27680 * sysdeps/x86_64/sysdep.h: Likewise.
27681 * sysdeps/sh/_mcount.S: Likewise.
27682 * sysdeps/sh/sysdep.h: Likewise.
27683 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27684 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27685 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27686 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27687 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27688 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27689 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27690 * locale/localeinfo.h: Likewise.
27691 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27692 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27694 2012-07-09 Roland McGrath <roland@hack.frob.com>
27697 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27699 * manual/message.texi (The Uniforum approach): Likewise.
27700 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27701 (glibc iconv Implementation): Likewise.
27703 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27706 * math/s_clog.c (__clog): Avoid scaling a value down where that
27707 could result in underflow.
27708 * math/s_clog10.c (__clog10): Likewise.
27709 * math/s_clog10f.c (__clog10f): Likewise.
27710 * math/s_clog10l.c (__clog10l): Likewise.
27711 * math/s_clogf.c (__clogf): Likewise.
27712 * math/s_clogl.c (__clogl): Likewise.
27713 * math/libm-test.inc (clog_test): Add more tests.
27714 (clog10_test): Likewise.
27715 * sysdeps/i386/fpu/libm-test-ulps: Update.
27716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27718 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27722 by 7 not 8 to examine high bit of fractional part.
27725 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27726 for call to __mcount_internal.
27727 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27728 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27729 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27731 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27734 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27735 approximation for values within 0x1p-13f of an odd multiple of
27737 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27738 exception. Add more tests.
27739 * sysdeps/i386/fpu/libm-test-ulps: Update.
27742 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27743 inputs and return -1 for them. Do not check for +Inf in case not
27744 reachable for +Inf.
27745 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27746 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27748 and return -1 for them. Do not check for +Inf in case not
27749 reachable for +Inf.
27750 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27752 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27753 and return -1 for them. Do not check for +Inf in case not
27754 reachable for +Inf.
27755 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27756 spurious underflow.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27760 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27762 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27764 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27768 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27769 could result in spurious underflow. Scale down values above
27770 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27771 * math/s_csqrtf.c (__csqrtf): Likewise.
27772 * math/s_csqrtl.c (__csqrtl): Likewise.
27773 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27774 spurious underflow.
27775 * sysdeps/i386/fpu/libm-test-ulps: Update.
27776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27778 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27780 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27782 * catgets/xopen-msg.awk: New file.
27783 * catgets/xopen-msg.sed: Removed.
27785 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27787 * intl/po2test.awk: New file.
27788 * intl/po2test.sed: Removed.
27790 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27793 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27794 or multiply small sinh result by itself.
27795 * math/s_ctanf.c (__ctanf): Likewise.
27796 * math/s_ctanh.c (__ctanh): Likewise.
27797 * math/s_ctanhf.c (__ctanhf): Likewise.
27798 * math/s_ctanhl.c (__ctanhl): Likewise.
27799 * math/s_ctanl.c (__ctanl): Likewise.
27800 * math/libm-test.inc (ctan_test_tonearest): New function.
27801 (ctan_test_towardzero): Likewise.
27802 (ctan_test_downward): Likewise.
27803 (ctan_test_upward): Likewise.
27804 (ctanh_test_tonearest): Likewise.
27805 (ctanh_test_towardzero): Likewise.
27806 (ctanh_test_downward): Likewise.
27807 (ctanh_test_upward): Likewise.
27808 (main): Call these new functions.
27809 * sysdeps/i386/fpu/libm-test-ulps: Update.
27810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27812 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27814 * .gitignore: Delete /ports entry.
27816 2012-07-03 Andreas Jaeger <aj@suse.de>
27818 * po/bg.po: Update from translation team.
27819 * po/cs.po: Likewise.
27820 * po/de.po: Likewise.
27821 * po/hr.po: Likewise.
27822 * po/nl.pl: Likewise.
27823 * po/pl.po: Likewise.
27824 * po/vi.po: Likewise.
27826 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27828 * Makeconfig [!+link] (+link-before-libc): New variable.
27829 [!+link] (+link-after-libc): Likewise.
27830 [!+link] (+link-tests): Likewise.
27831 [!+link] (+link): Define in terms of $(+link-before-libc) and
27832 $(+link-after-libc).
27833 [!+link-static] (+link-static-before-libc): New variable.
27834 [!+link-static] (+link-static-after-libc): Likewise.
27835 [!+link-static] (+link-static-tests): Likewise.
27836 [!+link-static] (+link-static): Define in terms of
27837 $(+link-static-before-libc) and $(+link-static-after-libc).
27838 [build-shared] (link-libc-before-gnulib): New variable.
27839 [build-shared] (link-libc-tests): Likewise.
27840 [build-shared] (link-libc): Define in terms of
27841 $(link-libc-before-gnulib).
27842 [!build-shared] (link-libc-tests): New variable.
27843 (link-libc-static-tests): New variable.
27844 [!gnulib] (gnulib-arch): New variable.
27845 [!gnulib] (gnulib-tests): Likewise.
27846 [!gnulib] (static-gnulib-arch): Likewise.
27847 [!gnulib] (static-gnulib-tests): Likewise.
27848 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27849 Define with "=" instead of ":=".
27850 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27851 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27852 * Rules (binaries-all-notests): New variable.
27853 (binaries-all-tests): Likewise.
27854 (binaries-static-notests): Likewise.
27855 (binaries-static-tests): Likewise.
27856 (binaries-all): Define using $(binaries-all-notests) and
27857 $(binaries-all-tests).
27858 (binaries-static): Define using $(binaries-static-notests) and
27859 $(binaries-static-tests).
27860 (binaries-shared-tests): New variable.
27861 (binaries-shared-notests): Likewise.
27862 (binaries-shared): Remove variable.
27863 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27864 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27865 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27866 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27867 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27868 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27869 * elf/Makefile (sln-modules): New variable.
27870 (extra-objs): Add $(sln-modules:=.o).
27871 (ldconfig-modules): Add static-stubs.
27872 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27873 * elf/static-stubs.c: New file.
27876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27877 by 7 not 8 to examine high bit of fractional part. Use volatile
27878 variables when splitting into final array of floats if
27879 __FLT_EVAL_METHOD__ != 0.
27880 * math/libm-test.inc (cos_test): Add another test.
27881 (sin_test): Likewise.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27885 * math/libm-test.inc (cosh_test): Add more tests.
27887 * version.h (RELEASE): Set to "development".
27888 (VERSION): Set to "2.16.90".
27890 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27892 * NEWS: Update copyright. Remove last-updated date.
27893 Mention math library bug fixes and timezone data changes.
27894 * README: Mention GNU/Hurd, x32, and HPPA support status.
27896 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27898 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27900 2012-06-27 Andreas Jaeger <aj@suse.de>
27902 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27904 2012-06-25 Andreas Jaeger <aj@suse.de>
27906 * sysdeps/s390/fpu/libm-test-ulps: Update.
27908 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27909 Thomas Schwinge <thomas@codesourcery.com>
27911 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27912 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27916 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27918 * sysdeps/mach/start.c: Remove file.
27919 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27920 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27921 * sysdeps/sh/init-first.c: Likewise.
27923 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27924 registers for frame unwinding purposes, add CFI directives.
27925 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27926 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27927 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27930 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27931 __fortify_fail returning.
27932 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27934 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27935 sysdeps/sh/____longjmp_chk.S.
27936 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27937 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27938 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27939 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27941 * sysdeps/sh/abort-instr.h: New file.
27942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27943 process in case exit returns.
27945 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27946 initialize the GOT register before use.
27948 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27949 calculation of ARGC > 4.
27951 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27952 meaningful names to some local labels.
27954 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27955 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27957 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27958 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27959 (__arch_compare_and_exchange_val_16_acq): Likewise.
27960 (__arch_compare_and_exchange_val_32_acq): Likewise.
27961 (atomic_exchange_and_add): Fix gUSA sequence.
27962 (atomic_add): Likewise.
27963 (atomic_add_negative): Likewise.
27964 (atomic_add_zero): Likewise.
27965 (atomic_bit_test_set): Likewise.
27967 2012-06-22 Andreas Schwab <schwab@redhat.com>
27970 * include/link.h (struct link_map): Add l_free_initfini.
27971 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27973 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27974 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27975 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27978 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27980 * configure.in: Use AC_LANG_SOURCE.
27981 * configure: Regenerate.
27983 2012-06-22 Roland McGrath <roland@hack.frob.com>
27985 * configure.in (libc_cv_localstatedir): New substituted variable.
27986 * configure: Regenerated.
27987 * config.make.in (localstatedir): New variable, substituted from
27988 libc_cv_localstatedir.
27989 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27990 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27991 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27992 * sysdeps/gnu/configure: Regenerated.
27994 2012-06-21 Jeff Law <law@redhat.com>
27997 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27998 free. Simplify list management for _LIBC case.
28000 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28003 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28004 Clear sign bit of 64-bit integer value before comparing against
28007 * sysdeps/mach/configure: Regenerated.
28009 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28012 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28014 2012-06-21 Jeff Law <law@redhat.com>
28017 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28018 uint16_t for elements in the "seen" array to avoid char overflows.
28019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28020 * elf/dl-open.c (dl_open_worker): Likewise.
28022 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28024 * scripts/list-sources.sh: Scan PORTS for translations.
28025 * po/libc.pot: Regenerated.
28027 2012-06-21 Andreas Jaeger <aj@suse.de>
28030 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28032 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28033 * bits/byteswap-16.h (__bswap_16): Likewise.
28034 * bits/byteswap.h (__bswap_constant_16): Likewise.
28036 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28039 * sysdeps/i386/fpu_control.h: Removed.
28040 * sysdeps/x86_64/fpu_control.h: Moved to ...
28041 * sysdeps/x86/fpu_control.h: Here.
28043 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28044 (_FPU_SETCW): Likewise.
28046 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28049 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28050 * sysdeps/x86/fpu/bits/mathinline.h: This.
28051 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28055 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28056 functions if __x86_64__ is defined.
28058 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28060 * string/endian.h: Add !__ASSEMBLER__ condition for including
28061 conversion interfaces.
28063 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28067 of ABS(x) in calculating zero to negative powers other than odd
28069 * math/libm-test.inc (pow_test): Add more tests.
28071 2012-06-15 Andreas Jaeger <aj@suse.de>
28073 * manual/contrib.texi (Contributors): Update entry of Liubov
28074 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28077 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28079 * string/string.h: Add __wur to GNU version of strerror_r.
28081 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28084 * string/Makefile (tests): Add tst-strtok_r.
28085 * string/tst-strtok_r.c: New file.
28086 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28087 RAX_LP/RDX_LP on SAVE_PTR.
28089 2012-06-14 Roland McGrath <roland@hack.frob.com>
28091 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28093 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28095 * libm_test.inc (csqrt_test): Allow more spurious underflow
28097 (j0_test): Likewise.
28098 (j1_test): Likewise.
28099 (y0_test): Likewise.
28100 (y1_test): Likewise.
28102 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28104 * po/Makefile (libc.pot): Use UTF-8 charset.
28106 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28109 Suppress sign-conversion warning from FD_SET.
28110 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28111 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28112 not unsigned long int.
28113 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28115 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28119 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28120 __extern_always_inline instead of __extern_inline.
28121 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28122 (__signbit): Likewise.
28123 (__signbitl): Support C++ namespace.
28124 (lrintf): New inline function.
28126 (llrintf): Likewise.
28127 (llrint): Likewise.
28137 (floorf): Likewise.
28138 (nearbyint): Likewise.
28139 (nearbyintf): Likewise.
28141 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28143 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28144 non-default versions.
28146 2012-06-11 Roland McGrath <roland@hack.frob.com>
28149 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28151 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28153 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28154 (FE_UPWARD, FE_DOWNWARD): Don't define.
28155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28156 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28160 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28161 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28163 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28165 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28167 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28168 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28170 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28173 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28174 * sysdeps/i386/fpu/Implies: New file.
28175 * sysdeps/x86_64/fpu/Implies: Likewise.
28176 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28177 * sysdeps/x86/fpu/bits/fenv.h: This.
28179 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28182 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28185 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28186 character 0xffff that matches the last element of the
28189 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28194 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28197 values higher than 25.6283.
28199 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28202 subnormal exponent extraction and add some __builtin_expect.
28203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28204 Fix for subnormal mantissa calculation.
28206 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28208 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28209 cpu2 is -1 and errno is not ENOSYS.
28211 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28214 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28215 * sysdeps/x86/bits/string.h: This.
28216 * sysdeps/x86_64/bits/string.h: Removed.
28218 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28219 if not compiling for x86-64, but compiling for >= i486.
28221 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28222 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28224 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28225 New macro from Linux kernel 3.4.0.
28226 (FP_XSTATE_MAGIC2): Likewise.
28227 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28228 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28229 (struct _fpx_sw_bytes): New struct.
28230 (struct _xsave_hdr): Likewise.
28231 (struct _ymmh_state): Likewise.
28232 (struct _xstate): Likewise.
28234 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28235 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28237 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28238 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28239 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28241 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28242 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28243 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28244 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28245 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28246 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28248 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28251 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28252 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28253 (sysdep_headers): Include sys/platform/ppc.h.
28254 * sysdeps/powerpc/test-gettimebase.c: Test for
28255 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28256 * manual/Makefile (appendices): Include platform.texi.
28257 * manual/contrib.texi (Contributors): Update @node pointers.
28258 * manual/maint.texi (Maintenance): Likewise.
28259 (Platform): New node.
28260 * manual/platform.texi: New file. Document the new features.
28262 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28263 Jakub Jelinek <jakub@redhat.com>
28266 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28267 where __builtin_expect is unavailable.
28269 2012-06-03 David S. Miller <davem@davemloft.net>
28271 * stdlib/longlong.h: Updated from GCC.
28273 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28276 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28277 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28280 (GLIBC_2.16): Likewise.
28282 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28284 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28286 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28289 (default-abi): New variable.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28291 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28293 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28295 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28297 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28300 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28301 definition. Document in comment.
28303 2012-06-01 David S. Miller <davem@davemloft.net>
28305 * stdlib/longlong.h: Updated from GCC.
28307 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28310 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28311 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28312 sys/debugreg.h sys/io.h here.
28313 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28314 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28316 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28317 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28319 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28321 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28324 Define only if __x86_64__ is defined.
28326 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28329 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28330 Use int64_t for variable i.
28331 * math/libm-test.inc (fmod_test): Add more tests.
28333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28334 z computation is not scheduled after fetestexcept.
28335 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28336 Use math_force_eval instead of asm to ensure calculation scheduled
28337 before exception test.
28338 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28339 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28341 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28344 computation is not scheduled after fetestexcept.
28346 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28349 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28350 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28352 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28354 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28355 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28357 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28360 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28362 (__WCHAR_MIN): Support __WORDSIZE == 64.
28363 (__WCHAR_MAX): Likewise.
28365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28370 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28373 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28376 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28377 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28380 Defined to 1 if __x86_64__ isn't defined.
28381 (_STAT_VER_LINUX_OLD): New.
28382 (st_atime): Remove duplicate.
28383 (st_mtime): Likewise.
28384 (st_ctime): Likewise.
28386 2012-05-31 David S. Miller <davem@davemloft.net>
28388 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28391 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28393 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28397 * elf/dl-reloc.c: Include <_itoa.h>.
28398 (_dl_reloc_bad_type): Remove use of INTUSE.
28399 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28400 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28401 * stdio-common/psiginfo.c (psiginfo): Likewise.
28402 * stdio-common/psignal.c (psignal): Likewise.
28403 * string/strsignal.c (strsignal): Likewise.
28404 * include/signal.h (_sys_siglist): Declare hidden proto.
28405 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28406 INTVARDEF with libc_hidden_data_def.
28407 * stdio-common/itoa-udigits.c: Likewise.
28408 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28409 (_itoa_lower_digits_internal): Remove declaration.
28410 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28411 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28412 (_sys_sigabbrev_internal): Remove aliases.
28413 (_sys_siglist): Define hidden alias.
28415 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28420 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28423 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28424 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28426 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28427 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28428 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28429 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28431 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28433 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28434 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28437 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28445 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28446 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28447 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28449 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28450 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28451 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28452 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28453 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28454 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28456 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28457 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28459 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28464 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28466 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28467 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28469 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28471 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28472 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28473 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28475 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28477 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28479 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28481 * math/math.h (M_El): Use two more decimal places.
28482 (M_LOG2El): Likewise.
28483 (M_LOG10El): Likewise.
28484 (M_LN2l): Likewise.
28485 (M_LN10l): Likewise.
28487 (M_PI_2l): Likewise.
28488 (M_PI_4l): Likewise.
28489 (M_1_PIl): Likewise.
28490 (M_2_PIl): Likewise.
28491 (M_2_SQRTPIl): Likewise.
28492 (M_SQRT2l): Likewise.
28493 (M_SQRT1_2l): Likewise.
28495 2012-05-31 David S. Miller <davem@davemloft.net>
28497 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28498 values between float registers.
28499 * sysdeps/sparc/sparc64/memset.S: Likewise.
28500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28502 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28504 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28505 -D_FORTIFY_SOURCE=1.
28506 (CPPFLAGS-tst-longjmp_chk.c): Define.
28507 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28508 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28509 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28510 CFLAGS-tst-wchar-h.c.
28512 2012-05-31 Marek Polacek <polacek@redhat.com>
28515 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28516 __endmntent_internal): Remove declaration.
28517 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28518 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28519 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28521 2012-05-30 David S. Miller <davem@davemloft.net>
28523 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28524 (___Q_simulate_exceptions): Use real FP ops rather than writing
28526 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28529 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28532 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28533 * sysdeps/x86/bits/xtitypes.h: This.
28535 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28536 * sysdeps/x86/bits/wordsize.h: This.
28538 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28539 * sysdeps/x86/bits/huge_vall.h: This.
28541 * sysdeps/i386/bits/select.h: Removed.
28542 * sysdeps/x86_64/bits/select.h: Renamed to ...
28543 * sysdeps/x86/bits/select.h: This.
28545 * sysdeps/i386/bits/setjmp.h: Removed.
28546 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28547 * sysdeps/x86/bits/setjmp.h: This.
28549 * sysdeps/i386/bits/mathdef.h: Removed.
28550 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28551 * sysdeps/x86/bits/mathdef.h: This.
28553 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28556 * include/sys/socket.h (__connect_internal)
28557 (__libc_sa_len_internal): Remove declaration.
28558 (__connect, __libc_sa_len): Declare hidden_proto.
28559 (SA_LEN): Remove use of INTUSE.
28560 * socket/connect.c: Add libc_hidden_def.
28561 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28562 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28563 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28565 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28566 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28567 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28568 of adding _internal alias.
28570 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28573 * sysdeps/i386/bits/link.h: Removed.
28574 * sysdeps/i386/bits/linkmap.h: Likewise.
28575 * sysdeps/x86_64/bits/link.h: Renamed to ...
28576 * sysdeps/x86/bits/link.h: This.
28577 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28578 * sysdeps/x86/bits/linkmap.h: This.
28580 * sysdeps/i386/bits/endian.h: Removed.
28581 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28582 * sysdeps/x86/bits/endian.h: This.
28584 * sysdeps/i386/bits/byteswap.h: Removed.
28585 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28586 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28587 * sysdeps/x86/bits/byteswap.h: This.
28588 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28589 * sysdeps/x86/bits/byteswap-16.h: This.
28590 * sysdeps/i386/Implies: Add x86.
28591 * sysdeps/x86_64/Implies: Likewise.
28593 2012-05-30 David S. Miller <davem@davemloft.net>
28595 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28596 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28597 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28598 (FP_TRAPPING_EXCEPTIONS): Define.
28599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28600 (FP_TRAPPING_EXCEPTIONS): Define.
28601 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28602 subnormals only when inexact has been signalled or underflow
28603 exceptions are enabled.
28604 (_FP_PACK_CANONICAL): Likewise.
28606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28609 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28610 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28612 2012-05-30 Richard Henderson <rth@twiddle.net>
28614 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28615 with #ifndef NOT_IN_libc.
28617 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28618 marked to avoid plt entry.
28620 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28623 * Makeconfig (default-abi): New macro.
28624 (abi-includes): Likewise.
28625 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28626 $(abi-$(default-abi)-lib-soname) for soname if defined.
28627 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28629 * Makefile (installed-stubs): Likewise.
28630 * include/stubs-biarch.h: Removed.
28631 * scripts/lib-names.awk: Only handle one library at a time.
28632 * scripts/soversions.awk: Remove WORDSIZE support.
28633 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28635 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28637 (syscall-list-default-condition): Likewise.
28638 (syscall-list-default-condition): Likewise.
28639 (syscall-list-includes): Likewise.
28640 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28641 syscall-list-* with abi-*. Handle undefined abi-variants.
28642 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28643 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28644 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28645 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28646 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28647 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28649 (syscall-list-32-options): Likewise.
28650 (syscall-list-32-condition): Likewise.
28651 (syscall-list-64-options): Likewise.
28652 (syscall-list-64-condition): Likewise.
28653 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28655 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28658 (abi-64-ld-soname): New macro.
28659 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28660 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28663 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28664 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28666 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28668 * sysdeps/unix/sysv/linux/kernel-features.h
28669 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28670 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28671 include <kernel-features.h>.
28672 [!__NR_ftruncate64]: Remove conditional code.
28673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28674 [__NR_ftruncate64]: Make code unconditional.
28675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28676 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28677 include <kernel-features.h>.
28678 [!__NR_ftruncate64]: Remove conditional code.
28679 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28680 [__NR_ftruncate64]: Make code unconditional.
28681 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28683 include <kernel-features.h>.
28684 [!__NR_ftruncate64]: Remove conditional code.
28685 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28686 [__NR_ftruncate64]: Make code unconditional.
28687 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28689 include <kernel-features.h>.
28690 [!__NR_ftruncate64]: Remove conditional code.
28691 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28692 [__NR_ftruncate64]: Make code unconditional.
28693 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28695 * configure.in (libc_cv_fpie): Weaken to a compile test using
28696 LIBC_TRY_CC_OPTION.
28697 * configure: Regenerated.
28699 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28714 2012-05-27 David S. Miller <davem@davemloft.net>
28716 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28718 (__Q_simulate_exceptions): Return void. Change to simulate
28719 exceptions by writing into the %fsr.
28720 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28721 (__Qp_handle_exceptions): Likewise.
28723 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28724 __Qp_handle_exceptions.
28725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28726 __Qp_handle_exceptions.
28727 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28728 as unused and give dummy FP_RND_NEAREST initializer.
28729 (FP_INHIBIT_RESULTS): Define.
28730 (___Q_simulate_exceptions): Update declaration.
28731 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28733 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28734 as unused and give dummy FP_RND_NEAREST initializer.
28735 (__Qp_handle_exceptions): Update declaration.
28736 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28739 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28741 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28742 the temporary FPU control word.
28743 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28744 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28745 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28747 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28748 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28749 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28751 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28752 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28753 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28755 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28757 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28760 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28762 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28763 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28764 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28765 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28767 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28768 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28771 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28773 * po/h.po: Update from translation team.
28775 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28777 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28780 handling of denormals.
28781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28782 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28783 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28784 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28790 2012-05-26 Marek Polacek <polacek@redhat.com>
28793 * math/libm-test.inc (fma_test): Don't always expect underflow
28796 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28799 * elf/tst-execstack.c: Include stackinfo.h.
28800 (do_test): Adjust test case to ensure that pthread_getattr_np
28801 behaviour remains the same after marking stack executable.
28803 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28805 * sysdeps/unix/sysv/linux/kernel-features.h
28806 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28807 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28809 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28810 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28811 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28813 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28814 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28816 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28818 * configure.in: Define the default includes to being none.
28819 * configure: Regenerated.
28821 2012-05-25 Roland McGrath <roland@hack.frob.com>
28823 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28824 * sysdeps/x86_64/setjmp.S: Likewise.
28825 * sysdeps/i386/bsd-setjmp.S: Likewise.
28826 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28827 * sysdeps/i386/setjmp.S: Likewise.
28828 * sysdeps/i386/__longjmp.S: Likewise.
28829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28830 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28832 * include/stap-probe.h: New file.
28833 * configure.in: Handle --enable-systemtap.
28834 * configure: Regenerated.
28835 * config.h.in (USE_STAP_PROBE): New #undef.
28836 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28837 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28838 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28840 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28844 to 2.4.0 where earlier.
28845 * sysdeps/unix/sysv/linux/configure: Regenerated.
28846 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28847 <kernel-features.h>.
28848 [__ASSUME_32BITUIDS]: Make code unconditional.
28849 [!__ASSUME_32BITUIDS]: Remove conditional code.
28850 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28851 <kernel-features.h>.
28852 [__ASSUME_32BITUIDS]: Make code unconditional.
28853 [!__ASSUME_32BITUIDS]: Remove conditional code.
28854 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28855 [__ASSUME_32BITUIDS]: Make code unconditional.
28856 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28857 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28858 <kernel-features.h>.
28859 [__ASSUME_32BITUIDS]: Make code unconditional.
28860 [!__ASSUME_32BITUIDS]: Remove conditional code.
28861 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28862 <kernel-features.h>.
28863 [__ASSUME_32BITUIDS]: Make code unconditional.
28864 [!__ASSUME_32BITUIDS]: Remove conditional code.
28865 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28866 <kernel-features.h>.
28867 [__ASSUME_32BITUIDS]: Make code unconditional.
28868 [!__ASSUME_32BITUIDS]: Remove conditional code.
28869 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28870 <kernel-features.h>.
28871 [__ASSUME_32BITUIDS]: Make code unconditional.
28872 [!__ASSUME_32BITUIDS]: Remove conditional code.
28873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28874 <kernel-features.h>.
28875 [__ASSUME_32BITUIDS]: Make code unconditional.
28876 [!__ASSUME_32BITUIDS]: Remove conditional code.
28877 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28878 <kernel-features.h>.
28879 [__ASSUME_32BITUIDS]: Make code unconditional.
28880 [!__ASSUME_32BITUIDS]: Remove conditional code.
28881 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28882 <kernel-features.h>.
28883 [__ASSUME_32BITUIDS]: Make code unconditional.
28884 [!__ASSUME_32BITUIDS]: Remove conditional code.
28885 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28886 <kernel-features.h>.
28887 [__ASSUME_32BITUIDS]: Make code unconditional.
28888 [!__ASSUME_32BITUIDS]: Remove conditional code.
28889 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28890 <kernel-features.h>.
28891 [__ASSUME_32BITUIDS]: Make code unconditional.
28892 [!__ASSUME_32BITUIDS]: Remove conditional code.
28893 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28894 <kernel-features.h>.
28895 [__ASSUME_32BITUIDS]: Make code unconditional.
28896 [!__ASSUME_32BITUIDS]: Remove conditional code.
28897 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28898 <kernel-features.h>.
28899 [__NR_setresgid] (__setresgid): Do not declare.
28900 [__ASSUME_32BITUIDS]: Make code unconditional.
28901 [!__ASSUME_32BITUIDS]: Remove conditional code.
28902 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28903 <kernel-features.h>.
28904 [__NR_setresuid] (__setresuid): Do not declare.
28905 [__ASSUME_32BITUIDS]: Make code unconditional.
28906 [!__ASSUME_32BITUIDS]: Remove conditional code.
28907 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28908 <kernel-features.h>.
28909 [__ASSUME_32BITUIDS]: Make code unconditional.
28910 [!__ASSUME_32BITUIDS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28912 <kernel-features.h>.
28913 [__ASSUME_32BITUIDS]: Make code unconditional.
28914 [!__ASSUME_32BITUIDS]: Remove conditional code.
28915 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28916 <kernel-features.h>.
28917 [__ASSUME_32BITUIDS]: Make code unconditional.
28918 [!__ASSUME_32BITUIDS]: Remove conditional code.
28919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28920 <kernel-features.h>.
28921 [__ASSUME_32BITUIDS]: Make code unconditional.
28922 [!__ASSUME_32BITUIDS]: Remove conditional code.
28923 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28924 <kernel-features.h>.
28925 [__ASSUME_32BITUIDS]: Make code unconditional.
28926 [!__ASSUME_32BITUIDS]: Remove conditional code.
28927 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28928 <kernel-features.h>.
28929 [__ASSUME_32BITUIDS]: Make code unconditional.
28930 [!__ASSUME_32BITUIDS]: Remove conditional code.
28931 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28932 <kernel-features.h>.
28933 [__ASSUME_32BITUIDS]: Make code unconditional.
28934 [!__ASSUME_32BITUIDS]: Remove conditional code.
28935 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28936 <kernel-features.h>.
28937 [__ASSUME_32BITUIDS]: Make code unconditional.
28938 [!__ASSUME_32BITUIDS]: Remove conditional code.
28939 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28940 <kernel-features.h>.
28941 [__ASSUME_32BITUIDS]: Make code unconditional.
28942 [!__ASSUME_32BITUIDS]: Remove conditional code.
28943 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28944 <kernel-features.h>.
28945 [__ASSUME_32BITUIDS]: Make code unconditional.
28946 [!__ASSUME_32BITUIDS]: Remove conditional code.
28947 * sysdeps/unix/sysv/linux/kernel-features.h
28948 (__ASSUME_SETRESUID_SYSCALL): Remove.
28949 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28950 (__ASSUME_32BITUIDS): Likewise.
28951 (__ASSUME_LDT_WORKS): Likewise.
28952 (__ASSUME_O_DIRECTORY): Likewise.
28953 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28954 architecture but not kernel version.
28955 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28956 (__ASSUME_MMAP2_SYSCALL): Likewise.
28957 (__ASSUME_STAT64_SYSCALL): Likewise.
28958 (__ASSUME_IPC64): Likewise.
28959 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28960 <kernel-features.h>.
28961 [__ASSUME_32BITUIDS]: Make code unconditional.
28962 [!__ASSUME_32BITUIDS]: Remove conditional code.
28963 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28964 <kernel-features.h>.
28965 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28966 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28967 132096]: Remove conditional code.
28968 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28969 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28970 <kernel-features.h>.
28971 [__ASSUME_32BITUIDS]: Make code unconditional.
28972 [!__ASSUME_32BITUIDS]: Remove conditional code.
28973 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28974 <kernel-features.h>.
28975 [__ASSUME_32BITUIDS]: Make code unconditional.
28976 [!__ASSUME_32BITUIDS]: Remove conditional code.
28977 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28978 <kernel-features.h>.
28979 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28981 (__setresgid): Do not declare.
28982 [__ASSUME_32BITUIDS]: Make code unconditional.
28983 [!__ASSUME_32BITUIDS]: Remove conditional code.
28984 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28985 <kernel-features.h>.
28986 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28988 (__setresuid): Do not declare.
28989 [__ASSUME_32BITUIDS]: Make code unconditional.
28990 [!__ASSUME_32BITUIDS]: Remove conditional code.
28991 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28992 <kernel-features.h>.
28993 [__ASSUME_32BITUIDS]: Make code unconditional.
28994 [!__ASSUME_32BITUIDS]: Remove conditional code.
28995 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28996 <kernel-features.h>.
28997 [__ASSUME_32BITUIDS]: Make code unconditional.
28998 [!__ASSUME_32BITUIDS]: Remove conditional code.
29000 2012-05-25 Richard Henderson <rth@twiddle.net>
29002 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29003 dl_hwcap to ifunc resolver.
29004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29006 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29007 dl_hwcap to ifunc resolver.
29008 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29010 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29013 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29014 for |x| <= 2**-26, not 2**-57.
29015 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29018 2012-05-24 Jeff Law <law@redhat.com>
29020 * stdio-common/Makefile (tests): Add bug25.
29021 * stdio-common/bug25.c: New test.
29023 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29026 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29027 multiple of MALLOC_ALIGNMENT in size.
29028 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29030 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29032 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29034 (FILENAME_MAX): Use macro-int-constant.
29035 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29036 (_IOFBF): Use macro-int-constant.
29037 (_IOLBF): Likewise.
29038 (_IONBF): Likewise.
29039 (SEEK_CUR): Likewise.
29040 (SEEK_END): Likewise.
29041 (SEEK_SET): Likewise.
29042 (TMP_MAX): Likewise.
29043 (EOF): Use macro-int-constant. Require < 0.
29044 (NULL): Use macro-constant. Require == 0.
29045 (stdin): Require type to be FILE *.
29046 (stdout): Likewise.
29047 (stderr): Likewise.
29048 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29049 macro-int-constant.
29050 (EXIT_SUCCESS): Likewise.
29051 (NULL): Use macro-constant. Require == 0.
29052 (RAND_MAX): Use macro-int-constant.
29053 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29054 [C99-based standards] (strtof): Require function.
29055 [C99-based standards] (strtold): Likewise.
29056 [C99-based standards] (strtoll): Likewise.
29057 [C99-based standards] (strtoull): Likewise.
29058 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29059 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29060 [ISO || ISO99 || ISO11] (math.h): Likewise.
29061 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29062 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29063 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29065 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29068 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29069 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29070 * intl/dgettext.c (DCGETTEXT): Likewise.
29071 * intl/gettext.c (DCGETTEXT): Likewise.
29072 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29073 * posix/regex_internal.h (gettext): Likewise.
29074 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29075 Remove declaration.
29076 * include/argz.h (__argz_count_internal)
29077 (__argz_stringify_internal): Remove declaration.
29078 (__argz_count, __argz_stringify): Declare hidden proto.
29079 * intl/dcgettext.c: Remove use of INTDEF.
29080 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29081 * string/argz-stringify.c: Likewise.
29082 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29083 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29084 Declare hidden proto.
29085 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29086 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29087 Declare hidden proto.
29088 * include/stdio.h (__asprintf_internal): Don't declare.
29089 (__asprintf): Don't define as macro. Declare hidden proto.
29090 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29091 (__fsetlocking): Declare hidden proto.
29092 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29093 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29095 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29096 (_IO_setlinebuf): Remove use of INTUSE.
29097 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29098 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29099 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29100 Remove declaration.
29101 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29102 (_IO_do_flush): Remove use of INTUSE.
29103 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29104 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29105 (_IO_adjust_column, _IO_least_wmarker)
29106 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29107 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29108 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29109 (_IO_default_doallocate, _IO_wdefault_doallocate)
29110 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29111 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29112 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29113 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29114 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29115 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29116 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29117 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29118 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29119 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29120 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29121 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29122 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29124 (_IO_flush_all_internal, _IO_adjust_column_internal)
29125 (_IO_default_uflow_internal, _IO_default_finish_internal)
29126 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29127 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29128 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29129 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29130 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29131 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29132 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29133 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29134 (_IO_file_close_internal, _IO_file_close_it_internal)
29135 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29136 (_IO_file_init_internal, _IO_file_attach_internal)
29137 (_IO_file_fopen_internal, _IO_file_read_internal)
29138 (_IO_file_sync_internal, _IO_file_seek_internal)
29139 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29140 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29141 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29142 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29143 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29144 (_IO_list_all_internal, _IO_link_in_internal)
29145 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29146 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29147 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29148 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29149 (_IO_do_write_internal, _IO_padn_internal)
29150 (_IO_getline_info_internal, _IO_getline_internal)
29151 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29152 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29153 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29154 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29155 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29156 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29157 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29158 with libc_hidden_ver, remove use of INTUSE.
29159 * libio/genops.c: Likewise.
29160 * libio/freopen.c: Likewise.
29161 * libio/freopen64.c: Likewise.
29162 * libio/iofclose.c: Likewise.
29163 * libio/iofdopen.c: Likewise.
29164 * libio/iofflush.c: Likewise.
29165 * libio/iofflush_u.c: Likewise.
29166 * libio/iofgets.c: Likewise.
29167 * libio/iofgets_u.c: Likewise.
29168 * libio/iofopen.c: Likewise.
29169 * libio/iofopncook.c: Likewise.
29170 * libio/iofread.c: Likewise.
29171 * libio/iofread_u.c: Likewise.
29172 * libio/ioftell.c: Likewise.
29173 * libio/iofwrite.c: Likewise.
29174 * libio/iogetline.c: Likewise.
29175 * libio/iogets.c: Likewise.
29176 * libio/iogetwline.c: Likewise.
29177 * libio/iopadn.c: Likewise.
29178 * libio/iopopen.c: Likewise.
29179 * libio/ioseekoff.c: Likewise.
29180 * libio/ioseekpos.c: Likewise.
29181 * libio/iosetbuffer.c: Likewise.
29182 * libio/iosetvbuf.c: Likewise.
29183 * libio/ioungetc.c: Likewise.
29184 * libio/ioungetwc.c: Likewise.
29185 * libio/iovdprintf.c: Likewise.
29186 * libio/iovsprintf.c: Likewise.
29187 * libio/iovsscanf.c: Likewise.
29188 * libio/memstream.c: Likewise.
29189 * libio/obprintf.c: Likewise.
29190 * libio/oldfileops.c: Likewise.
29191 * libio/oldiofclose.c: Likewise.
29192 * libio/oldiofdopen.c: Likewise.
29193 * libio/oldiofopen.c: Likewise.
29194 * libio/oldiopopen.c: Likewise.
29195 * libio/oldstdfiles.c: Likewise.
29196 * libio/putc.c: Likewise.
29197 * libio/setbuf.c: Likewise.
29198 * libio/setlinebuf.c: Likewise.
29199 * libio/stdfiles.c: Likewise.
29200 * libio/strops.c: Likewise.
29201 * libio/vasprintf.c: Likewise.
29202 * libio/vscanf.c: Likewise.
29203 * libio/vsnprintf.c: Likewise.
29204 * libio/vswprintf.c: Likewise.
29205 * libio/wfiledoalloc.c: Likewise.
29206 * libio/wfileops.c: Likewise.
29207 * libio/wgenops.c: Likewise.
29208 * libio/wmemstream.c: Likewise.
29209 * libio/wstrops.c: Likewise.
29210 * libio/__fpurge.c: Likewise.
29211 * libio/__fsetlocking.c: Likewise.
29212 * assert/assert.c: Likewise.
29213 * debug/fgets_chk.c: Likewise.
29214 * debug/fgets_u_chk.c: Likewise.
29215 * debug/fread_chk.c: Likewise.
29216 * debug/fread_u_chk.c: Likewise.
29217 * debug/gets_chk.c: Likewise.
29218 * debug/obprintf_chk.c: Likewise.
29219 * debug/vasprintf_chk.c: Likewise.
29220 * debug/vdprintf_chk.c: Likewise.
29221 * debug/vsnprintf_chk.c: Likewise.
29222 * debug/vsprintf_chk.c: Likewise.
29223 * malloc/mtrace.c: Likewise.
29224 * misc/error.c: Likewise.
29225 * misc/syslog.c: Likewise.
29226 * stdio-common/asprintf.c: Likewise.
29227 * stdio-common/fxprintf.c: Likewise.
29228 * stdio-common/getw.c: Likewise.
29229 * stdio-common/isoc99_fscanf.c: Likewise.
29230 * stdio-common/isoc99_scanf.c: Likewise.
29231 * stdio-common/isoc99_vfscanf.c: Likewise.
29232 * stdio-common/isoc99_vscanf.c: Likewise.
29233 * stdio-common/isoc99_vsscanf.c: Likewise.
29234 * stdio-common/printf-prs.c: Likewise.
29235 * stdio-common/printf_fp.c: Likewise.
29236 * stdio-common/printf_fphex.c: Likewise.
29237 * stdio-common/printf_size.c: Likewise.
29238 * stdio-common/putw.c: Likewise.
29239 * stdio-common/scanf.c: Likewise.
29240 * stdio-common/sprintf.c: Likewise.
29241 * stdio-common/tmpfile.c: Likewise.
29242 * stdio-common/vfprintf.c: Likewise.
29243 * stdio-common/vfscanf.c: Likewise.
29244 * stdlib/strfmon_l.c: Likewise.
29245 * sunrpc/openchild.c: Likewise.
29246 * sunrpc/xdr_stdio.c: Likewise.
29247 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29248 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29250 2012-05-24 Roland McGrath <roland@hack.frob.com>
29252 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29254 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29255 in the third column, to generate for the shared library an IFUNC
29256 that uses _dl_vdso_vsym.
29257 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29258 * Makeconfig (object-suffixes-noshared): New variable.
29260 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29261 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29262 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29263 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29266 * include/sys/time.h (__gettimeofday): Remove macro.
29267 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29268 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29270 (__gettimeofday): Add libc_hidden_def.
29271 (gettimeofday): Add libc_hidden_weak.
29272 * sysdeps/mach/gettimeofday.c: Likewise.
29273 * sysdeps/posix/gettimeofday.c: Likewise.
29274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29275 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29277 (__gettimeofday_internal): Remove strong_alias.
29278 (__gettimeofday): Add libc_hidden_def.
29279 (gettimeofday): Add libc_hidden_weak.
29280 * sysdeps/unix/syscalls.list (gettimeofday):
29281 Remove __gettimeofday_internal alias.
29283 2012-05-24 Daniel Jacobowitz <drow@false.org>
29284 H.J. Lu <hongjiu.lu@intel.com>
29287 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29288 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29289 (largebin_index_32_big): New.
29290 (largebin_index): Use it for 16-byte alignment.
29291 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29292 correction with front_misalign.
29294 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29322 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29323 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29325 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29329 * math/libm-test.inc (exp_test): Add test from bug 14036.
29330 (pow_test): Add test from bug 10846.
29332 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29334 (special_function): Do not include flags in test name.
29335 (parse_args): Likewise.
29336 * sysdeps/i386/fpu/libm-test-ulps: Update.
29337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29339 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29342 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29344 * math/libm-test.inc ("Philosophy"): Update comment about
29346 (UNDERFLOW_EXCEPTION): New macro.
29347 (UNDERFLOW_EXCEPTION_OK): Likewise.
29348 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29349 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29350 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29351 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29352 (INVALID_EXCEPTION_OK): Update value.
29353 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29354 (OVERFLOW_EXCEPTION_OK): Likewise.
29355 (IGNORE_ZERO_INF_SIGN): Likewise.
29356 (test_exceptions): Handle underflow exceptions.
29357 (acos_test): Update for underflow exception expectations.
29358 (cexp_test): Likewise.
29359 (clog_test): Likewise.
29360 (clog10_test): Likewise.
29361 (csqrt_test): Likewise.
29362 (ctan_test): Likewise.
29363 (ctanh_test): Likewise.
29364 (exp_test): Likewise.
29365 (exp10_test): Likewise.
29366 (exp2_test): Likewise.
29367 (expm1_test): Likewise.
29368 (fma_test): Likewise.
29369 (j0_test): Likewise.
29370 (jn_test): Likewise.
29371 (nexttoward_test): Likewise.
29372 (pow_test): Likewise.
29373 (scalbn_test): Likewise.
29374 (scalbln_test): Likewise.
29375 (tan_test): Likewise.
29376 (y1_test): Likewise.
29377 * sysdeps/i386/fpu/libm-test-ulps: Update.
29378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380 2012-05-23 David S. Miller <davem@davemloft.net>
29382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29383 (__libc_sigaction): Remove unused local variables.
29385 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29387 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29389 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29391 mktime: avoid signed integer overflow
29392 * time/mktime.c (__mktime_internal): Do not mishandle the case
29393 where diff == INT_MIN.
29395 mktime: simplify computation of average
29396 * time/mktime.c (ranged_convert): Use new time_t_avg function
29397 instead of rolling our own (probably-slower) code.
29399 mktime: do not assume signed right shift propagates sign bit
29400 * time/mktime.c (isdst_differ): New static function.
29401 (__mktime_internal): No need to normalize tm_isdst now.
29402 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29405 mktime: merge another wrapv change from gnulib
29406 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29407 from some compilers.
29409 mktime: remove incorrect attempt at unusual arithmetics
29410 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29411 The code didn't really work on such machines anyway.
29412 (TYPE_MINIMUM): Assume two's complement.
29413 (twos_complement_arithmetic): Verify that long_int and time_t
29414 are two's complement (or unsigned, in the latter case).
29416 mktime: check signed shifts on long_int and time_t, too
29417 * time/mktime.c (SHR): Check that shifts work as desired
29418 on the types long_int and time_t too, as SHR is used on
29421 mktime: do not assume 'long' is wide enough
29422 * time/mktime.c (verify): Move decl up.
29423 (long_int): New type.
29424 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29425 to remove assumption in the code that 'long' is wide enough to
29426 store year values. This assumption is not true on x32 and on
29427 some non-glibc platforms.
29429 mktime: merge wrapv change from gnulib
29430 * time/mktime.c (WRAPV): New macro.
29431 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29432 (guess_time_tm, __mktime_internal): Do not assume that signed
29433 integer overflow wraps around; modern compilers generate code
29434 where this assumption is no longer valid.
29436 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29438 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29439 Replace "jmp L(pseudo_end)" with "ret".
29440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29443 2012-05-23 Andreas Jaeger <aj@suse.de>
29445 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29446 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29448 2012-05-23 Andreas Jaeger <aj@suse.de>
29449 Maximilian Attems <max@stro.at>
29451 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29454 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29456 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29457 code so that pseudo_end is just ret and the stack pointer is
29458 correct also for static library in error case.
29460 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29462 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29463 move to syscalls.list.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29469 * manual/install.texi (Running make install): Do not mention Linux
29470 kernel version for which pt_chown is not needed.
29471 (Linux): Do not mention problems with nscd with 2.0 kernels.
29472 * INSTALL: Regenerated.
29474 2012-05-23 Andreas Jaeger <aj@suse.de>
29476 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29477 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29479 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29481 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29483 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29486 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29488 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29489 * sysdeps/unix/sysv/linux/bits/in.h
29490 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29492 2012-05-22 Roland McGrath <roland@hack.frob.com>
29494 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29495 (PREPARE_VERSION): Just use assert instead, it will be elided
29496 under [NDEBUG] anyway.
29498 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29500 * sysdeps/unix/sysv/linux/Makefile: Include
29501 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29502 (sysdep_routines): Remove sysctl.
29503 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29504 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29505 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29506 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29507 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29509 2012-05-22 Andreas Jaeger <aj@suse.de>
29511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29512 that pseudo_end is just ret and the stack pointer is correct also
29513 for static library in error case.
29515 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29518 * nss/nsswitch.c (defconfig_entries): New variable.
29519 (__nss_database_lookup): Don't leak defconfig entries.
29520 (nss_parse_service_list): Don't leak on error paths.
29521 (free_database_entries): New function.
29522 (free_defconfig): New function.
29523 (free_mem): Move common code to free_database_entries.
29525 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29527 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29529 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29532 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29535 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29536 (INTERNAL_SYSCALL_TYPES): Likewise.
29537 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29538 (LOAD_REGS_TYPES_[1-6]): Likewise.
29539 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29540 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29542 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29545 copysignl for GLIBC_2_0.
29546 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29547 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29549 logbl for GLIBC_2_0.
29550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29551 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29553 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29556 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29561 * time/mktime.c: Update copyright years.
29563 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29565 mktime: merge comment-quoting-style change from gnulib
29566 * time/mktime.c: Quote 'like this' in comments.
29567 The GNU coding standards suggest that we no longer quote `like this',
29568 as "`" and "'" are typically rendered asymmetrically nowadays.
29569 The typical gnulib style is to quote 'like this' when quoting
29570 code, and "like this" when quoting English.
29572 * time/mktime.c (compile-command): Add "-I.".
29574 mktime: merge mktime-internal.h change from gnulib
29575 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29577 mktime: merge time_r change from gnulib
29578 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29580 mktime: merge DEBUG change from gnulib
29581 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29582 case system <time.h> has a #define.
29584 mktime: merge <sys/types.h> change from gnulib
29585 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29586 since <time.t> is now guaranteed to define time_t.
29588 mktime: merge HAVE_CONFIG_H change from gnulib
29589 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29591 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29598 (struct rusage): Use anonymous union to pad each field to
29601 2012-05-21 David S. Miller <davem@davemloft.net>
29603 * Makefules (o-iterator): Remove .s cases.
29604 (compile-command.s): Delete.
29605 (COMPILE.s): Delete.
29606 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29608 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29610 * configure.in (libc_cv_predef_stack_protector): Only consider
29611 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29612 * configure: Regenerated.
29614 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29617 New macro. Use R*LP on int and pointer.
29618 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29619 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29620 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29621 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29623 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29624 [__WORDSIZE_TIME64_COMPAT32] instead of
29625 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29626 (struct utmp): Likewise.
29627 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29628 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29630 (__WORDSIZE_TIME64_COMPAT32): This.
29631 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29632 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29633 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29634 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29635 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29636 (__WORDSIZE_TIME64_COMPAT32): New macro.
29638 2012-05-21 Andreas Jaeger <aj@suse.de>
29640 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29641 only if [SHARED]. Add prototype for __wcschr_ia32.
29643 2012-05-21 Roland McGrath <roland@hack.frob.com>
29645 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29646 of %rbp unmolested in the jmp_buf while mangling the low bits.
29647 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29648 unmolested high bits of %rbp while demangling the low bits.
29649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29651 2012-05-21 Andreas Jaeger <aj@suse.de>
29653 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29654 * sunrpc/svc_simple.c: Use it for registerrpc.
29655 * sunrpc/xcrypt.c: Use it for passwd2des.
29657 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29659 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29661 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29662 Don't define if [__SYSCALL_WORDSIZE != 32].
29663 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29666 2012-05-21 Bruno Haible <bruno@clisp.org>
29667 Andreas Jaeger <aj@suse.de>
29669 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29670 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29671 inptr and inend for must_buffer_ch.
29672 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29673 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29674 * stdio-common/Makefile (tests): Remove bug15.
29675 (bug15-ENV): Remove macro.
29676 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29679 2012-05-19 Andreas Jaeger <aj@suse.de>
29680 Roland McGrath <roland@hack.frob.com>
29682 * manual/contrib.texi: Completely rewritten. It contains now an
29683 alphabetical list of contributors and their contributions.
29685 2012-05-21 Richard Henderson <rth@twiddle.net>
29687 * misc/getauxval.c (__getauxval): Use unsigned long int.
29688 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29689 (getauxval): Use unsigned long int.
29691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29693 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29695 2012-05-21 Roland McGrath <roland@hack.frob.com>
29697 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29698 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29699 __alignof__ (long double).
29701 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29705 2012-05-20 Richard Henderson <rth@twiddle.net>
29707 * misc/getauxval.c: New file.
29708 * misc/sys/auxv.h: New file.
29709 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29710 (routines): Add getauxval.
29711 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29712 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29713 * elf/dl-sysdep.c (_dl_auxv): Remove.
29714 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29715 * elf/dl-support.c (_dl_auxv): New variable.
29716 (_dl_aux_init): Initialize it.
29717 * manual/startup.texi (Auxiliary Vector): New node.
29718 * sysdeps/generic/bits/hwcap.h: New file.
29719 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29720 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29721 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29722 * sysdeps/sparc/sysdep.h: ... here. Include it.
29723 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29736 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29740 2012-05-19 David S. Miller <davem@davemloft.net>
29742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29744 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29747 * math/s_ccosh.c: Include <float.h>
29748 (__ccosh): Avoid internal overflow calculating sinh and cosh
29749 values before multiplying by sin and cos values.
29750 * math/s_ccoshf.c: Likewise.
29751 * math/s_ccoshl.c: Likewise.
29752 * math/s_csin.c: Likewise.
29753 * math/s_csinf.c: Likewise.
29754 * math/s_csinl.c: Likewise.
29755 * math/s_csinh.c: Likewise.
29756 * math/s_csinhf.c: Likewise.
29757 * math/s_csinhl.c: Likewise.
29758 * math/libm-test.inc (ccos_test): Add more tests.
29759 (ccosh_test): Likewise.
29760 (csin_test): Likewise.
29761 (csinh_test): Likewise.
29762 * sysdeps/i386/fpu/libm-test-ulps: Update.
29763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29765 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29767 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29768 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29770 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29772 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29774 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29775 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29776 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29777 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29778 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29779 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29780 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29781 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29782 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29783 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29784 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29785 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29786 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29787 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29788 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29789 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29790 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29791 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29792 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29793 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29794 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29795 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29796 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29797 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29798 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29799 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29800 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29801 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29802 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29803 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29804 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29806 2012-05-18 Andreas Jaeger <aj@suse.de>
29808 * csu/.gitignore: Delete.
29810 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29812 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29813 (timex): Use __syscall_slong_t.
29815 2012-05-18 Andreas Jaeger <aj@suse.de>
29816 Carlos O'Donell <carlos_odonell@mentor.com>
29818 * manual/install.texi (Configuring and compiling): Update
29819 description about files modified in the source directory.
29820 * INSTALL: Regenerated.
29822 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29824 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29825 value. Use "or" to set return value to -1.
29826 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29827 negate return value.
29829 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29831 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29832 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29833 failure if the compiler has Graphite support disabled.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29836 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29837 (CFLAGS-memmove.c): Likewise.
29838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29841 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29843 * sysdeps/x86_64/x32/_itoa.h: New file.
29845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29846 getdents system call only if kernel and user dirents have the
29847 same d_ino and d_off.
29849 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29850 LLONG_MAX != LONG_MAX.
29851 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29852 (_fitoa_word): Likewise.
29854 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29856 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29857 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29858 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29860 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29861 include <bits/wordsize.h>. Check __x86_64__ instead of
29863 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29864 if __x86_64__ is defined. Use anonymous union on fpstate.
29866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29869 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29871 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29872 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29874 Refer to _rtld_local_ro instead of _rtld_global_ro.
29875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29877 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29879 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29881 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29882 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29883 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29885 * sysdeps/powerpc/powerpc32/dl-machine.c
29886 (__elf_machine_runtime_setup) [PROF]: Don't reference
29889 2012-05-18 Andreas Jaeger <aj@suse.de>
29891 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29892 function only available for GCCs before 3.4 since GCC 3.4
29893 introduced a builtin.
29895 (llrintf): Likewise.
29896 (llrint): Likewise.
29903 (nearbyint): Likewise.
29904 (nearbyintf): Likewise.
29908 (floorf): Likewise.
29910 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29912 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29913 on both fields and cast pointer to __syscall_ulong_t.
29915 * bits/types.h (__fsword_t): New type.
29916 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29917 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29919 (__FSWORD_T_TYPE): Likewise.
29920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29921 (__FSWORD_T_TYPE): Likewise.
29922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29923 (__FSWORD_T_TYPE): Likewise.
29924 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29925 (__FSWORD_T_TYPE): Likewise.
29926 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29927 __SWORD_TYPE with __fsword_t.
29928 (statfs64): Likewise.
29930 2012-05-17 David S. Miller <davem@davemloft.net>
29932 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29934 2012-05-17 Andreas Jaeger <aj@suse.de>
29936 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29939 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29941 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29943 2012-05-17 Andreas Jaeger <aj@suse.de>
29945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29948 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29950 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29952 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29954 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29955 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29957 2012-05-17 Andreas Jaeger <aj@suse.de>
29958 Carlos O'Donell <carlos_odonell@mentor.com>
29961 * sysdeps/x86_64/multiarch/init-arch.h
29962 (bit_YMM_Usable): Rename to...
29963 (bit_AVX_Usable): ... this.
29964 (bit_FMA4_Usable): New macro.
29965 (bit_XMM_state): New macro.
29966 (bit_YMM_state): New macro.
29967 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29968 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29969 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29970 (CPUID_OSXSAVE): New macro.
29971 (CPUID_AVX): New macro.
29972 (CPUID_FMA4): New macro.
29973 (index_YMM_Usable): Rename to...
29974 (index_AVX_Usable): ... this.
29975 (HAS_AVX): Use HAS_ARCH_FEATURE.
29976 (HAS_FMA4): Likewise.
29977 (HAS_YMM_USABLE): Remove.
29978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29979 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29981 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29982 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29983 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29984 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29985 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29987 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29989 * math/libm-test.c: Support platforms without multiple rounding modes.
29990 * math/bug-nextafter.c: Support platforms without FP exceptions.
29991 * math/bug-nexttoward.c: Likewise.
29992 * math/test-fenv.c: Likewise.
29993 * math/test-misc.c: Likewise.
29994 * stdlib/bug-getcontext.c: Likewise.
29996 2012-05-17 Andreas Jaeger <aj@suse.de>
29998 * manual/examples/search.c (critter_cmp): Change signature to
30000 * manual/string.texi (Collation Functions): Likewise.
30002 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30004 * bits/types.h: Fold copyright years.
30005 * bits/typesizes.h: Likewise.
30006 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30010 * time/time.h: Likewise.
30012 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30015 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30016 in instead of returning them. Return void.
30017 (__libc_mallinfo): Accumulate over all arenas.
30018 (__malloc_stats): Adjust for change in int_mallinfo interface.
30020 2012-05-16 Roland McGrath <roland@hack.frob.com>
30023 * configure.in (NM): Add AC_CHECK_TOOL for it.
30024 (libc_extra_cflags): New substituted variable.
30025 Check for -fstack-protector being used implicitly.
30026 * configure: Regenerated.
30027 * config.make.in (config-extra-cflags): New variable,
30028 gets @libc_extra_cflags@.
30029 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30032 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30033 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30034 * configure: Regenerated.
30035 * config.make.in (CPPUNDEFS): New substituted variable.
30036 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30037 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30038 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30042 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30043 (mq_attr): Use __syscall_slong_t.
30045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30047 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30048 Check __x86_64__ instead of __WORDSIZE.
30049 (_STAT_VER_LINUX): Likewise.
30050 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30051 __syscall_ulong_t and __syscall_slong_t.
30052 (stat64): Likewise.
30054 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30058 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30060 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30062 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30064 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30067 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30068 include <bits/wordsize.h>. Check __x86_64__ instead of
30070 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30072 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30075 include <bits/wordsize.h>. Check __x86_64__ instead of
30077 (user_regs_struct): Use "__extension__ unsigned long long"
30078 instead of "unsigned long" if __x86_64__ is defined.
30079 (user): Likewise. Pad after pointer field if __ILP32__ is
30082 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30084 * configure.in (makeinfo): Require version 4.5 or later. Allow
30086 * configure: Regenerated.
30087 * manual/install.texi (texinfo): Increase version requirement to
30089 * INSTALL: Regenerated.
30091 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30093 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30095 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30097 * sysdeps/x86_64/x32/ffs.c: New file.
30099 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30101 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30102 defined. Use __syscall_ulong_t.
30103 (shminfo): Use __syscall_ulong_t.
30104 (shm_info): Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30109 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30111 (msgqnum_t): Use __syscall_ulong_t.
30112 (msglen_t): Likewise.
30113 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30119 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30121 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30122 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30124 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30127 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30128 include <bits/wordsize.h>. Check __x86_64__ instead of
30131 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30132 "unsigned long long int" if __x86_64__ is defined.
30133 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30136 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30137 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30139 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30141 (GET_PC): Cast to uintptr_t first.
30142 (GET_FRAME): Likewise.
30143 (GET_STACK): Likewise.
30145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30152 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30170 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30175 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30177 * Makerules (+depfiles): Also collect depfiles from .oS in
30179 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30180 .oS, $(libnldbl-routines)).
30182 * Makerules (native-compile-mkdep-flags): Define.
30183 * sunrpc/Makefile (extra-objs): Add $(addprefix
30184 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30185 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30186 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30187 calling $(make-target-directory).
30189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30191 * bits/types.h (__snseconds_t): Removed.
30192 * time/time.h (struct timespec): Replace __snseconds_t with
30194 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30195 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30198 (__SNSECONDS_T_TYPE): Likewise.
30199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30200 (__SNSECONDS_T_TYPE): Likewise.
30201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30202 (__SNSECONDS_T_TYPE): Likewise.
30204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30206 * sysdeps/mach/hurd/bits/typesizes.h
30207 (__SYSCALL_SLONG_TYPE): New macro.
30208 (__SYSCALL_ULONG_TYPE): Likewise.
30210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30212 * bits/types.h (__syscall_slong_t): New type.
30213 (__syscall_ulong_t): Likewise.
30215 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30216 (__SYSCALL_ULONG_TYPE): Likewise.
30217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30218 (__SYSCALL_SLONG_TYPE): Likewise.
30219 (__SYSCALL_ULONG_TYPE): Likewise.
30220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30221 (__SYSCALL_SLONG_TYPE): Likewise.
30222 (__SYSCALL_ULONG_TYPE): Likewise.
30223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30224 (__SYSCALL_SLONG_TYPE): Likewise.
30225 (__SYSCALL_ULONG_TYPE): Likewise.
30227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30229 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30230 Add sigaltstack-offsets.sym.
30231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30232 <sigaltstack-offsets.h>.
30233 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30234 longjmp_msg pointer.
30235 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30236 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30238 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30240 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30242 * elf/stackguard-macros.h: Remove file.
30243 * sysdeps/generic/stackguard-macros.h: New file.
30244 * sysdeps/i386/stackguard-macros.h: Likewise.
30245 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30246 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30247 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30248 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30249 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30250 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30251 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30252 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30253 <elf/stackguard-macros.h>.
30256 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30257 __aligned__ in attribute.
30258 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30259 (gregset_t): Likewise.
30261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30263 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30264 * sysdeps/x86_64/64/Implies-after: Here. New file.
30265 * sysdeps/x86_64/x32/Implies-after: New file.
30267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30269 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30270 and access return value for _dl_profile_fixup. Use R10_LP to
30273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30275 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30279 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30280 * sysdeps/x86_64/x32/sysdep.h: New file.
30282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30284 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30285 * sysdeps/x86_64/setjmp.S: Likewise.
30287 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30291 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30292 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30293 remove unused global constant.
30295 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30297 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30298 include of <not-cancel.h>.
30300 2012-05-15 Roland McGrath <roland@hack.frob.com>
30302 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30304 2012-05-15 Jeff Law <law@redhat.com>
30305 Andreas Jaeger <aj@suse.de>
30308 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30310 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30311 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30313 code changing __hst_map_handle.map.
30315 2012-05-15 Roland McGrath <roland@hack.frob.com>
30317 * configure.in (sysnames): Look for Implies-before and Implies-after
30319 * configure: Regenerated.
30321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30323 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30324 8-byte data alignment with LP_SIZE alignment.
30326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30333 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30337 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30338 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30339 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30345 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30346 (stackinfo_sub_sp): Likewise.
30348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30365 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30369 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30370 into R11_LP and load __x86_64_shared_cache_size_half into
30373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30378 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30382 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30387 powerpc32/power7/fpu/s_logb.c via #include.
30388 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30389 powerpc32/power7/fpu/s_logbf.c via #include.
30390 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30391 powerpc32/power7/fpu/s_logbl.c via #include.
30393 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30395 * README.libm: Remove file.
30397 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30399 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30400 count for x32. Use R*_LP and omit operand-size suffix.
30402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30404 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30405 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30406 * sysdeps/x86_64/x32/shlib-versions: New file.
30408 2012-05-14 Roland McGrath <roland@hack.frob.com>
30410 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30411 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30412 Use _dl_fatal_printf instead.
30414 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30416 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30417 set if not set by the user. Do not allow for being unset.
30418 * sysdeps/unix/sysv/linux/configure: Regenerated.
30420 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30422 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30423 the `q' suffix from lea and replace .quad with ASM_ADDR.
30425 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30428 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30430 (PTR_DEMANGLE): Likewise.
30432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30434 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30436 (ASM_ADDR): Likewise.
30437 (RAX_LP): Likewise.
30438 (RBP_LP): Likewise.
30439 (RBX_LP): Likewise.
30440 (RCX_LP): Likewise.
30441 (RDI_LP): Likewise.
30442 (RSI_LP): Likewise.
30443 (RSP_LP): Likewise.
30446 (R10_LP): Likewise.
30447 (R10_LP): Likewise.
30448 (R11_LP): Likewise.
30449 (R12_LP): Likewise.
30450 (R13_LP): Likewise.
30451 (R14_LP): Likewise.
30452 (R15_LP): Likewise.
30454 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30456 * sysdeps/x86_64/x32/dl-machine.h: New file.
30458 2012-05-14 Andreas Jaeger <aj@suse.de>
30460 * manual/Makefile (subdir): Remove export of subdir.
30461 (all): Remove target.
30462 (.PHONY): Remove all from list.
30463 (mkinstalldirs): Remove.
30464 (.PHONY): Remove installdirs from list.
30465 ($(inst_infodir)/libc.info): Use make-target-directory.
30466 (installdirs): Remove.
30467 (subdir_%): Remove.
30468 (glibc-targets): Remove.
30471 ($(objpfx)stubs ../po/manual.pot): Remove.
30472 ($(objpfx)stamp%): Remove.
30473 (make-target-directory): Remove.
30474 (subdir_install): Remove.
30475 (routines): Remove.
30482 * manual/.gitignore: Remove, it's not needed anymore.
30483 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30485 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30487 (texis): Renamed to $(objpfx)texis.
30488 (texis-path): New, contains path to generated files.
30489 (chapters.%): Use texis-path for complete path, add extra argument
30491 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30492 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30493 (summary,texi, stamp-summary): Use complete path of
30494 files. Generate files in build dir.
30495 (dir-add.texi): Build in build dir.
30496 (libm-err.texi,stamp-libm-err): Likewise.
30497 (version.texi, stamp-version): Likewise.
30498 (.%c.texi): Likewise.
30499 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30500 (mostlyclean): Remove target.
30501 (realclean): Remove target.
30502 (generated): Add new variable with contents from mostlyclean and
30503 realclean, remove entries duplicated in common-mostlyclean, add
30504 stamp-libm-err and stamp-version.
30505 (generated-dirs): Add libc directory.
30506 ($(inst_infodir)/libc.info): Install files from build dir.
30508 * manual/install.texi (Configuring and compiling): Adjust since
30509 the info files are not part of the tar ball anymore.
30511 2012-05-14 Andreas Jaeger <aj@suse.de>
30513 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30516 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30520 to 2.2.0 where earlier.
30521 * sysdeps/unix/sysv/linux/configure: Regenerated.
30522 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30523 Remove conditional code.
30524 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30525 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30526 Remove conditional code.
30527 [!__NR_lchown]: Likewise.
30528 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30529 [__NR_lchown]: Likewise.
30530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30531 comment referencing __ASSUME_LCHOWN_SYSCALL.
30532 * sysdeps/unix/sysv/linux/i386/sigaction.c
30533 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30534 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30535 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30536 Remove conditional code.
30537 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30538 (__protocol_available): Remove #if 0 code.
30539 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30541 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30542 * sysdeps/unix/sysv/linux/kernel-features.h
30543 (__ASSUME_GETCWD_SYSCALL): Don't define.
30544 (__ASSUME_REALTIME_SIGNALS): Likewise.
30545 (__ASSUME_PREAD_SYSCALL): Likewise.
30546 (__ASSUME_PWRITE_SYSCALL): Likewise.
30547 (__ASSUME_POLL_SYSCALL): Likewise.
30548 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30549 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30551 (__ASSUME_SIOCGIFNAME): Don't define.
30552 (__ASSUME_MSG_NOSIGNAL): Likewise.
30553 (__ASSUME_SENDFILE): Define unconditionally.
30554 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30555 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30557 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30558 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30559 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30560 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30561 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30562 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30563 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30577 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30580 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30583 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30588 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30589 Remove conditional code.
30590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30591 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30592 Remove conditional code.
30593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30594 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30595 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30596 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30597 Remove conditional code.
30598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30599 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30600 Remove conditional code.
30601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30602 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30603 Remove conditional code.
30604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30605 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30606 Remove conditional code.
30607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30608 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30609 Remove conditional code.
30610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30611 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/sigaction.c
30615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/sigpending.c
30618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/sigprocmask.c
30621 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30622 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/sigsuspend.c
30624 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30625 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30627 (__libc_missing_rt_sigs): Remove.
30628 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30629 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30630 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30631 Remove conditional code.
30632 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30633 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30635 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30636 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30637 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30638 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30640 2012-05-14 Andreas Jaeger <aj@suse.de>
30642 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30643 it's not used in glibc.
30644 (__coshm1): Likewise.
30645 (__acosh1p): Likewise.
30648 * manual/string.texi (Copying and Concatenation): Add missing
30649 variable in concat example.
30650 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30652 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30656 __builtin_clzl with __builtin_clzll.
30658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30661 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30664 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30666 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30667 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30668 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30671 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30673 * NEWS: Update ia64 info.
30675 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30677 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30680 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30682 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30683 * sysdeps/unix/syscalls.list (dup3): Likewise.
30684 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30685 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30687 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30689 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30690 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30692 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30694 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30696 (TLS_IE): Use mov/add instead of movq/addq to load thread
30698 (TLS_GD_PREFIX): New.
30701 2012-05-11 David S. Miller <davem@davemloft.net>
30703 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30704 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30705 (_FPU_SETCW): Likewise.
30707 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30709 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30710 is 32-byte aligned.
30712 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30715 * iconvdata/gb18030.c: Update tables.
30716 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30717 characters specially.
30718 (BODY for TO_LOOP): Add encoding of missing ranges.
30720 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30723 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30724 * sysdeps/mach/hurd/dup3.c: Likewise.
30725 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30726 * sysdeps/powerpc/memmove.c:: Likewise.
30728 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30731 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30733 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30735 * elf/elf.h (R_X86_64_RELATIVE64): New.
30736 (R_X86_64_NUM): Updated.
30737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30738 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30739 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30740 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30741 tst-quad1pie tst-quad2pie
30742 (modules-names): Add tst-quadmod1 tst-quadmod2.
30743 ($(objpfx)tst-quad1): New dependency.
30744 ($(objpfx)tst-quad2): Likewise.
30745 ($(objpfx)tst-quad1pie): Likewise.
30746 ($(objpfx)tst-quad2pie): Likewise.
30747 * sysdeps/x86_64/tst-quad1.c: New file.
30748 * sysdeps/x86_64/tst-quad1pie.c: New file.
30749 * sysdeps/x86_64/tst-quad2.c: Likewise.
30750 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30751 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30752 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30753 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30754 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30758 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30759 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30760 * streams/stropts.h (t_scalar_t): Define type.
30762 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30763 (_PATH_PRESERVE): Set to "/var/lib".
30764 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30766 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30769 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30770 if __dir_mkfile succeeded.
30772 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30773 checking for _hurd_dtablesize. Unlock it right after having
30774 finished _hurd_dtable allocation.
30776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30778 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30779 * sysdeps/mach/hurd/configure: Regenerated.
30780 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30781 special-casing to...
30782 * sysdeps/gnu/configure.in: ... this new file.
30783 * sysdeps/unix/sysv/linux/configure: Regenerated.
30784 * sysdeps/gnu/configure: New generated file.
30786 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30787 for Linux: use nsec instead of usec, as well as:
30788 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30789 members of type struct timespec.
30790 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30792 (struct stat64): Likewise.
30793 (_STATBUF_ST_NSEC): New macro.
30794 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30796 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30797 __strtoul_internal rather than strtoul.
30799 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30801 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30804 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30806 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30807 which preserves existing values.
30808 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30810 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30812 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30813 TIMEOUT values. Return EINVAL for NFDS values either negative or
30814 greater than FD_SETSIZE.
30816 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30818 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30819 allocated, call __vm_protect to finish enabling the existing space, and
30820 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30821 allocate the remainder.
30823 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30825 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30826 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30828 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30830 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30831 sysdeps/mach/hurd/readlink.c.
30833 * posix/tst-sysconf.c (posix_options): Only use
30834 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30835 _POSIX_SYNCHRONIZED_IO when they are defined
30836 * sysdeps/mach/hurd/bits/posix_opt.h:
30837 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30838 (_XOPEN_REALTIME): Undefine macro.
30839 (_XOPEN_REALTIME_THREADS): Undefine macro.
30840 (_XOPEN_SHM): Undefine macro.
30841 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30843 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30845 (_POSIX_ASYNC_IO): Undefine macro.
30846 (_POSIX_PRIORITIZED_IO): Undefine macro.
30847 (_POSIX_SPIN_LOCKS): Define macro to -1.
30849 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30850 SA_NODEFER, SA_RESETHAND.
30851 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30852 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30857 * elf/Makefile (pldd-modules): Define unconditionally.
30859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30861 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30863 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30865 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30866 Return ENOENT when name is empty.
30867 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30871 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30873 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30877 Fix mlock in all cases except non-readable pages.
30878 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30879 instead of VM_PROT_ALL as parameter to __vm_wire function.
30881 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30882 (__mkdir): When path is `/', just fail with EEXIST.
30883 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30887 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30888 <sys/uio.h> (for writev).
30889 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30890 and <sys/param.h> (for MIN).
30892 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30894 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30895 REQUESTED_TIME. Properly set the remaining time and return EINTR
30898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30900 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30901 Depend on against $(link-rpcuserlibs).
30903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30905 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30906 (__libc_stack_end): Do not use attribute_relro.
30907 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30908 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30909 to libthread-provided value.
30910 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30916 * bits/libc-lock.h (__libc_once_get): New macro.
30917 * sysdeps/mach/bits/libc-lock.h: Likewise.
30918 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30920 instead of using implementation details.
30922 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30923 * libio/freopen.c: Likewise.
30924 * libio/freopen64.c: Likewise.
30925 * misc/syslog.c: Likewise.
30926 * nscd/connections.c: Likewise.
30927 * nscd/netgroupcache.c: Likewise.
30928 * sysdeps/posix/getcwd.c: Likewise.
30930 2012-05-10 Roland McGrath <roland@hack.frob.com>
30932 * math/w_ilogbf.c: Add #include <limits.h>.
30934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30936 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30937 path instead of returning without unlocking.
30939 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30940 immediate-write ioctls.
30941 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30945 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30946 __builtin_frame_address instead of making assumptions about the
30947 location of the return address relative to DATA. Force early load of
30948 the return address.
30949 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30950 __builtin_frame_address.
30953 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30954 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30955 implement dup3 and do some further code clean-ups.
30956 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30957 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30961 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30963 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30964 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30965 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30966 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30967 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30970 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30971 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30972 when handler == SIG_ERR, not when handler != SIG_ERR.
30974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30976 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30977 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30980 accept4 for GNU Hurd.
30981 * include/sys/socket.h (__libc_accept4): New prototype.
30982 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30983 to implement __libc_accept4.
30984 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30986 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30988 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30989 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30990 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30991 signal-defines.sym.
30993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30995 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30999 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31000 assertion on O_CLOEXEC flag.
31001 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31002 * hurd/intern-fd.c: Likewise.
31003 * hurd/port2fd.c: Likewise.
31005 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31008 * bits/in.h (IPV6_PKTINFO): Define new macro.
31009 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31011 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31017 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31018 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31021 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31022 * math/libm-test.inc (logb_test) : Additional logb tests.
31024 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31025 Andreas Jaeger <aj@suse.de>
31027 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31028 * configure: Regenerated.
31029 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31030 * config.make.in (link-obsolete-rpc): New substituted variable.
31031 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31032 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31033 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31034 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31035 so that libc.a contains the symbols.
31036 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31037 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31038 * sunrpc/auth_none.c: Likewise.
31039 * sunrpc/auth_unix.c: Likewise.
31040 * sunrpc/authdes_prot.c: Likewise.
31041 * sunrpc/authuxprot.c: Likewise.
31042 * sunrpc/clnt_gen.c: Likewise.
31043 * sunrpc/clnt_perr.c: Likewise.
31044 * sunrpc/clnt_raw.c: Likewise.
31045 * sunrpc/clnt_simp.c: Likewise.
31046 * sunrpc/clnt_tcp.c: Likewise.
31047 * sunrpc/clnt_udp.c: Likewise.
31048 * sunrpc/clnt_unix.c: Likewise.
31049 * sunrpc/des_crypt.c: Likewise.
31050 * sunrpc/des_soft.c: Likewise.
31051 * sunrpc/get_myaddr.c: Likewise.
31052 * sunrpc/key_call.c: Likewise.
31053 * sunrpc/key_prot.c: Likewise.
31054 * sunrpc/netname.c: Likewise.
31055 * sunrpc/pm_getmaps.c: Likewise.
31056 * sunrpc/pm_getport.c: Likewise.
31057 * sunrpc/pmap_clnt.c: Likewise.
31058 * sunrpc/pmap_prot.c: Likewise.
31059 * sunrpc/pmap_prot2.c: Likewise.
31060 * sunrpc/pmap_rmt.c: Likewise.
31061 * sunrpc/publickey.c: Likewise.
31062 * sunrpc/rpc_cmsg.c: Likewise.
31063 * sunrpc/rpc_common.c: Likewise.
31064 * sunrpc/rpc_dtable.c: Likewise.
31065 * sunrpc/rpc_prot.c: Likewise.
31066 * sunrpc/rpc_thread.c: Likewise.
31067 * sunrpc/rtime.c: Likewise.
31068 * sunrpc/svc.c: Likewise.
31069 * sunrpc/svc_auth.c: Likewise.
31070 * sunrpc/svc_raw.c: Likewise.
31071 * sunrpc/svc_run.c: Likewise.
31072 * sunrpc/svc_tcp.c: Likewise.
31073 * sunrpc/svc_udp.c: Likewise.
31074 * sunrpc/svc_unix.c: Likewise.
31075 * sunrpc/svcauth_des.c: Likewise.
31076 * sunrpc/xcrypt.c: Likewise.
31077 * sunrpc/xdr.c: Likewise.
31078 * sunrpc/xdr_array.c: Likewise.
31079 * sunrpc/xdr_float.c: Likewise.
31080 * sunrpc/xdr_intXX_t.c: Likewise.
31081 * sunrpc/xdr_mem.c: Likewise.
31082 * sunrpc/xdr_rec.c: Likewise.
31083 * sunrpc/xdr_ref.c: Likewise.
31084 * sunrpc/xdr_sizeof.c: Likewise.
31085 * sunrpc/xdr_stdio.c: Likewise.
31087 2012-05-10 Roland McGrath <roland@hack.frob.com>
31089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31090 change. Update copyright years.
31092 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31094 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31096 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31097 Joseph Myers <joseph@codesourcery.com>
31098 Paul Pluzhnikov <ppluzhnikov@google.com>
31101 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31103 [cross-compiling] (extra-libs): Likewise.
31104 [cross-compiling] (extra-libs-others): Likewise.
31105 [cross-compiling] (librpcsvc-routines): Likewise.
31106 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31107 [cross-compiling] (omit-deps): Likewise.
31108 (sunrpc-CPPFLAGS): New variable.
31109 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31110 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31111 (cross-rpcgen-objs): New variable.
31112 (extra-objs): Append $(cross-rpcgen-objs).
31113 ($(cross-rpcgen-objs)): New rule.
31114 ($(objpfx)cross-rpcgen): Likewise.
31115 (rpcgen-cmd): Define to use $(built-program-file). Expand
31117 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31118 ($(objpfx)x%.stmp): Likewise.
31119 * sunrpc/proto.h [IS_IN_build] (_): Define.
31120 [IS_IN_build] (_libc_intl_domainname): Likewise.
31122 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31125 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31126 and R_X86_64_TPOFF64.
31128 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31130 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31131 sysdeps/unix/sysv/syscalls.list.
31134 * sysdeps/unix/sysv/syscalls.list: Remove file.
31136 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31139 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31140 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31141 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31142 (__LC_IDENTIFICATION): Make these macros useful in #if
31143 expressions, as required by C99.
31145 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31147 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31148 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31151 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31153 * stdlib/longlong.h: Updated from GCC.
31155 2012-05-09 Andreas Jaeger <aj@suse.de>
31157 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31158 default is first entry.
31159 (run_mode): Set type.
31160 (main): Remove informal message about syslog.
31161 (options): Fix typo.
31164 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31167 (llrintf): Likewise.
31168 (llrint): Likewise.
31171 (nearbyint): Likewise.
31172 (nearbyintf): Likewise.
31174 2012-05-09 Andreas Jaeger <aj@suse.de>
31175 Pedro Alves <palves@redhat.com>
31177 * nscd/nscd.c (run_mode): Use enum.
31178 (main): Cleanup coding style issue.
31180 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31181 Andreas Jaeger <aj@suse.de>
31183 * nscd/nscd.c (go_background): Replaced with...
31184 (run_mode): ... this.
31185 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31186 (options): Add -F --foreground.
31187 (main): Implement it.
31188 (parse_opt): Parse it.
31190 2012-05-09 Andreas Jaeger <aj@suse.de>
31193 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31194 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31195 -Wconversion warning.
31196 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31199 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31201 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31203 (LC_ALL): Use macro-int-constant.
31204 (LC_COLLATE): Likewise.
31205 (LC_CTYPE): Likewise.
31206 (LC_MESSAGES): Likewise.
31207 (LC_MONETARY): Likewise.
31208 (LC_NUMERIC): Likewise.
31209 (LC_TIME): Likewise.
31210 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31211 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31213 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31215 [C99-based standards] (float_t): Expect type.
31216 [C99-based standards] (double_t): Expect type.
31217 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31219 [C99-based standards] (HUGE_VALL): Likewise.
31220 [C99-based standards] (INFINITY): Likewise.
31221 [C99-based standards] (NAN): Likewise.
31222 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31223 [C99-based standards] (FP_NAN): Likewise.
31224 [C99-based standards] (FP_NORMAL): Likewise.
31225 [C99-based standards] (FP_SUBNORMAL): Likewise.
31226 [C99-based standards] (FP_ZERO): Likewise.
31227 [C99-based standards] (FP_FAST_FMA): Use
31228 optional-macro-int-constant. Specify type. Require == 1.
31229 [C99-based standards] (FP_FAST_FMAF): Likewise.
31230 [C99-based standards] (FP_FAST_FMAL): Likewise.
31231 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31232 [C99-based standards] (FP_ILOGBNAN): Likewise.
31233 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31235 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31236 [C99-based standards] (math_errhandling): Specify type.
31237 [ISO99 || ISO11] (signgam): Do not allow.
31238 [non-C99-based standards] (copysignf): Do not allow.
31239 [non-C99-based standards] (exp2f): Likewise.
31240 [non-C99-based standards] (log2f): Likewise.
31241 [non-C99-based standards] (modff): Allow.
31242 [non-C99-based standards] (erff): Do not allow.
31243 [non-C99-based standards] (erfcf): Likewise.
31244 [non-C99-based standards] (gammaf): Likewise.
31245 [non-C99-based standards] (hypotf): Likewise.
31246 [non-C99-based standards] (j0f): Likewise.
31247 [non-C99-based standards] (j1f): Likewise.
31248 [non-C99-based standards] (jnf): Likewise.
31249 [non-C99-based standards] (lgammaf): Likewise.
31250 [non-C99-based standards] (tgammaf): Likewise.
31251 [non-C99-based standards] (y0f): Likewise.
31252 [non-C99-based standards] (y1f): Likewise.
31253 [non-C99-based standards] (ynf): Likewise.
31254 [non-C99-based standards] (isnanf): Likewise.
31255 [non-C99-based standards] (acoshf): Likewise.
31256 [non-C99-based standards] (asinhf): Likewise.
31257 [non-C99-based standards] (atanhf): Likewise.
31258 [non-C99-based standards] (cbrtf): Likewise.
31259 [non-C99-based standards] (expm1f): Likewise.
31260 [non-C99-based standards] (ilogbf): Likewise.
31261 [non-C99-based standards] (log1pf): Likewise.
31262 [non-C99-based standards] (logbf): Likewise.
31263 [non-C99-based standards] (nextafterf): Likewise.
31264 [non-C99-based standards] (remainderf): Likewise.
31265 [non-C99-based standards] (rintf): Likewise.
31266 [non-C99-based standards] (scalbf): Likewise.
31267 [non-C99-based standards] (copysignl): Likewise.
31268 [non-C99-based standards] (exp2l): Likewise.
31269 [non-C99-based standards] (log2l): Likewise.
31270 [non-C99-based standards] (modfl): Allow.
31271 [non-C99-based standards] (erfl): Do not allow.
31272 [non-C99-based standards] (erfcl): Likewise.
31273 [non-C99-based standards] (gammal): Likewise.
31274 [non-C99-based standards] (hypotl): Likewise.
31275 [non-C99-based standards] (j0l): Likewise.
31276 [non-C99-based standards] (j1l): Likewise.
31277 [non-C99-based standards] (jnl): Likewise.
31278 [non-C99-based standards] (lgammal): Likewise.
31279 [non-C99-based standards] (tgammal): Likewise.
31280 [non-C99-based standards] (y0l): Likewise.
31281 [non-C99-based standards] (y1l): Likewise.
31282 [non-C99-based standards] (ynl): Likewise.
31283 [non-C99-based standards] (isnanl): Likewise.
31284 [non-C99-based standards] (acoshl): Likewise.
31285 [non-C99-based standards] (asinhl): Likewise.
31286 [non-C99-based standards] (atanhl): Likewise.
31287 [non-C99-based standards] (cbrtl): Likewise.
31288 [non-C99-based standards] (expm1l): Likewise.
31289 [non-C99-based standards] (ilogbl): Likewise.
31290 [non-C99-based standards] (log1pl): Likewise.
31291 [non-C99-based standards] (logbl): Likewise.
31292 [non-C99-based standards] (nextafterl): Likewise.
31293 [non-C99-based standards] (remainderl): Likewise.
31294 [non-C99-based standards] (rintl): Likewise.
31295 [non-C99-based standards] (scalbl): Likewise.
31296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31297 [non-C99-based standards] (FP_*): Do not allow.
31298 [C99-based standards] (FP_*): Change to
31299 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31300 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31302 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31303 (SIG_ERR): Likewise.
31304 [X/Open-based standards] (SIG_HOLD): Likewise.
31305 (SIG_IGN): Likewise.
31306 (SIGABRT): Use macro-int-constant. Specify type. Require
31308 (SIGFPE): Likewise.
31309 (SIGILL): Likewise.
31310 (SIGINT): Likewise.
31311 (SIGSEGV): Likewise.
31312 (SIGTER): Likewise.
31313 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31314 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31315 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31316 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31317 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31322 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31323 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31328 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31329 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31330 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31331 [X/Open-based standards] (SIGTRAP): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31334 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31335 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31336 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31339 2012-05-08 Ian Wienand <ianw@vmware.com>
31342 * time/tzset.c (__tzset_parse_tz): Update default rules for
31343 daylight time changes in the Energy Policy Act of 2005.
31345 2012-05-09 Andreas Jaeger <aj@suse.de>
31348 * elf/ldconfig.c (parse_conf): Change string to make clear that
31349 ldconfig only issued a warning if ld.so.conf does not exist.
31351 2012-05-08 David S. Miller <davem@davemloft.net>
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31354 movxtod instead of popping the value on the stack.
31356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31358 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31360 * config.h.in: Add HAVE_ARM_PCS_VFP.
31362 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31365 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31366 checking but the checks are disabled for any reason.
31368 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31370 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31371 and ELF64_R_TYPE with ELFW(R_TYPE).
31373 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31376 (ulimit): Likewise.
31378 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31379 (settimeofday): Likewise.
31381 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31383 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31384 a struct th_u2 inside the union, and move tu_block/tu_code into
31385 a new th_u3 union of tu_block/tu_code inside of that. Move
31386 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31387 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31388 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31389 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31390 (th_stuff): Change to th_u1.tu_stuff.
31392 (th_msg): Change to th_u1.th_u2.tu_data.
31394 2012-05-07 David S. Miller <davem@davemloft.net>
31396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31399 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31400 (SETUP_PIC_REG): Use it.
31401 (SETUP_PIC_REG_LEAF): Use it.
31403 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31409 (EXPL_FINITE): Likewise.
31410 (FLDLOG): Likewise.
31411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31412 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31414 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31416 (EXPL_FINITE): Likewise.
31417 (FLDLOG): Likewise.
31418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31419 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31421 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31422 test of -max_value argument for long double.
31423 * sysdeps/i386/fpu/libm-test-ulps: Update.
31424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426 2012-05-06 David S. Miller <davem@davemloft.net>
31428 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31429 quad soft-float symbols whose references which are compiler
31431 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31433 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31437 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31439 (EXPL_FINITE): Likewise.
31440 (FLDLOG): Likewise.
31443 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31444 Adjust comments for base varying.
31445 (__expl_finite): Change alias to EXPL_FINITE.
31446 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31448 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31449 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31450 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31451 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31452 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31454 (EXPL_FINITE): Likewise.
31455 (FLDLOG): Likewise.
31458 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31459 Adjust comments for base varying.
31460 (__expl_finite): Change alias to EXPL_FINITE.
31461 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31466 * math/libm-test.inc (check_float_internal): Correct ulp
31467 calculation for subnormal expected results.
31469 2012-05-06 Andreas Jaeger <aj@suse.de>
31471 * Makeconfig (+math-flags): New, set to -frounding-math.
31472 (+cflags): Add +math-flags so that all of glibc gets compiled with
31475 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31477 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31479 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31485 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31486 (__ieee754_expl): Allow for and saturate large arguments.
31487 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31488 (u_threshold): Likewise.
31489 (__exp): Call __ieee754_exp before checking for overflow and
31491 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31492 (u_threshold): Likewise.
31493 (__expf): Call __ieee754_expf before checking for overflow and
31495 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31496 (u_threshold): Likewise.
31497 (__expl): Call __ieee754_expl before checking for overflow and
31499 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31500 (__ieee754_expl): Allow for and saturate large arguments.
31501 * math/libm-test.inc (exp_test): Add another test. Do not allow
31502 missing overflow exception on overflow.
31503 (expm1_test): Do not allow missing overflow exception on overflow.
31505 * sysdeps/i386/fpu/e_expl.c: Move to ...
31506 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31507 rather than using inline asm.
31508 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31509 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31510 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31512 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31515 (signal): Likewise.
31519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31521 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31522 sysdeps/unix/common/syscalls.list.
31523 (fchmod): Likewise.
31524 (fchown): Likewise.
31525 (ftruncate): Likewise.
31526 (getrusage): Likewise.
31527 (gettimeofday): Likewise.
31528 (setpgid): Likewise.
31529 (setregid): Likewise.
31530 (setreuid): Likewise.
31531 (sigaction): Likewise.
31532 (truncate): Likewise.
31533 (vhangup): Likewise.
31534 * sysdeps/unix/common/syscalls.list: Remove file.
31535 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31536 * sysdeps/unix/sysv/linux/Implies: Likewise.
31538 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31540 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31542 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31552 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31555 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31558 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31561 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31564 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31568 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31572 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31575 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31579 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31583 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31585 * sysdeps/unix/common/bits/dirent.h: Remove file.
31586 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31588 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31589 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31590 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31591 * sysdeps/unix/bsd/isatty.c: Likewise.
31592 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31593 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31594 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31596 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31600 long double comparison inaccuracies.
31601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31604 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31606 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31607 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31609 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31613 nonzero digits before rounding a hex value.
31614 * stdlib/tst-strtod.c (tests): Add another test.
31616 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31618 * sysdeps/s390/fpu/libm-test-ulps: Update.
31620 2012-05-03 Andreas Jaeger <aj@suse.de>
31622 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31623 does not get optimized out.
31624 (malloc_opt_barrier): New.
31626 2012-05-03 Andreas Jaeger <aj@suse.de>
31627 Roland McGrath <roland@hack.frob.com>
31629 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31630 intermediate file deletion.
31631 (generated): Add .symlist files.
31633 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31636 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31637 Redirect under this condition.
31638 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31639 [__USE_GNU] (__dprintf_chk): Not under this condition.
31640 [__USE_GNU] (__vdprintf_chk): Likewise.
31641 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31642 under this condition.
31643 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31644 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31645 [__USE_XOPEN2K8] (vdprintf): Likewise.
31646 [__USE_GNU] (__dprintf_chk): Not under this condition.
31647 [__USE_GNU] (__vdprintf_chk): Likewise.
31648 [__USE_GNU] (dprintf): Likewise.
31649 [__USE_GNU] (vdprintf): Likewise.
31651 2012-05-03 Roland McGrath <roland@hack.frob.com>
31653 * elf/Makefile (common-generated): Set this instead of generated for
31654 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31655 $(all-built-dso)-derived lists.
31657 2012-05-03 Andreas Jaeger <aj@suse.de>
31659 * sysdeps/i386/fpu/libm-test-ulps: Update.
31662 * FAQ.in: Likewise.
31663 * scripts/gen-FAQ.pl: Likewise.
31664 * manual/install.texi (Installation): Point to online location of
31666 * Makefile (files-for-dist): Remove FAQ.
31669 2012-05-02 Allan McRae <allan@archlinux.org>
31671 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31672 (LDFLAGS-reldepmod5.so): Likewise.
31673 (LDFLAGS-reldep6mod1.so): Likewise.
31674 (LDFLAGS-reldep6mod4.so): Likewise.
31675 (LDFLAGS-reldep8mod3.so): Likewise.
31676 (LDFLAGS-unload4mod1.so): Likewise.
31677 (LDFLAGS-unload4mod2.so): Likewise.
31678 (LDFLAGS-tst-initorder): Likewise.
31679 (LDFLAGS-tst-initordera2.so): Likewise.
31680 (LDFLAGS-tst-initordera3.so): Likewise.
31681 (LDFLAGS-tst-initordera4.so): Likewise.
31682 (LDFLAGS-tst-initorderb2.so): Likewise.
31683 (LDFLAGS-noload): Likewise.
31684 (LDFLAGS-next): Likewise.
31685 (LDFLAGS-order2mod1.so): Likewise.
31686 (LDFLAGS-order2mod2.so): Likewise.
31687 (LDFLAGS-tst-initorder2): Likewise.
31688 (LDFLAGS-tst-initorder2a.so): Likewise.
31689 (LDFLAGS-tst-initorder2b.so): Likewise.
31690 (LDFLAGS-tst-initorder2c.so): Likewise.
31691 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31693 2012-05-02 David S. Miller <davem@davemloft.net>
31695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31697 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31700 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31702 2012-05-02 Andreas Jaeger <aj@suse.de>
31704 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31705 since we manipulate rounding mode.
31706 (CPPFLAGS-test-idouble.c): Likewise.
31707 (CPPFLAGS-test-ifloat.c): Likewise.
31708 (CFLAGS-test-ldouble.c): Likewise.
31709 (CFLAGS-test-double.c): Likewise.
31710 (CFLAGS-test-float.c): Likewise.
31711 (CFLAGS-test-misc.c): Likewise.
31712 (CFLAGS-test-test-fenv.c): Likewise.
31714 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31719 comparisons to determine direction to adjust input.
31721 2012-05-01 Roland McGrath <roland@hack.frob.com>
31723 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31724 output to the target.
31726 * scripts/localplt.awk: New file.
31727 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31728 (check-localplt-CFLAGS): Variable removed.
31729 ($(all-built-dso:=.jmprel)): New static pattern rule.
31730 (generated): Add those targets.
31731 (localplt-built-dso): New variable.
31732 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31734 * elf/check-localplt.c: File removed.
31736 * scripts/check-execstack.awk: New file.
31737 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31738 (check-execstack-CFLAGS): Variable removed.
31739 ($(objpfx)check-execstack.h): Target removed.
31740 ($(objpfx)execstack-default): New target.
31741 (generated): Add that instead of check-execstack.h.
31742 ($(all-built-dso:=.phdr)): New static pattern rule.
31743 (generated): Add those targets.
31744 * elf/check-execstack.c: File removed.
31746 * scripts/check-textrel.awk: New file.
31747 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31748 (check-textrel-CFLAGS): Variable removed.
31749 (all-built-dso): Use := to define.o
31750 ($(all-built-dso:=.dyn)): New static pattern rule.
31751 (generated): Add those targets.
31752 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31753 * config.make.in (READELF): New substituted variable.
31754 * elf/check-textrel.c: File removed.
31756 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31758 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31760 * conform/data/ctype.h-data [C99-based standards] (isblank):
31762 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31763 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31765 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31766 Specify type. Require positive value.
31767 (EILSEQ): Likewise.
31768 (ERANGE): Likewise.
31769 [ISO || POSIX] (EILSEQ): Do not expect.
31770 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31771 Specify type. Require positive value.
31772 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31780 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31781 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31782 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31784 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31786 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31787 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31788 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31789 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31790 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31791 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31792 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31793 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31794 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31795 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31796 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31797 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31798 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31799 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31800 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31801 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31802 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31804 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31805 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31806 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31807 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31808 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31809 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31810 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31811 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31812 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31813 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31814 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31815 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31816 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31817 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31818 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31819 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31821 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31822 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31828 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31829 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31830 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31831 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31832 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31833 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31846 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31847 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31848 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31850 (FLT_ROUNDS): Expect as macro, not constant.
31851 (FLT_MANT_DIG): Use macro-int-constant.
31852 (DBL_MANT_DIG): Likewise.
31853 (LDBL_MANT_DIG): Likewise.
31854 (FLT_DIG): Likewise.
31855 (DBL_DIG): Likewise.
31856 (LDBL_DIG): Likewise.
31857 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31858 (DBL_MIN_EXP): Likewise.
31859 (LDBL_MIN_EXP): Likewise.
31860 (FLT_MAX_EXP): Use macro-int-constant.
31861 (DBL_MAX_EXP): Likewise.
31862 (LDBL_MAX_EXP): Likewise.
31863 (FLT_MAX_10_EXP): Likewise.
31864 (DBL_MAX_10_EXP): Likewise.
31865 (LDBL_MAX_10_EXP): Likewise.
31866 (FLT_MAX): Use macro-constant.
31867 (DBL_MAX): Likewise.
31868 (LDBL_MAX): Likewise.
31869 (FLT_EPSILON): Use macro-constant. Give upper bound.
31870 (DBL_EPSILON): Likewise.
31871 (LDBL_EPSILON): Likewise.
31872 (FLT_MIN): Likewise.
31873 (DBL_MIN): Likewise.
31874 (LDBL_MIN): Likewise.
31875 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31876 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31877 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31878 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31879 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31880 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31881 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31882 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31883 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31884 [ISO11] (FLT_TRUE_MIN): Likewise.
31885 [ISO11] (LDBL_TRUE_MIN): Likewise.
31886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31887 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31888 (SCHAR_MIN): Use macro-int-constant. Specify type.
31889 (SCHAR_MAX): Likewise.
31890 (UCHAR_MAX): Likewise.
31891 (CHAR_MIN): Likewise.
31892 (CHAR_MAX): Likewise.
31893 (MB_LEN_MAX): Use macro-int-constant.
31894 (SHRT_MIN): Use macro-int-constant. Specify type.
31895 (SHRT_MAX): Likewise.
31896 (USHRT_MAX): Likewise.
31897 (INT_MAX): Likewise.
31898 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31900 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31902 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31904 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31905 bound negative. Suffix upper bound with "L".
31906 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31908 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31910 [C99-based standards] (LLONG_MAX): Likewise.
31911 [C99-based standards] (ULLONG_MAX): Likewise.
31912 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31914 [ISO11] (max_align_t): Require type.
31915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31917 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31918 from $CFLAGS, without defining away __attribute__ calls.
31919 (checknamespace): Use $CFLAGS_namespace.
31921 * conform/conformtest.pl (@keywords): Only include C99 keywords
31922 for standards based on C99 or C11.
31924 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31926 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31929 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31930 usability of symbols in #if.
31932 * conform/conformtest.pl: If macro or constant types start
31933 "promoted:", expect the symbol to be of the following type
31934 promoted by the integer promotions.
31936 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31937 in one place. Also handle "macro-constant".
31939 * conform/conformtest.pl: Only accept expected macro values with
31940 "==". Parse all "macro" lines in one place.
31941 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31943 * conform/conformtest.pl: Handle braced types on "constant" lines
31944 instead of handling "typed-constant".
31945 * conform/data/signal.h-data: Use "constant" instead of
31948 * conform/conformtest.pl: Handle "optional-" at start of lines in
31949 one place rather than duplicating several cases. Handle each
31950 format of "macro" line with initial "optional-".
31952 * conform/conformtest.pl: Only accept expected constant or
31953 optional-constant values with "==". Parse all "constant" lines in
31954 one place. Parse all "optional-constant" lines in one place.
31955 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31956 * conform/data/fmtmsg.h-data: Likewise.
31957 * conform/data/netinet/in.h-data: Likewise.
31958 * conform/data/tar.h-data: Likewise.
31959 * conform/data/limits.h-data: Use "==" form on "constant" and
31960 "optional-constant" lines.
31962 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31963 Use -std=c99 for XOPEN2K.
31964 (@knownproblems): Remove.
31965 (newtoken): Don't check %isknown.
31967 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31968 Do not expect macro.
31969 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31981 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31982 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31985 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31999 [XPG3] (acosh): Likewise.
32000 [XPG3] (asinh): Likewise.
32001 [XPG3] (atanh): Likewise.
32002 [XPG3] (cbrt): Likewise.
32003 [XPG3] (expm1): Likewise.
32004 [XPG3] (ilogb): Likewise.
32005 [XPG3] (log1p): Likewise.
32006 [XPG3] (logb): Likewise.
32007 [XPG3] (nextafter): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32010 [XPG3] (remainder): Likewise.
32011 [XPG3] (rint): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32019 [UNIX98 || XOPEN2K] (scalb): Expect.
32020 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32021 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32158 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32159 _XOPEN_SOURCE_EXTENDED for XPG4.
32161 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32163 * Makeconfig (localtime): Remove variable.
32164 (inst_localtime-file): Likewise.
32166 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32187 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32191 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32192 comparisons to determine direction to adjust input.
32193 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32194 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32204 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32206 * math/libm-test.inc (nexttoward_test): Add more tests.
32208 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32212 in version GLIBC_2.1, not GLIBC_2.0.
32213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32216 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32219 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32221 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32222 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32223 * math/libm-test.inc (acos_test): Add more tests.
32224 (asin_test): Likewise.
32225 * sysdeps/i386/fpu/libm-test-ulps: Update.
32226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32229 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32231 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32232 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32233 * math/libm-test.inc (acos_test_tonearest): New function.
32234 (acos_test_towardzero): Likewise.
32235 (acos_test_downward): Likewise.
32236 (acos_test_upward): Likewise.
32237 (asin_test_tonearest): Likewise.
32238 (asin_test_towardzero): Likewise.
32239 (asin_test_downward): Likewise.
32240 (asin_test_upward): Likewise.
32241 (main): Call the new functions.
32242 * sysdeps/i386/fpu/libm-test-ulps: Update.
32243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32247 * math/e_exp10.c: Include <float.h>.
32248 (__ieee754_exp10): Handle underflow here rather than multiplying
32249 large negative argument by M_LN10.
32250 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32252 * math/e_exp10l.c: Include <float.h>.
32253 (__ieee754_exp10l): Handle underflow here rather than multiplying
32254 large negative argument by M_LN10l.
32255 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32256 spurious overflow exception on underflow.
32258 2012-04-29 Marek Polacek <polacek@redhat.com>
32260 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32261 (__fortify_function): New macro.
32262 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32263 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32264 __extern_always_inline.
32265 * libio/bits/stdio2.h: Likewise.
32266 * libio/bits/stdio.h: Likewise.
32267 * string/string.h: Likewise.
32268 * string/bits/string3.h: Likewise.
32269 * include/stdio.h: Likewise.
32270 * stdlib/bits/stdlib.h: Likewise.
32271 * stdlib/stdlib.h: Likewise.
32272 * rt/bits/mqueue2.h: Likewise.
32273 * rt/mqueue.h: Likewise.
32274 * posix/bits/unistd.h: Likewise.
32275 * posix/unistd.h: Likewise.
32276 * io/bits/poll2.h: Likewise.
32277 * io/bits/fcntl2.h: Likewise.
32278 * io/fcntl.h: Likewise.
32279 * io/sys/poll.h: Likewise.
32280 * misc/bits/syslog.h: Likewise.
32281 * misc/bits/syslog-ldbl.h: Likewise.
32282 * misc/sys/syslog.h: Likewise.
32283 * socket/bits/socket2.h: Likewise.
32284 * socket/sys/socket.h: Likewise.
32285 * debug/tst-chk1.c: Likewise.
32286 * wcsmbs/bits/wchar2.h: Likewise.
32287 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32288 * wcsmbs/wchar.h: Likewise.
32290 2012-04-29 Andreas Jaeger <aj@suse.de>
32292 * Makerules (tests): Remove enable-check-abi protection.
32293 (check-abi-warn): Remove.
32294 (check-abi-%): Remove check-abi-warn usage.
32296 * configure.in: Remove check-abi configure option.
32297 * configure: Regenerated.
32298 * config.make.in (enable-check-abi): Remove.
32300 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32303 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32304 double functions to double *_finite functions.
32307 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32308 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32310 * stdio-common/Makefile (tests): Add tst-sprintf3.
32311 * stdio-common/tst-sprintf3.c: New file.
32313 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32314 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32316 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32318 * conform/conformtest.pl: Remove duplicate typed-constant
32321 2012-04-28 David S. Miller <davem@davemloft.net>
32323 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32324 (check-abi-%): Remove AWK script prerequisite and explicit
32326 (check-abi): Rewrite to just diff the symlist with the abilist.
32327 (config-tls, config-abi-config): Delete, no longer used.
32328 (update-abi-%): Remove AWK script and explicit abilist directory.
32329 (update-abi): Rewrite to simply compare and conditionally copy the
32330 symlist and the sysdep abilist file. Remove update-abi-config
32332 * abilist/ld.abilist: Remove.
32333 * abilist/libBrokenLocale.abilist: Remove.
32334 * abilist/libanl.abilist: Remove.
32335 * abilist/libcrypt.abilist: Remove.
32336 * abilist/libdl.abilist: Remove.
32337 * abilist/librt.abilist: Remove.
32338 * abilist/libthread_db.abilist: Remove.
32339 * abilist/libutil.abilist: Remove.
32340 * scripts/extract-abilist.awk: Remove.
32341 * scripts/merge-abilist.awk: Remove.
32342 * sysdeps/generic/libcidn.abilist: New file.
32343 * sysdeps/generic/libnss_compat.abilist: New file.
32344 * sysdeps/generic/libnss_db.abilist: New file.
32345 * sysdeps/generic/libnss_dns.abilist: New file.
32346 * sysdeps/generic/libnss_files.abilist: New file.
32347 * sysdeps/generic/libnss_hesiod.abilist: New file.
32348 * sysdeps/generic/libnss_nis.abilist: New file.
32349 * sysdeps/generic/libnss_nisplus.abilist: New file.
32350 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32351 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32352 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32355 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32356 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32357 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32358 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32359 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32360 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32361 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32362 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32364 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32365 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32366 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32367 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32369 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32370 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32371 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32372 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32373 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32374 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32376 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32377 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32378 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32380 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32483 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32484 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32485 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32488 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32489 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32490 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32491 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32492 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32493 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32494 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32495 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32496 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32548 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32550 * conform/conformtest.pl: Fix typo in handling typed-constant from
32553 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32555 * README: Cut down references to pre-2.6 Linux kernels and
32556 Linuxthreads. Update lists of configurations in libc and ports
32557 and sort alphabetically. Say "or newer" with Linux kernel version
32560 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32562 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32565 * math/libm-test.inc (logb_test_downward): New test to expose
32566 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32569 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32572 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32574 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32575 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32577 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32579 * sysdeps/unix/i386/brk.S: Remove file.
32580 * sysdeps/unix/i386/dl-brk.S: Likewise.
32581 * sysdeps/unix/i386/pipe.S: Likewise.
32582 * sysdeps/unix/i386/sigreturn.S: Likewise.
32583 * sysdeps/unix/i386/syscall.S: Likewise.
32584 * sysdeps/unix/i386/vfork.S: Likewise.
32585 * sysdeps/unix/i386/wait.S: Likewise.
32587 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32588 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32590 * configure.in (arm*-none*): Do not allow without
32591 --enable-hacker-mode.
32592 (netbsd*): Remove case setting base_os.
32593 (386bsd*): Likewise.
32594 (freebsd*): Likewise.
32597 (sunos*): Likewise.
32598 (ultrix*): Likewise.
32599 (newsos*): Likewise.
32600 (dynix*): Likewise.
32606 (minix*): Likewise.
32607 (irix4*): Likewise.
32608 (irix6*): Likewise.
32609 (solaris[2-9]*): Likewise.
32611 * configure: Regenerated.
32613 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32616 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32617 overflow or cancellation in calculating denominator.
32618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32620 down expression to avoid unexpected rounding in newer GCCs.
32621 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32623 2012-04-26 David S. Miller <davem@davemloft.net>
32625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32626 long-double compat symbols.
32627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32641 2012-04-25 David S. Miller <davem@davemloft.net>
32643 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32644 HWCAP_* values only after the memory barriers have been defined.
32645 (atomic_full_barrier): Define.
32646 (atomic_read_barrier): Define.
32647 (atomic_write_barrier): Define.
32649 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32651 * shlib-versions: Add libgcc_s version information.
32652 * sysdeps/generic/libgcc_s.h: Remove.
32653 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32655 * sysdeps/gnu/unwind-resume.c: Likewise.
32656 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32658 2012-04-25 David S. Miller <davem@davemloft.net>
32660 * sysdeps/unix/sparc/brk.S: Delete.
32661 * sysdeps/unix/sparc/dl-brk.S: Delete.
32662 * sysdeps/unix/sparc/pipe.S: Delete.
32663 * sysdeps/unix/sparc/sysdep.S: Delete.
32664 * sysdeps/unix/sparc/sysdep.h: Delete.
32665 * sysdeps/unix/sparc/vfork.S: Delete.
32666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32667 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32669 (ret_ERRVAL, r0, r1, MOVE): Define.
32670 (JUMPTARGET): Remove.
32671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32672 sysdeps/unix/sparc/sysdep.h
32673 (ENTRY, END): Remove.
32674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32676 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32678 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32679 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32682 * timezone/README: Update upstream location and email address for
32684 * timezone/zdump.c: Update from tzcode 2012b.
32685 * timezone/zic.c: Likewise.
32687 * configure.in (libc_cv_as_needed): Remove test.
32688 * configure: Regenerated.
32689 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32690 conditional definition.
32691 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32692 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32693 * config.make.in (have-as-needed): Remove variable.
32695 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32696 Paul Pluzhnikov <ppluzhnikov@google.com>
32698 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32701 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32703 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32704 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32705 * sysdeps/sh/strlen.S: Likewise.
32707 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32709 * sysdeps/unix/fork.S: Remove file.
32710 * sysdeps/unix/i386/fork.S: Likewise.
32711 * sysdeps/unix/sparc/fork.S: Likewise.
32713 * sysdeps/unix/system.c: Remove file.
32714 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32716 * sysdeps/unix/getegid.S: Remove file.
32717 * sysdeps/unix/geteuid.S: Likewise.
32719 2012-04-24 Roland McGrath <roland@hack.frob.com>
32721 * scripts/check-localplt.awk: New file.
32722 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32724 * scripts/data/localplt-generic.data: Add a comment.
32726 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32727 NODE when __dir_mkfile failed.
32728 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32729 Reported by Ludovic Courtès <ludo@gnu.org>.
32731 2012-04-24 Andreas Jaeger <aj@suse.de>
32733 * Makerules (common-clean): Also remove gen-as-const-headers
32736 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32738 * Makerules (native-compile): Do not change working directory for
32739 build. Use $(OUTPUT_OPTION) in command.
32740 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32742 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32745 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32746 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32747 * math/libm-test.inc (floor_test): Add more tests.
32748 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32750 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32752 * sysdeps/unix/getdents.c: Remove file.
32753 * sysdeps/unix/sysv/getdents.c: Likewise.
32754 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32756 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32757 sysdeps/unix/mman/syscalls.list.
32759 (mprotect): Likewise.
32761 (munmap): Likewise.
32762 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32763 * sysdeps/unix/mman/syscalls.list: Remove.
32764 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32766 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32767 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32768 * configure: Regenerated.
32769 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32770 $(libgcc_s_suffix).
32771 * config.make.in (libgcc_s_suffix): Remove variable.
32773 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32775 * sysdeps/unix/sysv/gethostname.c: Move to ...
32776 * sysdeps/posix/gethostname.c: ... here.
32778 * sysdeps/unix/execve.S: Remove file.
32780 * sysdeps/unix/_exit.S: Remove file.
32782 2012-04-23 Andreas Jaeger <aj@suse.de>
32785 * manual/Makefile: Remove make dist support, there's no
32786 need for a stand-alone documentation tar ball.
32787 (TEXI2DVI): Define always, it's not in Makeconfig.
32790 (edition): Removed.
32791 (glibc-doc-$(edition).tar): Removed
32795 (ETAGS): Remove, it's in Makeconfig.
32796 (move-if-change): Remove, it's in Makeconfig.
32798 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32801 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32802 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32803 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32804 (strtod_l, strtof_l, strtold_l): Remove __wur.
32805 It is not necessarily an error to ignore strtol's return value.
32806 One can reliably look at the stored endptr to decide whether
32807 the number had valid syntax.
32809 2012-04-21 Andreas Jaeger <aj@suse.de>
32812 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32814 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32816 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32817 * sysdeps/unix/sysv/Versions: Remove file.
32819 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32824 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32828 version from __vm86.
32830 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32832 * sysdeps/unix/common/lxstat.c: Remove file.
32833 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32835 * sysdeps/unix/sysv/Makefile: Remove file.
32837 * sysdeps/unix/sysv/direct.h: Remove file.
32839 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32840 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32841 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32842 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32843 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32844 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32845 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32847 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32849 * sysdeps/unix/xmknod.c: Remove file.
32850 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32852 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32854 * sysdeps/unix/sysv/i386/time.S: Remove file.
32856 * sysdeps/unix/fxstat.c: Remove file.
32857 * sysdeps/unix/xstat.c: Likewise.
32858 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32860 * sysdeps/unix/sysv/sigaction.c: Remove file.
32862 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32863 (sysdep_headers): Remove variable.
32864 [termio.h not in sysdep_headers] (generated): Likewise.
32865 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32866 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32867 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32868 * sysdeps/unix/sysv/tcflow.c: Likewise.
32869 * sysdeps/unix/sysv/tcflush.c: Likewise.
32870 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32871 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32872 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32873 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32874 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32876 * sysdeps/unix/siglist.c: Remove file.
32878 * sysdeps/unix/getppid.S: Remove file.
32880 * sysdeps/unix/mkdir.c: Remove file.
32881 * sysdeps/unix/rmdir.c: Likewise.
32883 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32885 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32888 errlist-compat value.
32890 2012-04-18 David S. Miller <davem@davemloft.net>
32892 * sysdeps/generic/memcopy.h (reg_char): Delete.
32893 * debug/strcat_chk.c: Use char, not reg_char.
32894 * debug/strcpy_chk.c: Likewise.
32895 * debug/strncat_chk.c: Likewise.
32896 * debug/strncpy_chk.c: Likewise.
32897 * string/memchr.c: Likewise.
32898 * string/memrchr.c: Likewise.
32899 * string/rawmemchr.c: Likewise.
32900 * string/strcat.c: Likewise.
32901 * string/strchr.c: Likewise.
32902 * string/strchrnul.c: Likewise.
32903 * string/strcmp.c: Likewise.
32904 * string/strcpy.c: Likewise.
32905 * string/strncat.c: Likewise.
32906 * string/strncmp.c: Likewise.
32907 * string/strncpy.c: Likewise.
32909 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32911 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32912 __builtin_memcopy is called when src and dest ranges are known to not
32915 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32918 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32919 fwd_align_merge macro call.
32920 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32921 bwd_align_merge macro call.
32922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32924 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32926 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32927 bwd_align_merge macros.
32928 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32929 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32930 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32932 2012-04-18 David S. Miller <davem@davemloft.net>
32934 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32936 2012-04-18 Andreas Jaeger <aj@suse.de>
32939 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32940 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32944 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32945 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32947 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32948 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32949 Adjust for changed ldbl-128 files.
32951 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32952 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32953 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32955 2012-04-17 David S. Miller <davem@davemloft.net>
32957 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32959 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32961 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32962 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32963 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32964 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32965 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32966 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32968 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32971 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32972 * math/libm-test.inc: Add ilogb errno and exception tests.
32973 * math/w_ilogb.c: New file: ilogb wrapper.
32974 * math/w_ilogbf.c: New file: ilogbf wrapper.
32975 * math/w_ilogbl.c: New file: ilogbl wrapper.
32976 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32977 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32978 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32979 exception being thrown with 0.0 as argument.
32980 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32981 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32982 exception being thrown with 0.0 as argument.
32983 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32984 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32985 exception being thrown with 0.0 as argument.
32986 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32987 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32988 exception being thrown with 0.0 as argument.
32989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32990 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32991 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32992 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32993 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32994 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32995 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32996 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32997 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32999 2012-04-17 Petr Baudis <pasky@ucw.cz>
33001 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33004 2012-04-16 Marek Polacek <polacek@redhat.com>
33006 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33008 2012-04-16 Marek Polacek <polacek@redhat.com>
33010 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33011 operands of fdivp instruction.
33013 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33015 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33016 * elf/tst-auditmod3b.c: Likewise.
33017 * elf/tst-auditmod4b.c: Likewise.
33018 * elf/tst-auditmod5b.c: Likewise.
33019 * elf/tst-auditmod6b.c: Likewise.
33020 * elf/tst-auditmod6c.c: Likewise.
33021 * elf/tst-auditmod7b.c: Likewise.
33022 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33023 * sysdeps/x86_64/preconfigure.in: Likewise.
33024 * sysdeps/x86_64/preconfigure: Regenerated.
33026 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33028 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33031 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33034 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33036 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33039 * locale/iso-639.def: Fix gl language name. Spotted by
33042 2012-04-12 Roland McGrath <roland@hack.frob.com>
33045 * libio/libio.h (__io_write_fn): Update comment.
33047 2012-04-12 Petr Baudis <pasky@ucw.cz>
33050 * stdio.texi (Hook Functions): The user provided writer function
33051 is not allowed to return -1.
33053 2012-04-11 David S. Miller <davem@davemloft.net>
33055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33057 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33059 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33060 Add a leading slash to rtkaio.
33062 2012-04-11 Jim Meyering <meyering@redhat.com>
33065 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33066 It is not necessarily an error to ignore fwrite's return
33067 value. One can reliably use ferror to test for errors after
33070 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33072 * bits/types.h (__snseconds_t): New type.
33073 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33075 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33077 (__SNSECONDS_T_TYPE): Likewise.
33078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33079 (__SNSECONDS_T_TYPE): Likewise.
33080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33081 (__SNSECONDS_T_TYPE): Likewise.
33083 2012-04-10 Andreas Jaeger <aj@suse.de>
33086 * manual/time.texi (Processor Time): Return type of times is
33087 elapsed real time since an arbitrary point in the past.
33088 (CPU Time): Move CLK_TCK from here...
33089 (Processor Time): ...to here. Correct description.
33090 * manual/conf.texi (Constants for Sysconf): Correct description of
33093 2012-04-10 David S. Miller <davem@davemloft.net>
33096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33097 where the is a gap between DT_REL(A) and DT_JMPREL.
33099 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33101 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33102 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33103 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33105 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33107 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33108 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33109 (dl_main): Handle --inhibit-cache.
33110 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33112 * elf/dl-load.c (_dl_map_object): Use it.
33113 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33115 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33118 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33119 (__ieee754_powl): Saturate large exponents rather than testing for
33120 overflow of y*log2(x).
33121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33122 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33126 * math/s_ctan.c: Include <float.h>.
33127 (__ctan): Avoid internal overflow or cancellation in calculating
33129 * math/s_ctanf.c: Likewise.
33130 * math/s_ctanl.c: Likewise.
33131 * math/s_ctanh.c: Likewise.
33132 * math/s_ctanhf.c: Likewise.
33133 * math/s_ctanhl.c: Likewise.
33134 * math/libm-test.inc (ctan_test): Add more tests.
33135 (ctanh_test): Likewise.
33136 * sysdeps/i386/fpu/libm-test-ulps: Update.
33137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33139 2012-04-09 Andreas Jaeger <aj@suse.de>
33142 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33143 is an optional BSD extension.
33146 * manual/stdio.texi (Opening Streams): Document additional fopen
33149 2012-04-09 Roland McGrath <roland@hack.frob.com>
33151 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33152 %eax without telling the compiler.
33154 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33157 * manual/install.texi: Use sourceware.org.
33159 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33162 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33163 (__ieee754_pow): Generate overflow and underflow using huge*huge
33164 and tiny*tiny rather than just returning constant infinity or zero
33165 for large exponents.
33166 * math/libm-test.inc (pow_test): Require overflow exceptions for
33167 applicable cases of large exponents.
33170 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33171 (__ieee754_pow): Use iterative multiplication algorithm only for
33172 integer exponents with absolute value below 1024. Check for odd
33173 integer exponents when using algorithm for real exponents.
33174 * math/libm-test.inc (pow_test): Add more tests.
33175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33177 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33180 * math/libm-test.inc (exp_test): Do not allow overflow exception
33183 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33186 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33187 instead of __kernel_standard_f.
33189 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33191 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33192 * sysdeps/x86_64/memset_chk.S: Likewise.
33194 2012-04-08 Andreas Jaeger <aj@suse.de>
33197 * manual/startup.texi (Environment Access): Describe return value
33198 for putenv and setenv.
33201 * manual/filesys.texi (Directory Entries): Add description for
33205 * manual/filesys.texi (Directory Entries): Clarify that it's file
33206 system not operating system in the description of DT_UNKNOWN.
33209 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33211 2012-04-08 Stephen Compall <s11@member.fsf.org>
33214 * manual/llio.texi (Opening and Closing Files): Add cross
33215 reference to explain mode argument.
33217 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33219 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33220 * sysdeps/x86_64/memset_chk.S: Likewise.
33222 2012-04-07 David S. Miller <davem@davemloft.net>
33224 * elf/elf.h (R_SPARC_WDISP10): Define.
33225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33228 R_SPARC_SIZE64 and R_SPARC_H34.
33230 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33233 conditions and remove no longer applicable assertion.
33235 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33237 * bits/byteswap.h: Include <features.h>.
33238 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33239 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33241 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33243 * bits/byteswap.h (__bswap_16): Removed.
33244 Include <bits/byteswap-16.h> to get __bswap_16.
33245 * sysdeps/i386/bits/byteswap.h: Likewise.
33246 * sysdeps/s390/bits/byteswap.h: Likewise.
33247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33248 * bits/byteswap-16.h: New file.
33249 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33250 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33251 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33252 * string/Makefile (headers): Add bits/byteswap-16.h.
33254 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33257 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33259 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33260 * nss/tst-nss-static.c: New.
33262 2012-04-06 Robert Millan <rmh@gnu.org>
33265 * manual/llio.texi (File Position Primitive): lseek
33266 refers to WHENCE when it really means OFFSET.
33268 2012-04-06 Andreas Jaeger <aj@suse.de>
33270 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33271 strncmp declarations.
33273 * abilist/libc.abilist: Add __poll and __ppoll.
33275 2012-04-05 David S. Miller <davem@davemloft.net>
33277 * scripts/check-local-headers.sh: Accept a host triplet in the
33278 path matched by the exclude regexp.
33280 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33282 * sysdeps/powerpc/powerpc32/dl-machine.h
33283 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33284 * sysdeps/s390/s390-32/dl-machine.h
33285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33286 * sysdeps/sparc/sparc32/dl-machine.h
33287 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33288 * sysdeps/sparc/sparc64/dl-machine.h
33289 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33291 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33293 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33294 undefined symbol errors.
33296 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33299 2012-04-05 Michael Matz <matz@suse.de>
33302 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33304 2012-04-05 Andreas Jaeger <aj@suse.de>
33307 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33310 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33313 which ROUND is no valid rounding mode.
33315 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33317 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33319 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33321 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33323 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33324 an exception using FPU order intentionally.
33326 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33328 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33329 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33330 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33331 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33333 2012-04-05 Simon Josefsson <simon@josefsson.org>
33336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33337 EINVAL when BUFLEN is too smal.
33339 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33342 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33343 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33345 2012-04-03 Andreas Jaeger <aj@suse.de>
33348 * manual/setjmp.texi (System V contexts): Fix sentence.
33351 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33352 New macro for this case.
33353 [!__GNUC__] (__bswap_64): New inline function for this case.
33354 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33355 * bits/byteswap.h: Likewise.
33356 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33357 ull, guard with __GLIBC_HAVE_LONG_LONG.
33359 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33360 __GLIBC_HAVE_LONG_LONG.
33362 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33363 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33365 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33368 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33369 inptr and inend, rather than using last_ch.
33371 2012-04-02 David S. Miller <davem@davemloft.net>
33373 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33374 * stdio-common/printf-parse.h (read_int): Change return type to
33375 'int', return -1 on INT_MAX overflow.
33376 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33377 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33378 overflows INT_MAX. Check for overflow of in-format-string precision
33379 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33380 SIZE_MAX not INT_MAX for integer overflow test.
33381 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33382 skip the construct in the format string but do not record anything.
33383 * stdio-common/bug22.c: Adjust to test both width/prevision
33384 INT_MAX overflow as well as total length INT_MAX overflow. Check
33385 explicitly for proper errno values.
33387 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33389 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33391 * string/test-strcmp.c [! WIDE]: Likewise.
33392 * time/tst-mktime2.c: Likewise for INT_MAX.
33393 * string/test-string.h: #include <sys/param.h> for MIN.
33395 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33396 * sysdeps/i386/init-first.c (init): Likewise.
33397 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33398 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33399 * sysdeps/sh/init-first.c (init): Likewise.
33401 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33403 * po/ru.po: Update from translation team.
33404 * po/vi.po: Likewise.
33406 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33408 * resolv/nss_dns/dns-host.c: Merge copyright years.
33410 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33413 Optimize memcpy with prefetch if
33414 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33415 src, dst pointers have unequal 16 byte alignments.
33417 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33420 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33421 from a CNAME entry and return the minimum ttl for the query.
33422 (gaih_getanswer_slice): Likewise.
33424 2012-03-30 Jeff Law <law@redhat.com>
33426 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33428 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33429 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33431 * resolv/nss_dns/dns-host.c: Update copyright year.
33433 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33435 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33436 requests to save a system call. Fix check that all bytes are sent.
33438 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33439 comments for sendmmsg.
33441 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33444 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33445 with only 1 character between 0x0041 and 0x01b0.
33446 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33447 * wcsmbs/tst-mbsnrtowcs.c: New file.
33449 2012-03-29 David S. Miller <davem@davemloft.net>
33451 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33452 small copies by hand.
33454 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33457 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33458 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33461 2012-03-28 David S. Miller <davem@davemloft.net>
33463 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33464 that branches into memcpy.
33465 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33468 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33471 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33472 implementation too.
33473 * sysdeps/sparc/mempcpy.S: New file.
33475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33476 the IFUNC routine in the libc case.
33477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33479 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33480 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33481 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33482 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33483 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33484 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33485 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33486 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33488 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33489 loop to 256 bytes instead of 64 bytes and fix test signedness.
33491 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33492 * sysdeps/sparc/sparc32/Makefile: rather than here...
33493 * sysdeps/sparc/sparc64/Makefile: and here.
33495 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33497 * malloc/mallocbug.c: Avoid warnings about unused variables.
33499 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33502 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33503 in the right place. Discard and retry query if response is
33504 larger than input buffer size.
33506 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33512 x for large integer exponent.
33513 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33514 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33515 sign of result as needed afterwards.
33516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33517 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33518 result for underflowing pow the same as for overflow.
33519 (__kernel_standard_l): Handle powl overflow and underflow here
33520 rather than calling __kernel_standard.
33521 * math/libm-test.inc (pow_test): Add more tests.
33536 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33537 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33538 (__kernel_standard_l): New function.
33539 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33541 * math/w_acosl.c (__acosl): Likewise.
33542 * math/w_asinl.c (__asinl): Likewise.
33543 * math/w_atan2l.c (__atan2l): Likewise.
33544 * math/w_atanhl.c (__atanhl): Likewise.
33545 * math/w_coshl.c (__coshl): Likewise.
33546 * math/w_exp10l.c (__exp10l): Likewise.
33547 * math/w_exp2l.c (__exp2l): Likewise.
33548 * math/w_fmodl.c (__fmodl): Likewise.
33549 * math/w_hypotl.c (__hypotl): Likewise.
33550 * math/w_j0l.c (__j0l, __y0l): Likewise.
33551 * math/w_j1l.c (__j1l, __y1l): Likewise.
33552 * math/w_jnl.c (__jnl, __ynl): Likewise.
33553 * math/w_lgammal.c (__lgammal): Likewise.
33554 * math/w_log10l.c (__log10l): Likewise.
33555 * math/w_log2l.c (__log2l): Likewise.
33556 * math/w_logl.c (__logl): Likewise.
33557 * math/w_powl.c (__powl): Likewise.
33558 * math/w_remainderl.c (__remainderl): Likewise.
33559 * math/w_scalbl.c (sysv_scalbl): Likewise.
33560 * math/w_sinhl.c (__sinhl): Likewise.
33561 * math/w_sqrtl.c (__sqrtl): Likewise.
33562 * math/w_tgammal.c (__tgammal): Likewise.
33563 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33564 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33565 * math/libm-test.inc (acos_test): Add more tests.
33566 (acosh_test): Likewise.
33567 (asin_test): Likewise.
33568 (atanh_test): Likewise.
33569 (exp_test): Likewise.
33570 (exp10_test): Likewise.
33571 (exp2_test): Likewise.
33572 (expm1_test): Likewise.
33573 (lgamma_test): Likewise.
33574 (log_test): Likewise.
33575 (log10_test): Likewise.
33576 (log1p_test): Likewise.
33577 (log2_test): Likewise.
33578 (pow_test): Do not allow some spurious overflow exceptions.
33579 (sqrt_test): Add more tests.
33580 (tgamma_test): Likewise.
33581 (y0_test): Likewise.
33582 (y1_test): Likewise.
33583 (yn_test): Likewise.
33585 2012-03-27 Anton Blanchard <anton@samba.org>
33587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33593 2012-03-27 David S. Miller <davem@davemloft.net>
33595 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33597 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33598 have-as-vis3 check.
33600 2012-03-27 Andreas Jaeger <aj@suse.de>
33602 * sysdeps/x86_64/elf/configure.in: Moved to ...
33603 * sysdeps/x86_64/configure.in: ... here.
33604 * sysdeps/x86_64/elf/start.S: Moved to ...
33605 * sysdeps/x86_64/start.S: ... here.
33606 * sysdeps/x86_64/elf/configure: Delete.
33608 * sysdeps/x86_64/configure.in: Merge contents from
33609 sysdeps/i386/configure.in (without i686 check).
33611 * sysdeps/i386/elf/Versions: Merge into ...
33612 * sysdeps/i386/Versions: ... this.
33613 * sysdeps/i386/elf/Versions: Delete file.
33614 * sysdeps/i386/elf/start.S: Moved to ...
33615 * sysdeps/i386/start.S: ...here.
33616 * sysdeps/i386/elf/configure.in: Merge into...
33617 * sysdeps/i386/configure.in: ...here.
33618 * sysdeps/i386/elf/configure.in: Delete file.
33619 * sysdeps/i386/elf/configure: Delete file.
33621 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33622 * debug/backtracesyms.c: ... here.
33623 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33624 * debug/backtracesymsfd.c: ... here.
33625 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33626 * sysdeps/generic/ifunc-sel.h: ... here.
33628 * sysdeps/unix/i386/start.c: Delete file.
33629 * sysdeps/unix/sparc/start.c: Delete file.
33630 * sysdeps/unix/start.c: Delete file.
33632 * sysdeps/sh/elf/configure.in: Moved to ...
33633 * sysdeps/sh/configure.in: ... here.
33634 * sysdeps/sh/elf/start.S: Moved to ...
33635 * sysdeps/sh/start.S: ... here.
33636 * sysdeps/sh/elf/configure: Delete file.
33638 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33639 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33640 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33641 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33642 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33643 * sysdeps/powerpc/powerpc64/start.S: here.
33644 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33645 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33646 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33647 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33648 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33650 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33651 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33652 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33653 * sysdeps/powerpc/powerpc32/start.S: ... here.
33654 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33655 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33656 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33658 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33659 * sysdeps/powerpc/ifunc-sel.h: ... here.
33660 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33661 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33663 * sysdeps/sparc/elf/configure.in: Moved to ...
33664 * sysdeps/sparc/configure.in: ... here.
33665 * sysdeps/sparc/elf/configure: Delete file.
33666 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33667 * sysdeps/sparc/sparc32/start.S: ... here.
33668 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33669 * sysdeps/sparc/sparc64/start.S: ... here.
33670 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33671 * sysdeps/sparc/sparc32/Makefile: ... this.
33672 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33673 * sysdeps/sparc/sparc64/Makefile: ... this.
33675 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33676 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33677 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33678 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33679 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33680 * sysdeps/s390/s390-32/setjmp.S: ... here.
33681 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33682 * sysdeps/s390/s390-32/configure.in: ... here.
33683 * sysdeps/s390/s390-32/elf/configure: Delete file.
33684 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33685 * sysdeps/s390/s390-32/start.S: ... here.
33687 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33688 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33689 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33690 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33691 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33692 * sysdeps/s390/s390-64/setjmp.S: ... here.
33693 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33694 * sysdeps/s390/s390-64/configure.in: ... here
33695 * sysdeps/s390/s390-64/elf/configure: Delete file.
33696 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33697 * sysdeps/s390/s390-64/start.S: ... here.
33698 * sysdeps/s390/s390-64/elf/configure: Delete.
33700 * configure.in: Remove support for elf directories in sysdeps.
33702 * configure: Regenerated.
33703 * sysdeps/i386/configure: Regenerated.
33704 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33705 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33706 * sysdeps/s390/s390-32/configure: Regenerated.
33707 * sysdeps/s390/s390-64/configure: Regenerated.
33708 * sysdeps/sh/configure: Regenerated.
33709 * sysdeps/sparc/configure: Regenerated.
33710 * sysdeps/x86_64/configure: Regenerated.
33712 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33717 denormal result into account.
33719 2012-03-25 Roland McGrath <roland@hack.frob.com>
33721 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33722 Reported by Allan McRae <allan@archlinux.org>.
33724 2012-03-23 Jeff Law <law@redhat.com>
33726 * nss/getnssent.c (__nss_getent): Fix typo.
33728 2012-03-23 David S. Miller <davem@davemloft.net>
33730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33732 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33734 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33735 to pad to uint64_t for each field.
33736 (dl_tls_index): Replace unsigned long with uint64_t.
33738 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33739 Paul Pluzhnikov <ppluzhnikov@google.com>
33742 * grp/Makefile (otherlibs): Don't set it.
33743 * inet/Makefile (otherlibs): Likewise.
33744 * login/Makefile (otherlibs): Likewise.
33745 * nscd/Makefile (otherlibs): Likewise.
33746 * posix/Makefile (otherlibs): Likewise.
33747 * pwd/Makefile (otherlibs): Likewise.
33748 * rt/Makefile (otherlibs): Likewise.
33749 * sunrpc/Makefile (otherlibs): Likewise.
33750 * nss/Makefile (otherlibs): Likewise.
33751 Add libnss_files to routines and static-only-routines.
33752 ($(objpfx)getent): Remove rule.
33753 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33754 static-only-routines.
33756 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33759 * math/s_cexp.c: Include <float.h>.
33760 (__cexp): Handle exp result overflowing not necessarily
33761 overflowing both real and imaginary parts of result.
33762 * math/s_cexpf.c: Likewise.
33763 * math/s_cexpl.c: Likewise.
33764 * math/libm-test.inc (cexp_test): Add more tests.
33765 * sysdeps/i386/fpu/libm-test-ulps: Update.
33766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33768 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33770 * include/link.h (ELFW): New macro.
33771 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33772 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33774 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33776 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33779 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33781 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33783 (struct La_x32_retval): Likewise.
33785 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33787 * sysdeps/x86_64/preconfigure.in: New file.
33788 * sysdeps/x86_64/preconfigure: New generated file.
33790 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33793 * math/e_exp2l.c: Include <float.h>.
33794 (__ieee754_exp2l): Handle overflow and underflow cases
33795 separately. Only pass fractional part of argument to
33797 * math/libm-test.inc (exp2_test): Add more tests.
33799 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33800 negating x to take absolute value.
33801 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33803 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33804 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33806 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33807 computing low part if x was negated.
33808 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33810 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33812 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33813 la_x32_gnu_pltexit.
33814 (pltexit): Cast int_retval to ptrdiff_t.
33815 * elf/tst-auditmod3b.c: Likewise.
33816 * elf/tst-auditmod4b.c: Likewise.
33817 * elf/tst-auditmod5b.c: Likewise.
33818 * elf/tst-auditmod6b.c: Likewise.
33819 * elf/tst-auditmod6c.c: Likewise.
33820 * elf/tst-auditmod7b.c: Likewise.
33822 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33823 and x32_gnu_pltexit.
33825 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33826 __ELF_NATIVE_CLASS.
33827 (La_x32_regs): New macro.
33828 (La_x32_retval): Likewise.
33829 (la_x32_gnu_pltenter): New function prototype.
33830 (la_x32_gnu_pltexit): Likewise.
33832 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33839 * configure.in (libc_cv_cc_nofma): Check for option to disable
33840 generation of FMA instructions.
33841 * configure: Regenerate.
33842 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33843 * sysdeps/ieee754/dbl-64/Makefile: New file.
33844 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33845 Remove brandred-fma4.
33846 (CFLAGS-brandred-fma4.c): Remove.
33847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33853 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33855 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33856 LLONG_MAX != LONG_MAX.
33857 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33858 (_fitoa_word): Likewise.
33859 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33860 LLONG_MAX != LONG_MAX.
33861 * stdio-common/_itowa.h: Include <_itoa.h>.
33862 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33863 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33864 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33865 only if not defined.
33866 (_ITOA_WORD_TYPE): Likewise.
33867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33868 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33870 2012-03-21 David S. Miller <davem@davemloft.net>
33872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33874 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33876 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33877 of x86_64 when setting libc_cv_slibdir, libdir and
33879 * sysdeps/unix/sysv/linux/configure: Regenerated.
33881 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33883 * manual/lang.texi (Old Varargs): Remove section.
33884 (How Variadic): Update menu.
33885 (va_start): Do not mention varargs.h.
33887 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33888 Joseph Myers <joseph@codesourcery.com>
33890 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33892 * configure: Regenerated.
33894 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33896 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33897 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33900 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33903 * Makefile (files-for-dist): Remove NOTES.
33904 (NOTES): Remove rule.
33905 * README: Don't refer to NOTES.
33906 * manual/creature.texi: Don't include macros.texi.
33907 * manual/intro.texi (creature.texi): Remove comment referring to
33910 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33911 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33912 * configure: Regenerated.
33913 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33914 LIBC_TRY_CC_OPTION.
33915 (libc_cv_as_i686): Likewise.
33916 (libc_cv_cc_avx): Likewise.
33917 (libc_cv_cc_sse2avx): Likewise.
33918 (libc_cv_cc_fma4): Likewise.
33919 (libc_cv_cc_novzeroupper): Likewise.
33920 * sysdeps/i386/configure: Regenerated.
33923 * sysdeps/i386/fpu/s_cexp.S: Remove.
33924 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33925 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33926 * math/libm-test.inc (cexp_test): Add more tests.
33927 * sysdeps/i386/fpu/libm-test-ulps: Update.
33928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33930 2012-03-21 Allan McRae <allan@archlinux.org>
33932 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33934 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33937 * math/w_exp2.c: Do not include <float.h>.
33938 (o_threshold, u_threshold): Remove.
33939 (__exp2): Calculate result before checking finiteness and calling
33941 * math/w_exp2f.c: Likewise.
33942 * math/w_exp2l.c: Likewise.
33943 * math/libm-test.inc (exp2_test): Require overflow exception for
33947 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33948 range of signed 64-bit integers before using fistpll. Remove
33949 checks for whether integers fit in mantissa bits.
33950 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33951 the range of signed 32-bit integers before using fistpl. Remove
33952 checks for whether integers fit in mantissa bits.
33953 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33954 (__ieee754_powl): Test for y outside the range of signed 64-bit
33955 integers before using fistpll. Reduce 64-bit values to 63-bit
33957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33958 divide-by-zero is raised for zero to large negative powers.
33959 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33960 (__ieee754_powl): Test for y outside the range of signed 64-bit
33961 integers before using fistpll. Reduce 64-bit values to 63-bit
33963 * math/libm-test.inc (pow_test): Add more tests.
33965 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33967 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33968 <stdio-common/_itoa.h>.
33969 * debug/segfault.c: Likewise.
33970 * elf/dl-cache.c: Likewise.
33971 * elf/dl-minimal.c: Likewise.
33972 * elf/dl-misc.c: Likewise.
33973 * elf/dl-sysdep.c: Likewise.
33974 * elf/dl-version.c: Likewise.
33975 * elf/rtld.c: Likewise.
33976 * hurd/hurdsock.c: Likewise.
33977 * hurd/lookup-retry.c: Likewise.
33978 * malloc/malloc.c: Likewise.
33979 * malloc/mtrace.c: Likewise.
33980 * nscd/nscd_getgr_r.c: Likewise.
33981 * nscd/nscd_getpw_r.c: Likewise.
33982 * nscd/nscd_getserv_r.c: Likewise.
33983 * posix/getopt_init.c: Likewise.
33984 * posix/wordexp.c: Likewise.
33985 * stdio-common/_itoa.c: Likewise.
33986 * stdio-common/printf_fphex.c: Likewise.
33987 * stdio-common/vfprintf.c: Likewise.
33988 * string/_strerror.c: Likewise.
33989 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33990 * sysdeps/i386/i686/hp-timing.h: Likewise.
33991 * sysdeps/mach/_strerror.c: Likewise.
33992 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33993 * sysdeps/mach/hurd/sethostid.c: Likewise.
33994 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33995 * sysdeps/mach/xpg-strerror.c: Likewise.
33996 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33997 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33998 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33999 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34000 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34001 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34002 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34003 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34004 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34005 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34006 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34007 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34008 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34009 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34010 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34011 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34012 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34013 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34014 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34015 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34016 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34018 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34020 * stdio-common/_itoa.h: Moved to ...
34021 * sysdeps/generic/_itoa.h: Here.
34023 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34025 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34026 instead of "_itoa.h" and "_itowa.h".
34027 * stdio-common/vfprintf.: Likewise.
34029 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34031 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34033 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34034 (__signbit): Likwise.
34035 (llrintf): Likwise.
34038 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34040 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34043 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34045 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34046 OVERFLOW_EXCEPTION_OK.
34047 * math/libm-test.inc ("Philosophy"): Update comment about
34049 (OVERFLOW_EXCEPTION): Define.
34050 (OVERFLOW_EXCEPTION_OK): Likewise.
34051 (INVALID_EXCEPTION_OK): Renumber.
34052 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34053 (IGNORE_ZERO_INF_SIGN): Likewise.
34054 (test_exceptions): Handle FE_OVERFLOW.
34055 (exp10_test): Expect overflow exceptions.
34056 (exp2_test): Likewise.
34057 (expm1_test): Likewise.
34058 (nextafter_test): Likewise.
34059 (pow_test): Likewise.
34060 (scalbn_test): Likewise.
34061 (scalbln_test): Likewise.
34063 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34065 * sysdeps/x86_64/bits/atomic.h
34066 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34068 (atomic_exchange_acq): Likewise.
34069 (__arch_exchange_and_add_body): Likewise.
34070 (__arch_add_body): Likewise.
34071 (atomic_add_negative): Likewise.
34072 (atomic_add_zero): Likewise.
34074 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34076 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34077 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34079 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34081 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34082 Check __x86_64__ instead of __WORDSIZE.
34084 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34086 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34088 2012-03-19 David S. Miller <davem@davemloft.net>
34090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34092 * sysdeps/sparc/fpu/fenv_private.h: New file.
34093 * sysdeps/sparc/fpu/math_private.h: Use it.
34094 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34096 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34097 (libc_feholdexcept_setroundl): Remove.
34098 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34100 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34101 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34103 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34106 int64_t instead of long int.
34107 (INSERT_WORDS64): Likwise.
34109 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34112 _Unwind_GetCFA return to _Unwind_Ptr first.
34114 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34117 * math/s_clog.c: Include <float.h>.
34118 (__clog): Scale large or subnormal inputs.
34119 * math/s_clogf.c: Likewise.
34120 * math/s_clogl.c: Likewise.
34121 * math/s_clog10.c: Include <float.h>.
34122 (M_LOG10_2): Define.
34123 (__clog10): Scale large or subnormal inputs.
34124 * math/s_clog10f.c: Likewise.
34125 * math/s_clog10l.c: Likewise.
34126 * math/libm-test.inc (clog_test): Add more tests.
34127 (clog10_test): Likewise.
34128 * sysdeps/i386/fpu/libm-test-ulps: Update.
34129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34132 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34134 * math/libm-test.inc (atan2_test): Add another test.
34136 * Makerules (common-objdir-compile): Remove.
34137 * sysdeps/unix/Makefile (config-generated): Do not add
34138 $(unix-generated) to variable.
34139 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34140 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34142 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34144 [generic bits/local_lim.h] (before-compile): Do not append to
34146 [generic bits/local_lim.h] (common-generated): Likewise.
34147 [generic sys/param.h] (before-compile): Do not append to variable.
34148 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34149 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34150 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34151 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34153 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34154 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34155 [generic sys/param.h] ($(addprefix
34156 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34157 [generic sys/param.h] (common-generated): Do not append to
34159 [generic sys/param.h] (sysdep_headers): Likewise.
34160 [generic bits/errno.h] (before-compile): Do not append to
34162 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34164 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34165 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34166 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34167 [generic bits/errno.h] (common-generated): Do not append to
34169 [generic bits/ioctls.h] (before-compile): Do not append to
34171 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34173 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34174 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34175 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34177 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34178 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34179 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34180 [generic bits/ioctls.h] (common-generated): Do not append to
34182 [generic sys/syscall.h] (syscall.h): Remove variable.
34183 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34185 [generic sys/syscall.h] (before-compile): Do not append to
34187 [generic sys/syscall.h] (common-generated): Likewise.
34188 * sysdeps/unix/errnos-tmpl.c: Remove file.
34189 * sysdeps/unix/errnos.awk: Likewise.
34190 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34191 * sysdeps/unix/ioctls.awk: Likewise.
34192 * sysdeps/unix/mk-local_lim.c: Likewise.
34193 * sysdeps/unix/snarf-ioctls: Likewise.
34195 2012-03-19 Richard Henderson <rth@twiddle.net>
34197 * sysdeps/i386/fpu/fenv_private.h: New file.
34198 * sysdeps/i386/fpu/math_private.h: Use it.
34199 (math_opt_barrier, math_force_eval): Remove.
34200 (libc_feholdexcept_setround_53bit): Remove.
34201 (libc_feupdateenv_53bit): Remove.
34202 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34203 (math_opt_barrier, math_force_eval): Remove.
34204 (libc_feholdexcept): Remove.
34205 (libc_feholdexcept_setround): Remove.
34206 (libc_fetestexcept, libc_fesetenv): Remove.
34207 (libc_feupdateenv_test): Remove.
34208 (libc_feupdateenv, libc_feholdsetround): Remove.
34209 (libc_feresetround): Remove.
34211 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34212 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34214 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34215 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34216 (libc_feupdateenv_testl): New.
34217 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34218 (libc_feupdateenv_testf): New.
34219 (libc_feupdateenv): Use libc_feupdateenv_test.
34220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34223 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34224 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34225 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34226 (libc_feresetround_noex): New.
34227 (libc_feresetround_noexf): New.
34228 (libc_feresetround_noexl): New.
34229 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34230 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34231 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34232 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34237 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34238 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34239 SET_RESTORE_ROUND_NOEX.
34240 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34241 SET_RESTORE_ROUND_NOEXF.
34242 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34243 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34244 (libc_feholdsetroundf): New.
34245 (libc_feresetround, libc_feresetroundf): New.
34247 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34248 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34249 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34251 * sysdeps/generic/math_private.h: Include <fenv.h>.
34252 (default_libc_feholdexcept): New.
34253 (default_libc_feholdexcept_setround): New.
34254 (default_libc_fesetenv, default_libc_feupdateenv): New.
34255 (libc_feholdexcept): Only define if undefined.
34256 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34257 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34258 (libc_feholdexcept_setroundl): Likewise.
34259 (libc_feholdexcept_setround_53bit): Likewise.
34260 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34261 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34262 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34263 (libc_feupdateenv_53bit): Likewise.
34264 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34265 (libc_feholdexcept): Convert from macro to inline function.
34266 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34267 (libc_fesetenv, libc_feupdateenv): Likewise.
34269 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34270 not previously defined.
34271 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34272 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34273 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34275 * sysdeps/ieee754/flt-32/math_private.h: New file.
34276 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34277 math_private.h below SET_FLOAT_WORD.
34278 (__isnan, __isinf_ns, __finite): Remove.
34279 (__isnanf, __isinf_nsf, __finitef): Remove.
34281 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34285 2012-03-17 David S. Miller <davem@davemloft.net>
34288 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34291 2012-03-16 David S. Miller <davem@davemloft.net>
34293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34297 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34299 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34300 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34301 sysdep_routines when subdir is sysvipc.
34302 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34303 __getshmlba helper.
34305 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34309 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34312 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34314 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34315 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34316 (__lround): Renamed to ...
34317 (__llround): This. Replace long int with long long int.
34318 Define lround functions as aliases of llround functions.
34319 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34321 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34323 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34324 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34325 adresses to uintptr_t. Replace "long int" and "unsigned long
34326 int" with "greg_t" on va_arg.
34328 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34330 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34331 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34333 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34334 Move e_machine check before EI_CLASS check. Handle x32
34335 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34336 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34337 SKIP_EM_IA_64 and include
34338 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34340 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34341 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34342 (add_system_dir): New macro.
34344 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34345 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34347 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34358 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34360 * math/w_j0f.c (j0f): Likewise.
34362 * math/w_j0l.c (__j0l): Likewise.
34364 * math/w_j1.c (j1): Likewise.
34366 * math/w_j1f.c (j1f): Likewise.
34368 * math/w_j1l.c (__j1l): Likewise.
34370 * math/w_jn.c (jn): Likewise.
34372 * math/w_jnf.c (jnf): Likewise.
34374 * math/w_jnl.c (__jnl): Likewise.
34376 * math/libm-test.inc (j0_test): Add more tests.
34377 (j1_test): Likewise.
34378 (jn_test): Likewise. Add trailing semicolon to existing test.
34379 (y0_test): Likewise.
34380 (y1_test): Likewise.
34381 * sysdeps/i386/fpu/libm-test-ulps: Update.
34382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34387 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34388 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34390 (__tanl): Set errno for infinite argument.
34391 * sysdeps/i386/fpu/mptan.c: Remove.
34392 * sysdeps/i386/fpu/s_tan.S: Likewise.
34393 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34394 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34395 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34396 * math/libm-test.inc (tan_test): Add more tests and enable more
34397 tests for double and long double.
34398 * sysdeps/i386/fpu/libm-test-ulps: Update.
34399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34401 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34403 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34404 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34406 2012-03-16 Roland McGrath <roland@hack.frob.com>
34408 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34409 * configure.in: Use it for both main tree and add-ons.
34410 * configure: Regenerated.
34412 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34414 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34416 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34418 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34422 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34423 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34424 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34425 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34426 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34428 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34430 != 0 for prec == 2.
34431 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34432 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34433 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34434 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34435 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34436 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34437 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34438 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34439 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34440 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34441 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34442 * math/libm-test.inc (cos_test): Add more tests and enable more
34443 tests for long double.
34444 (sin_test): Likewise.
34445 (sincos_test): Likewise.
34446 * sysdeps/i386/fpu/libm-test-ulps: Update.
34447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34449 2012-03-16 David S. Miller <davem@davemloft.net>
34451 * sysdeps/sparc/fpu/math_private.h: New file.
34453 2012-03-15 David S. Miller <davem@davemloft.net>
34455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34469 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34470 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34472 * sysdeps/sparc/sparc-ifunc.h: New file.
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34518 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34520 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34524 2012-03-15 Andreas Jaeger <aj@suse.de>
34527 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34528 ieee754/flt-32 implementation for sin, cos and sincos.
34529 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34530 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34531 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34532 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34533 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34534 ieee754/flt-32 implementation for tan.
34536 * math/libm-test.inc (cos_test): Enable some large input tests for
34538 (sin_test): Likewise.
34539 (sincos_test): Likewise.
34540 (tan_test): Add tests for large input.
34542 * sysdeps/i386/fpu/libm-test-ulps: Update.
34544 2012-03-15 Andreas Jaeger <aj@suse.de>
34547 * math/libm-test.inc (cos_test): Add more test cases.
34548 (sin_test): Likewise.
34549 (sincos_test): Likewise.
34551 2012-03-15 Andreas Jaeger <aj@suse.de>
34554 * math/libm-test.inc (cos_test): Add a test case for large input
34556 (sin_test): Likewise.
34557 (sincos_test): Likewise.
34559 2012-03-15 Andreas Jaeger <aj@suse.de>
34560 Joseph Myers <joseph@codesourcery.com>
34563 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34564 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34565 * sysdeps/i386/fpu/branred.c: Likewise.
34566 * sysdeps/i386/fpu/dosincos.c: Likewise.
34567 * sysdeps/i386/fpu/mpa.c: Likewise.
34568 * sysdeps/i386/fpu/s_cos.S: Likewise.
34569 * sysdeps/i386/fpu/s_sin.S: Likewise.
34570 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34571 * sysdeps/i386/fpu/sincos32.c: Likewise.
34573 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34575 (libc_feupdateenv_53bit): Define.
34576 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34578 (libc_feupdateenv_53bit): Define.
34580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34581 53 bit (without extend i386 double precision).
34583 * math/libm-test.inc (sincos_test): Add tests for large input.
34587 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34589 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34593 2012-03-15 David S. Miller <davem@davemloft.net>
34595 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34596 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34597 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34598 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34623 fmin/fmax sysdep routines.
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34626 2012-03-14 David S. Miller <davem@davemloft.net>
34628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34700 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34705 * sysdeps/sparc/configure.in: New file.
34706 * sysdeps/sparc/configure: Generate.
34707 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34708 * configure: Regenerate.
34709 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34710 * config.make.in (have-as-vis3): New.
34711 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34712 available use -Av9d instead of -Av9a.
34713 * sysdeps/sparc/sparc64/Makefile: Likewise.
34714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34729 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34730 fzeros/fnegs to load 0x80000000 into a float register instead of
34732 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34734 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34738 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34739 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34740 ($(inst_includedir)/bits/syscall.h): Remove rule.
34741 ($(objpfx)bits/syscall.d): Include instead of
34742 $(objpfx)syscall-list.d.
34743 (generated): Change syscall-list.h and syscall-list.d to
34744 bits/syscall.h and bits/syscall.d.
34746 2012-03-14 Roland McGrath <roland@hack.frob.com>
34749 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34751 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34754 * math/s_csqrt.c: Include <float.h>.
34755 (__csqrt): Scale large or subnormal inputs.
34756 * math/s_csqrtf.c: Likewise.
34757 * math/s_csqrtl.c: Likewise.
34758 * math/libm-test.inc (csqrt_test): Add more tests.
34759 * sysdeps/i386/fpu/libm-test-ulps: Update.
34760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34763 * math/libm-test.inc (hypot_test): Add more tests.
34765 2012-03-13 David S. Miller <davem@davemloft.net>
34768 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34769 double-precision for the calculation instead of scaling.
34771 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34773 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34774 manipulate bits before adding and subtracting TWO52[sx].
34775 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34778 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34780 2012-03-13 David S. Miller <davem@davemloft.net>
34782 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34783 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34785 rtld-global-offsets.h
34786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34788 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34791 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34793 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34794 'err' in the ifdef scope in which it is actually used.
34796 * nss/nss_db/db-init.c: Include string.h
34798 2012-03-12 David S. Miller <davem@davemloft.net>
34800 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34801 masking out of the most significant byte of random value used.
34802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34803 Fix coding style in previous change.
34805 * sysdeps/unix/sysv/linux/kernel-features.h
34806 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34807 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34809 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34812 2012-03-11 David S. Miller <davem@davemloft.net>
34814 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34815 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34816 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34817 for 'resultvar' otherwise things get truncated on 64-bit.
34819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34820 Fix masking out of the most significant byte of random value used.
34822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34824 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34828 2012-03-09 David S. Miller <davem@davemloft.net>
34830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34831 variables with appropriate CPP guards.
34832 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34833 from the frame pointer, not the stack pointer. Correct layout
34834 comments. Fix test on resulting framesize and the management of
34835 the outregs buffer for pltexit. Preserve floating point return
34836 values across _dl_call_pltexit call.
34837 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34838 framesize and the management of the outregs buffer for pltexit.
34839 Preserve floating point return values across _dl_call_pltexit
34841 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34842 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34843 (la_sparc64_gnu_pltexit): New functions.
34844 (print_exit): Fix format string for return register value.
34846 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34848 * sunrpc/Makefile (others): Add rpcgen.
34849 ($(objpfx)rpcgen): Remove special build rule and dependency on
34851 * sunrpc/rpcgen.c: New file.
34853 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34856 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34857 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34858 * sysdeps/i386/crti.S: Likewise.
34859 * sysdeps/i386/crtn.S: Likewise.
34860 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34861 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34862 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34863 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34864 * sysdeps/sh/crti.S: Likewise.
34865 * sysdeps/sh/crtn.S: Likewise.
34866 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34869 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34871 * locale/programs/locfile-kw.gperf: Likewise.
34872 * locale/programs/charmap-kw.h: Regenerated.
34873 * locale/programs/locfile-kw.h: Likewise.
34876 * intl/plural.y: Replace FSF snail mail address with URL.
34877 * intl/plural.c: Regenerated.
34879 2012-03-09 Richard Henderson <rth@twiddle.net>
34881 * include/math_private.h: Remove file.
34882 * math/math_private.h: Move file ...
34883 * sysdeps/generic/math_private.h: ... here.
34885 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34886 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34887 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34889 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34890 and <math_private.h>.
34891 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34892 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34893 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34894 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34895 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34954 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34955 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34979 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34980 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34981 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34982 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34984 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34985 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34986 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34988 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34991 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34992 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34993 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34994 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34996 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34997 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34998 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34999 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35001 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35002 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35003 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35004 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35005 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35006 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35007 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35008 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35010 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35013 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35014 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35015 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35020 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35021 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35022 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35024 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35025 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35026 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35027 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35028 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35029 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35030 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35031 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35032 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35033 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35034 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35035 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35036 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35037 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35038 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35039 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35040 * sysdeps/ieee754/k_standard.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35093 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35156 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35160 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35163 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35189 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35190 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35191 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35201 * sysdeps/ieee754/s_lib_version.c: Likewise.
35202 * sysdeps/ieee754/s_matherr.c: Likewise.
35203 * sysdeps/ieee754/s_signgam.c: Likewise.
35204 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35205 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35206 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35207 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35208 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35209 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35210 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35211 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35212 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35213 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35214 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35215 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35216 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35217 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35218 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35221 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35226 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35228 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35229 * sunrpc/rpc_main.c: Likewise.
35230 * sunrpc/rpc_svcout.c: Likewise.
35232 2012-03-09 David S. Miller <davem@davemloft.net>
35234 * include/math_private.h: New file.
35236 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35238 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35239 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35240 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35241 from <bits/socket_type.h>.
35242 (enum __socket_type): Don't define here.
35243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35245 bits/socket_type.h.
35248 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35249 checking __USE_GNU.
35251 * Makerules ($(inst_includedir)/%.h): New rule.
35252 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35253 (install-others): Remove variable setting.
35254 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35256 2012-03-08 Richard Henderson <rth@twiddle.net>
35258 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35259 from macro to inline function; merge with the
35260 !__LIBC_INTERNAL_MATH_INLINES version.
35261 (__ieee754_sqrtf): Likewise.
35263 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35264 to inline function.
35265 (__rintf, __floor, __floorf): Likewise.
35267 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35268 macro to inline function.
35269 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35271 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35272 not <math/math_private.h>.
35274 2012-03-08 David S. Miller <davem@davemloft.net>
35276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35278 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35280 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35282 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35284 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35285 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35287 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35289 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35290 be defined individually, they must be defined as a block. Define
35291 S for printing a string instead of hidint the different by using a
35292 macro for adding the 'l'.
35293 * stdio-common/tst-fphex-wide.c: Adjust.
35295 2012-03-07 Marek Polacek <polacek@redhat.com>
35297 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35299 2012-03-08 Marek Polacek <polacek@redhat.com>
35302 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35303 * stdio-common/tst-fphex.c: Define a few macros to make the
35304 test reusable. Use them.
35305 * stdio-common/tst-fphex-wide.c: New file.
35307 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35310 * manual/macros.texi (gnusystems): New macro.
35311 (nongnusystems): Likewise.
35312 (gnulinuxhurdsystems): Likewise.
35313 (gnuhurdsystems): Likewise..
35314 (gnulinuxsystems): Likewise.
35315 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35316 variants of the GNU system, not "GNU system".
35317 * manual/conf.texi: Likewise.
35318 * manual/errno.texi: Likewise. Update example of errno macro
35320 * manual/filesys.texi: Likewise.
35321 (getumask): Document as specific to GNU/Hurd.
35322 * manual/install.texi: Likewise. Reword some references to
35324 * manual/intro.texi: Likewise.
35325 * manual/io.texi: Likewise.
35326 (File Name Portability): Detail which constraints are inapplicable
35327 to all GNU systems and which are only inapplicable to GNU/Hurd.
35328 * manual/job.texi: Likewise.
35329 * manual/llio.texi: Likewise.
35330 (O_NOCTTY): Document as present on GNU/Linux.
35331 * manual/maint.texi: Likewise.
35332 * manual/memory.texi: Likewise.
35333 * manual/pattern.texi: Likewise.
35334 * manual/pipe.texi: Likewise.
35335 * manual/process.texi: Likewise.
35336 * manual/resource.texi: Likewise.
35337 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35339 * manual/setjmp.texi: Likewise.
35340 * manual/signal.texi: Likewise.
35341 * manual/startup.texi: Likewise.
35342 * manual/stdio.texi: Likewise.
35343 * manual/terminal.texi: Likewise.
35344 (ONLCR): Document as POSIX.
35345 (OXTABS): Document availability on GNU/Linux as XTABS.
35346 (ONOEOT): Document availability separately from other bits.
35347 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35348 * manual/time.texi: Likewise.
35349 * manual/users.texi: Likewise.
35350 * INSTALL: Regenerated.
35351 * sysdeps/gnu/errlist.c: Regenerated.
35353 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35354 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35355 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35357 * configure: Regenerated.
35359 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35361 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35362 default includes instead of AC_HEADER_CHECK.
35363 * sysdeps/i386/configure: Regenerated.
35366 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35367 * math/s_cacoshf.c (__cacoshf): Likewise.
35368 * math/s_cacoshl.c (__cacoshl): Likewise.
35369 * math/s_casinh.c (__casinh): Set signs of result from argument.
35370 * math/s_casinhf.c (__casinhf): Likewise.
35371 * math/s_casinhl.c (__casinhl): Likewise.
35372 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35373 (casinh_test): Add more tests.
35374 * sysdeps/i386/fpu/libm-test-ulps: Update.
35375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35377 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35379 * po/zh_TW.po: Update from translation team.
35381 * login/Makefile (distribute): Remove variable.
35382 * catgets/Makefile: Likewise.
35383 * mach/Makefile: Likewise.
35384 * malloc/Makefile: Likewise.
35385 * misc/Makefile: Likewise.
35386 * iconv/Makefile: Likewise.
35387 * nscd/Makefile: Likewise.
35388 * hurd/Makefile: Likewise.
35389 * manual/Makefile: Likewise.
35390 * locale/Makefile: Likewise.
35391 * intl/Makefile: Likewise.
35392 * conform/Makefile: Likewise.
35393 * nss/Makefile: Likewise.
35394 * time/Makefile: Likewise.
35395 * soft-fp/Makefile: Likewise.
35396 * dirent/Makefile: Likewise.
35397 * gmon/Makefile: Likewise.
35398 * po/Makefile: Likewise.
35399 * rt/Makefile: Likewise.
35400 * socket/Makefile: Likewise.
35401 * math/Makefile: Likewise.
35402 * signal/Makefile: Likewise.
35403 * debug/Makefile: Likewise.
35404 * elf/Makefile: Likewise.
35405 * timezone/Makefile: Likewise.
35406 * stdlib/Makefile: Likewise.
35407 * iconvdata/Makefile: Likewise.
35408 * sunrpc/Makefile: Likewise.
35409 * io/Makefile: Likewise.
35410 * argp/Makefile: Likewise.
35411 * inet/Makefile: Likewise.
35412 * hesiod/Makefile: Likewise.
35413 * grp/Makefile: Likewise.
35414 * csu/Makefile: Likewise.
35415 * wctype/Makefile: Likewise.
35416 * crypt/Makefile: Likewise.
35417 * libio/Makefile: Likewise.
35418 * string/Makefile: Likewise.
35419 * nis/Makefile: Likewise.
35420 * resolv/Makefile: Likewise.
35421 * stdio-common/Makefile: Likewise.
35422 * wcsmbs/Makefile: Likewise.
35423 * dlfcn/Makefile: Likewise.
35424 * posix/Makefile: Likewise.
35427 * timezone/Makefile: Don't install timezone files, just the programs
35430 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35432 * nss/databases.def: Add missing gshadow entry.
35434 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35436 2012-03-06 Marek Polacek <polacek@redhat.com>
35439 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35440 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35441 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35442 * stdio-common/tst-long-dbl-fphex.c: New file.
35444 2012-03-06 David S. Miller <davem@davemloft.net>
35446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35447 (set_obp_int): New function.
35448 (get_obp_int): New function.
35449 (__get_clockfreq_via_dev_openprom): Likewise.
35450 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35451 Avoid unused variable warnings on 'val' and use builtin_expect.
35452 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35454 (INLINE_CLONE_SYSCALL): Likewise.
35456 2012-03-05 David S. Miller <davem@davemloft.net>
35458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35460 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35465 only for |x| >= 40.
35466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35468 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35471 Replace gettimeofday with __vdso_gettimeofday.
35473 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35474 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35475 __vdso_clock_gettime and __vdso_getcpu.
35477 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35478 time with __vdso_time.
35480 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35482 * manual/lang.texi (size_t): Note types to which size_t may be
35483 equivalent with the GNU C Library, but do not describe when
35484 differences between them are significant.
35486 2012-03-05 Andreas Jaeger <aj@suse.de>
35488 * sysdeps/i386/fpu/libm-test-ulps: Update.
35490 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35493 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35494 (__ieee754_pow): Save and restore rounding mode and use
35495 round-to-nearest for main computations.
35496 * math/libm-test.inc (pow_test_tonearest): New function.
35497 (pow_test_towardzero): Likewise.
35498 (pow_test_downward): Likewise.
35499 (pow_test_upward): Likewise.
35500 (main): Call the new functions.
35501 * sysdeps/i386/fpu/libm-test-ulps: Update.
35502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35505 * math/libm-test.inc (cosh_test_tonearest): New function.
35506 (cosh_test_towardzero): Likewise.
35507 (cosh_test_downward): Likewise.
35508 (cosh_test_upward): Likewise.
35509 (sinh_test_tonearest): Likewise.
35510 (sinh_test_towardzero): Likewise.
35511 (sinh_test_downward): Likewise.
35512 (sinh_test_upward): Likewise.
35513 (main): Call the new functions.
35514 * sysdeps/i386/fpu/libm-test-ulps: Update.
35515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35517 2012-03-05 Tom de Vries <tom@codesourcery.com>
35519 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35520 default stack guard is set in last bytes.
35521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35523 2012-03-05 Kees Cook <keescook@chromium.org>
35525 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35528 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35529 possibly allocate from heap instead of stack.
35530 * stdio-common/bug-vfprintf-nargs.c: New file.
35531 * stdio-common/Makefile (tests): Add nargs overflow test.
35533 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35537 2012-03-03 Marek Polacek <polacek@redhat.com>
35539 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35540 * math/math_private.h: Likewise.
35541 * stdlib/tst-strtod.c: Likewise.
35542 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35543 * sysdeps/x86_64/bits/atomic.h: Likewise.
35545 2012-03-02 David S. Miller <davem@davemloft.net>
35547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35551 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35552 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35553 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35554 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35556 2012-03-02 Roland McGrath <roland@hack.frob.com>
35559 * manual/examples/README: New file, says the example source files
35560 can be used under GPL>=2.
35561 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35562 line containing just "*/".
35563 * manual/examples/add.c: Add copyright header (GPL>=2).
35564 * manual/examples/argp-ex1.c: Likewise.
35565 * manual/examples/argp-ex2.c: Likewise.
35566 * manual/examples/argp-ex3.c: Likewise.
35567 * manual/examples/argp-ex4.c: Likewise.
35568 * manual/examples/atexit.c: Likewise.
35569 * manual/examples/db.c: Likewise.
35570 * manual/examples/dir.c: Likewise.
35571 * manual/examples/dir2.c: Likewise.
35572 * manual/examples/execinfo.c: Likewise.
35573 * manual/examples/filecli.c: Likewise.
35574 * manual/examples/filesrv.c: Likewise.
35575 * manual/examples/fmtmsgexpl.c: Likewise.
35576 * manual/examples/genpass.c: Likewise.
35577 * manual/examples/inetcli.c: Likewise.
35578 * manual/examples/inetsrv.c: Likewise.
35579 * manual/examples/isockad.c: Likewise.
35580 * manual/examples/longopt.c: Likewise.
35581 * manual/examples/memopen.c: Likewise.
35582 * manual/examples/memstrm.c: Likewise.
35583 * manual/examples/mkfsock.c: Likewise.
35584 * manual/examples/mkisock.c: Likewise.
35585 * manual/examples/mygetpass.c: Likewise.
35586 * manual/examples/pipe.c: Likewise.
35587 * manual/examples/popen.c: Likewise.
35588 * manual/examples/rprintf.c: Likewise.
35589 * manual/examples/search.c: Likewise.
35590 * manual/examples/select.c: Likewise.
35591 * manual/examples/setjmp.c: Likewise.
35592 * manual/examples/sigh1.c: Likewise.
35593 * manual/examples/sigusr.c: Likewise.
35594 * manual/examples/stpcpy.c: Likewise.
35595 * manual/examples/strdupa.c: Likewise.
35596 * manual/examples/strftim.c: Likewise.
35597 * manual/examples/strncat.c: Likewise.
35598 * manual/examples/subopt.c: Likewise.
35599 * manual/examples/swapcontext.c: Likewise.
35600 * manual/examples/termios.c: Likewise.
35601 * manual/examples/testopt.c: Likewise.
35602 * manual/examples/testpass.c: Likewise.
35603 * manual/examples/timeval_subtract.c: Likewise.
35606 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35608 * manual/timeval_subtract.c.texi: ... here, new file.
35610 2012-03-02 David S. Miller <davem@davemloft.net>
35612 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35614 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35617 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35618 (__sin): Save and restore rounding mode and use round-to-nearest
35619 for all computations.
35620 (__cos): Save and restore rounding mode and use round-to-nearest
35621 for all computations.
35622 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35624 (tan): Save and restore rounding mode and use round-to-nearest for
35626 * math/libm-test.inc (cos_test_tonearest): New function.
35627 (cos_test_towardzero): Likewise.
35628 (cos_test_downward): Likewise.
35629 (cos_test_upward): Likewise.
35630 (sin_test_tonearest): Likewise.
35631 (sin_test_towardzero): Likewise.
35632 (sin_test_downward): Likewise.
35633 (sin_test_upward): Likewise.
35634 (tan_test_tonearest): Likewise.
35635 (tan_test_towardzero): Likewise.
35636 (tan_test_downward): Likewise.
35637 (tan_test_upward): Likewise.
35638 (main): Call the new functions.
35639 * sysdeps/i386/fpu/libm-test-ulps: Update.
35640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35643 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35644 small n, then large n, before computing and testing k+n.
35645 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35650 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35651 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35652 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35653 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35656 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35657 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35658 * math/libm-test.inc (scalbn_test): Add more tests.
35659 (scalbln_test): Likewise.
35661 * manual/filesys.texi (mode_t): Describe constraints on size and
35662 signedness, not exact equivalence to a particular type.
35664 (ino64_t): Likewise.
35666 (nlink_t): Likewise.
35667 (blkcnt_t): Likewise.
35668 (blkcnt64_t): Likewise.
35669 * manual/llio.texi (off_t): Likewise.
35672 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35673 (__ieee754_exp): Save and restore rounding mode and use
35674 round-to-nearest for all computations.
35675 * math/libm-test.inc (exp_test_tonearest): New function.
35676 (exp_test_towardzero): Likewise.
35677 (exp_test_downward): Likewise.
35678 (exp_test_upward): Likewise.
35679 (main): Call the new functions.
35680 * sysdeps/i386/fpu/libm-test-ulps: Update.
35681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35683 2012-03-01 Chris Demetriou <cgd@google.com>
35685 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35686 have predictable order.
35688 2012-03-01 David S. Miller <davem@davemloft.net>
35690 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35692 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35693 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35694 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35695 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35697 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35698 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35699 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35701 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35702 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35703 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35704 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35705 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35710 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35713 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35714 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35715 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35716 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35717 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35720 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35722 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35723 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35729 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35730 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35731 * sysdeps/sparc/elf/configure: Regenerated.
35733 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35735 * configure.in (AS, LD): Require binutils 2.20 or later.
35736 * configure: Regenerated.
35737 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35738 as required minimum version.
35739 * INSTALL: Regenerated.
35743 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35744 before squaring exponent.
35745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35746 bottom long double and 27 bits of top long double before squaring
35748 * math/libm-test.inc (erfc_test): Add more tests.
35749 * sysdeps/i386/fpu/libm-test-ulps: Update.
35750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35753 2012-03-01 Kai Tietz <ktietz@redhat.com>
35755 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35756 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35757 containing bit-fields.
35758 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35759 * soft-fp/single.h (_FP_UNION_S): Likewise.
35760 * soft-fp/double.h (_FP_UNION_D): Likewise.
35762 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35765 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35766 not include ../strcmp.S.
35767 [USE_AS_STRNCASECMP_L]: Likewise.
35768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35769 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35770 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35771 (__strncasecmp_l_ia32): Define as alias to
35772 __strncasecmp_l_nonascii.
35775 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35776 * sysdeps/i386/fpu/libm-test-ulps: Update.
35777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35779 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782 2012-02-29 Jeff Law <law@redhat.com>
35784 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35785 out of bounds read.
35787 2012-02-29 Marek Polacek <polacek@redhat.com>
35790 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35791 * elf/Makefile: Add rules to run tst-unused-dep.out.
35793 2012-02-28 David S. Miller <davem@davemloft.net>
35795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35799 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35800 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35802 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35804 * math/libm-test.inc (llround_test): Move one test from
35805 lround_test. Use TEST_f_L in moved test.
35806 (lround_test): Move misplaced test to llround_test. Add testcase
35809 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35811 * sysdeps/x86_64/fpu/e_expf.S: New file.
35812 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35814 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35817 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35818 of remain_len that may cause incomplete multi-byte character and
35820 * posix/bug-regex33.c: New file.
35821 * posix/Makefile (tests): Add bug-regex33.
35823 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35825 * manual/macros.texi: New file.
35826 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35827 * manual/libc.texinfo: Include macros.texi.
35828 * manual/creatute.texi: Likewise.
35829 * manual/install.texi: Likewise.
35830 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35831 @glibcadj{} in references to the GNU C Library.
35832 * manual/charset.texi: Likewise.
35833 * manual/conf.texi: Likewise.
35834 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35835 when not using those macros.
35836 * manual/creature.texi: Likewise.
35837 * manual/crypt.texi: Likewise.
35838 * manual/errno.texi: Likewise.
35839 * manual/filesys.texi: Likewise.
35840 * manual/header.texi: Likewise.
35841 * manual/install.texi: Likewise.
35842 * manual/intro.texi: Likewise.
35843 * manual/io.texi: Likewise.
35844 * manual/job.texi: Likewise.
35845 * manual/lang.texi: Likewise.
35846 * manual/libc.texiinfo: Likewise.
35847 * manual/llio.texi: Likewise.
35848 * manual/locale.texi: Likewise.
35849 * manual/maint.texi: Likewise.
35850 * manual/math.texi: Likewise.
35851 * manual/memory.texi: Likewise.
35852 * manual/message.texi: Likewise.
35853 * manual/nss.texi: Likewise.
35854 * manual/pattern.texi: Likewise.
35855 * manual/process.texi: Likewise.
35856 * manual/resource.texi: Likewise.
35857 * manual/search.texi: Likewise.
35858 * manual/setjmp.texi: Likewise.
35859 * manual/signal.texi: Likewise.
35860 * manual/socket.texi: Likewise.
35861 * manual/startup.texi: Likewise.
35862 * manual/stdio.texi: Likewise.
35863 * manual/string.texi: Likewise.
35864 * manual/sysinfo.texi: Likewise.
35865 * manual/syslog.texi: Likewise.
35866 * manual/terminal.texi: Likewise.
35867 * manual/time.texi: Likewise.
35868 * manual/users.texi: Likewise.
35869 * INSTALL: Regenerated.
35870 * NOTES: Regenerated.
35871 * sysdeps/gnu/errlist.c: Regenerated.
35873 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35875 * include/dirent.h: Include <dirstream.h> before
35878 2012-02-28 David S. Miller <davem@davemloft.net>
35880 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35881 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35882 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35883 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35885 2012-02-27 David S. Miller <davem@davemloft.net>
35887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35889 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35890 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35893 frame pointer instead of stack pointer relative arg slot.
35894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35898 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35901 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35903 2012-02-27 David S. Miller <davem@davemloft.net>
35905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35911 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35912 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35914 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35916 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35917 later. Allow versions 5-9.
35918 * configure: Regenerated.
35919 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35920 required minimum version and 4.6 as recommended version. Do not
35921 mention bugs in GCC 2.7 and 2.8.
35922 * INSTALL: Regenerated.
35924 2012-02-27 David S. Miller <davem@davemloft.net>
35926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35932 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35933 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35936 manipulate bits before adding and subtracting TWO112[sx].
35937 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35939 2012-02-27 Roland McGrath <roland@hack.frob.com>
35942 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35943 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35944 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35945 being in POSIX, because they are in 1003.1-2008.
35947 * rt/tst-aio.c: Include <fcntl.h>.
35948 * rt/tst-aio7.c: Likewise.
35949 * rt/tst-aio64.c: Likewise.
35951 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35953 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35955 * manual/install.texi (--with-headers): Describe headers as
35956 interface headers, not private headers.
35957 (Specific advice for GNU/Linux systems): Describe use of headers
35958 from "make headers_install", not private headers from older
35960 * INSTALL: Regenerated.
35961 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35963 * sysdeps/unix/sysv/linux/configure: Regenerated.
35965 * manual/llio.texi (fclean): Remove documentation.
35967 * manual/Makefile (libc-texi-generated): New variable. Include
35969 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35970 $(libc-texi-generated), not duplicated list of files.
35971 (version.texi, stamp-version): New rules.
35972 (realclean): Remove $(libc-texi-generated), not individual files
35973 from that list. Do not remove dir-add.texinfo.
35974 * manual/libc.texinfo: Comment out uses of edition numbers and
35975 references to printed manual. Remove last-updated dates.
35976 (EDITION): Comment out.
35978 (VERSION, UPDATED): Remove.
35979 (version.texi): Include.
35981 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35983 * sysdeps/posix/spawni.c: Include <signal.h>.
35984 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35985 * sysdeps/pthread/aio_fsync.c: Likewise.
35987 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35989 * conform/Makefile (tests): Run only when not cross-compiling and
35990 when fast-check is not defined.
35992 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35993 * conform/data/limits.h-data: Fixes for POSIX2008.
35994 * conform/run-conformtest.sh: Run all tests.
35995 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35997 * include/bits/dlfcn.h: Likewise.
35998 * include/langinfo.h: Likewise.
35999 * include/monetary.h: Likewise.
36000 * include/sys/poll.h: Likewise.
36002 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36004 * posix/spawn.h: Define __need_sigset_t.
36005 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36006 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36007 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36008 to get sigevent_t only.
36009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36010 only for __USE_GNU.
36011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36012 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36013 process_vm_writev only for __USE_GNU.
36014 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36016 * conform/Makefile: For now ignore errors from run-conformtest.
36017 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36018 POSIX to avoid namespace pollution. Don't prepend headers.
36019 * conform/data/aio.h-data: Fixes for POSIX testing.
36020 * conform/data/fcntl.h-data: Likewise.
36021 * conform/data/glob.h-data: Likewise.
36022 * conform/data/grp.h-data: Likewise.
36023 * conform/data/pthread.h-data: Likewise.
36024 * conform/data/pwd.h-data: Likewise.
36025 * conform/data/signal.h-data: Likewise.
36026 * conform/data/spawn.h-data: Likewise.
36027 * conform/data/stdio.h-data: Likewise.
36028 * conform/data/stdlib.h-data: Likewise.
36029 * conform/data/stropts.h-data: Likewise.
36030 * conform/data/sys/mman.h-data: Likewise.
36031 * conform/data/sys/stat.h-data: Likewise.
36032 * conform/data/sys/types.h-data: Likewise.
36033 * conform/data/sys/wait.h-data: Likewise.
36034 * conform/data/time.h-data: Likewise.
36035 * conform/data/unistd.h-data: Likewise.
36036 * conform/data/utime.h-data: Likewise.
36038 * io/sys/stat.h: fchmod was always in POSIX.
36039 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36040 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36041 * rt/aio.h: Define __need_timespec before including <time.h>.
36042 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36043 struct. Add forward declaration of pthread_attr_t and use it in
36045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36047 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36048 always remove CLK_TCK definition.
36050 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36052 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36054 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36056 * conform/run-conformtest.sh: New file.
36057 * conform/Makefile: Run run-conformtest for tests.
36058 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36061 * conform/data/uchar.h-data: New file.
36062 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36063 * conform/data/arpa/inet.h-data: Likewise.
36064 * conform/data/assert.h-data: Likewise.
36065 * conform/data/complex.h-data: Likewise.
36066 * conform/data/cpio.h-data: Likewise.
36067 * conform/data/ctype.h-data: Likewise.
36068 * conform/data/dirent.h-data: Likewise.
36069 * conform/data/dlfcn.h-data: Likewise.
36070 * conform/data/errno.h-data: Likewise.
36071 * conform/data/fcntl.h-data: Likewise.
36072 * conform/data/float.h-data: Likewise.
36073 * conform/data/fmtmsg.h-data: Likewise.
36074 * conform/data/fnmatch.h-data: Likewise.
36075 * conform/data/ftw.h-data: Likewise.
36076 * conform/data/glob.h-data: Likewise.
36077 * conform/data/grp.h-data: Likewise.
36078 * conform/data/iconv.h-data: Likewise.
36079 * conform/data/inttypes.h-data: Likewise.
36080 * conform/data/langinfo.h-data: Likewise.
36081 * conform/data/libgen.h-data: Likewise.
36082 * conform/data/limits.h-data: Likewise.
36083 * conform/data/locale.h-data: Likewise.
36084 * conform/data/math.h-data: Likewise.
36085 * conform/data/monetary.h-data: Likewise.
36086 * conform/data/mqueue.h-data: Likewise.
36087 * conform/data/ndbm.h-data: Likewise.
36088 * conform/data/net/if.h-data: Likewise.
36089 * conform/data/netdb.h-data: Likewise.
36090 * conform/data/netinet/in.h-data: Likewise.
36091 * conform/data/nl_types.h-data: Likewise.
36092 * conform/data/poll.h-data: Likewise.
36093 * conform/data/pthread.h-data: Likewise.
36094 * conform/data/pwd.h-data: Likewise.
36095 * conform/data/regex.h-data: Likewise.
36096 * conform/data/sched.h-data: Likewise.
36097 * conform/data/search.h-data: Likewise.
36098 * conform/data/semaphore.h-data: Likewise.
36099 * conform/data/setjmp.h-data: Likewise.
36100 * conform/data/signal.h-data: Likewise.
36101 * conform/data/spawn.h-data: Likewise.
36102 * conform/data/stdarg.h-data: Likewise.
36103 * conform/data/stdio.h-data: Likewise.
36104 * conform/data/stdlib.h-data: Likewise.
36105 * conform/data/string.h-data: Likewise.
36106 * conform/data/strings.h-data: Likewise.
36107 * conform/data/stropts.h-data: Likewise.
36108 * conform/data/sys/ipc.h-data: Likewise.
36109 * conform/data/sys/mman.h-data: Likewise.
36110 * conform/data/sys/msg.h-data: Likewise.
36111 * conform/data/sys/resource.h-data: Likewise.
36112 * conform/data/sys/select.h-data: Likewise.
36113 * conform/data/sys/sem.h-data: Likewise.
36114 * conform/data/sys/shm.h-data: Likewise.
36115 * conform/data/sys/socket.h-data: Likewise.
36116 * conform/data/sys/stat.h-data: Likewise.
36117 * conform/data/sys/statvfs.h-data: Likewise.
36118 * conform/data/sys/time.h-data: Likewise.
36119 * conform/data/sys/timeb.h-data: Likewise.
36120 * conform/data/sys/times.h-data: Likewise.
36121 * conform/data/sys/types.h-data: Likewise.
36122 * conform/data/sys/uio.h-data: Likewise.
36123 * conform/data/sys/un.h-data: Likewise.
36124 * conform/data/sys/utsname.h-data: Likewise.
36125 * conform/data/sys/wait.h-data: Likewise.
36126 * conform/data/syslog.h-data: Likewise.
36127 * conform/data/tar.h-data: Likewise.
36128 * conform/data/termios.h-data: Likewise.
36129 * conform/data/utime.h-data: Likewise.
36130 * conform/data/utmpx.h-data: Likewise.
36131 * conform/data/varargs.h-data: Likewise.
36132 * conform/data/wchar.h-data: Likewise.
36133 * conform/data/wctype.h-data: Likewise.
36134 * conform/data/wordexp.h-data: Likewise.
36136 * include/stropts.h: New file.
36137 * include/uchar.h: New file.
36138 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36139 * include/assert.h: Likewise.
36140 * include/ctype.h: Likewise.
36141 * include/dirent.h: Likewise.
36142 * include/dlfcn.h: Likewise.
36143 * include/fcntl.h: Likewise.
36144 * include/fnmatch.h: Likewise.
36145 * include/glob.h: Likewise.
36146 * include/grp.h: Likewise.
36147 * include/libio.h: Likewise.
36148 * include/locale.h: Likewise.
36149 * include/math.h: Likewise.
36150 * include/net/if.h: Likewise.
36151 * include/netdb.h: Likewise.
36152 * include/netinet/in.h: Likewise.
36153 * include/pthread.h: Likewise.
36154 * include/pwd.h: Likewise.
36155 * include/regex.h: Likewise.
36156 * include/sched.h: Likewise.
36157 * include/search.h: Likewise.
36158 * include/setjmp.h: Likewise.
36159 * include/signal.h: Likewise.
36160 * include/stdio.h: Likewise.
36161 * include/stdlib.h: Likewise.
36162 * include/string.h: Likewise.
36163 * include/sys/cdefs.h: Likewise.
36164 * include/sys/mman.h: Likewise.
36165 * include/sys/msg.h: Likewise.
36166 * include/sys/resource.h: Likewise.
36167 * include/sys/select.h: Likewise.
36168 * include/sys/socket.h: Likewise.
36169 * include/sys/stat.h: Likewise.
36170 * include/sys/statvfs.h: Likewise.
36171 * include/sys/time.h: Likewise.
36172 * include/sys/times.h: Likewise.
36173 * include/sys/uio.h: Likewise.
36174 * include/sys/utsname.h: Likewise.
36175 * include/sys/wait.h: Likewise.
36176 * include/termios.h: Likewise.
36177 * include/time.h: Likewise.
36178 * include/ulimit.h: Likewise.
36179 * include/unistd.h: Likewise.
36180 * include/utime.h: Likewise.
36181 * include/wchar.h: Likewise.
36182 * include/wctype.h: Likewise.
36183 * include/wordexp.h: Likewise.
36185 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36187 * time/time.h: TIME_UTC must be a macro.
36188 Make timespec_get available for ISO C11 only as well.
36190 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36192 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36193 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36195 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36197 * configure.in: Use -o not -a in test for unsupported multi-arch.
36199 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36201 * manual/texinfo.tex: Update to version 2012-01-19.16.
36203 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36205 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36207 2012-02-24 Roland McGrath <roland@hack.frob.com>
36210 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36211 * manual/fdl-1.3.texi: New file.
36212 * manual/fdl-1.1.texi: File removed.
36215 * manual/libc.texinfo (FDL_VERSION): New @set.
36216 Use it for mention of FDL in cover text.
36217 (Documentation License): Use it in @include file name.
36219 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36220 Roland McGrath <roland@hack.frob.com>
36223 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36224 (not LONG_LONG_MAX and LONG_LONG_MIN.
36225 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36226 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36228 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36230 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36234 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36235 manipulate bits before adding and subtracting TWO23[sx].
36236 * math/libm-test.inc (nearbyint_test): Add more tests.
36238 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36241 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36242 bits before adding and subtracting TWO23[sx].
36243 * math/libm-test.inc (rint_test): Add more tests.
36244 (rint_test_tonearest): Likewise.
36245 (rint_test_towardzero): Likewise.
36246 (rint_test_downward): Likewise.
36247 (rint_test_upward: Likewise.
36249 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36252 * include/stdc-predef.h: New file. Extracted from features.h.
36253 * include/features.h: Include stdc-predef.h.
36254 * Makefile (headers): Add stdc-predef.h.
36255 * CONFORMANCE (Compiler limitations): Update.
36257 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36259 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36261 2012-02-21 David S. Miller <davem@davemloft.net>
36263 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36264 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36266 2012-02-20 David S. Miller <davem@davemloft.net>
36268 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36269 using a normal save/restore sequence, rather than allocating a
36270 dummy stack frame just to store a frame pointer and restore.
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36273 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36275 * manual/install.texi: Fix stray word in line-wrapped comment.
36277 2012-02-20 David S. Miller <davem@davemloft.net>
36279 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36280 both binutils and gcc support GOTDATA.
36282 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36283 "rd %pc" in the PIC register setup sequences.
36285 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36286 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36287 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36288 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36289 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36294 (SYSCALL_ERROR_HANDLER): Likewise.
36295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36298 (SYSCALL_ERROR_HANDLER): Likewise.
36300 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36301 (HAVE_GCC_GOTDATA): New.
36302 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36303 relocation support in both binutils and gcc.
36304 * sysdeps/sparc/elf/configure: Regenerate.
36306 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36307 * sysdeps/sparc/sparc32/elf/configure: Delete.
36308 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36309 * sysdeps/sparc/sparc64/elf/configure: Delete.
36310 * sysdeps/sparc/elf/configure.in: New file.
36311 * sysdeps/sparc/elf/configure: Generate.
36313 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36314 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36315 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36316 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36317 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36319 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36321 * manual/install.texi: Do not mention specific glibc version
36323 * manual/libc.texinfo (VERSION, UPDATED): Update.
36324 (@copying): Use @copyright{} and range of years.
36326 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36329 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36330 [crti.S not in sysdirs] (generated): Do not append.
36331 [crti.S not in sysdirs] (omit-deps): Likewise.
36332 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36333 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36334 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36335 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36336 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36338 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36339 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36340 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36341 * csu/defs.awk: Remove file.
36342 * sysdeps/generic/initfini.c: Likewise.
36343 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36345 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36348 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36350 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36351 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36352 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36354 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36357 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36358 (__EPOLL_PACKED): Define to empty if not defined by
36360 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36364 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36366 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36367 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36368 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36369 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36371 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36375 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36377 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36380 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36384 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36386 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36387 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36389 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36391 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36392 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36394 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36396 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36399 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36401 * math/w_acos.c: Use non-signaling floating-point comparisons.
36402 * math/w_acosf.c: Likewise.
36403 * math/w_acosh.c: Likewise.
36404 * math/w_acoshf.c: Likewise.
36405 * math/w_acoshl.c: Likewise.
36406 * math/w_acosl.c: Likewise.
36407 * math/w_asin.c: Likewise.
36408 * math/w_asinf.c: Likewise.
36409 * math/w_asinl.c: Likewise.
36410 * math/w_atanh.c: Likewise.
36411 * math/w_atanhf.c: Likewise.
36412 * math/w_atanhl.c: Likewise.
36413 * math/w_exp2.c: Likewise.
36414 * math/w_exp2f.c: Likewise.
36415 * math/w_exp2l.c: Likewise.
36416 * math/w_j0.c: Likewise.
36417 * math/w_j0f.c: Likewise.
36418 * math/w_j0l.c: Likewise.
36419 * math/w_j1.c: Likewise.
36420 * math/w_j1f.c: Likewise.
36421 * math/w_j1l.c: Likewise.
36422 * math/w_jn.c: Likewise.
36423 * math/w_jnf.c: Likewise.
36424 * math/w_log.c: Likewise.
36425 * math/w_log10.c: Likewise.
36426 * math/w_log10f.c: Likewise.
36427 * math/w_log10l.c: Likewise.
36428 * math/w_log2.c: Likewise.
36429 * math/w_log2f.c: Likewise.
36430 * math/w_log2l.c: Likewise.
36431 * math/w_logf.c: Likewise.
36432 * math/w_logl.c: Likewise.
36433 * math/w_sqrt.c: Likewise.
36434 * math/w_sqrtf.c: Likewise.
36435 * math/w_sqrtl.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36439 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36440 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36442 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36445 * manual/string.texi (strnlen): Use correct parameter name in
36446 equivalent expression.
36448 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36451 * manual/users.texi (seteuid): Consistently use neweuid for
36454 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36457 * manual/nss.texi (Services in the NSS configuration): Correct
36458 list of services in example configuration file.
36460 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36463 * manual/arith.texi: Remove statements about negative zero
36464 behaving identically to zero.
36466 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36469 * manual/install.texi: Do not document upgrading from libc5.
36471 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36474 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36476 2012-02-18 David S. Miller <davem@davemloft.net>
36478 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36479 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36480 %o7 across the call.
36481 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36484 SETUP_PIC_REG_LEAF.
36485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36486 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36487 * sysdeps/sparc/crtn.S: Likewise.
36489 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36491 * aout/Makefile: Remove.
36493 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36496 * manual/examples/argp-ex1.c (main): Format definition in GNU
36498 * manual/examples/argp-ex2.c (main): Likewise.
36499 * manual/examples/argp-ex3.c (main): Likewise.
36500 * manual/examples/argp-ex4.c (main): Likewise.
36501 * manual/examples/longopt.c (main): Use new-style prototype
36503 * manual/examples/strncat.c (main): Specify return type and use
36504 (void) for arguments.
36505 * manual/examples/subopt.c (main): Use char **argv argument.
36507 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36510 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36513 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36516 * manual/string.texi (strchr): Change when strchrnul is
36519 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36522 * manual/locale.texi (setlocale): Document LOCPATH.
36524 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36527 * manual/process.texi (execle): Move @dots{} before last argument.
36529 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36532 * manual/charset.texi (Generic Charset Conversion): Fix typo
36533 (LC_TYPE -> LC_CTYPE).
36535 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36538 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36539 (scalbnf): Likewise.
36540 (scalbnl): Likewise.
36541 (scalbln): Likewise.
36542 (scalblnf): Likewise.
36543 (scalblnl): Likewise.
36544 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36545 (vwarnx): Likewise.
36548 * manual/filesys.texi (telldir): Use braces around return type.
36549 * manual/llio.texi (mmap): Add space after comma.
36550 (mmap64): Likewise.
36551 * manual/math.texi (jn): Use @var{} on parameter names.
36557 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36559 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36561 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36562 (sched_get_priority_max): Likewise.
36563 * manual/signal.texi (sigvec): Add space after comma.
36564 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36566 (if_indextoname): Likewise.
36567 (if_freenameindex): Likewise.
36568 (sendto): Use ',' instead of '.' in prototype.
36569 * manual/startup.texi (syscall): Use @dots{} instead of literal
36571 * manual/stdio.texi (__fpending): Separate initial words of
36572 paragraph from @deftypefun line.
36573 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36575 (vsyslog): Use @var{} on parameter names.
36576 * manual/terminal.texi (stty): Use @var{} on parameter names.
36577 * manual/users.texi (getutmp): Use @var{} on parameter names.
36578 (getutmpx): Likewise.
36580 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36583 * manual/stdio.texi (fopen): Fix typos in description of
36586 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36589 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36590 get clock_id definition.
36592 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36595 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36596 (madvise): Cast every argument to void on its own.
36598 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36601 * manual/startup.texi (Exit Status): Fix typo.
36603 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36606 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36607 * manual/examples/argp-ex2.c: Likewise.
36608 * manual/examples/argp-ex3.c: Likewise.
36610 2012-02-16 Richard Henderson <rth@redhat.com>
36612 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36613 * sysdeps/s390/s390-32/initfini.c: Remove.
36614 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36615 * sysdeps/s390/s390-64/initfini.c: Remove.
36617 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36619 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36620 compiler output for sysdeps/generic/initfini.c.
36621 * sysdeps/sh/elf/initfini.c: Remove file.
36623 2012-02-16 David S. Miller <davem@davemloft.net>
36626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36628 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36629 * sysdeps/sparc/crti.S: New file.
36630 * sysdeps/sparc/crtn.S: New file.
36631 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36632 * sysdeps/sparc/sparc64/Makefile: Likewise.
36634 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36637 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36639 2012-02-15 Roland McGrath <roland@hack.frob.com>
36642 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36644 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36645 (write, read, close): Likewise.
36646 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36648 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36650 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36651 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36652 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36653 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36655 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36659 2012-02-14 Marek Polacek <polacek@redhat.com>
36661 * sysdeps/x86_64/crti.S: New file.
36662 * sysdeps/x86_64/crtn.S: New file.
36663 * sysdeps/x86_64/elf/initfini.c: Remove file.
36665 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36667 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36668 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36669 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36670 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36672 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36676 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36678 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36679 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36680 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36681 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36683 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36687 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36689 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36690 __feraiseexcept instead of feraiseexcept.
36692 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36693 nanosleep invocations.
36694 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36695 strings, and add error checking for a nanosleep invocations.
36697 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36699 Replace FSF snail mail address with URLs, as per GNU coding standards.
36700 Most of the snail mail addresses were wrong anyway, and omitting
36701 them makes the source code easier to maintain. Almost all of the
36702 changes are to license notices and to locale LC_IDENTIFICATION
36703 addresses, except for this one:
36704 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36705 not its snail mail address.
36707 2012-02-09 Richard Henderson <rth@twiddle.net>
36709 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36710 of kernel-features.h.
36712 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36714 2012-02-08 Marek Polacek <polacek@redhat.com>
36716 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36717 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36718 * sysdeps/gnu/_G_config.h: Likewise.
36719 * sysdeps/generic/_G_config.h: Likewise.
36721 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36723 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36727 * sysdeps/powerpc/powerpc32/crti.S: New file.
36728 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36729 * sysdeps/powerpc/powerpc64/crti.S: New file.
36730 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36732 * Makeconfig (have-initfini): Don't set.
36733 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36734 * configure.in (nopic_initfini): Don't substitute.
36735 * config.h.in (HAVE_INITFINI): Don't #undef.
36736 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36737 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36739 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36741 Support crti.S and crtn.S provided directly by architectures.
36742 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36743 [crti.S in sysdirs] (omit-deps): Likewise.
36744 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36745 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36746 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36747 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36748 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36749 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36750 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36751 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36752 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36753 compiler output for sysdeps/generic/initfini.c.
36754 * sysdeps/i386/elf/Makefile: Remove file.
36755 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36757 2012-02-07 Marek Polacek <polacek@redhat.com>
36759 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36760 * sysdeps/gnu/_G_config.h: Likewise.
36761 * sysdeps/mach/hurd/_G_config.h: Likewise.
36763 2012-02-07 Marek Polacek <polacek@redhat.com>
36765 * math/Makefile (tests): Add tst-CMPLX2.
36766 * math/tst-CMPLX2.c: New file.
36768 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36770 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36772 * math/libm-test.inc (jn_test): Add missing L suffix.
36774 2012-02-06 Marek Polacek <polacek@redhat.com>
36776 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36777 * sysdeps/i386/fpu/e_powf.S: Likewise.
36778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36779 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36780 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36781 * sysdeps/i386/fpu/e_pow.S: Likewise.
36782 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36784 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36785 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36786 * sysdeps/i386/fpu/e_log2.S: Likewise.
36787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36789 * sysdeps/i386/fpu/e_powl.S: Likewise.
36790 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36791 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36792 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36793 * sysdeps/i386/fpu/e_logl.S: Likewise.
36794 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36795 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36800 * sysdeps/i386/fpu/e_log.S: Likewise.
36801 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36803 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36804 * sysdeps/i386/fpu/e_logf.S: Likewise.
36805 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36806 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36807 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36808 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36809 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36810 * sysdeps/i386/fpu/e_log10.S: Likewise.
36811 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36812 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36813 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36814 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36815 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36816 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36817 * sysdeps/i386/asm-syntax.h: Likewise.
36818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36821 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36822 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36823 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36824 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36825 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36826 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36827 * sysdeps/powerpc/sysdep.h: Likewise.
36828 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36829 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36831 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36834 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36836 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36838 * sysdeps/i386/sysdep.h: Include <features.h>.
36839 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36842 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36844 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36846 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36849 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36851 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36852 (SETUP_PIC_REG): Use GET_PC_THUNK.
36853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36856 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36859 for non-PIC compilation.
36860 (SETUP_PIC_REG): Add .p2align directive.
36861 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36862 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36863 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36864 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36865 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36869 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36870 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36871 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36872 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36873 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36874 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36875 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36876 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36877 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36878 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36879 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36880 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36883 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36884 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36887 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36888 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36889 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36890 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36891 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36894 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36895 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36896 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36897 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36900 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36901 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36903 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36905 * math/tst-CMPLX.c: Include <stdio.h>.
36907 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36909 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36911 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36912 * sysdeps/sparc/bits/mathdef.h: Likewise.
36914 2012-01-31 Marek Polacek <polacek@redhat.com>
36916 * libio/libio.h: Don't define _PARAMS.
36917 * locale/programs/config.h: Don't define PARAMS.
36918 * stdlib/strtol_l.c: Likewise.
36919 (__strtol_l): Remove PARAMS from the prototype.
36921 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36923 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36924 names. Just use the correct names. Remove unnecessary wrapper
36926 * malloc/arena.c: Likewise.
36927 * malloc/hooks.c: Likewise.
36929 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36930 ARENA_TEST says not to. Simplify test for creation of a new arena.
36931 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36933 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36935 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36937 (update_get_addr): New function.
36938 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36939 GET_ADDR_MODULE parameter.
36941 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36943 * crypt/cert.c: Remove __STDC__ conditionals.
36944 * crypt/crypt-entry.c: Likewise.
36945 * crypt/crypt_util.c: Likewise.
36946 * libio/filedoalloc.c: Likewise.
36947 * libio/fileops.c: Likewise.
36948 * libio/genops.c: Likewise.
36949 * libio/iofclose.c: Likewise.
36950 * libio/iofdopen.c: Likewise.
36951 * libio/iofopen.c: Likewise.
36952 * libio/iofopen64.c: Likewise.
36953 * libio/iogetdelim.c: Likewise.
36954 * libio/iopopen.c: Likewise.
36955 * libio/obprintf.c: Likewise.
36956 * libio/oldfileops.c: Likewise.
36957 * libio/oldiofclose.c: Likewise.
36958 * libio/oldiofdopen.c: Likewise.
36959 * libio/oldiofopen.c: Likewise.
36960 * libio/oldiopopen.c: Likewise.
36961 * libio/wfiledoalloc.c: Likewise.
36962 * libio/wgenops.c: Likewise.
36963 * locale/programs/xmalloc.c: Likewise.
36964 * misc/syslog.c: Likewise.
36965 * stdio-common/xbug.c: Likewise.
36966 * string/memchr.c: Likewise.
36967 * string/memcmp.c: Likewise.
36968 * string/memrchr.c: Likewise.
36969 * string/rawmemchr.c: Likewise.
36970 * sysdeps/posix/getcwd.c: Likewise.
36971 * time/strftime_l.c: Likewise.
36973 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36975 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36976 * config.make.in (config-cflags-sse2avx): Define.
36977 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36980 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36982 * scripts/config.guess: Update from upstream config git repository.
36983 * scripts/config.sub: Likewise.
36985 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36987 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36989 (R_TILEPRO_*, R_TILEGX_*): New macros.
36991 * scripts/firstversions.awk: Fix bug in version range handling.
36993 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36995 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36997 * include/sys/epoll.h: New file.
36998 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37001 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37003 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37004 Avoid unnecessary __WORDSIZE == 64 test.
37005 (fmaxf): Use VEX format if possible.
37010 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37011 * math/math_private.h: Remove libc_fegetround* and
37013 * sysdeps/i386/configure.in: Check for -msse2avx.
37014 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37015 also if SSE2AVX is defined.
37016 Remove libc_fegetround* and libc_fesetround*.
37017 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37018 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37027 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37029 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37031 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37033 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37035 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37038 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37040 * Makeconfig (libm): Define.
37041 * elf/Makefile: Add rules to build and run tst-relsort1.
37042 * elf/tst-relsort1.c: New file.
37043 * elf/tst-relsort1mod1.c: New file.
37044 * elf/tst-relsort1mod2.c: New file.
37046 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37048 * math/s_ldexp.c: Remove __STDC__ conditionals.
37049 * math/s_ldexpf.c: Likewise.
37050 * math/s_ldexpl.c: Likewise.
37051 * math/s_nextafter.c: Likewise.
37052 * math/s_nexttowardf.c: Likewise.
37053 * math/s_significand.c: Likewise.
37054 * math/s_significandf.c: Likewise.
37055 * math/s_significandl.c: Likewise.
37056 * math/w_jnl.c: Likewise.
37057 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37058 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37059 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37060 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37061 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37076 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37077 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37085 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37086 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37087 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37088 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37091 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37092 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37094 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37095 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37096 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37097 * sysdeps/ieee754/k_standard.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37164 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37173 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37175 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37177 * sysdeps/ieee754/s_matherr.c: Likewise.
37178 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37179 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37183 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37185 * crypt/md5.h: Remove __STDC__ conditionals.
37186 * libio/libioP.h: Likewise.
37187 * locale/programs/config.h: Likewise.
37188 * sysdeps/generic/sysdep.h: Likewise.
37189 * sysdeps/i386/asm-syntax.h: Likewise.
37190 * sysdeps/s390/asm-syntax.h: Likewise.
37191 * sysdeps/unix/sysdep.h: Likewise.
37192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37195 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37197 * libio/libio.h: Remove __STDC__ conditionals.
37198 * malloc/obstack.h: Likewise.
37199 * math/complex.h: Likewise.
37200 * math/math.h: Likewise.
37201 * sysdeps/generic/_G_config.h: Likewise.
37202 * sysdeps/gnu/_G_config.h: Likewise.
37203 * sysdeps/mach/hurd/_G_config.h: Likewise.
37204 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37205 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37206 * sysdeps/sparc/bits/mathdef.h: Likewise.
37208 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37211 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37212 Clean up HAS_* macros.
37213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37214 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37216 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37219 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37220 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37224 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37226 * elf/tst-unique3.cc (gets): Remove declaration.
37227 * elf/tst-unique3lib.cc (gets): Likewise.
37228 * elf/tst-unique3lib2.cc (gets): Likewise.
37229 * elf/tst-unique4.cc (gets): Likewise.
37231 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37233 * include/stdio.h: Add C++ protection. Add gets declarations and
37235 * debug/tst-chk1.c: Don't declare gets here.
37236 * stdio-common/tst-gets.c: Likewise.
37238 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37240 * posix/glob: Remove directory.
37242 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37244 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37246 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37248 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37249 of the non-standard EPFNOSUPPORT.
37251 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37253 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37254 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37255 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37257 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37259 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37261 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37263 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37265 * nscd/grpcache.c (cache_addgr): Likewise.
37266 * nscd/hstcache.c (cache_addhst): Likewise.
37267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37268 * nscd/pwdcache.c (cache_addpw): Likewise.
37269 * nscd/servicescache.c (cache_addserv): Likewise.
37271 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37273 * malloc/malloc.c: Various cleanups.
37274 * malloc/hooks.c: Likewise.
37276 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37277 * stdlib/bug-fmtmsg1.c: New file.
37279 * stdlib/fmtmsg.c (init): Add missing unlock.
37280 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37282 2012-01-12 Marek Polacek <polacek@redhat.com>
37284 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37287 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37289 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37291 macro to ensure uniqueness of label name.
37292 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37293 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37295 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37297 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37300 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37304 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37306 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37308 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37309 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37310 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37312 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37314 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37315 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37319 * math/bits/math-finite.h: Add ldexp support.
37321 2012-01-10 Marek Polacek <polacek@redhat.com>
37323 * locale/programs/localedef.h (show_archive_content): Add noreturn
37326 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37328 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37330 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37332 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37334 * io/Makefile (headers): Add bits/poll2.h.
37336 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37339 typo #include statement.
37341 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37343 * include/sys/cdefs.h: Define __attribute_alloc_size.
37344 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37345 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37346 * elf/pldd.c: Likewise.
37347 * iconv/iconv_charmap.c: Likewise.
37348 * iconv/iconvconfig.c: Likewise.
37349 * iconv/strtab.c: Likewise.
37350 * locale/programs/locale.c: Likewise.
37351 * locale/programs/localedef.h: Likewise.
37352 * locale/programs/simple-hash.c: Likewise.
37353 * nscd/nscd.h: Likewise.
37354 * nss/makedb.c: Likewise.
37355 * sysdeps/generic/ldconfig.h: Likewise.
37356 * locale/programs/localedef.c: Remove xmalloc prototype.
37357 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37359 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37361 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37364 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37366 * math/Makefile (tests): Add tst-CMPLX.
37367 * math/tst-CMPLX.c: New file.
37369 * math/complex.h (CMPLXL): Fix typo.
37371 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37372 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37374 * debug/tst-chk1.c: Add poll and ppoll tests.
37375 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37376 * include/sys/poll.h: Add hidden proto for ppoll.
37377 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37378 * sysdeps/mach/hurd/ppoll.c: Likewise.
37379 * io/ppoll.c: Likewise.
37380 * debug/poll_chk.c: New file.
37381 * debug/ppoll_chk.c: New file.
37382 * include/bits/poll2.h: New file.
37383 * io/bits/poll2.h: New file.
37386 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37388 * configure.in: static is always set to yes. Remove.
37389 * config.make.in: Don't set build-static.
37390 * Makeconfig: Remove use of build-static.
37391 * dlfcn/Makefile: Likewise.
37392 * elf/Makefile: Likewise.
37393 * math/Makefile: Likewise.
37394 * misc/Makefile: Likewise.
37395 * nptl/Makefile: Likewise.
37396 * sysdeps/mach/hurd/Makefile: Likewise.
37398 * configure.in: PWD_P is not used anymore.
37399 * config.make.in: Remove PWD_P entry.
37401 * configure.in: Remove last remnants of RANLIB.
37402 No need to check for signed size_t anymore.
37403 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37405 Remove __builtin_expect test because we require at least gcc 3.4.
37406 * aclocal.m4: Likewise.
37408 * wcsmbs/mbrtoc16.c: Implement using towc function.
37409 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37410 * wcsmbs/wcsmbsload.c: Likewise.
37411 * iconv/gconv_simple.c: Likewise.
37412 * iconv/gconv_int.h: Likewise.
37413 * iconv/gconv_builtin.h: Likewise.
37414 * iconv/iconv_prog.c: Remove CHAR16 handling.
37416 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37418 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37420 * configure.in: Remove --with-elf and --enable-bounded options.
37421 Dont set base_machine for ia64. More non-ELF conditions removed.
37422 Remove testing and setting of leading underscore information.
37423 * config.make.in (build-bounded): Set to no.
37424 * config.h.in: Remove NO_UNDERSCORES entry.
37425 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37427 * csu/start.c: Remove !NO_UNDERSCORE code.
37428 * locale/localeinfo.h: Likewise.
37429 * sysdeps/generic/machine-gmon.h: Likewise.
37430 * sysdeps/generic/sysdep.h: Likewise.
37431 * sysdeps/i386/sysdep.h: Likewise.
37432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37433 * sysdeps/mach/sysdep.h: Likewise.
37434 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37436 * sysdeps/sh/sysdep.h: Likewise.
37437 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37438 * sysdeps/unix/i386/sysdep.S: Likewise.
37439 * sysdeps/unix/sparc/start.c: Likewise.
37440 * sysdeps/unix/sparc/sysdep.S: Likewise.
37441 * sysdeps/unix/sparc/sysdep.h: Likewise.
37442 * sysdeps/unix/start.c: Likewise.
37443 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37444 * sysdeps/x86_64/sysdep.h: Likewise.
37446 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37449 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37451 * argp/argp-fmtstream.h: Use const instead __const.
37452 * argp/argp.h: Likewise.
37453 * assert/assert.h: Likewise.
37454 * bits/fenv.h: Likewise.
37455 * bits/sched.h: Likewise.
37456 * bits/sigset.h: Likewise.
37457 * bits/sigthread.h: Likewise.
37458 * catgets/nl_types.h: Likewise.
37459 * conform/data/pthread.h-data: Likewise.
37460 * crypt/crypt-private.h: Likewise.
37461 * crypt/crypt.h: Likewise.
37462 * crypt/crypt_util.c: Likewise.
37463 * ctype/ctype.h: Likewise.
37464 * debug/execinfo.h: Likewise.
37465 * debug/mbsnrtowcs_chk.c: Likewise.
37466 * debug/mbsrtowcs_chk.c: Likewise.
37467 * debug/wcsnrtombs_chk.c: Likewise.
37468 * debug/wcsrtombs_chk.c: Likewise.
37469 * debug/wcstombs_chk.c: Likewise.
37470 * dirent/dirent.h: Likewise.
37471 * dlfcn/dlfcn.h: Likewise.
37472 * elf/neededtest4.c: Likewise.
37473 * grp/grp.h: Likewise.
37474 * gshadow/gshadow.h: Likewise.
37475 * iconv/gconv.h: Likewise.
37476 * iconv/gconv_int.h: Likewise.
37477 * iconv/gconv_simple.c: Likewise.
37478 * iconv/iconv.h: Likewise.
37479 * iconv/loop.c: Likewise.
37480 * iconv/skeleton.c: Likewise.
37481 * include/aio.h: Likewise.
37482 * include/aliases.h: Likewise.
37483 * include/argz.h: Likewise.
37484 * include/arpa/inet.h: Likewise.
37485 * include/assert.h: Likewise.
37486 * include/dirent.h: Likewise.
37487 * include/dlfcn.h: Likewise.
37488 * include/execinfo.h: Likewise.
37489 * include/fcntl.h: Likewise.
37490 * include/fenv.h: Likewise.
37491 * include/glob.h: Likewise.
37492 * include/grp.h: Likewise.
37493 * include/libintl.h: Likewise.
37494 * include/mntent.h: Likewise.
37495 * include/netdb.h: Likewise.
37496 * include/pwd.h: Likewise.
37497 * include/rpc/netdb.h: Likewise.
37498 * include/sched.h: Likewise.
37499 * include/search.h: Likewise.
37500 * include/shadow.h: Likewise.
37501 * include/signal.h: Likewise.
37502 * include/stdio.h: Likewise.
37503 * include/stdlib.h: Likewise.
37504 * include/string.h: Likewise.
37505 * include/sys/socket.h: Likewise.
37506 * include/sys/stat.h: Likewise.
37507 * include/sys/statfs.h: Likewise.
37508 * include/sys/statvfs.h: Likewise.
37509 * include/sys/syslog.h: Likewise.
37510 * include/sys/time.h: Likewise.
37511 * include/sys/uio.h: Likewise.
37512 * include/time.h: Likewise.
37513 * include/unistd.h: Likewise.
37514 * include/utmp.h: Likewise.
37515 * include/wchar.h: Likewise.
37516 * include/wctype.h: Likewise.
37517 * inet/aliases.h: Likewise.
37518 * inet/arpa/inet.h: Likewise.
37519 * inet/netinet/ether.h: Likewise.
37520 * inet/netinet/in.h: Likewise.
37521 * intl/libintl.h: Likewise.
37522 * io/bits/fcntl2.h: Likewise.
37523 * io/fcntl.h: Likewise.
37524 * io/ftw.h: Likewise.
37525 * io/sys/poll.h: Likewise.
37526 * io/sys/stat.h: Likewise.
37527 * io/sys/statfs.h: Likewise.
37528 * io/sys/statvfs.h: Likewise.
37529 * io/utime.h: Likewise.
37530 * libio/bits/stdio.h: Likewise.
37531 * libio/bits/stdio2.h: Likewise.
37532 * libio/libio.h: Likewise.
37533 * libio/libioP.h: Likewise.
37534 * libio/stdio.h: Likewise.
37535 * locale/lc-ctype.c: Likewise.
37536 * locale/locale.h: Likewise.
37537 * login/utmp.h: Likewise.
37538 * malloc/arena.c: Likewise.
37539 * malloc/malloc.c: Likewise.
37540 * malloc/malloc.h: Likewise.
37541 * malloc/mcheck.c: Likewise.
37542 * malloc/mtrace.c: Likewise.
37543 * math/bits/mathcalls.h: Likewise.
37544 * math/fenv.h: Likewise.
37545 * math/math_private.h: Likewise.
37546 * misc/bits/error.h: Likewise.
37547 * misc/bits/syslog.h: Likewise.
37548 * misc/err.h: Likewise.
37549 * misc/error.h: Likewise.
37550 * misc/fstab.h: Likewise.
37551 * misc/mntent.h: Likewise.
37552 * misc/regexp.h: Likewise.
37553 * misc/search.h: Likewise.
37554 * misc/sgtty.h: Likewise.
37555 * misc/sys/mman.h: Likewise.
37556 * misc/sys/syslog.h: Likewise.
37557 * misc/sys/uio.h: Likewise.
37558 * misc/sys/xattr.h: Likewise.
37559 * misc/ttyent.h: Likewise.
37560 * nis/rpcsvc/ypclnt.h: Likewise.
37561 * nss/nss.h: Likewise.
37562 * posix/bits/unistd.h: Likewise.
37563 * posix/fnmatch.h: Likewise.
37564 * posix/glob.h: Likewise.
37565 * posix/sched.h: Likewise.
37566 * posix/spawn.h: Likewise.
37567 * posix/sys/wait.h: Likewise.
37568 * posix/unistd.h: Likewise.
37569 * posix/wordexp.h: Likewise.
37570 * pwd/pwd.h: Likewise.
37571 * resolv/netdb.h: Likewise.
37572 * resource/sys/resource.h: Likewise.
37573 * rt/aio.h: Likewise.
37574 * rt/bits/mqueue2.h: Likewise.
37575 * rt/mqueue.h: Likewise.
37576 * shadow/shadow.h: Likewise.
37577 * signal/signal.h: Likewise.
37578 * socket/send.c: Likewise.
37579 * socket/sendto.c: Likewise.
37580 * socket/sys/socket.h: Likewise.
37581 * stdio-common/printf.h: Likewise.
37582 * stdlib/bits/stdlib.h: Likewise.
37583 * stdlib/fmtmsg.h: Likewise.
37584 * stdlib/monetary.h: Likewise.
37585 * stdlib/stdlib.h: Likewise.
37586 * stdlib/ucontext.h: Likewise.
37587 * streams/stropts.h: Likewise.
37588 * string/argz.h: Likewise.
37589 * string/bits/string2.h: Likewise.
37590 * string/string.h: Likewise.
37591 * string/strings.h: Likewise.
37592 * sunrpc/rpc/auth.h: Likewise.
37593 * sunrpc/rpc/auth_des.h: Likewise.
37594 * sunrpc/rpc/clnt.h: Likewise.
37595 * sunrpc/rpc/netdb.h: Likewise.
37596 * sunrpc/rpc/pmap_clnt.h: Likewise.
37597 * sunrpc/rpc/xdr.h: Likewise.
37598 * sysdeps/generic/inttypes.h: Likewise.
37599 * sysdeps/generic/net/if.h: Likewise.
37600 * sysdeps/generic/sys/swap.h: Likewise.
37601 * sysdeps/gnu/net/if.h: Likewise.
37602 * sysdeps/gnu/utmpx.h: Likewise.
37603 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37604 * sysdeps/i386/i486/bits/string.h: Likewise.
37605 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37606 * sysdeps/s390/bits/string.h: Likewise.
37607 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37608 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37609 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37610 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37611 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37612 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37613 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37614 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37615 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37616 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37617 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37618 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37619 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37620 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37621 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37622 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37623 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37629 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37630 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37631 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37632 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37633 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37635 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37637 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37638 * sysvipc/sys/ipc.h: Likewise.
37639 * sysvipc/sys/msg.h: Likewise.
37640 * sysvipc/sys/sem.h: Likewise.
37641 * sysvipc/sys/shm.h: Likewise.
37642 * termios/termios.h: Likewise.
37643 * time/sys/time.h: Likewise.
37644 * time/time.h: Likewise.
37645 * wcsmbs/bits/wchar2.h: Likewise.
37646 * wcsmbs/uchar.h: Likewise.
37647 * wcsmbs/wchar.h: Likewise.
37648 * wctype/wctype.h: Likewise.
37651 * Makeconfig: Remove all but ELF support including AIX support.
37652 * Makerules: Likewise.
37653 * config.h.in: Likewise.
37654 * config.make.in: Likewise.
37655 * configure: Likewise.
37656 * configure.in: Likewise.
37657 * csu/Makefile: Likewise.
37658 * csu/version.c: Likewise.
37659 * debug/Makefile: Likewise.
37660 * dlfcn/Makefile: Likewise.
37661 * elf/Makefile: Likewise.
37662 * extra-lib.mk: Likewise.
37663 * iconv/Makefile: Likewise.
37664 * include/libc-symbols.h: Likewise.
37665 * include/shlib-compat.h: Likewise.
37666 * resolv/Makefile: Likewise.
37667 * resolv/res_libc.c: Likewise.
37668 * rt/Makefile: Likewise.
37669 * sysdeps/i386/asm-syntax.h: Likewise.
37670 * sysdeps/i386/sysdep.h: Likewise.
37671 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37672 * sysdeps/mach/sysdep.h: Likewise.
37673 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37674 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37675 * sysdeps/s390/asm-syntax.h: Likewise.
37676 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37677 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37678 * sysdeps/sh/sysdep.h: Likewise.
37679 * sysdeps/unix/sparc/sysdep.h: Likewise.
37680 * sysdeps/wordsize-32/divdi3.c: Likewise.
37681 * sysdeps/x86_64/sysdep.h: Likewise.
37683 * argp/Versions: Remove _argp_unlock_xxx.
37686 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37687 * abilist/libBrokenLocale.abilist: Likewise.
37688 * abilist/libanl.abilist: Likewise.
37689 * abilist/libc.abilist: Likewise.
37690 * abilist/libcrypt.abilist: Likewise.
37691 * abilist/libdl.abilist: Likewise.
37692 * abilist/libm.abilist: Likewise.
37693 * abilist/libnsl.abilist: Likewise.
37694 * abilist/libpthread.abilist: Likewise.
37695 * abilist/libresolv.abilist: Likewise.
37696 * abilist/librt.abilist: Likewise.
37697 * abilist/libthread_db.abilist: Likewise.
37698 * abilist/libutil.abilist: Likewise.
37699 * abilist/libnss_db.abilist: New file.
37701 * scripts/abilist.awk: Add support for indirect functions.
37703 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37705 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37707 * shlib-versions: Remove entries for ports architectures.
37709 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37711 * elf/stackguard-macros.h: Remove support for IA-64.
37712 * elf/tst-auditmod1.c: Likewise.
37713 * sysdeps/generic/ldsodefs.h: Likewise.
37715 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37716 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37720 * configure.in: Remove --enable-omitfp support.
37722 * config.make.in: Likewise.
37723 * Makeconfig: Likewise.
37724 * manual/install.texi: Likewise.
37726 In case anyone cares, the IA-64 architecture could move to ports.
37727 * sysdeps/ia64/*: Removed.
37728 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37729 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37732 * configure.in: Remove entries for unsupported architectures.
37735 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37736 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37738 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37739 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37740 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37741 fall back to using wcrtomb.
37742 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37743 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37745 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37746 * wcsmbs/tst-c16c32-1.c: New file.
37748 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37751 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37753 * elf/tst-unique3.cc: Add explicit declaration of gets.
37754 * elf/tst-unique3lib.cc: Likewise.
37755 * elf/tst-unique3lib2.cc: Likewise.
37756 * elf/tst-unique4.cc: Likewise.
37758 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37760 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37763 * assert/assert.h (static_assert): Don't define for C++.
37764 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37765 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37767 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37769 * iconv/loop.c (single loop): Fix assertion in storing of
37772 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37774 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37776 * posix/getconf.c: Update copyright year.
37777 * nss/getent.c: Likewise.
37778 * nss/makedb.c: Likewise.
37779 * iconv/iconvconfig.c: Likewise.
37780 * iconv/iconv_prog.c: Likewise.
37781 * elf/ldconfig.c: Likewise.
37782 * elf/pldd.c: Likewise.
37783 * elf/sotruss.ksh: Likewise.
37784 * catgets/gencat.c: Likewise.
37785 * csu/version.c: Likewise.
37786 * elf/ldd.bash.in: Likewise.
37787 * elf/sprof.c (print_version): Likewise.
37788 * locale/programs/locale.c: Likewise.
37789 * locale/programs/localedef.c: Likewise.
37790 * login/programs/pt_chown.c: Likewise.
37791 * nscd/nscd.c (print_version): Likewise.
37792 * debug/xtrace.sh: Likewise.
37793 * malloc/memusage.sh: Likewise.
37794 * malloc/mtrace.pl: Likewise.
37795 * debug/catchsegv.sh: Likewise.
37797 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37799 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37802 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37805 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37806 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37808 * iconv/gconv_int.h: Likewise.
37809 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37810 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37811 from libc for GLIBC_2.16.
37812 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37813 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37814 * wcsmbs/uchar.h: Really define mbstate_t.
37815 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37816 * wcsmbs/c16rtomb.c: New file.
37817 * wcsmbs/mbrtoc16.c: New file.
37818 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37819 for C/POSIX locale.
37820 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37821 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37823 * wcsmbs/wchar.h: Add missing __restrict.
37825 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37828 * time/Makefile (routines): Add timespec_get.
37829 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37830 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37831 timespec for ISO C11.
37832 * time/timespec_get.c: New file.
37833 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37834 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37837 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37838 * stdlib/stdlib.h: Declare aligned_alloc.
37839 * Versions.def: Add GLIBC_2.16 for libc.
37840 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37843 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37846 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37850 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37853 * assert/assert.h (static_assert): Define.
37855 * version.h: Update for 2.16 development version.
37858 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37861 * version.h (RELEASE): Bump for 2.15 release.
37862 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37864 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37865 Patch by Marek Polacek <mpolacek@redhat.com>.
37867 * bits/byteswap.h: Protect long long constants with __extension__.
37868 * sysdeps/i386/bits/byteswap.h: Likewise.
37869 * sysdeps/ia64/bits/byteswap.h: Likewise.
37870 * sysdeps/s390/bits/byteswap.h: Likewise.
37871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37873 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37876 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37877 destination buffer.
37878 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37880 2011-12-23 Marek Polacek <polacek@redhat.com>
37882 * elf/dl-addr.c (determine_info): Add inline keyword.
37883 * elf/tst-auditmod4b.c (check_avx): Likewise.
37884 * elf/tst-auditmod6b.c (check_avx): Likewise.
37885 * elf/tst-auditmod6c.c (check_avx): Likewise.
37886 * elf/tst-auditmod7b.c (check_avx): Likewise.
37888 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37890 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37893 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37896 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37897 processing for last bytes.
37899 2011-08-06 Bruno Haible <bruno@clisp.org>
37902 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37903 U+0385, not to U+1FEE.
37906 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37907 entry for U+00A5 U+0301.
37909 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37912 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37913 buffer for the output is too small.
37915 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37919 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37920 SSE flags if possible.
37922 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37926 processing for last bytes.
37928 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37930 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37931 (syscall-list-default-options, syscall-list-default-condition)
37932 (syscall-list-includes): Define.
37933 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37934 list of ABIs and options and #if conditions for each ABI. Do not
37935 handle common syscalls between ABIs specially.
37936 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37938 (syscall-list-variants, syscall-list-32bit-options)
37939 (syscall-list-32bit-condition, syscall-list-64bit-options)
37940 (syscall-list-64bit-condition): Define.
37941 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37942 (syscall-list-variants, syscall-list-32bit-options)
37943 (syscall-list-32bit-condition, syscall-list-64bit-options)
37944 (syscall-list-64bit-condition): Define.
37945 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37947 (syscall-list-variants, syscall-list-32bit-options)
37948 (syscall-list-32bit-condition, syscall-list-64bit-options)
37949 (syscall-list-64bit-condition): Define.
37950 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37952 (syscall-list-variants, syscall-list-32bit-options)
37953 (syscall-list-32bit-condition, syscall-list-64bit-options)
37954 (syscall-list-64bit-condition): Define.
37956 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37958 * locale/iso-639.def: Add brx entry.
37961 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37962 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37964 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37965 __feraiseexcept_renamed.
37967 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37970 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37971 EPOLLET with unsigned values.
37972 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37975 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37976 to large cancellation.
37977 * math/s_cacoshf.c: Likewise.
37978 * math/s_cacoshl.c: Likewise.
37980 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37984 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37985 * math/s_cacoshf.c: Likewise.
37986 * math/s_cacoshl.c: Likewise.
37988 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37991 * iconv/gconv.h: Define __GCONV_SWAP.
37992 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37993 * iconvdata/utf-16.c: Likewise.
37994 * iconvdata/utf-32.c: Likewise.
37996 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38000 numerator after shifting it by one limb.
38002 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38004 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38005 under [__USE_EXTERN_INLINES].
38007 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38010 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38012 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38014 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38015 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38017 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38018 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38019 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38020 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38021 for strncasecmp/strncasecmp_l compilation.
38022 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38023 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38025 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38028 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38031 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38034 * time/tzfile.c (__tzfile_read): Check values from file header.
38036 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38038 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38039 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38040 * powerpc/powerpc32/dl-start.S: Likewise.
38041 * powerpc/powerpc32/elf/start.S: Likewise.
38042 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38043 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38044 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38045 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38046 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38047 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38048 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38049 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38050 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38051 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38052 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38053 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38054 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38055 * powerpc/powerpc32/memset.S: Likewise.
38056 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38057 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38058 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38059 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38060 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38061 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38062 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38063 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38064 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38065 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38066 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38067 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38068 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38070 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38072 * math/libm-test.inc: Added more nearbyint tests.
38073 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38078 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38080 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38083 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38085 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38086 Add wcscpy-ssse3 wcscpy-c.
38087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38088 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38089 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38090 * sysdeps/x86_64/wcschr.S: New file.
38091 * sysdeps/x86_64/wcsrchr.S: New file.
38092 * string/test-strcmp.c: Remove checking of wcscmp function for
38094 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38095 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38096 wcsrchr-sse2 wcsrchr-c.
38097 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38098 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38099 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38100 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38101 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38102 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38103 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38104 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38106 * wcsmbc/wcschr.c (WCSCHR): New macro.
38108 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38110 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38111 * wcsmbs/test-wcsrchr.c: New file.
38112 * string/test-strrchr.c: Add wcsrchr support.
38114 * wcsmbs/test-wcscpy.c: New file.
38115 * string/test-strcpy.c: Add wcscpy support.
38118 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38120 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38123 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38126 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38128 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38131 Minor optimizations.
38133 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38134 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38135 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38137 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38139 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38140 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38141 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38142 for gcc to avoid warnings.
38143 * inet/Makefile (tests): Add tst-checks.
38144 * inet/tst-checks.c: New file.
38146 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38149 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38152 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38153 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38155 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38157 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38159 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38162 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38164 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38166 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38167 conditional on GCC version.
38168 (__arch_compare_and_exchange_val_8_acq)
38169 (__arch_compare_and_exchange_val_16_acq)
38170 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38171 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38172 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38174 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38176 * sysdeps/sh/backtrace.c: New file.
38178 2011-12-02 Andreas Schwab <schwab@redhat.com>
38180 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38183 2011-12-01 Andreas Schwab <schwab@redhat.com>
38185 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38186 falling back to utime.
38188 2011-11-30 Andreas Schwab <schwab@redhat.com>
38190 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38191 expectations for float.
38193 2011-11-29 Andreas Schwab <schwab@redhat.com>
38195 * locale/weight.h (findidx): Add parameter len.
38196 * locale/weightwc.h (findidx): Likewise.
38197 * posix/fnmatch_loop.c (FCT): Adjust caller.
38198 * posix/regcomp.c (build_equiv_class): Likewise.
38199 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38200 * posix/regexec.c (check_node_accept_bytes): Likewise.
38201 * string/strcoll_l.c (STRCOLL): Likewise.
38202 * string/strxfrm_l.c (STRXFRM): Likewise.
38204 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38206 * Makefile.in: Remove CVSOPT handling.
38207 * configure.in: Remove use of AC_REVISION.
38208 * iconvdata/Makefile (distribute): No need to filter out CVS.
38209 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38212 2011-11-16 Andreas Schwab <schwab@redhat.com>
38214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38215 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38216 [USE_AS_STRNCASECMP_L]: Likewise.
38217 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38218 NO_TLS_DIRECT_SEG_REFS.
38219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38220 Fix argument offsets for non-PIC.
38221 [USE_AS_STRNCASECMP_L]: Likewise.
38222 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38223 NO_TLS_DIRECT_SEG_REFS.
38225 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38227 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38229 * locale/loadlocale.c (_nl_load_locale): Likewise.
38231 2011-11-15 Andreas Schwab <schwab@redhat.com>
38233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38234 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38236 (SYSCALL_GETTIME): Set errno on error.
38238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38239 count references to noai6ai_cached.
38241 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38243 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38245 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38246 FD_CLOEXEC for /proc/self/maps.
38248 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38249 FD_CLOEXEC for /proc/meminfo.
38251 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38254 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38255 FD_CLOEXEC for given file.
38257 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38259 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38260 FD_CLOEXEC for /etc/hosts.
38261 (_gethtent): Likewise.
38263 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38265 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38266 cancellation and set FD_CLOEXEC for /etc/netgroup.
38268 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38269 reading /etc/publickey.
38271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38272 allow cancellation when reading /etc/group.
38274 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38276 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38278 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38279 when using data file.
38281 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38283 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38284 (write_nis_obj): Use "c" and "e" in fopen.
38286 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38288 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38290 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38292 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38294 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38297 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38299 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38301 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38303 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38304 file parsing and set FD_CLOEXEC.
38306 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38308 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38310 2011-11-14 Andreas Schwab <schwab@redhat.com>
38312 * malloc/arena.c (arena_get2): Don't call reused_arena when
38313 _int_new_arena failed.
38315 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38317 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38318 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38319 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38320 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38321 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38323 to compile strcasecmp and strncasecmp.
38324 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38325 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38329 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38332 locale-defines.sym to gen-as-const-headers.
38333 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38334 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38336 to compile strcasecmp and strncasecmp.
38337 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38338 strcasecmp_l and strncasecmp_l.
38339 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38340 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38341 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38343 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38344 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38345 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38346 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38347 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38348 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38349 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38351 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38353 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38354 result of SYSDEP_GETTIME_CPU to retval.
38355 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38356 parameter list to macro. Remove trailing semicolon. Adjust users.
38358 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38361 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38363 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38365 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38366 from unused variable.
38368 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38370 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38373 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38376 * sunrpc/rpc_prot.c (rejected): Fix case value.
38378 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38379 unsigned long long int to avoid warnings in shift.
38381 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38383 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38386 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38387 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38390 * nis/nis_table.c (nis_list): Use variable of correct type for
38391 result of __follow_path call.
38393 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38395 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38396 of math functions ceil, trunc, floor, round, and sqrt, when
38397 avaliable on the platform.
38398 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38401 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38402 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38404 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38406 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38409 2011-11-11 Roland McGrath <roland@hack.frob.com>
38411 * include/unistd.h: Fix __readlink return type.
38412 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38414 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38416 * stdlib/ucontext.h: Undo last change for makecontext.
38418 2011-11-11 Andreas Schwab <schwab@redhat.com>
38420 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38422 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38423 * setjmp/setjmp.h: Mark functions as non-leaf.
38424 * setjmp/bits/setjmp2.h: Likewise.
38425 * stdlib/ucontext.h: Likewise.
38427 2011-11-10 Andreas Schwab <schwab@redhat.com>
38429 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38430 (reused_arena): Don't check arena limit.
38431 (arena_get2): Atomically check arena limit.
38433 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38435 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38436 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38441 2011-11-07 Andreas Schwab <schwab@redhat.com>
38443 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38444 handler when locking.
38446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38447 Fix size of allocated buffer.
38449 2011-11-04 Andreas Schwab <schwab@redhat.com>
38452 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38453 declarations for long double functions.
38454 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38456 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38458 2011-11-03 Andreas Schwab <schwab@redhat.com>
38460 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38463 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38466 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38468 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38470 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38472 * include/alloca.h (stackinfo_alloca_round): Define.
38473 (extend_alloca): Use it.
38474 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38475 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38478 * scripts/check-local-headers.sh: Ignore libaudit.h.
38480 * nscd/Makefile (extra-objs): Make recursively expanded.
38482 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38484 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38485 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38487 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38488 * posix/tst-rfc3484-2.c: Likewise.
38489 * posix/tst-rfc3484-3.c: Likewise.
38491 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38493 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38495 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38496 process_vm_writev from libc using GLIBC_2.15 version.
38498 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38500 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38502 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38505 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38508 * nss/getent.c (initgroups_keys): Show error message in case no group
38511 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38512 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38513 __bump_nl_timestamp.
38514 * nscd/connections (nscd_init): When host database is served open
38515 netlink socket and request notification about configuration changes.
38516 (main_loop_poll): Track netlink file descriptor and bump timestamp
38517 in case data becomes available.
38518 (main_loop_epoll): Likewise.
38519 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38520 (database_pers_head): Add extra_data fileds.
38521 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38522 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38523 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38526 in6ai data, call __free_in6ai.
38527 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38528 Add -DHAVE_NETLINK.
38529 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38530 interface information. Reuse previous data if netlink timestamp
38532 (__bump_nl_timestamp): New function.
38533 (__free_in6ai): New function.
38535 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38538 close_not_cancel_no_status here.
38539 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38541 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38544 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38547 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38548 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38549 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38551 2011-07-03 Andreas Jaeger <aj@suse.de>
38554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38555 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38556 * math/libm-test.inc (sin_test): Add test case.
38558 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38561 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38562 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38564 * elf/chroot_canon.c (chroot_canon): Cleanups.
38566 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38569 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38570 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38572 * string/test-strchr.c: Make usable for strchrnul testing.
38573 * string/test-strchrnul.c: New file.
38574 * string/Makefile (strop-tests): Add strchrnul.
38576 * po/it.po: Update from translation team.
38577 * po/es.po: Likewise.
38579 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38581 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38582 the three constants needed as parameters. Drop the others.
38583 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38584 __m128i_strloadu_tolower.
38585 Create and initialize variable zero and use it in all the places
38586 where _mm_setzero_si128 was used.
38588 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38589 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38590 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38593 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38596 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38597 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38598 __mpranred, __mptan.
38599 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38600 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38601 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38602 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38603 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38604 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38606 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38607 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38609 2011-10-28 Andreas Schwab <schwab@redhat.com>
38611 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38612 redefine if SHARED.
38613 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38616 wide char related routines to wcsmbs subdir.
38618 2011-10-27 Andreas Schwab <schwab@redhat.com>
38621 * misc/sys/cdefs.h (__THROWNL): Define.
38622 * posix/unistd.h: Use __THREADNL instead of __THREAD
38623 for memory synchronization functions.
38625 2011-10-26 Roland McGrath <roland@hack.frob.com>
38628 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38630 * manual/stdio.texi (Obstack Streams): Node removed.
38632 2011-10-26 Andreas Schwab <schwab@redhat.com>
38634 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38635 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38638 * math/math_private.h (math_force_eval): Allow non-addressable
38640 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38642 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38644 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38645 file is not needed.
38647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38654 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38656 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38657 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38658 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38659 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38660 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38661 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38662 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38663 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38666 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38667 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38669 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38670 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38671 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38673 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38674 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38676 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38677 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38680 place. Use VEX encoding when compiling for AVX.
38682 2011-10-25 Andreas Schwab <schwab@redhat.com>
38684 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38685 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38687 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38689 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38691 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38692 useless if() expression.
38693 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38702 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38703 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38705 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38706 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38708 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38710 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38711 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38713 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38715 2011-10-25 Andreas Schwab <schwab@redhat.com>
38717 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38719 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38721 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38723 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38724 .text section. Avoid duplicate constants.
38725 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38737 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38738 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38740 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38745 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38747 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38748 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38749 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38750 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38751 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38752 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38753 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38754 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38756 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38757 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38758 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38759 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38760 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38761 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38762 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38763 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38764 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38765 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38771 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38773 * sysdeps/x86_64/dla.h: Move to ...
38774 * sysdeps/x86_64/fpu/dla.h: ...here.
38775 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38776 situations. Use __builtin_fma only for gcc 4.6 and up.
38778 * config.make.in: Add have-mfma4 entry.
38779 * configure.in: Substitute libc_cv_cc_fma4.
38780 * math/Makefile (dbl-only-routines): Add sincostab.
38781 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38782 Use __sincostab not sincos.
38783 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38790 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38791 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38792 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38793 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38795 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38796 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38798 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38799 define aliases when function name is a macro.
38800 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38801 sysdeps/ieee754/dbl-64/sincos.tbl.
38802 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38803 fma4-enabled routines.
38804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38808 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38809 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38814 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38815 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38816 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38827 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38828 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38829 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38831 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38832 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38833 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38835 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38846 2011-10-24 Andreas Schwab <schwab@redhat.com>
38848 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38850 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38854 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38858 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38859 Remove unused variable magic_bits.
38860 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38862 * string/strnlen.c: Define and use STRNLEN macro.
38863 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38864 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38866 * wcsmbs/wcslen.c: Define and use WCSLEN.
38867 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38868 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38869 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38870 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38871 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38872 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38873 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38875 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38878 strnlen-sse2-no-bsf.
38879 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38881 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38882 Add strnlen support.
38883 (USE_AS_STRNLEN): New macro.
38884 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38885 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38886 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38887 * sysdeps/x86_64/wcslen.S: New file.
38889 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38891 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38892 XMM-moves are used for copying on small sizes.
38894 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38896 * wcsmbs/Makefile (strop-tests): Add wcschr.
38897 * wcsmbs/test-wcschr.c: New file.
38898 * string/test-strchr.c: Update.
38899 Add wcschr support.
38902 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38904 * wcsmbs/Makefile (strop-tests): Add wcslen.
38905 * wcsmbs/test-wcslen.c: New file.
38906 * string/test-strlen.c: Update.
38907 Add wcslen support.
38910 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38912 * po/it.po: Update from translation team.
38914 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38916 * sysdeps/x86_64/wcscmp.S: Update.
38917 Fix wrong comparison semantics.
38918 wcscmp shall use signed comparison not unsigned.
38919 Don't use substraction to avoid overflow bug.
38920 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38921 * wcsmbc/wcscmp.c: Likewise.
38922 * string/test-strcmp.c: Likewise.
38923 Add new tests to check cases with negative values.
38925 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38927 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38928 * sysdeps/x86_64/dla.h: ...here. New file.
38929 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38934 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38939 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38942 __ynl_finite aliases.
38944 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38948 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38950 [DLA_FMA] (EMULV): Use DLA_FMA.
38951 [DLA_FMA] (MUL12): Use EMULV.
38952 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38953 that are not needed.
38954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38955 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38962 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38964 * math/s_nan.c: Undef __nan.
38965 * math/s_nanf.c: Undef __nanf.
38966 * math/s_nanl.c: Undef __nanl.
38967 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38970 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38972 * math/s_catan.c: Add branch predictions.
38973 * math/s_catanf.c: Likewise.
38974 * math/s_catanh.c: Likewise.
38975 * math/s_catanhf.c: Likewise.
38976 * math/s_catanhl.c: Likewise.
38977 * math/s_catanl.c: Likewise.
38978 * math/s_cexp.c: Likewise.
38979 * math/s_cexpf.c: Likewise.
38980 * math/s_cexpl.c: Likewise.
38981 * math/s_clog.c: Likewise.
38982 * math/s_clog10.c: Likewise.
38983 * math/s_clog10f.c: Likewise.
38984 * math/s_clog10l.c: Likewise.
38985 * math/s_clogf.c: Likewise.
38986 * math/s_clogl.c: Likewise.
38987 * math/s_csqrt.c: Likewise.
38988 * math/s_csqrtf.c: Likewise.
38989 * math/s_csqrtl.c: Likewise.
38990 * math/s_ctanf.c: Likewise.
38991 * math/s_ctanh.c: Likewise.
38992 * math/s_ctanhf.c: Likewise.
38993 * math/s_ctanhl.c: Likewise.
38994 * math/s_ctanl.c: Likewise.
38996 * math/math_private.h: Define __nan, __nanf, __nanl.
38997 * math/s_cacosh.c: Include <math_private.h>.
38998 * math/s_cacoshl.c: Likewise.
38999 * math/s_casinh.c: Likewise.
39000 * math/s_casinhf.c: Likewise.
39001 * math/s_casinhl.c: Likewise.
39002 * math/s_ccos.c: Rely entire on ccosh.
39003 * math/s_ccosf.c: Rely entire on ccoshf.
39004 * math/s_ccosl.c: Rely entirely on ccoshl.
39005 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39006 Remove tests for FE_INVALID.
39007 * math/s_ccoshf.c: Likewise.
39008 * math/s_ccoshl.c: Likewise.
39009 * math/s_csin.c: Likewise.
39010 * math/s_csinf.c: Likewise.
39011 * math/s_csinh.c Likewise.
39012 * math/s_csinhf.c: Likewise.
39013 * math/s_csinhl.c: Likewise.
39014 * math/s_csinl.c: Likewise.
39015 * math/s_ctan.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39017 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39018 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39020 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39023 compilation problems.
39025 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39028 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39030 * sysdeps/i386/configure.in: Test for -mfma4 option.
39031 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39032 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39033 COMMON_CPUID_INDEX_80000001.
39034 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39035 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39036 use it if FMA3 is not supported.
39037 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39039 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39040 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39042 2011-10-20 Andreas Schwab <schwab@redhat.com>
39045 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39046 it would create a cycle with a link time dependency.
39048 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39050 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39052 * string/Makefile (strop-tests): Add rawmemchr.
39053 * string/test-rawmemchr.c: New file.
39055 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39057 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39058 when compiling str{,n}casecmp and when AVX is available. Hook up
39059 new optimized code in initializers.
39061 2011-10-19 Andreas Schwab <schwab@redhat.com>
39063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39064 __feraiseexcept instead of feraiseexcept.
39066 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39068 * math/math_private.h: Define defaults for libc_fetestexcept and
39070 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39071 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39073 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39074 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39075 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39076 libc_fetestexcept and libc_feupdateenv.
39078 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39079 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39080 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39081 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39082 libc_feholdexcept_setround.
39084 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39085 Add s_nearbyint-c and s_nearbyintf-c.
39086 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39087 nearbyintf inlines.
39088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39093 * math/math_private.h: Define defaults for libc_fegetround,
39094 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39095 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39096 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39098 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39099 standard functions.
39100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39101 Remove comments and hacks for old compiler versions.
39102 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39103 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39104 libc_feholdexceptl.
39106 2011-10-18 Andreas Schwab <schwab@redhat.com>
39108 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39109 (__feraiseexcept_renamed): Add __NTH.
39110 (feraiseexcept): Add __NTH. Rename local variables to fix
39111 namespace violations.
39113 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39117 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39119 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39120 recently added interfaces.
39121 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39123 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39124 about macro parameter expansion.
39126 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39127 __NO_MATH_INLINES is defined. Cleanups.
39129 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39130 and __floorf is target has SSE4.1.
39131 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39132 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39133 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39134 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39136 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39138 (floorf): Likewise.
39140 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39142 2011-10-17 Andreas Schwab <schwab@redhat.com>
39144 * misc/sys/cdefs.h: Fix last change.
39146 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39149 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39151 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39153 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39158 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39159 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39161 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39162 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39163 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39164 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39165 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39166 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39167 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39168 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39169 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39170 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39171 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39172 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39173 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39174 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39176 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39177 ceil, ceilf, floor, floorf.
39179 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39180 Perform IRELATIVE relocations last.
39182 * elf/do-rel.h: Add another parameter nrelative, replacing the
39183 local variable with the same name. Change name of the function
39184 to end in Rel or Rela (uppercase).
39185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39186 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39187 elf_dynamic_do_##reloc function.
39189 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39191 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39192 is sufficient, at least on modern CPUs.
39194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39196 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39199 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39201 * math/bits/math-finite.h: Add entries for exp.
39202 * math/e_expl.c: Add __*_finite alias.
39203 * sysdeps/i386/fpu/e_exp.S: Likewise.
39204 * sysdeps/i386/fpu/e_expf.S: Likewise.
39205 * sysdeps/i386/fpu/e_expl.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39214 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39215 is sufficient, at least on modern CPUs.
39217 * ctype/ctype-info.c (__ctype_init): Define.
39218 * include/ctype.h (__ctype_init): Declare.
39219 (__ctype_b_loc): The variable is always initialized.
39220 (__ctype_toupper_loc): Likewise.
39221 (__ctype_tolower_loc): Likewise.
39222 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39223 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39225 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39227 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39229 * configure.in: Also look in $cxxmachine/include for C++ system
39232 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39234 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39235 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39236 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39237 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39239 (USE_AS_WMEMCMP): New macro.
39241 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39242 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39243 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39244 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39246 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39247 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39248 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39249 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39250 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39251 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39252 (USE_AS_WMEMCMP): New macro.
39253 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39254 * sysdeps/string/test-memcmp.c: Update.
39255 Fix simple_wmemcmp.
39257 * wcsmbs/wmemcmp.c: Update.
39258 (WMEMCMP): New macro.
39261 2011-10-12 Andreas Jaeger <aj@suse.de>
39264 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39266 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39268 * libio/iofwide.c (do_length): Avoid warning.
39270 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39272 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39274 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39276 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39277 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39278 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39279 * sysdeps/i386/i686/fpu/e_log.S: New file.
39280 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39281 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39283 * ctype/ctype.h: Add support for inlined isXXX functions when
39284 compiling C++ code.
39286 2011-10-14 Andreas Schwab <schwab@redhat.com>
39288 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39292 2011-10-13 Roland McGrath <roland@hack.frob.com>
39295 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39297 2011-10-13 Andreas Schwab <schwab@redhat.com>
39299 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39300 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39303 * sysdeps/x86_64/memrchr.S: Check for zero size.
39305 * string/stratcliff.c: Add memrchr tests.
39307 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39310 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39311 rawmemchr-sse2 rawmemchr-sse2-bsf.
39312 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39313 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39314 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39315 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39316 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39317 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39318 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39319 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39320 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39321 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39322 * string/memrchr.c (MEMRCHR): New macro.
39324 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39326 Add integration with gcc's -ffinite-math-only and optimize wrapper
39328 * Versions.def: Define GLIBC_2.15 version for libm.
39329 * math/Makefile (headers): Add bits/math-finite.h.
39330 * math/bits/math-finite.h: New file.
39331 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39332 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39333 * math/e_acoshl.c: Add __*_finite alias.
39334 * math/e_acosl.c: Likewise.
39335 * math/e_asinl.c: Likewise.
39336 * math/e_atan2l.c: Likewise.
39337 * math/e_atanhl.c: Likewise.
39338 * math/e_coshl.c: Likewise.
39339 * math/e_exp10.c: Likewise.
39340 * math/e_exp10f.c: Likewise.
39341 * math/e_exp10l.c: Likewise.
39342 * math/e_exp2l.c: Likewise.
39343 * math/e_fmodl.c: Likewise.
39344 * math/e_gammal_r.c: Likewise.
39345 * math/e_hypotl.c: Likewise.
39346 * math/e_j0l.c: Likewise.
39347 * math/e_j1l.c: Likewise.
39348 * math/e_jnl.c: Likewise.
39349 * math/e_lgammal_r.c: Likewise.
39350 * math/e_log10l.c: Likewise.
39351 * math/e_log2l.c: Likewise.
39352 * math/e_logl.c: Likewise.
39353 * math/e_powl.c: Likewise.
39354 * math/e_sinhl.c: Likewise.
39355 * math/e_sqrtl.c: Likewise.
39356 * math/e_scalb.c: Completely rewritten and optimized.
39357 * math/e_scalbf.c: Likewise.
39358 * math/e_scalbl.c: Likewise.
39359 * math/w_acos.c: Likewise.
39360 * math/w_acosf.c: Likewise.
39361 * math/w_acosl.c: Likewise.
39362 * math/w_acosh.c: Likewise.
39363 * math/w_acoshf.c: Likewise.
39364 * math/w_acoshl.c: Likewise.
39365 * math/w_asin.c: Likewise.
39366 * math/w_asinf.c: Likewise.
39367 * math/w_asinl.c: Likewise.
39368 * math/w_atan2.c: Likewise.
39369 * math/w_atan2f.c: Likewise.
39370 * math/w_atan2l.c: Likewise.
39371 * math/w_atanh.c: Likewise.
39372 * math/w_atanhf.c: Likewise.
39373 * math/w_atanhl.c: Likewise.
39374 * math/w_exp10.c: Likewise.
39375 * math/w_exp10f.c: Likewise.
39376 * math/w_exp10l.c: Likewise.
39377 * math/w_fmod.c: Likewise.
39378 * math/w_fmodf.c: Likewise.
39379 * math/w_fmodl.c: Likewise.
39380 * math/w_j0.c: Likewise.
39381 * math/w_j0f.c: Likewise.
39382 * math/w_j0l.c: Likewise.
39383 * math/w_j1.c: Likewise.
39384 * math/w_j1f.c: Likewise.
39385 * math/w_j1l.c: Likewise.
39386 * math/w_jn.c: Likewise.
39387 * math/w_jnf.c: Likewise.
39388 * math/w_log.c: Likewise.
39389 * math/w_logf.c: Likewise.
39390 * math/w_logl.c: Likewise.
39391 * math/w_log10.c: Likewise.
39392 * math/w_log10f.c: Likewise.
39393 * math/w_log10l.c: Likewise.
39394 * math/w_log2.c: Likewise.
39395 * math/w_log2f.c: Likewise.
39396 * math/w_log2l.c: Likewise.
39397 * math/w_pow.c: Likewise.
39398 * math/w_powf.c: Likewise.
39399 * math/w_powl.c: Likewise.
39400 * math/w_remainder.c: Likewise.
39401 * math/w_remainderf.c: Likewise.
39402 * math/w_remainderl.c: Likewise.
39403 * math/w_scalb.c: Likewise.
39404 * math/w_scalbf.c: Likewise.
39405 * math/w_scalbl.c: Likewise.
39406 * math/w_sqrt.c: Likewise.
39407 * math/w_sqrtf.c: Likewise.
39408 * math/w_sqrtl.c: Likewise.
39409 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39410 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39412 * math/math_private.h: Declare __kernel_standard_f.
39413 * math/w_cosh.c: Remove cruft and optimize a bit.
39414 * math/w_coshf.c: Likewise.
39415 * math/w_coshl.c: Likewise.
39416 * math/w_exp2.c: Likewise.
39417 * math/w_exp2f.c: Likewise.
39418 * math/w_exp2l.c: Likewise.
39419 * math/w_hypot.c: Likewise.
39420 * math/w_hypotf.c: Likewise.
39421 * math/w_hypotl.c: Likewise.
39422 * math/w_lgamma.c: Likewise.
39423 * math/w_lgamma_r.c: Likewise.
39424 * math/w_lgammaf.c: Likewise.
39425 * math/w_lgammaf_r.c: Likewise.
39426 * math/w_lgammal.c: Likewise.
39427 * math/w_lgammal_r.c: Likewise.
39428 * math/w_sinh.c: Likewise.
39429 * math/w_sinhf.c: Likewise.
39430 * math/w_sinhl.c: Likewise.
39431 * math/w_tgamma.c: Likewise.
39432 * math/w_tgammaf.c: Likewise.
39433 * math/w_tgammal.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39436 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39437 Minor optimizations. Pretty printing. Remove cruft.
39438 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39439 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39441 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39442 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39443 * sysdeps/i386/fpu/e_asin.S: Likewise.
39444 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39445 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39446 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39447 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39450 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39451 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39452 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39453 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39454 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39455 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39456 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39457 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39458 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39459 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39460 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39461 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39462 * sysdeps/i386/fpu/e_log.S: Likewise.
39463 * sysdeps/i386/fpu/e_log10.S: Likewise.
39464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39465 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39466 * sysdeps/i386/fpu/e_log2.S: Likewise.
39467 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39468 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39469 * sysdeps/i386/fpu/e_logf.S: Likewise.
39470 * sysdeps/i386/fpu/e_logl.S: Likewise.
39471 * sysdeps/i386/fpu/e_pow.S: Likewise.
39472 * sysdeps/i386/fpu/e_powf.S: Likewise.
39473 * sysdeps/i386/fpu/e_powl.S: Likewise.
39474 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39475 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39476 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39478 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39479 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39480 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39481 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39482 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39508 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39509 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39511 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39512 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39524 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39563 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39564 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39566 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39574 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39575 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39576 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39577 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39578 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39579 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39580 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39581 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39582 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39583 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39584 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39585 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39586 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39587 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39588 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39589 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39590 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39591 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39592 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39593 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39594 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39595 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39596 (__isnanf): Likewise.
39597 (__isinf_ns): Likewise.
39598 (__isinf_nsf): Likewise.
39599 (__finite): Likewise.
39600 (__finitef): Likewise.
39601 (__ieee754_sqrt): Define as macro.
39602 (__ieee754_sqrtf): Define as macro.
39603 (__ieee754_sqrtl): Define as macro.
39604 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39606 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39607 __FINITE_MATH_ONLY__ consistent.
39608 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39610 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39612 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39615 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39617 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39619 * po/ja.po: Update from translation team.
39621 2011-10-08 Roland McGrath <roland@hack.frob.com>
39623 * locale/programs/locarchive.c (prepare_address_space): New function.
39624 (create_archive, enlarge_archive, open_archive): Use it.
39626 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39627 inside [SHARED], where it is used.
39629 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39631 * nss/getent.c (netgroup_keys): Remove unused variable.
39632 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39634 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39636 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39637 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39640 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39641 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39642 * math/Makefile (libm-calls): Add s_isinf_ns.
39643 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39644 * math/multc3.c: Likewise.
39645 * math/s_casin.c: Likewise.
39646 * math/s_casinf.c: Likewise.
39647 * math/s_casinl.c: Likewise.
39648 * math/s_ccos.c: Likewise.
39649 * math/s_ccosf.c: Likewise.
39650 * math/s_ccosl.c: Likewise.
39651 * math/s_ctan.c: Likewise.
39652 * math/s_ctanf.c: Likewise.
39653 * math/s_ctanh.c: Likewise.
39654 * math/s_ctanhf.c: Likewise.
39655 * math/s_ctanhl.c: Likewise.
39656 * math/s_ctanl.c: Likewise.
39657 * math/w_fmod.c: Likewise.
39658 * math/w_fmodf.c: Likewise.
39659 * math/w_fmodl.c: Likewise.
39660 * math/w_remainder.c: Likewise.
39661 * math/w_remainderf.c: Likewise.
39662 * math/w_remainderl.c: Likewise.
39663 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39664 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39667 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39668 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39669 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39670 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39672 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39674 * stdio-common/printf_fphex.c: Likewise.
39675 * stdio-common/printf_size.c: Likewise.
39677 * math/e_exp10.c: Include math_private.h using <...> not "...".
39678 * math/e_exp10f.c: Likewise.
39679 * math/e_exp10l.c: Likewise.
39680 * math/e_exp2l.c: Likewise.
39681 * math/e_j0l.c: Likewise.
39682 * math/e_j1l.c: Likewise.
39683 * math/e_jnl.c: Likewise.
39684 * math/e_lgammal_r.c: Likewise.
39685 * math/e_rem_pio2l.c: Likewise.
39686 * math/e_scalb.c: Likewise.
39687 * math/e_scalbf.c: Likewise.
39688 * math/e_scalbl.c: Likewise.
39689 * math/k_cosl.c: Likewise.
39690 * math/k_sinl.c: Likewise.
39691 * math/k_tanl.c: Likewise.
39692 * math/s_cacoshf.c: Likewise.
39693 * math/s_catan.c: Likewise.
39694 * math/s_catanf.c: Likewise.
39695 * math/s_catanh.c: Likewise.
39696 * math/s_catanhf.c: Likewise.
39697 * math/s_catanhl.c: Likewise.
39698 * math/s_catanl.c: Likewise.
39699 * math/s_ccosh.c: Likewise.
39700 * math/s_ccoshf.c: Likewise.
39701 * math/s_ccoshl.c: Likewise.
39702 * math/s_cexp.c: Likewise.
39703 * math/s_cexpf.c: Likewise.
39704 * math/s_cexpl.c: Likewise.
39705 * math/s_clog.c: Likewise.
39706 * math/s_clog10.c: Likewise.
39707 * math/s_clog10f.c: Likewise.
39708 * math/s_clog10l.c: Likewise.
39709 * math/s_clogf.c: Likewise.
39710 * math/s_clogl.c: Likewise.
39711 * math/s_csin.c: Likewise.
39712 * math/s_csinf.c: Likewise.
39713 * math/s_csinh.c: Likewise.
39714 * math/s_csinhf.c: Likewise.
39715 * math/s_csinhl.c: Likewise.
39716 * math/s_csinl.c: Likewise.
39717 * math/s_csqrt.c: Likewise.
39718 * math/s_csqrtf.c: Likewise.
39719 * math/s_csqrtl.c: Likewise.
39720 * math/s_ctan.c: Likewise.
39721 * math/s_ctanf.c: Likewise.
39722 * math/s_ctanh.c: Likewise.
39723 * math/s_ctanhf.c: Likewise.
39724 * math/s_ctanhl.c: Likewise.
39725 * math/s_ctanl.c: Likewise.
39726 * math/s_ldexp.c: Likewise.
39727 * math/s_ldexpf.c: Likewise.
39728 * math/s_ldexpl.c: Likewise.
39729 * math/s_significand.c: Likewise.
39730 * math/s_significandf.c: Likewise.
39731 * math/s_significandl.c: Likewise.
39732 * math/w_acos.c: Likewise.
39733 * math/w_acosf.c: Likewise.
39734 * math/w_acosh.c: Likewise.
39735 * math/w_acoshf.c: Likewise.
39736 * math/w_acoshl.c: Likewise.
39737 * math/w_acosl.c: Likewise.
39738 * math/w_asin.c: Likewise.
39739 * math/w_asinf.c: Likewise.
39740 * math/w_asinl.c: Likewise.
39741 * math/w_atan2.c: Likewise.
39742 * math/w_atan2f.c: Likewise.
39743 * math/w_atan2l.c: Likewise.
39744 * math/w_atanh.c: Likewise.
39745 * math/w_atanhf.c: Likewise.
39746 * math/w_atanhl.c: Likewise.
39747 * math/w_cosh.c: Likewise.
39748 * math/w_coshf.c: Likewise.
39749 * math/w_coshl.c: Likewise.
39750 * math/w_dremf.c: Likewise.
39751 * math/w_exp10.c: Likewise.
39752 * math/w_exp10f.c: Likewise.
39753 * math/w_exp10l.c: Likewise.
39754 * math/w_exp2.c: Likewise.
39755 * math/w_exp2f.c: Likewise.
39756 * math/w_fmod.c: Likewise.
39757 * math/w_fmodf.c: Likewise.
39758 * math/w_fmodl.c: Likewise.
39759 * math/w_hypot.c: Likewise.
39760 * math/w_hypotf.c: Likewise.
39761 * math/w_hypotl.c: Likewise.
39762 * math/w_j0.c: Likewise.
39763 * math/w_j0f.c: Likewise.
39764 * math/w_j0l.c: Likewise.
39765 * math/w_j1.c: Likewise.
39766 * math/w_j1f.c: Likewise.
39767 * math/w_j1l.c: Likewise.
39768 * math/w_jn.c: Likewise.
39769 * math/w_jnf.c: Likewise.
39770 * math/w_jnl.c: Likewise.
39771 * math/w_lgamma.c: Likewise.
39772 * math/w_lgamma_r.c: Likewise.
39773 * math/w_lgammaf.c: Likewise.
39774 * math/w_lgammaf_r.c: Likewise.
39775 * math/w_lgammal.c: Likewise.
39776 * math/w_lgammal_r.c: Likewise.
39777 * math/w_log.c: Likewise.
39778 * math/w_log10.c: Likewise.
39779 * math/w_log10f.c: Likewise.
39780 * math/w_log10l.c: Likewise.
39781 * math/w_log2.c: Likewise.
39782 * math/w_log2f.c: Likewise.
39783 * math/w_log2l.c: Likewise.
39784 * math/w_logf.c: Likewise.
39785 * math/w_logl.c: Likewise.
39786 * math/w_pow.c: Likewise.
39787 * math/w_powf.c: Likewise.
39788 * math/w_powl.c: Likewise.
39789 * math/w_remainder.c: Likewise.
39790 * math/w_remainderf.c: Likewise.
39791 * math/w_remainderl.c: Likewise.
39792 * math/w_scalb.c: Likewise.
39793 * math/w_scalbf.c: Likewise.
39794 * math/w_scalbl.c: Likewise.
39795 * math/w_sinh.c: Likewise.
39796 * math/w_sinhf.c: Likewise.
39797 * math/w_sinhl.c: Likewise.
39798 * math/w_sqrt.c: Likewise.
39799 * math/w_sqrtf.c: Likewise.
39800 * math/w_sqrtl.c: Likewise.
39801 * math/w_tgamma.c: Likewise.
39802 * math/w_tgammaf.c: Likewise.
39803 * math/w_tgammal.c: Likewise.
39805 * po/ja.po: Update from translation team.
39807 2011-09-29 Andreas Jaeger <aj@suse.de>
39810 * sunrpc/netname.c (netname2host): Fix logic.
39814 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39816 * math/w_remainder.c (__remainder): Likewise.
39817 * math/w_remainderf.c (__remainderf): Likewise.
39818 * math/libm-test.inc (remainder_test): Add test cases.
39820 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39822 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39825 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39827 * string/test-memcmp.c: Avoid unncessary #defines.
39828 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39830 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39832 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39833 Use new sse2 version for core i3 - i7 as it's faster
39834 than sse42 version.
39835 (bit_Prefer_PMINUB_for_stringop): New.
39836 * sysdeps/x86_64/rawmemchr.S: Update.
39837 Replace with faster SSE2 version.
39838 * sysdeps/x86_64/memrchr.S: New file.
39839 * sysdeps/x86_64/memchr.S: Update.
39840 Replace with faster SSE2 version.
39842 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39844 * elf/dl-load.c (lose): Add cast to avoid warning.
39846 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39848 * po/ca.po: Update from translation team.
39850 * inet/getnetgrent_r.c: Hook up nscd.
39851 * nscd/Makefile (routines): Add nscd_netgroup.
39852 (nscd-modules): Add netgroupcache.
39853 (CFLAGS-netgroupcache.c): Define.
39854 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39855 (cache_search): Add const to second parameter.
39856 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39858 (dbs): Add netgrdb entry.
39859 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39860 (verify_persistent_db): Handle netgrdb.
39861 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39862 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39864 (netgroup_response_header): Define.
39865 (innetgroup_response_header): Define.
39866 (datahead): Add netgroup_response_header and innetgroup_response_header
39868 * nscd/nscd.conf: Add entries for netgroup cache.
39869 * nscd/nscd.h (dbtype): Add netgrdb.
39870 (_PATH_NSCD_NETGROUP_DB): Define.
39871 (netgroup_iov_disabled): Declare.
39872 (xmalloc, xcalloc, xrealloc): Move declarations here.
39873 (cache_search): Adjust prototype.
39874 Add netgroup-related prototypes.
39875 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39876 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39877 (__nscd_innetgr): Declare.
39878 * nscd/selinux.c (perms): Use access_vector_t as element type and
39879 add netgroup-related initializers.
39880 * nscd/netgroupcache.c: New file.
39881 * nscd/nscd_netgroup.c: New file.
39882 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39883 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39884 For four parameters use innetgr.
39885 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39886 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39887 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39888 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39890 * nscd/connections.c (register_traced_file): Don't register file
39891 for disabled databases.
39893 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39895 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39897 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39898 from tree and freeing node.
39900 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39902 * nss/nsswitch.c (__nss_database_lookup): Handle
39903 nss_parse_service_list out of memory case.
39905 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39907 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39908 out of memory case.
39910 2011-10-04 Andreas Schwab <schwab@redhat.com>
39912 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39913 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39915 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39916 elf_machine_rela, elf_machine_lazy_rel.
39917 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39918 (ELF_DYNAMIC_DO_REL): Likewise.
39919 (ELF_DYNAMIC_DO_RELA): Likewise.
39920 (ELF_DYNAMIC_RELOCATE): Likewise.
39921 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39922 to ELF_DYNAMIC_DO_REL.
39923 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39924 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39925 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39928 skip_ifunc, don't call ifunc function if non-zero.
39929 (elf_machine_rela): Likewise.
39930 (elf_machine_lazy_rel): Likewise.
39931 (elf_machine_lazy_rela): Likewise.
39932 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39933 (elf_machine_lazy_rel): Likewise.
39934 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39936 (elf_machine_lazy_rel): Likewise.
39937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39939 (elf_machine_lazy_rel): Likewise.
39940 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39941 (elf_machine_lazy_rel): Likewise.
39942 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39943 (elf_machine_lazy_rel): Likewise.
39944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39945 (elf_machine_lazy_rel): Likewise.
39946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39947 (elf_machine_lazy_rel): Likewise.
39948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39949 (elf_machine_lazy_rel): Likewise.
39950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39951 (elf_machine_lazy_rel): Likewise.
39953 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39955 * nss/nss_files/files-init.c (_nss_files_init): Use static
39956 initialization for all the *_traced_file variables.
39958 2011-09-28 Andreas Schwab <schwab@redhat.com>
39960 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39962 2011-09-27 Roland McGrath <roland@hack.frob.com>
39965 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39967 2011-09-27 Andreas Schwab <schwab@redhat.com>
39969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39970 Reread the line before reparsing it.
39972 2011-09-26 Andreas Schwab <schwab@redhat.com>
39974 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39976 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39977 Maxim Kuvyrkov <maxim@codesourcery.com>
39978 Joseph Myers <joseph@codesourcery.com>
39980 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39981 if needed for __stack_chk_guard.
39983 2011-09-19 Roland McGrath <roland@hack.frob.com>
39985 * sysdeps/posix/spawni.c (script_execute): Always define it.
39986 It will be optimized away if unused.
39987 (maybe_script_execute): New function.
39988 (__spawni): Call it.
39990 * Makerules: Don't include tls.make.
39991 (config-tls): Always set to thread.
39992 * tls.make.c: File removed.
39994 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39996 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39997 * config.make.in (CPPFLAGS-config): New substituted variable.
39999 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40004 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40005 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40007 2011-09-15 Roland McGrath <roland@hack.frob.com>
40009 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40010 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40012 (CALL_FAIL): Likewise.
40013 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40014 (CALL_FAIL): Macro removed.
40015 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40017 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40020 for __FINITE_MATH_ONLY__ == 1.
40022 2011-09-15 Andreas Schwab <schwab@redhat.com>
40024 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40025 __ieee754_sqrt instead of sqrt.
40026 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40027 __ieee754_sqrtf instead of sqrtf.
40028 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40029 __floorf instead of floorf.
40030 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40031 __floorf, __truncf instead of floorf, truncf.
40033 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40035 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40037 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40038 __extern_always_inline.
40039 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40042 2011-09-14 Andreas Schwab <schwab@redhat.com>
40044 * elf/rtld.c (dl_main): Also relocate in dependency order when
40045 doing symbol dependency testing.
40047 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40050 Always define `refsym'.
40052 2011-09-13 Andreas Schwab <schwab@redhat.com>
40054 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40055 (__FD_ELT): Renamed from __FDELT.
40056 * misc/bits/select2.h (__FD_ELT): Likewise.
40057 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40058 __FD_MASK instead of __FDELT, __FDMASK.
40059 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40061 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40064 * elf/Makefile (gen-ldd): Fix pattern.
40066 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40067 (init_tls): Likewise.
40069 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40071 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40073 2011-09-12 Andreas Schwab <schwab@redhat.com>
40075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40076 `struct cmsghdr *' instead of `void *'.
40077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40080 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40082 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40084 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40085 ldd_rewrite_script.
40087 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40089 * configure.in: Remove --with-tls option.
40090 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40091 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40092 out in case it is missing.
40093 * sysdeps/ia64/elf/configure.in: Likewise.
40094 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40095 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40096 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40097 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40098 * sysdeps/sh/elf/configure.in: Likewise.
40099 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40100 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40101 * sysdeps/x86_64/elf/configure.in: Likewise.
40102 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40103 * sysdeps/mach/hurd/tls.h: Likewise.
40106 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40109 * configure.in: Fix use of AC_INIT.
40111 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40113 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40115 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40117 * malloc/hooks.c: Likewise.
40120 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40121 variables statically.
40122 (narenas): Initialize.
40123 (list_lock): Initialize.
40124 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40125 initializtion of main_arena and list_lock. Small cleanups.
40126 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40127 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40128 Add initializers to main_arena and mp_.
40129 (malloc_state): Remove pagesize member. Change all users to use
40132 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40133 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40134 is always initialized.
40136 * malloc/malloc.c: Removed unused configurations and dead code.
40137 * malloc/arena.c: Likewise.
40138 * malloc/hooks.c: Likewise.
40139 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40141 * include/tls.h: Removed. USE___THREAD must always be defined.
40142 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40143 * elf/dl-libc.c: Likewise.
40144 * elf/dl-tsd.c: Likewise.
40145 * include/errno.h: Likewise.
40146 * include/netdb.h: Likewise.
40147 * include/resolv.h: Likewise.
40148 * inet/herrno-loc.c: Likewise.
40149 * inet/herrno.c: Likewise.
40150 * malloc/arena.c: Likewise.
40151 * malloc/hooks.c: Likewise.
40152 * malloc/malloc.c: Likewise.
40153 * resolv/res-state.c: Likewise.
40154 * resolv/res_libc.c: Likewise.
40155 * sysdeps/i386/dl-machine.h: Likewise.
40156 * sysdeps/ia64/dl-machine.h: Likewise.
40157 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40158 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40159 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40160 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40161 * sysdeps/sh/dl-machine.h: Likewise.
40162 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40163 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40164 * sysdeps/unix/i386/sysdep.S: Likewise.
40165 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40166 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40171 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40175 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40176 * sysdeps/x86_64/dl-machine.h: Likewise.
40177 * tls.make.c: Likewise.
40179 * configure.in: Remove --with-__thread option. Make tests for
40180 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40181 tls_model attribute fail if no support is available. Remove
40183 * Makeconfig: Adjust for dropped configure option. All features are
40185 * Makerules: Likewise.
40186 * Versions.def: Likewise.
40187 * argp/argp-fmtstream.c: Likewise.
40188 * argp/argp-fmtstream.h: Likewise.
40189 * argp/argp-help.c: Likewise.
40190 * assert/assert.c: Likewise.
40191 * config.h.in: Likewise.
40192 * config.make.in: Likewise.
40193 * configure: Likewise.
40194 * configure.in: Likewise.
40195 * csu/Versions: Likewise.
40196 * csu/init.c: Likewise.
40197 * elf/tst-audit2.c: Likewise.
40198 * elf/tst-tls10.c: Likewise.
40199 * elf/tst-tls10.h: Likewise.
40200 * elf/tst-tls11.c: Likewise.
40201 * elf/tst-tls12.c: Likewise.
40202 * elf/tst-tls14.c: Likewise.
40203 * elf/tst-tlsmod11.c: Likewise.
40204 * elf/tst-tlsmod12.c: Likewise.
40205 * elf/tst-tlsmod13.c: Likewise.
40206 * elf/tst-tlsmod13a.c: Likewise.
40207 * elf/tst-tlsmod14a.c: Likewise.
40208 * elf/tst-tlsmod15b.c: Likewise.
40209 * elf/tst-tlsmod16a.c: Likewise.
40210 * elf/tst-tlsmod16b.c: Likewise.
40211 * elf/tst-tlsmod7.c: Likewise.
40212 * elf/tst-tlsmod8.c: Likewise.
40213 * elf/tst-tlsmod9.c: Likewise.
40214 * gmon/gmon.c: Likewise.
40215 * grp/fgetgrent_r.c: Likewise.
40216 * grp/putgrent.c: Likewise.
40217 * hurd/fopenport.c: Likewise.
40218 * include/libc-symbols.h: Likewise.
40219 * include/tls.h: Likewise.
40220 * intl/gettextP.h: Likewise.
40221 * intl/loadinfo.h: Likewise.
40222 * locale/global-locale.c: Likewise.
40223 * locale/localeinfo.h: Likewise.
40224 * mach/devstream.c: Likewise.
40225 * malloc/arena.c: Likewise.
40226 * malloc/set-freeres.c: Likewise.
40227 * misc/err.c: Likewise.
40228 * misc/getttyent.c: Likewise.
40229 * misc/mntent_r.c: Likewise.
40230 * posix/getopt.c: Likewise.
40231 * posix/wordexp.c: Likewise.
40232 * pwd/fgetpwent_r.c: Likewise.
40233 * resolv/Versions: Likewise.
40234 * resolv/res_hconf.c: Likewise.
40235 * shadow/fgetspent_r.c: Likewise.
40236 * shadow/putspent.c: Likewise.
40237 * stdio-common/printf_fphex.c: Likewise.
40238 * stdio-common/tmpfile.c: Likewise.
40239 * stdlib/abort.c: Likewise.
40240 * stdlib/fmtmsg.c: Likewise.
40241 * sunrpc/auth_unix.c: Likewise.
40242 * sunrpc/clnt_perr.c: Likewise.
40243 * sunrpc/clnt_tcp.c: Likewise.
40244 * sunrpc/clnt_udp.c: Likewise.
40245 * sunrpc/clnt_unix.c: Likewise.
40246 * sunrpc/openchild.c: Likewise.
40247 * sunrpc/svc_simple.c: Likewise.
40248 * sunrpc/svc_tcp.c: Likewise.
40249 * sunrpc/svc_udp.c: Likewise.
40250 * sunrpc/svc_unix.c: Likewise.
40251 * sunrpc/xdr.c: Likewise.
40252 * sunrpc/xdr_array.c: Likewise.
40253 * sunrpc/xdr_rec.c: Likewise.
40254 * sunrpc/xdr_ref.c: Likewise.
40255 * sunrpc/xdr_stdio.c: Likewise.
40257 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40259 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40261 2011-07-03 Andreas Jaeger <aj@suse.de>
40263 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40264 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40265 regenerate with gen-libm-tests.pl.
40267 2010-05-12 Petr Baudis <pasky@suse.cz>
40270 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40271 around j0() zero points by switching to j1().
40272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40277 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40279 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40281 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40284 Patch in part by Pavel Roskin <proski@gnu.org>.
40287 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40289 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40290 Free memory block if necessary.
40293 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40294 be NULL. Don't lock in this case.
40296 2011-09-09 Roland McGrath <roland@hack.frob.com>
40298 * elf/elf.h (ELFOSABI_GNU): New macro.
40299 (ELFOSABI_LINUX): Define to that.
40301 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40303 * string/strncat.c (strncat): Undef the symbol in case it has been
40304 defined in bits/string.h.
40306 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40308 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40310 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40313 2011-08-17 Andreas Jaeger <aj@suse.de>
40315 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40317 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40318 Ian Lance Taylor <iant@google.com>
40320 * math/libm-test.inc (lround_test): New testcase.
40321 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40323 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40325 * Makefile: Remove support for automatic cvs check-ins.
40326 * Makerules: Likewise.
40327 * config.make.in: Likewise.
40328 * configure.in: Likewise.
40329 * intl/Makefile: Likewise.
40330 * locale/Makefile: Likewise.
40331 * po/Makefile: Likewise.
40332 * posix/Makefile: Likewise.
40333 * sysdeps/gnu/Makefile: Likewise.
40334 * sysdeps/mach/hurd/Makefile: Likewise.
40335 * sysdeps/sparc/sparc32/Makefile: Likewise.
40338 * posix/Makefile (bug-regex32-ENV): Define.
40339 Patch by John Stanley <jpsinthemix@verizon.net>.
40341 * misc/Makefile (headers): Add bits/select2.h.
40342 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40343 * misc/bits/select2.h: New file.
40344 * include/bits/select2.h: New file.
40345 * debug/Makefile (routines): Add fdelt_chk.
40346 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40347 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40349 * debug/fdelt_chk.c: New file.
40351 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40352 * wcsmbs/test-wmemcmp.c: Likewise.
40353 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40354 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40356 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40358 * string/Makefile (strop-tests): Add memcmp.
40359 * string/test-wmemcmp.c: New file.
40360 * string/test-memcmp.c: Add wmemcmp support.
40362 2011-09-08 Roland McGrath <roland@hack.frob.com>
40365 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40368 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40369 garbage value in a __mach_port_mod_refs call in the cases of the
40370 task-self and thread-self ports.
40372 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40374 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40376 2011-09-08 Andreas Schwab <schwab@redhat.com>
40378 * elf/dl-load.c (lose): Check for non-null L.
40380 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40382 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40384 * elf/dl-libc.c (dlerror_run): Pass back error code from
40388 * elf/dl-load.c (lose): Free l_origin if it is valid.
40390 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40392 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40394 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40395 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40397 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40399 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40401 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40402 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40403 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40404 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40405 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40406 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40407 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40408 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40409 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40410 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40412 2011-08-15 Alan Modra <amodra@gmail.com>
40415 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40416 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40417 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40418 ppc_mcount to static-only-routines.
40419 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40421 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40422 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40424 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40426 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40427 for finite and infinity parameters.
40429 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40432 and add nop instructions for throughput optimization.
40433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40435 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40437 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40438 aligned copy for power7 with vector-scalar instructions.
40439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40441 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40446 2011-09-07 Andreas Schwab <schwab@redhat.com>
40449 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40452 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40454 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40455 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40456 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40457 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40460 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40462 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40463 Forgot to demangle the pointer.
40465 * sysdeps/i386/sysdep.h: Define atom_text_section.
40466 * sysdeps/x86_64/sysdep.h: Likewise.
40467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40468 section with atom_text_section.
40469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40471 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40473 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40475 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40477 already be defined. Change to take two parameters and don't assign
40478 result to variable. Adjust all users.
40479 Define INTERNAL_GETTIME if not already defined.
40480 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40483 HAVE_CLOCK_GETTIME_VSYSCALL.
40484 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40487 gettimeofday vsyscall, just use time.
40489 2011-09-06 Andreas Schwab <schwab@redhat.com>
40491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40494 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40496 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40500 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40501 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40502 syscall if possible.
40504 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40506 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40507 e_ident. Don't pass to find_mapsXX.
40508 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40510 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40513 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40514 * sysdeps/x86_64/multiarch/strchr.S: Update.
40515 Check bit_slow_BSF bit.
40516 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40517 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40518 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40520 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40523 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40525 (tryshell): Define.
40526 (__spawni): Change last parameter to be flag. Test
40527 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40528 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40529 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40530 * posix/spawni.c: Likewise.
40531 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40532 * posix/spawnp.c: Likewise. Change normal version to use
40533 SPAWN_XFLAGS_USE_PATH.
40534 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40535 SPAWN_XFLAGS_TRY_SHELL.
40538 * posix/glob.h: Remove gcc 1.x support.
40541 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40543 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40546 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40548 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40549 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40552 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40555 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40557 * sysdeps/x86_64/wcscmp.S: New file.
40559 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40560 wcscmp-c wcscmp-sse2
40561 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40562 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40563 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40564 * wcsmbs/wcscmp.c: Allow renaming.
40566 2011-09-05 David S. Miller <davem@davemloft.net>
40568 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40569 stack slot, rather than the struct return pointer slot.
40570 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40571 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40573 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40575 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40577 * po/ja.po: Update from translation team.
40580 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40581 kernel in 64-bit binaries.
40583 2011-09-01 David S. Miller <davem@davemloft.net>
40585 * elf/elf.h (HWCAP_SPARC_*): Move to..
40586 * sysdeps/sparc/sysdep.h: this new file and add new values.
40587 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40588 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40589 _DL_HWCAP_COUNT to 24.
40590 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40592 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40593 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40594 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40596 instead of magic constants.
40597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40599 2011-08-31 David S. Miller <davem@davemloft.net>
40601 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40603 Reimplement to do errno handling inline.
40604 (SYSCALL_ERROR_HANDLER): New macro.
40605 (__SYSCALL_STRING): Do not do errno handling in asm.
40606 (__CLONE_SYSCALL_STRING): Delete.
40607 (__INTERNAL_SYSCALL_STRING): Delete.
40608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40609 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40610 (PSEUDO): Reimplement to do errno handling inline.
40611 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40612 (SYSCALL_ERROR_HANDLER): New macro.
40613 (__SYSCALL_STRING): Do not do errno handling in asm.
40614 (__CLONE_SYSCALL_STRING): Delete.
40615 (__INTERNAL_SYSCALL_STRING): Delete.
40616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40617 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40619 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40620 (inline_syscall*): Add 'err' argument.
40621 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40622 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40623 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40624 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40626 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40627 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40629 2011-08-30 Andreas Schwab <schwab@redhat.com>
40631 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40633 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40635 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40638 2011-08-24 David S. Miller <davem@davemloft.net>
40640 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40642 2011-08-24 Andreas Schwab <schwab@redhat.com>
40644 * elf/Makefile: Add rules to build and run unload8 test.
40645 * elf/unload8.c: New file.
40646 * elf/unload8mod1.c: New file.
40647 * elf/unload8mod1x.c: New file.
40648 * elf/unload8mod2.c: New file.
40649 * elf/unload8mod3.c: New file.
40651 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40654 2011-08-23 David S. Miller <davem@davemloft.net>
40656 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40657 subtract stack bias.
40658 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40659 %sp not %fp in calculations.
40660 (_JMPBUF_UNWINDS_ADJ): Likewise.
40662 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40663 (aio_suspend): Call it to force an exception region around the
40664 AIO_MISC_WAIT() invocation.
40666 2011-08-23 Andreas Schwab <schwab@redhat.com>
40668 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40671 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40673 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40675 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40676 and <dl-machine.h>.
40677 (Elf64_FuncDesc): Remove.
40679 2011-08-22 David S. Miller <davem@davemloft.net>
40681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40682 sigaltstack check, add missing cfi directives.
40683 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40684 missing cfi directives, and sigaltstack handling.
40686 2011-08-16 Andreas Schwab <schwab@redhat.com>
40689 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40690 object is seen twice.
40691 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40693 * elf/Makefile (distribute): Add tst-initorder2.c.
40694 (tests): Add tst-initorder2.
40695 (modules-names): Add tst-initorder2a tst-initorder2b
40696 tst-initorder2c tst-initorder2d. Add rules to build them.
40697 ($(objpfx)tst-initorder2.out): New rule.
40698 * elf/tst-initorder2.c: New file.
40699 * elf/tst-initorder2.exp: New file.
40701 2011-08-22 Andreas Schwab <schwab@redhat.com>
40703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40705 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40706 dependencies back to end of function.
40708 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40709 $(elfobjdir)/ld.so.
40711 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40714 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40716 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40717 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40718 of __vdso_gettimeofday.
40719 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40720 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40722 (_libc_vdso_platform_setup): Remove initialization of
40723 __vdso_gettimeofday and __vdso_time.
40725 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40727 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40728 and fgetc_unlocked.
40729 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40732 * elf/dl-open.c (add_to_global): Report additions to the global scope
40733 for LD_DEBUG=scopes.
40734 (dl_open_worker): Also print scope of newly loaded dependencies.
40735 (_dl_show_scope): Indicate if there is no scope.
40738 * stdio-common/Makefile (tests): Add bug24.
40739 * stdio-common/bug24.c: New file.
40741 2011-08-19 Andreas Jaeger <aj@suse.de>
40744 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40745 non-existant file when using close-on-exec mode.
40747 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40750 the very first instruction.
40752 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40753 the CFI state in the end.
40754 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40755 inclusion of dl-trampoline.h.
40756 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40758 2011-08-19 Andreas Schwab <schwab@redhat.com>
40760 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40761 expectations for long double.
40763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40764 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40766 2011-08-14 David S. Miller <davem@davemloft.net>
40768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40769 artificual limit depends upon the system page size.
40771 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40773 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40774 * resolv/Makefile: Define CFLAGS-libresolv.
40776 2011-08-17 Andreas Schwab <schwab@redhat.com>
40778 * nss/makedb.c (compute_tables): Make variables used in nested
40781 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40783 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40784 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40785 if buffer was too small.
40787 * elf/pldd.c (main): Attach to all threads in the process.
40788 Rewrite /proc handling to use *at functions.
40790 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40792 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40793 specifies first scope to show.
40794 (dl_open_worker): Update callers. Move printing scope of new
40795 object to before the relocation.
40796 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40797 * sysdeps/generic/ldsodefs.h: Update declaration.
40799 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40800 string for the scope number.
40802 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40804 * nscd/servicescache.c (cache_addserv): Make sure written is always
40807 2011-08-14 Roland McGrath <roland@hack.frob.com>
40809 * sysdeps/i386/i486/bits/atomic.h
40810 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40811 statement expression, so as to suppress "set but not used" warning.
40812 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40814 * string/strncat.c (STRNCAT): Use prototype definition.
40816 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40817 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40819 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40820 (localedef-modules): Add localedef.
40821 (locale-modules): Add locale.
40823 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40824 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40825 to avoid a warning.
40827 2011-08-14 David S. Miller <davem@davemloft.net>
40829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40830 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40832 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40834 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40835 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40836 * elf/rtld.c (dl_main): Set l_name of vDSO.
40837 Call _dl_show_scope when DL_DEBUG_SCOPES.
40838 (process_dl_debug): Recognize scopes flag and also set it for all.
40839 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40840 Declare _dl_show_scope.
40842 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40843 (do_dlopen): Pass caller_dlopen to dl_open.
40844 (__libc_dlopen_mode): Initialize caller_dlopen.
40846 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40847 of libc. Make tolower call locale-independent. Optimize a bit by
40848 using isdigit instead of isalnum.
40849 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40851 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40853 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40854 was a dependency or dynamically loaded.
40856 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40858 * intl/l10nflist.c: Allow architecture-specific pop function.
40859 * sysdeps/x86_64/l10nflist.c: New file.
40861 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40864 2011-08-10 Andreas Schwab <schwab@redhat.com>
40866 * include/dirent.h: Add libc_hidden_proto for scandirat and
40867 scandirat64. Don't declare __scandirat64.
40868 * dirent/scandirat.c: Add libc_hidden_def.
40869 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40870 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40872 2011-08-10 David S. Miller <davem@davemloft.net>
40874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40876 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40880 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40882 * Versions.def [libc]: Add GLIBC_2.15.
40883 * dirent/Makefile (routines): Add scandirat and scandirat64.
40884 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40886 * dirent/dirent.h: Declare scandirat and scandirat64.
40887 * dirent/scandirat.c: New file.
40888 * dirent/scandirat64.c: New file.
40889 * sysdeps/wordsize-64/scandirat.c: New file.
40890 * sysdeps/wordsize-64/scandirat64.c: New file.
40891 * dirent/opendir.c: Define opendirat.
40892 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40894 * dirent/scandir64.c: Adjust for scandir.c change.
40895 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40896 __scandirat64, and __scandir_cancel_handler.
40897 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40898 additional parameter and use openat instead of open (outside of ld.so).
40899 Add new __opendir as wrapper around __opendirat.
40900 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40901 here without requiring old scandirat implementation.
40903 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40905 * dirent/scandir.c (cancel_handler): Renamed to
40906 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40907 defined. Adjust users.
40908 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40909 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40911 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40913 * string/test-string.h (IMPL): Use __STRING to expand name and then
40916 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40919 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40921 * string/Makefile: Update.
40922 (strop-tests): Append strncat.
40923 * string/test-wcscmp.c: New file.
40924 New comprehensive test for wcscmp.
40925 * string/test-strcmp.c: Update.
40926 (WIDE): New define.
40928 2011-07-22 Andreas Schwab <schwab@redhat.com>
40930 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40933 2011-07-26 Andreas Schwab <schwab@redhat.com>
40935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40936 encoding to ACE if AI_IDN.
40938 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40941 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40943 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40946 Fix overflow bug in strncat.
40947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40949 * string/test-strncat.c: Update.
40950 Add new tests for checking overflow bugs.
40952 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40955 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40956 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40957 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40959 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40960 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40961 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40962 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40965 (USE_AS_STRCAT): Define.
40966 Add strcat and strncat support.
40967 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40969 2011-07-25 Andreas Schwab <schwab@redhat.com>
40971 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40972 __n bigger than INT_MAX+1.
40973 (__strncmp_g): Likewise.
40975 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40977 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40978 * libio/stido.h: Likewise.
40980 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40985 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40992 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40997 (_dl_x86_64_save_sse): Likewise.
40999 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41003 (_dl_x86_64_save_sse): Likewise.
41005 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41007 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41009 2011-07-21 Andreas Schwab <schwab@redhat.com>
41011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41013 (_dl_x86_64_save_sse): Use correct AVX check.
41015 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41018 bug in strncpy/strncat.
41019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41021 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41023 * string/tester.c (test_strcat): Add tests for different alignments
41024 of source and destination.
41025 (test_strncat): Likewise.
41027 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41030 * posix/glob.c (glob): Check passed in values before using them in
41031 expressions to avoid some overflows.
41032 (glob_in_dir): Likewise.
41035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41036 check for AVX enablement so that we don't crash with old kernels and
41038 * elf/tst-audit4.c: Add same checks here.
41039 * elf/tst-audit6.c: Likewise.
41041 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41043 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41045 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41047 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41049 * po/cs.po: Update from translation team.
41050 * po/bg.po: Likewise.
41052 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41054 * misc/sys/cdefs.h: Add support for const attribute.
41055 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41056 to gnu_dev_{major,minor,makedev} functions.
41058 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41060 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41062 2011-07-20 Andreas Schwab <schwab@redhat.com>
41064 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41067 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41070 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41071 register in order to avoid conflicts with the soft frame pointer
41072 being held in r11 when necessary.
41073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41074 (INTERNAL_VSYSCALL_NCS): Likewise.
41076 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41078 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41079 * elf/dl-fini.c (_dl_fini): Adjust caller.
41080 * elf/dl-close.c (_dl_close_worker): Likewise.
41081 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41083 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41085 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41086 "aux_cache->nlibs < 0".
41088 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41089 in the reload-count case.
41091 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41094 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41095 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41096 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41097 * sysdeps/x86_64/multiarch/strcat.S: New file.
41098 * sysdeps/x86_64/multiarch/strncat.S: New file.
41099 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41101 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41102 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41104 (USE_AS_STRCAT): Define.
41105 Add strcat and strncat support.
41106 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41108 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41109 * string/strncat.c: Update.
41110 (USE_AS_STRNCAT): Define.
41111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41112 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41114 * sysdeps/x86_64/multiarch/init-arch.h
41115 (bit_Prefer_PMINUB_for_stringop): New.
41116 (index_Prefer_PMINUB_for_stringop): Likewise.
41117 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41118 bit_Prefer_PMINUB_for_stringop.
41120 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41122 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41124 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41125 of casting of buffer.
41126 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41127 buffer32 and buffer64.
41128 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41129 writes instead of casting of buffer.
41130 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41132 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41135 2011-07-19 Andreas Schwab <schwab@redhat.com>
41137 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41139 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41141 * nscd/nscd.c (termination_handler): Don't do anything for a database
41142 if it has not yet been initialized.
41144 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41146 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41148 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41150 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41152 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41154 * po/nl.po: Update from translation team.
41155 * po/sv.po: Likewise.
41157 2011-07-16 Roland McGrath <roland@hack.frob.com>
41159 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41160 now disallowed by GCC.
41162 * configure.in (use-default-link): Default to yes if a test -shared
41163 link meets our qualifications.
41164 * configure: Regenerated.
41166 * config.make.in (output-format): New variable.
41167 * configure.in: Check for ld --print-output-format support.
41168 * configure: Regenerated.
41169 * Makerules ($(common-objpfx)format.lds)
41170 [$(output-format) != unknown]: Just use $(output-format),
41171 instead of the linker-script munging.
41173 2011-07-14 Roland McGrath <roland@hack.frob.com>
41175 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41176 of $(common-objpfx)shlib.lds.
41177 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41179 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41180 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41182 * configure.in (-z relro check): Adjust test code to add a large
41183 writable data section after it.
41184 * configure: Regenerated.
41186 2011-07-11 Roland McGrath <roland@hack.frob.com>
41188 * configure.in (-z relro check): Fix test code to make the variable
41190 * configure: Regenerated.
41192 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41194 * nscd/nscd.h (struct traced_file): Define.
41195 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41196 elements. Add traced_files.
41197 (inotify_fd): Declare.
41198 (register_traced_file): Declare.
41199 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41200 (inotify_fd): Export.
41201 (resolv_conf_descr): Remove.
41202 (nscd_init): Move inotify descriptor creation to main.
41203 Don't register files for notification here.
41204 (register_traced_file): New function.
41205 (invalidate_cache): Don't use reset_res to determine whether to call
41206 res_init, go through the list of registered files.
41207 (main_loop_poll): The inotify descriptors are now stored in the
41208 structures for the traced files.
41209 (main_loop_epoll): Likewise
41210 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41211 to __nss_disable_nscd.
41212 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41213 for a database anymore. Check the records for all the registered
41215 * nss/Makefile (libnss_files-routines): Add files-init.
41216 (libnss_db-routines): Add db-init.
41217 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41218 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41219 * nss/nss_db/db-init.c: New file.
41220 * nss/nss_files/files-init.c: New file.
41221 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41222 __nss_lookup_function.
41223 (__nss_lookup_function): Call nss_load_library.
41224 (nss_load_all_libraries): New function.
41225 (__nss_disable_nscd): Take parameter with callback function for files
41226 to register. Set is_nscd. Load all the DSOs for the NSS modules
41227 used for the cached services.
41228 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41229 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41230 options for features to all the files in nscd.
41232 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41234 2011-07-10 Roland McGrath <roland@hack.frob.com>
41236 * csu/elf-init.c (__libc_csu_init): Comment typo.
41238 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41240 * po/pl.po: Update from translation team.
41241 * po/ja.po: Likewise.
41242 * po/ru.po: Likewise.
41243 * po/ko.po: Likewise.
41244 * po/fr.po: Likewise.
41246 2011-07-09 Roland McGrath <roland@hack.frob.com>
41248 * configure.in (.ctors/.dtors header and trailer check):
41249 Use an empirical test on a built program.
41250 * configure: Regenerated.
41252 * configure.in (-z relro check): Use an empirical test on a built DSO.
41253 Detect, but do not require, on ia64.
41254 * configure: Regenerated.
41256 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41257 Update tests that use readelf to use $READELF instead.
41258 * configure: Regenerated.
41260 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41262 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41263 if the result is not used.
41265 2011-07-05 Andreas Jaeger <aj@suse.de>
41268 * stdlib/tst-strtod.c: Add testcase.
41270 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41272 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41273 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41274 The latter has a higher limit. Take additional parameter to pass to
41276 (__pathconf): Pass file to __statfs_link_max.
41277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41279 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41283 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41287 (__statfs_filesize_max): Likewise.
41288 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41290 2011-07-05 Andreas Jaeger <aj@suse.de>
41292 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41294 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41296 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41298 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41301 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41303 * Makefile (strop-tests): Add strncat.
41304 * string/test-strncat.c: New file.
41306 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41308 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41310 2011-06-21 Andreas Jaeger <aj@suse.de>
41312 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41313 Copy rule from iconvdata/Makefile.
41315 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41318 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41319 but no long options are defined, just return 'W'.
41321 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41324 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41326 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41328 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41330 (innetgr): Likewise.
41332 2011-07-05 Roland McGrath <roland@hack.frob.com>
41334 * config.make.in (install_root): Default to $(DESTDIR).
41336 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41340 2011-07-02 Roland McGrath <roland@hack.frob.com>
41342 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41344 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41345 containing directory rather than embedding absolute directory names.
41347 * scripts/check-local-headers.sh: Rewritten using awk.
41348 Match by word, not by line. Print error messages for matches.
41349 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41351 * Makerules [shlib-lds-flags empty]:
41352 ($(common-objpfx)libc_pic.opts): New target.
41353 ($(common-objpfx)libc_pic.os.clean): New target.
41354 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41356 * config.make.in (OBJCOPY): New variable.
41357 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41358 * configure: Regenerated.
41360 * config.make.in (use-default-link): New variable.
41361 * configure.in (use_default_link): Grok --with-default-link to set it.
41362 * configure: Regenerated.
41363 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41364 (shlib-lds, shlib-lds-flags): Define to empty.
41366 * Makerules (shlib-lds): New variable.
41367 (shlib-lds-flags): New variable.
41368 (build-shlib, build-moduile, build-module-asneeded): Use it.
41369 ($(common-objpfx)libc.so): Use $(shlib-lds).
41370 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41371 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41373 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41374 DT_FLAGS/DT_FLAGS_1 with zero flags.
41376 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41377 linker script munging.
41379 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41381 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41383 * crypt/sha512.c (sha512_process_block): Perform total addition using
41384 128-bit if possible.
41385 (__sha512_finish_ctx): Likewise.
41386 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41388 * crypt/sha256.c (SWAP64): Define.
41389 (sha256_process_block): Perform total addition using 64-bit if
41391 (__sha256_finish_ctx): Likewise.
41393 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41395 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41397 * nscd/hstcache.c (cache_addhst): Likewise.
41398 * nscd/grpcache.c (cache_addgr): Likewise.
41399 * nscd/aicache.c (addhstaiX): Likewise
41400 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41402 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41404 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41406 * nscd/hstcache.c (cache_addhst): Likewise.
41407 * nscd/grpcache.c (cache_addgr): Likewise.
41408 * nscd/aicache.c (addhstaiX): Likewise
41410 2011-07-01 Andreas Schwab <schwab@redhat.com>
41412 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41413 domain only when needed.
41415 2011-06-30 Andreas Schwab <schwab@redhat.com>
41417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41418 is always restored.
41420 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41422 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41423 are re-adding the entry.
41424 * nscd/servicescache.c (cache_addserv): Likewise.
41426 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41428 * sysdeps/generic/dl-irel.h: fix protection against multiple
41430 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41432 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41435 * malloc/memusage.sh: Fix quoting in message.
41436 * debug/xtrace.sh: Likewise.
41438 * configure.in: Remove support for --experimental-malloc option, make
41440 * config.make.in: Likewise.
41441 * malloc/Makefile: Likewise.
41443 2011-06-27 Andreas Schwab <schwab@redhat.com>
41445 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41446 two-byte characters.
41448 2011-06-27 Roland McGrath <roland@hack.frob.com>
41450 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41451 AC_CACHE_CHECK invocation.
41452 * configure: Regenerated.
41454 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41456 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41459 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41460 bit from old_res_options.
41462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41464 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41465 value type for setfct.
41467 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41470 __gettimeofday instead of gettimeofday.
41472 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41474 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41476 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41483 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41486 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41487 strcpy-sse2-unaligned strncpy-sse2-unaligned
41488 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41489 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41490 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41491 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41492 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41495 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41496 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41497 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41498 (STRCPY): Support SSE2 and SSSE3 versions.
41500 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41503 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41504 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41505 kernels which artificially limit size of requests.
41507 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41510 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41511 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41512 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41513 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41514 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41515 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41516 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41518 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41519 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41520 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41521 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41522 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41523 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41525 Enable unaligned load optimization for Intel Core i3, i5 and i7
41527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41529 (index_Fast_Unaligned_Load): Define.
41530 (HAS_FAST_UNALIGNED_LOAD): Define.
41532 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41534 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41536 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41540 until it is clear that the information is realy needed.
41541 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41543 2011-06-22 Andreas Schwab <schwab@redhat.com>
41545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41547 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41550 /sys/devices/system/cpu/online if it is usable.
41552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41553 reading the information from the /proc filesystem to once a second.
41555 2011-06-21 Andreas Jaeger <aj@suse.de>
41557 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41558 NULL after inclusion of kernel headers.
41560 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41562 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41563 calls to internal_setent.
41566 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41567 addresses using gethostbyname4_r ignore IPv4 addresses.
41569 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41570 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41572 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41574 2011-06-20 David S. Miller <davem@davemloft.net>
41576 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41578 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41580 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41581 (elf_irel): Use it.
41582 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41583 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41584 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41585 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41586 * sysdeps/x86_64/dl-irel.h: Likewise.
41588 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41589 * elf/dl-sym.c: Likewise.
41591 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41593 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41594 need to dereference resplen2.
41596 2011-06-14 Andreas Schwab <schwab@redhat.com>
41598 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41600 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41602 * Makeconfig: Define vardbdir and inst_vardbdir.
41603 * nss/Makefile: Add rules to install db-Makefile.
41605 * nss/nss_db/db-XXX.c: Cleanup.
41607 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41608 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41610 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41611 * nss/makedb.c: Implement -g option to specify that value strings
41612 are generated and should not be added to table iterated over for
41614 * nss/nss_db/db-initgroups.c: New file.
41616 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41619 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41620 (internal_getgrouplist): Adjust to name change.
41621 Update use_initgroups_entry if this is not the first call.
41622 * nss/databases.def: Add initgroups entry.
41624 * nss/makedb.c (compute_tables): Check result of multiple hash table
41625 sizes to minimize maximum chain length.
41627 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41629 * Versions.def: Add entry for libnss_db.
41630 * shlib-versions: Likewise.
41631 * nss/Makefile: Add rules to build libnss_db.
41632 * nss/Versions: Add libnss_db information. Organize libnss_files
41634 * nss/db-Makefile: Add gshadow support. Change rules for the new
41635 makedb progra. Some minor improvements to generate smaller files.
41636 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41638 * nss/makedb.c: ...here.
41639 Improve database format to be smaller and require less memory at
41641 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41643 * nss/nss_db/db-netgrp.c: Likewise.
41644 * nss/nss_db/db-open.c: Likewise.
41645 * nss/nss_files/flies-XXX.x: Adjust comments.
41646 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41647 * nss/nss_files/files-grp.c: Likewise.
41648 * nss/nss_files/files-hosts.c: Likewise.
41649 * nss/nss_files/files-network.c: Likewise.
41650 * nss/nss_files/files-proto.c: Likewise.
41651 * nss/nss_files/files-pwd.c: Likewise.
41652 * nss/nss_files/files-rpc.c: Likewise.
41653 * nss/nss_files/files-service.c: Likewise.
41654 * nss/nss_files/files-sgrp.c: Likewise.
41655 * nss/nss_files/files-spwd.c: Likewise.
41656 * nss/nss_db/db-alias.c: Removed.
41657 * nss/nss_db/dummy-db.h: Removed.
41659 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41661 * nss/makedb.c: Rewritten to not use database library.
41662 * nss/Makefile: Update to build new makedb program.
41664 2011-06-14 Andreas Jaeger <aj@suse.de>
41666 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41667 memset declaration.
41669 2011-06-10 Andreas Schwab <schwab@redhat.com>
41671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41674 2011-06-10 Roland McGrath <roland@hack.frob.com>
41676 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41677 * elf/Makefile ($(objpfx)ld.so): Likewise.
41679 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41680 Don't list ld.so twice in dependencies.
41682 * posix/bug-regex31.c: Include <stdlib.h>.
41684 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41686 * nis/nss_compat/compat-spwd.c
41687 (getspent_next_nss_netgr): Remove unused variable.
41688 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41690 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41691 nonmembers" output to use the right array.
41693 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41695 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41697 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41698 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41699 * catgets/gencat.c (read_input_file): Likewise.
41700 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41702 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41703 variable definition inside #if's controlling its use.
41705 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41707 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41709 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41711 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41714 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41716 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41717 * configure: Regenerated.
41719 * Makerules: Revert last change.
41720 * elf/Makefile: Likewise.
41722 2011-06-09 Roland McGrath <roland@hack.frob.com>
41724 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41725 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41726 (reloc-link): Likewise.
41728 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41730 * elf/Makefile: Add rules to build pldd.
41731 * elf/pldd.c: New file.
41732 * elf/pldd-xx.c: New file.
41734 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41736 * version.h: Update for 2.15 development version.
41738 2011-06-07 David S. Miller <davem@davemloft.net>
41740 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41743 elf_machine_lazy_rel): Likewise.
41744 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41746 elf_machine_lazy_rel): Likewise.
41747 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41748 dl_hwcap via passed in argument.
41749 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41752 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41754 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41756 2011-06-06 Roland McGrath <roland@hack.frob.com>
41759 * manual/fdl-1.1.texi: New file, verbatim from:
41760 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41761 * manual/lgpl-2.1.texi: New file, verbatim from:
41762 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41763 * manual/Makefile (licenses): New variable, list those new file names.
41765 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41767 * manual/fdl.texi: File removed.
41768 * manual/lesser.texi: File removed.
41769 * manual/libc.texinfo (Copying, Documentation License):
41770 Use new @include file names, put @appendix directive before @include.
41772 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41775 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41776 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41777 (mq_open): Add __NTH.
41779 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41782 Assume Intel Core i3/i5/i7 processor if AVX is available.
41784 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41789 2011-05-31 Andreas Schwab <schwab@redhat.com>
41791 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41792 memory. Use alloca_account. Fix memory leak when retrying.
41794 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41796 * version.h (RELEASE): Bump for 2.14 release.
41797 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41799 * config.make.in (RANLIB): Remove entry.
41801 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41803 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41804 (libc.pot): Work around missing support for .ksh extension in xgettext.
41807 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41808 if both request failed.
41809 (send_dg): In case of server errors clear resplen or *resplen2.
41812 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41813 when there are multiple maps.
41814 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41815 (_dl_fini): Remove test here.
41817 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41819 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41822 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41823 bit from old_res_options.
41824 (gaih_inet): Likewise.
41827 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41830 * resolv/res_init.c (res_setoptions): Make the code more compact.
41833 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41837 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41839 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41842 * malloc/malloc.h: Declare malloc hook variables as volatile.
41844 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41848 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41849 raise in the comment.
41850 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41851 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41852 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41854 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41857 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41858 grow the buffers more if it already has to be sufficient.
41859 (build_wcs_upper_buffer): Likewise.
41860 * posix/regexec.c (check_matching): Likewise.
41861 (clean_state_log_if_needed): Likewise.
41862 (extend_buffers): Don't enlarge buffers beyond size of the input
41864 Patches mostly by Emil Wojak <emil@wojak.eu>.
41865 * posix/bug-regex32.c: New file.
41866 * posix/Makefile (tests): Add bug-regex32.
41868 * locale/findlocale.c (_nl_find_locale): Return right away if
41869 _nl_explode_name failed.
41870 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41872 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41874 * debug/xtrace.sh: Unify messages.
41875 * malloc/memusage.sh: Likewise.
41878 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41879 time symbol from vDSO. Substitute with vsyscall if not available.
41880 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41883 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41884 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41885 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41886 Add sendmmsg and internal_sendmmsg.
41887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41888 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41891 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41892 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41895 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41898 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41899 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41901 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41905 * iconvdata/Makefile (tests): Add bug-iconv9.
41906 * iconvdata/bug-iconv9.c: New file.
41908 2011-05-27 Andreas Schwab <schwab@redhat.com>
41911 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41913 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41916 (struct user_regs_struct): Change intcs field back to cs.
41918 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41920 * po/ja.po: Update from translation team.
41922 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41925 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41926 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41928 2011-05-20 Andreas Schwab <schwab@redhat.com>
41930 * stdlib/longlong.h: Update from GCC.
41932 2011-05-23 Andreas Schwab <schwab@redhat.com>
41934 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41936 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41937 Add parameter name.
41938 (__sysconf): Pass it down.
41940 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41943 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41945 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41946 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41947 add in in __libc_use_alloca calls. Adjust callers.
41948 (glob): Use malloc in some situations.
41950 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41951 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41954 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41956 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41957 and CLOCK_BOOTTIME_ALARM.
41960 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41963 * string/_strerror.c (__strerror_r): Print negative errors as signed
41967 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41968 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41969 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41971 * configure.in: Fix typo in redirection and correct removal of test
41972 files in two cases.
41975 * locale/setlocale.c (new_composite_name): Fix test to check for
41976 identical name of all categories.
41979 * libio/filedoalloc.c (local_isatty): New function.
41980 (_IO_file_doallocate): Use local_isatty.
41981 * stdio-common/perror.c (perror): In case a new stream is used
41982 forward the stream error.
41983 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41986 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41991 * include/alloca.h (extend_alloca_account): Define.
41994 * posix/regex.h: Fix comments with documentation of user-accessible
41995 fields after compilation and describe correct free'ing of pattern
41996 after re_compile_pattern.
41997 Patch by Reuben Thomas <rrt@sc3d.org>.
41999 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42001 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42002 and -mno-altivec to prevent the compiler from using Altivec and/or
42003 VSX instructions when the corresponding registers are not available.
42005 2011-05-19 Andreas Schwab <schwab@redhat.com>
42007 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42009 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42011 * libio/freopen.c (freopen): Use __dup2, not dup2.
42012 * libio/freopen64.c (freopen64): Likewise.
42014 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42017 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42018 * math/Makefile (tests): Add test-powl.
42019 (CFLAGS-test-powl.c): Define.
42020 * math/test-powl.c: New file.
42022 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42024 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42026 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42029 * iconvdata/gb18030.c: Update to GB18020-2005.
42031 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42033 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42034 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42035 Patch by Aharon Robbins <arnold@skeeve.com>.
42038 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42042 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42043 through underflows.
42046 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42047 point to strings before performing equality test for error_one_per_line
42051 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42055 (struct user_fpregs_struct): Avoid __uint*_t types.
42058 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42059 symbol info. Use it instead of calling _dl_addr locally.
42060 (lock_and_info): New function.
42061 (tr_freehook): Call lock_and_info and pass symbol info as additional
42062 parameter to tr_where.
42063 (tr_mallochook): Likewise.
42064 (tr_reallochook): Likewise.
42065 (tr_memalignhook): Likewise.
42067 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42068 used and couldn't be at all thread-safe.
42070 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42072 * libio/freopen.c (freopen): Don't close old file descriptor
42073 before the new one is opened. Instead dup the new file descriptor
42074 to the old one after the new stream is created.
42075 * libio/freopen64.c (freopen64): Likewise.
42076 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42077 * libio/fileops.c (_IO_new_file_close_it): Handle new
42078 _IO_FLAGS2_NOCLOSE flag.
42079 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42080 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42081 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42082 _IO_FLAGS2_NOCLOSE flag.
42083 * include/unistd.h: Add hidden_proto for dup3.
42084 Define __have_dup3.
42085 * io/dup3.c: Define hidden symbol.
42086 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42089 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42090 when an incomplete long option is used.
42091 * posix/tst-getopt_long1.c: New file.
42092 * posix/Makefile (tests): Add tst-getopt_long1.
42095 * scripts/config.guess: Update from autoconf-2.68.
42096 * scripts/config.sub: Likewise.
42099 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42101 (has_cpuclock): ...this. New function.
42102 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42103 macro here based on has_cpuclock code.
42106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42107 First byte (not low byte) is now always NUL.
42108 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42111 Use non-cancelable interfaces.
42114 * locale/iso-639.def: Add entry for Sorani.
42117 * include/stdlib.h: Move include protection to the right place.
42118 Define abort_msg_s. Declare __abort_msg with it.
42119 * stdlib/abort.c (__abort_msg): Adjust type.
42120 * assert/assert.c (__assert_fail_base): New function. Majority
42121 of code from __assert_fail. Allocate memory for __abort_msg with
42123 (__assert_fail): Now call __assert_fail_base.
42124 * assert/assert-perr.c: Remove bulk of implementation. Use
42125 __assert_fail_base.
42126 * include/assert.hL Declare __assert_fail_base.
42127 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42129 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42131 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42135 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42136 until all modules are registered in the DTV.
42137 * elf/Makefile: Add rules to build and run tst-tls19.
42138 * elf/tst-tls19.c: New file.
42139 * elf/tst-tls19mod1.c: New file.
42140 * elf/tst-tls19mod2.c: New file.
42141 * elf/tst-tls19mod3.c: New file.
42142 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42145 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42149 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42150 two-byte sequence errors.
42151 * iconvdata/Makefile (tests): Add bug-iconv8.
42152 * iconvdata/bug-iconv8.c: New file.
42155 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42158 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42161 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42162 (dummy_getcfa): New function.
42163 (init): Get _Unwind_GetCFA address, use dummy if not found.
42164 (backtrace_helper): In recursion check, also check whether CFA changes.
42165 (__backtrace): Completely initialize arg.
42167 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42168 storing incomplete byte sequence in state object. Avoid testing for
42169 guaranteed too small input if we know there is enough data available.
42171 2011-05-11 Andreas Schwab <schwab@redhat.com>
42173 * Makeconfig (+link-pie): Indent.
42174 * Rules (binaries-pie): Define if $(have-fpie) and
42176 (binaries-shared): Also filter out $(binaries-pie).
42177 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42178 * nscd/Makefile (others-pie): Add nscd.
42179 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42180 ($(objpfx)nscd): Remove command override.
42181 * login/Makefile (others-pie): Add pt_chown.
42182 ($(objpfx)pt_chown): Remove command override.
42183 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42184 remove command overrides.
42186 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42188 * libio/tst_putwc.c: Fix error messages.
42191 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42192 currently writing and seek to current position when not.
42193 * libio/Makefile (tests): Add bug-fclose1.
42194 * libio/bug-fclose1.c: New file.
42196 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42199 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42200 don't set DF_1_NODELETE here.
42201 (do_lookup_x): When entering new entry test for copy relocation
42202 and if necessary set DF_1_NODELETE flag.
42203 * elf/tst-unique4.cc: New file.
42204 * elf/tst-unique4.h: New file.
42205 * elf/tst-unique4lib.cc: New file.
42206 * elf/Makefile: Add rules to build and run tst-unique4.
42207 Patch by Piotr Bury <pbury@goahead.com>.
42209 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42212 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42215 * misc/mntent_r.c (addmntent): Flush the stream after the output
42218 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42219 (is_trusted_path_normalize): Skip initial colon. Append slash
42220 to empty buffer. Duplicate is_trusted_path code but allow
42221 constructed patch to be prefix.
42222 (is_dst): Allow $ORIGIN followed by /.
42223 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42224 Correct testing of result of is_trusted_path_normalize
42225 (decompose_rpath): Fix warning.
42227 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42230 * grp/initgroups.c (internal_getgrouplist): When we found the service
42231 list through the initgroups entry in nsswitch.conf do not always
42232 continue on a successful lookup. Don't always use the
42233 __nss_group_database value if it is set.
42234 * nss/nsswitch.conf (initgroups): Change action for successful db
42235 lookup to continue for compatibility.
42237 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42240 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42242 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42244 * iconvdata/tst-tables.sh: Likewise.
42245 * iconvdata/cp770.c: New file.
42246 * iconvdata/cp771.c: New file.
42247 * iconvdata/cp772.c: New file.
42248 * iconvdata/cp773.c: New file.
42249 * iconvdata/cp774.c: New file.
42250 * iconvdata/testdata/CP770: New file.
42251 * iconvdata/testdata/CP770..UTF8: New file.
42252 * iconvdata/testdata/CP771: New file.
42253 * iconvdata/testdata/CP771..UTF8: New file.
42254 * iconvdata/testdata/CP772: New file.
42255 * iconvdata/testdata/CP772..UTF8: New file.
42256 * iconvdata/testdata/CP773: New file.
42257 * iconvdata/testdata/CP773..UTF8: New file.
42258 * iconvdata/testdata/CP774: New file.
42259 * iconvdata/testdata/CP774..UTF8: New file.
42261 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42263 * iconvdata/gen-8bit-gap.sh: Likewise.
42264 * iconvdata/gen-8bit.sh: Likewise.
42266 * locale/iso-639.def: Add ary entry.
42269 * locale/C-translit.h.in: Add U20A1 transliteration.
42272 * locale/iso-639.def: Add wae entry.
42273 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42276 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42280 * locale/C-translit.h.in: Add entry for U20B9.
42281 Patch by pravin.d.s@gmail.com.
42283 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42286 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42287 ENAMETOOLONG use generic getcwd.
42288 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42289 in rtld. Use *stat64.
42290 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42291 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42292 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42293 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42294 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42295 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42296 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42297 __fstatat64 macros.
42298 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42299 * dirent/rewinddir.c: Add libc_hidden_def.
42300 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42301 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42303 * include/dirent.h (__alloc_dir): Add flags parameter.
42304 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42305 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42307 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42308 from fdopendir if O_CLOEXEC is already set.
42310 2011-03-15 Alan Modra <amodra@gmail.com>
42312 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42313 l_tls_firstbyte_offset non-zero. Save padding offset in
42314 l_tls_firstbyte_offset for later use.
42315 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42316 freeing static tls block.
42318 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42320 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42321 where #ifdef was intended. The intent is to prevent ARG_MAX from
42322 being defined by the kernel headers.
42324 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42327 * resolv/resolv.h: Define RES_NOTLDQUERY.
42328 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42329 no-tld-query and set RES_NOTLDQUERY.
42330 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42331 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42332 modern BIND to search name as TLD unless forbidden.
42334 2011-05-07 Petr Baudis <pasky@suse.cz>
42335 Ulrich Drepper <drepper@gmail.com>
42338 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42339 (is_trusted_path): ...to here.
42340 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42341 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42342 using is_trusted_path_normalize() in setuid scripts.
42344 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42346 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42347 __BEGIN/__END_DECLS.
42349 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42352 NSS_STATUS_NOTFOUND if no record was found.
42354 2011-05-05 Andreas Schwab <schwab@redhat.com>
42356 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42357 (headers-not-in-tirpc): Remove rpc/netdb.h
42358 * resolv/netdb.h: Revert last change.
42360 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42362 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42363 circular dependency between libgcc.a and libc.a.
42365 2011-05-05 Andreas Schwab <schwab@redhat.com>
42367 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42368 * nis/Makefile: Don't install rpcsvc/*.
42369 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42370 instead of <rpc/types.h>.
42371 (MAXHOSTNAMELEN): Define.
42373 2011-05-03 Andreas Schwab <schwab@redhat.com>
42375 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42377 2011-04-28 Maciej Babinski <mbabinski@google.com>
42380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42381 gethostbyname4_r when IPv6 results are possible.
42383 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42386 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42387 _PC_PIPE_BUF handling.
42389 2011-04-30 Bruno Haible <bruno@clisp.org>
42392 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42393 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42395 * inet/getnameinfo.c (getnameinfo): Likewise.
42397 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42399 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42400 to groups setting in database lookup.
42401 * nss/nsswitch.conf: Add initgroups entry.
42403 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42406 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42408 Patch by Eric Blake <eblake@redhat.com>.
42410 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42412 * sunrpc/Makefile (need-export-routines): Add svc_run.
42413 (routines): Remove svc_run.
42414 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42415 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42416 * sunrpc/svc_run.c (svc_run): Likewise.
42417 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42419 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42422 problem in reallocation in last patch.
42424 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42426 * sunrpc/Makefile: Move inclusion of Rules.
42428 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42430 * nss/nss_files/files-initgroups.c: New file.
42431 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42432 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42433 _nss_files_initgroups_dyn.
42435 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42437 * elf/elf.h (R_ARM_IRELATIVE): Define.
42439 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42441 * po/ru.po: Update from translation team.
42443 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42445 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42448 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42452 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42454 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42457 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42459 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42465 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42470 * stdlib/bug-getcontext.c: New file.
42471 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42473 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42475 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42476 instructions into .machine "z9-109".
42477 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42478 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42480 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42482 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42483 between environment variables and auxiliary vector.
42485 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42487 * Makefile: Add rules to build linkobj/libc.so.
42488 * include/libc-symbols.h: Define libc_hidden_nolink.
42489 * include/rpc/auth.h: Mark functions which are to be hidden.
42490 * include/rpc/auth_des.h: Likewise.
42491 * include/rpc/auth_unix.h: Likewise.
42492 * include/rpc/clnt.h: Likewise.
42493 * include/rpc/des_crypt.h: Likewise.
42494 * include/rpc/key_prot.h: Likewise.
42495 * include/rpc/pmap_clnt.h: Likewise.
42496 * include/rpc/pmap_prot.h: Likewise.
42497 * include/rpc/pmap_rmt.h: Likewise.
42498 * include/rpc/rpc_msg.h: Likewise.
42499 * include/rpc/svc.h: Likewise.
42500 * include/rpc/svc_auth.h: Likewise.
42501 * include/rpc/xdr.h: Likewise.
42502 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42503 * nss/Makefile: Likewise.
42504 * sunrpc/Makefile: Don't install headers. Build library with normal
42505 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42506 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42507 for the compat linking library. Remove use of INTDEF/INTUSE.
42508 * sunrpc/auth_none.c: Likewise.
42509 * sunrpc/auth_unix.c: Likewise.
42510 * sunrpc/authdes_prot.c: Likewise.
42511 * sunrpc/authuxprot.c: Likewise.
42512 * sunrpc/clnt_gen.c: Likewise.
42513 * sunrpc/clnt_perr.c: Likewise.
42514 * sunrpc/clnt_raw.c: Likewise.
42515 * sunrpc/clnt_simp.c: Likewise.
42516 * sunrpc/clnt_tcp.c: Likewise.
42517 * sunrpc/clnt_udp.c: Likewise.
42518 * sunrpc/clnt_unix.c: Likewise.
42519 * sunrpc/des_crypt.c: Likewise.
42520 * sunrpc/des_soft.c: Likewise.
42521 * sunrpc/get_myaddr.c: Likewise.
42522 * sunrpc/key_call.c: Likewise.
42523 * sunrpc/key_prot.c: Likewise.
42524 * sunrpc/netname.c: Likewise.
42525 * sunrpc/pm_getmaps.c: Likewise.
42526 * sunrpc/pm_getport.c: Likewise.
42527 * sunrpc/pmap_clnt.c: Likewise.
42528 * sunrpc/pmap_prot.c: Likewise.
42529 * sunrpc/pmap_prot2.c: Likewise.
42530 * sunrpc/pmap_rmt.c: Likewise.
42531 * sunrpc/publickey.c: Likewise.
42532 * sunrpc/rpc_cmsg.c: Likewise.
42533 * sunrpc/rpc_common.c: Likewise.
42534 * sunrpc/rpc_dtable.c: Likewise.
42535 * sunrpc/rpc_prot.c: Likewise.
42536 * sunrpc/rpc_thread.c: Likewise.
42537 * sunrpc/rtime.c: Likewise.
42538 * sunrpc/svc.c: Likewise.
42539 * sunrpc/svc_auth.c: Likewise.
42540 * sunrpc/svc_authux.c: Likewise.
42541 * sunrpc/svc_raw.c: Likewise.
42542 * sunrpc/svc_run.c: Likewise.
42543 * sunrpc/svc_simple.c: Likewise.
42544 * sunrpc/svc_tcp.c: Likewise.
42545 * sunrpc/svc_udp.c: Likewise.
42546 * sunrpc/svc_unix.c: Likewise.
42547 * sunrpc/svcauth_des.c: Likewise.
42548 * sunrpc/xcrypt.c: Likewise.
42549 * sunrpc/xdr.c: Likewise.
42550 * sunrpc/xdr_array.c: Likewise.
42551 * sunrpc/xdr_float.c: Likewise.
42552 * sunrpc/xdr_intXX_t.c: Likewise.
42553 * sunrpc/xdr_mem.c: Likewise.
42554 * sunrpc/xdr_rec.c: Likewise.
42555 * sunrpc/xdr_ref.c: Likewise.
42556 * sunrpc/xdr_sizeof.c: Likewise.
42557 * sunrpc/xdr_stdio.c: Likewise.
42559 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42562 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42563 * sysdeps/ia64/dl-tls.h: Likewise.
42564 * sysdeps/powerpc/dl-tls.h: Likewise.
42565 * sysdeps/s390/dl-tls.h: Likewise.
42566 * sysdeps/sh/dl-tls.h: Likewise.
42567 * sysdeps/sparc/dl-tls.h: Likewise.
42568 * sysdeps/x86_64/dl-tls.h: Likewise.
42569 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42571 2011-03-14 Andreas Schwab <schwab@redhat.com>
42573 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42574 rpath element also skip the following colon.
42575 (expand_dynamic_string_token): Add is_path parameter and pass
42576 down to DL_DST_REQUIRED and _dl_dst_substitute.
42577 (decompose_rpath): Call expand_dynamic_string_token with
42578 non-zero is_path. Ignore empty rpaths.
42579 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42582 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42587 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42590 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42591 Patch by Filipe David Manana <fdmanana@apache.org>.
42593 2011-04-07 Andreas Schwab <schwab@redhat.com>
42595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42596 Maintain aligned stack.
42597 (CHECK_RSP): Remove unused macro.
42599 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42601 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42602 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42604 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42606 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42608 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42610 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42613 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42614 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42615 * sysdeps/x86_64/memmove.c: New file.
42616 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42617 (memcpy): Renamed to ...
42618 (__new_memcpy): This.
42619 (memcpy): Provide GLIBC_2_14 memcpy.
42620 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42621 (memcpy): Provide GLIBC_2_2_5 memcpy.
42623 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42626 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42628 2011-03-30 Andreas Schwab <schwab@redhat.com>
42630 * misc/syncfs.c: New file.
42631 * misc/Makefile (routines): Add syncfs.
42632 * posix/unistd.h: Declare syncfs.
42633 * sysdeps/unix/syscalls.list: Add syncfs.
42635 2011-04-01 Andreas Schwab <schwab@redhat.com>
42637 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42644 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42647 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42653 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42657 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42658 sync_file_range.c with -fexceptions.
42659 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42660 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42661 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42662 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42663 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42664 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42666 sync_file_range as cancellation point
42667 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42668 now a wrapper around __call_sync_file_range with cancellation handling.
42669 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42670 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42671 function name to __call_sync_file_range.
42672 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42673 Add call_sync_file_range.
42675 2011-04-01 Andreas Schwab <schwab@redhat.com>
42677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42680 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42682 * iconv/iconv.h: Fix typo in comment.
42683 * io/fcntl.h: Likewise.
42684 * libio/stdio.h: Likewise.
42685 * posix/spawn.h: Likewise.
42686 * posix/unistd.h: Likewise.
42687 * stdlib/stdlib.h: Likewise.
42688 * time/time.h: Likewise.
42689 * wcsmbs/wchar.h: Likewise.
42691 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42692 open_by_handle): Add.
42693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42694 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42695 Augment a few comments.
42696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42701 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42704 * io/fcntl.h (AT_EMPTY_PATH): Define.
42706 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42708 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42709 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42710 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42712 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42713 * Versions.def: Add GLIBC_2.14.
42714 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42717 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42723 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42726 * string/test-strncmp.c (do_page_test): New function.
42727 (check2): Likewise.
42728 (test_main): Call check2.
42729 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42731 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42734 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42735 Handle cache information in CPU leaf 4.
42736 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42738 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42741 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42742 character representation.
42743 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42745 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42747 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42748 END(__isnan) to END(__isnanf) to match function entry point/label
42749 EALIGN(__isnanf,...).
42751 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42753 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42755 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42758 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42759 copy from the symbol referenced in the relocation to initialize the
42761 Patch by Piotr Bury <pbury@goahead.com>.
42762 * elf/Makefile: Add rules to build and tst-unique3.
42763 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42764 * elf/tst-unique3.cc: New file.
42765 * elf/tst-unique3.h: New file.
42766 * elf/tst-unique3lib.cc: New file.
42767 * elf/tst-unique3lib2.cc: New file.
42769 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42771 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42773 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42774 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42777 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42779 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42780 to-be-loaded object along a path to loader is ld.so.
42782 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42783 Ulrich Drepper <drepper@gmail.com>
42785 * sysdeps/x86_64/memset.S: After aligning destination, code
42786 branches to different locations depending on the value of
42787 misalignment, when multiarch is enabled. Fix this.
42789 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42791 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42792 Set _x86_64_preferred_memory_instruction for AMD processsors.
42793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42794 Set bit_Prefer_SSE_for_memop for AMD processors.
42796 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42798 * libio/fmemopen.c (fmemopen): Optimize a bit.
42800 2011-03-03 Andreas Schwab <schwab@redhat.com>
42802 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42804 2011-03-03 Roland McGrath <roland@redhat.com>
42806 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42808 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42810 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42811 __bzero_ultra1 instead of __memset_ultra1.
42813 2011-02-23 Andreas Schwab <schwab@redhat.com>
42814 Ulrich Drepper <drepper@gmail.com>
42817 * include/link.h (struct link_map): Add l_orig_initfini.
42818 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42819 returning unsuccessfully.
42820 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42821 close of a file loaded at startup, restore the original l_initfini
42823 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42824 list, store the pointer.
42825 * elf/Makefile ($(objpfx)noload-mem): New rule.
42826 (noload-ENV): Define.
42827 (tests): Add $(objpfx)noload-mem.
42828 * elf/noload.c: Include <memcheck.h>.
42829 (main): Call mtrace. Close all opened handles.
42831 2011-02-17 Andreas Schwab <schwab@redhat.com>
42834 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42835 dependencies are missing.
42837 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42839 Fix __if_freereq crash: Unlike the generic version which uses free,
42841 * sysdeps/mach/hurd/ifreq.h: New file.
42843 2011-01-27 Petr Baudis <pasky@suse.cz>
42844 Ulrich Drepper <drepper@gmail.com>
42847 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42848 to extend_alloca().
42849 * stdio-common/bug23.c: New file.
42850 * stdio-common/Makefile (tests): Add bug23.
42852 2010-09-28 Andreas Schwab <schwab@redhat.com>
42853 Ulrich Drepper <drepper@gmail.com>
42856 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42857 before performing relro protection. At old place add assertion
42858 to make sure nothing changed.
42860 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42861 Glauber de Oliveira Costa <glommer@gmail.com>
42863 * elf/elf.h: Add new ARM TLS relocs.
42865 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42868 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42870 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42872 * sysdeps/wordsize-64/tst-writev.c: New file.
42874 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42876 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42877 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42878 insns in _dl_start to prevent a TOC reference before relocs are
42881 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42884 * Makeconfig: Remove RANLIB definition.
42885 * Makerules: Don't use RANLIB.
42886 * aclocal.m4: Remove ranlib test.
42887 * configure.in: No need to check for ranlib.
42888 * elf/rtld-Rules: Don't use RANLIB.
42890 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42892 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42894 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42895 inclusion protection macro.
42897 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42898 SIGRTMIN and SIGRTMAX and print information in that case only when
42899 SIGRTMIN is defined.
42901 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42903 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42904 arginfo fn returning -1.
42906 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42907 and thousands string is zero terminated.
42909 2011-02-03 Andreas Schwab <schwab@redhat.com>
42911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42912 sysdeps/unix/sysv/linux/bits/socket.h.
42914 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42916 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42917 (__CPU_COUNT): Remove old macros.
42918 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42919 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42920 (__CPU_ALLOC, __CPU_FREE): Add macros.
42921 (__sched_cpualloc, __sched_cpufree): Add declarations.
42923 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42925 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42926 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42927 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42928 (readdhstai): Return value of addhstaiX call.
42929 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42930 (addgrbyX): Return value returned by cache_addgr.
42931 (readdgrbyname): Return value returned by addgrbyX.
42932 (readdgrbygid): Likewise.
42933 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42934 (addpwbyX): Return value returned by cache_addpw.
42935 (readdpwbyname): Return value returned by addhstbyX.
42936 (readdpwbyuid): Likewise.
42937 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42938 (addservbyX): Return value returned by cache_addserv.
42939 (readdservbyname): Return value returned by addservbyX:
42940 (readdservbyport): Likewise.
42941 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42942 (addhstbyX): Return value returned by cache_addhst.
42943 (readdhstbyname): Return value returned by addhstbyX.
42944 (readdhstbyaddr): Likewise.
42945 (readdhstbynamev6): Likewise.
42946 (readdhstbyaddrv6): Likewise.
42947 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42948 (readdinitgroups): Return value returned by addinitgroupsX.
42949 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42950 (prune_cache): Keep track of timeout value of re-added entries.
42951 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42952 * nscd/nscd.h: Adjust prototypes of readd* functions.
42954 2011-02-04 Roland McGrath <roland@redhat.com>
42956 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42957 (nis_stats): Likewise.
42958 * nis/nis_modify.c (nis_modify): Likewise.
42959 * nis/nis_remove.c (nis_remove): Likewise.
42960 * nis/nis_add.c (nis_add): Likewise.
42962 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42964 * posix/fnmatch_loop.c: Add some consts.
42966 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42968 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42971 * config.make.in (config-cflags-novzeroupper): Define.
42972 * configure.in: Substitute libc_cv_cc_novzeroupper.
42973 * elf/Makefile (AVX-CFLAGS): Define.
42974 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42975 (CFLAGS-tst-auditmod4a.c): Likewise.
42976 (CFLAGS-tst-auditmod4b.c): Likewise.
42977 (CFLAGS-tst-auditmod6b.c): Likewise.
42978 (CFLAGS-tst-auditmod6c.c): Likewise.
42979 (CFLAGS-tst-auditmod7b.c): Likewise.
42980 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42982 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42984 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42985 function to the callback.
42986 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42988 2011-02-02 Andreas Schwab <schwab@redhat.com>
42990 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42993 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42996 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42998 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43000 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43003 * elf/Makefile: Add rules to build and run new test.
43004 * elf/tst-initorder.c: New file.
43005 * elf/tst-initorder.exp: New file.
43006 * elf/tst-initordera1.c: New file.
43007 * elf/tst-initordera2.c: New file.
43008 * elf/tst-initordera3.c: New file.
43009 * elf/tst-initordera4.c: New file.
43010 * elf/tst-initorderb1.c: New file.
43011 * elf/tst-initorderb2.c: New file.
43012 * elf/tst-order-a1.c: New file.
43013 * elf/tst-order-a2.c: New file.
43014 * elf/tst-order-a3.c: New file.
43015 * elf/tst-order-a4.c: New file.
43016 * elf/tst-order-b1.c: New file.
43017 * elf/tst-order-b2.c: New file.
43018 * elf/tst-order-main.c: New file.
43019 New test case by George Gensure <werkt0@gmail.com>.
43021 2010-10-01 Andreas Schwab <schwab@redhat.com>
43023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43024 decoding ACE if AI_CANONIDN.
43026 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43028 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43030 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43032 * version.h (RELEASE): Bump for 2.13 release.
43033 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43035 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43037 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43039 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43043 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43044 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43046 * posix/getconf.c: Update copyright year.
43047 * catgets/gencat.c: Likewise.
43048 * csu/version.c: Likewise.
43049 * debug/catchsegv.sh: Likewise.
43050 * debug/xtrace.sh: Likewise.
43051 * elf/ldconfig.c: Likewise.
43052 * elf/ldd.bash.in: Likewise.
43053 * elf/sprof.c (print_version): Likewise.
43054 * iconv/iconv_prog.c: Likewise.
43055 * iconv/iconvconfig.c: Likewise.
43056 * locale/programs/locale.c: Likewise.
43057 * locale/programs/localedef.c: Likewise.
43058 * malloc/memusage.sh: Likewise.
43059 * malloc/mtrace.pl: Likewise.
43060 * nscd/nscd.c (print_version): Likewise.
43061 * nss/getent.c: Likewise.
43063 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43064 PF_CAIF, and PF_ALG.
43065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43067 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43069 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43070 (modules-names): Use them.
43071 (ifunc-test-modules, ifunc-pie-tests): Define.
43072 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43073 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43074 (test-extras): Likewise.
43075 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43076 $(compile-command.c).
43077 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43078 (all-built-dso): Define.
43079 (check-textrel.out, check-execstack.out): Depend on it.
43081 * configure.in: Don't override --enable-multi-arch.
43083 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43086 * nscd/hstcache.c (tryagain): Define.
43087 (cache_addhst): Return tryagain not notfound for temporary errors.
43088 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43091 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43094 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43095 to make the syscall.
43096 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43099 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43100 and fall back to matching as normal character if the string ends before
43101 the matching ']' is found. This is what POSIX requires.
43102 * posix/testfnm.c: Adjust test result.
43103 * posix/globtest.sh: Adjust test result. Add new test.
43104 * posix/tst-fnmatch.input: Likewise.
43105 * posix/tst-fnmatch2.c: Add new test.
43107 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43109 * elf/Makefile (check-execstack): Revert last change. Depend on
43111 (check-execstack.h): New target.
43112 (generated): Add check-execstack.h.
43113 * elf/check-execstack.c: Include "check-execstack.h".
43114 (main): Revert last change.
43115 (handle_file): Return zero if GNU_STACK is absent and
43116 DEFAULT_STACK_PERMS doesn't include PF_X.
43118 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43120 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43121 in child fails because the descriptor is already closed.
43122 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43123 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43127 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43131 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43132 temporary buffer used to handle multi lookups locally.
43133 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43135 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43137 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43140 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43142 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43143 alignment for SSE2.
43145 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43148 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43149 characters. When rounding increased number of integer digits recompute
43151 * stdio-common/tst-grouping.c: New file.
43152 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43154 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43156 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43157 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43159 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43161 * bits/select.h: Likewise.
43163 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43165 * po/ja.po: Update from translation team.
43167 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43170 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43171 implementation just like for lxstat, fxstatat, et al.
43173 2010-12-27 Jim Meyering <meyering@redhat.com>
43176 * posix/regexec.c (build_trtable): Return failure indication upon
43177 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43179 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43182 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43183 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43184 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43188 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43191 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43192 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43194 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43196 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43197 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43198 script has SORT_BY_INIT_PRIORITY.
43199 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43200 NO_CTORS_DTORS_SECTIONS is defined.
43201 * elf/soinit.c: Likewise.
43202 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43203 NO_CTORS_DTORS_SECTIONS is defined.
43204 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43205 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43206 * sysdeps/sh/init-first.c: Likewise.
43207 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43209 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43211 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43212 always use the slow path.
43214 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43216 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43217 similar rule which adds the sysdep directories to the header search in
43218 order to pick up the correct platform stackinfo.h.
43219 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43220 perform test if it is, otherwise return successfully without testing.
43221 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43222 DEFAULT_STACK_PERMS define in stackinfo.h.
43223 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43224 defined in stackinfo.h.
43225 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43226 DEFAULT_STACK_PERMS defined in stackinfo.h.
43227 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43228 * sysdeps/ia64/stackinfo.h: Likewise.
43229 * sysdeps/s390/stackinfo.h: Likewise.
43230 * sysdeps/sh/stackinfo.h: Likewise.
43231 * sysdeps/sparc/stackinfo.h: Likewise.
43232 * sysdeps/x86_64/stackinfo.h: Likewise.
43233 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43234 PF_X for powerpc64. Retain PF_X for powerpc32.
43236 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43238 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43240 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43241 GETDENTS_64BIT_ALIGNED.
43243 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43245 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43247 2010-12-10 Andreas Schwab <schwab@redhat.com>
43249 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43252 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43253 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43255 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43256 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43258 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43261 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43264 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43266 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43268 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43270 * po/it.po: Update from translation team.
43272 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43277 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43279 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43281 2010-11-24 Andreas Schwab <schwab@redhat.com>
43283 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43285 (gaih_getanswer_slice): Likewise.
43287 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43291 2010-05-31 Petr Baudis <pasky@suse.cz>
43294 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43295 silently even in the chroot mode.
43297 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43299 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43300 last patch a bit. Pretty printing
43302 2010-05-31 Petr Baudis <pasky@suse.cz>
43305 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43306 initialization of skip_initgroups_dyn.
43308 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43310 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43311 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43313 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43315 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43317 2010-11-11 Andreas Schwab <schwab@redhat.com>
43319 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43320 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43321 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43322 ($(objpfx)tst-fnmatch-mem): New rule.
43323 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43324 * posix/tst-fnmatch.c (main): Call mtrace.
43326 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43329 Support Intel processor model 6 and model 0x2c.
43331 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43336 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43339 * string/test-strncasecmp.c (check_result): New function.
43340 (do_one_test): Use it.
43341 (check1): New function.
43342 (test_main): Use it.
43343 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43344 Support strcasecmp and strncasecmp.
43346 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43349 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43352 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43354 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43358 * sysdeps/x86_64/multiarch/bzero.S: New file.
43359 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43360 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43361 * sysdeps/x86_64/multiarch/memset.S: New file.
43362 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43364 Set bit_Prefer_SSE_for_memop for Intel processors.
43365 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43367 (index_Prefer_SSE_for_memop): Define.
43368 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43370 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43372 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43373 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43375 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43378 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43379 (__x86_64_raw_data_cache_size_half): Likewise.
43380 (__x86_64_raw_shared_cache_size): Likewise.
43381 (__x86_64_raw_shared_cache_size_half): Likewise.
43383 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43384 (__x86_64_raw_data_cache_size_half): Likewise.
43385 (__x86_64_raw_shared_cache_size): Likewise.
43386 (__x86_64_raw_shared_cache_size_half): Likewise.
43387 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43388 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43389 and __x86_64_raw_shared_cache_size_half. Round
43390 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43391 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43392 to multiple of 256 bytes.
43394 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43398 of inacessible symlinks. Verify result of symlink before returning it.
43399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43400 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43402 2010-10-28 Erich Ritz <erichritz@gmail.com>
43404 * math/math.h (isinf): Fix typo in comment.
43406 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43408 * po/da.po: Update from translation team.
43410 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43412 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43413 is added to the list.
43415 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43416 Ulrich Drepper <drepper@gmail.com>
43418 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43419 the global list here. Move code to...
43420 (_dl_add_to_namespace_list): ...here. New function.
43421 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43422 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43423 * elf/dl-load.c (lose): Don't remove the element from the list.
43424 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43425 (_dl_map_object): Likewise.
43427 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43430 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43431 into all bytes of SSE register.
43432 Patch by Richard Li <richardpku@gmail.com>.
43434 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43437 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43440 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43442 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43443 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43444 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43445 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43450 2010-10-22 Andreas Schwab <schwab@redhat.com>
43452 * include/dlfcn.h (__RTLD_SECURE): Define.
43453 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43454 mode & __RTLD_SECURE instead.
43455 (open_path): Rename preloaded parameter to secure.
43456 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43457 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43458 * elf/dl-deps.c (openaux): Likewise.
43459 * elf/rtld.c (struct map_args): Remove is_preloaded.
43460 (map_doit): Don't use it.
43461 (dl_main): Likewise.
43462 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43463 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43465 2010-09-09 Andreas Schwab <schwab@redhat.com>
43467 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43468 (sysd-rules-targets): Remove duplicates.
43469 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43470 rtld-%.$o dependency.
43472 2010-10-18 Andreas Schwab <schwab@redhat.com>
43474 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43475 _dl_map_object do it.
43477 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43479 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43480 fast fma builtins, define the macros in the C99 standard.
43481 (FP_FAST_FMAF): Likewise.
43482 (FP_FAST_FMAL): Likewise.
43483 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43485 * bits/mathdef.h: Update copyright year.
43486 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43488 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43490 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43491 builtins, define the macros in the C99 standard.
43492 (FP_FAST_FMAF): Likewise.
43493 (FP_FAST_FMAL): Likewise.
43494 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43496 (FP_FAST_FMAF): Likewise.
43498 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43501 * math/libm-test.inc (fma_test): Some new testcases.
43502 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43504 y and infinite z. Do multiplication by C already in long double.
43505 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43507 y and infinite z. Do bitwise or of inexact bit into u.d.
43508 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43509 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43510 * sysdeps/i386/fpu/s_fma.S: Removed.
43511 * sysdeps/i386/fpu/s_fmal.S: Removed.
43513 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43516 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43518 computation is not scheduled after fetestexcept. Fix value
43519 of minimum denormal long double.
43521 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43524 * math/libm-test.inc (fma_test): Add some more tests.
43525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43528 2010-10-15 Andreas Schwab <schwab@redhat.com>
43530 * scripts/data/localplt-s390-linux-gnu.data: New file.
43531 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43533 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43536 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43537 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43539 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43541 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43543 if one of x and y is very large and the other is subnormal.
43544 * sysdeps/s390/fpu/s_fmaf.c: New file.
43545 * sysdeps/s390/fpu/s_fma.c: New file.
43546 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43547 * sysdeps/powerpc/fpu/s_fma.S: New file.
43548 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43549 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43550 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43552 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43555 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43558 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43559 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43560 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43561 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43562 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43563 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43565 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43568 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43569 * posix/bug-regex31.input: Add test case.
43571 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43573 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43574 * posix/bug-regex31.input: New file.
43577 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43578 (parse_sub_exp): Fix last change, use postorder.
43580 * posix/bug-regex31.c: New file.
43581 * posix/Makefile: Add rules to build and run bug-regex31.
43583 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43586 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43589 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43590 to have entries in sys_siglist.
43593 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43596 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43599 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43600 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43601 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43602 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43604 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43605 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43606 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43607 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43608 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43609 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43611 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43612 * math/ftestexcept.c (fetestexcept): Likewise.
43613 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43614 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43615 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43616 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43617 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43618 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43619 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43621 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43624 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43627 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43629 * string/bug-strstr1.c: New file.
43630 * string/Makefile: Add rules to build and run bug-strstr1.
43632 2010-10-05 Eric Blake <eblake@redhat.com>
43635 * string/str-two-way.h (two_way_long_needle): Always clear memory
43636 when skipping input due to the shift table.
43638 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43641 * malloc/mcheck.c: Handle large requests.
43644 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43645 for strncmp and strncasecmp.
43646 * string/stratcliff.c: Add tests for strcmp and strncmp.
43647 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43649 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43651 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43654 2010-09-30 Andreas Jaeger <aj@suse.de>
43656 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43657 (CGROUP_SUPER_MAGIC): Define.
43658 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43659 Handle btrfs and cgroup file systems.
43660 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43663 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43665 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43666 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43668 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43671 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43672 trying to locate the ELF header.
43674 2010-09-27 Andreas Schwab <schwab@redhat.com>
43677 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43678 Mask out sign-bit copies when constructing f_fsid.
43680 2010-09-24 Petr Baudis <pasky@suse.cz>
43682 * debug/stack_chk_fail_local.c: Add missing licence exception.
43683 * debug/warning-nop.c: Likewise.
43685 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43687 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43688 implementing getdents64 using getdents syscall, set d_type if
43689 __ASSUME_GETDENTS32_D_TYPE.
43691 2010-09-16 Andreas Schwab <schwab@redhat.com>
43693 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43694 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43696 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43699 * posix/unistd.h: Undo change of feature selection for ftruncate from
43702 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43704 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43707 2010-09-20 Andreas Schwab <schwab@redhat.com>
43709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43713 2010-09-14 Andreas Schwab <schwab@redhat.com>
43715 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43716 variables after CHECK_SP call.
43717 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43719 2010-09-13 Andreas Schwab <schwab@redhat.com>
43720 Ulrich Drepper <drepper@redhat.com>
43722 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43723 re-relocationg ld.so.
43724 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43725 _dl_init_paths call.
43726 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43729 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43731 * resolv/res_init.c (__res_vinit): Count the default server we added.
43733 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43734 Ulrich Drepper <drepper@redhat.com>
43737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43738 (____longjmp_chk): Use %ebx for saving value across system call.
43741 2010-09-06 Andreas Schwab <schwab@redhat.com>
43743 * manual/Makefile: Don't mix pattern rules with normal rules.
43745 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43747 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43749 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43750 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43751 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43752 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43756 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43759 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43760 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43762 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43764 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43765 * sysdeps/x86_64/addmul_1.S: Likewise.
43766 * sysdeps/x86_64/lshift.S: Likewise.
43767 * sysdeps/x86_64/mul_1.S: Likewise.
43768 * sysdeps/x86_64/rshift.S: Likewise.
43769 * sysdeps/x86_64/sub_n.S: Likewise.
43770 * sysdeps/x86_64/submul_1.S: Likewise.
43772 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43774 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43775 Define __sched_param instead of SCHED_* and sched_param when
43776 <bits/sched.h> is included with __need_schedparam defined.
43777 * bits/sched.h [__need_schedparam]
43778 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43779 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43780 (__defined_schedparam): Define to 1.
43781 (__sched_param): New structure, identical to sched_param.
43782 (__need_schedparam): Undefine.
43784 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43786 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43787 (epoll_create1): Declare.
43789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43791 2010-08-31 Andreas Schwab <schwab@redhat.com>
43794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43795 shifting retval into place.
43797 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43799 * nis/rpcsvc/nis.h: Update copyright notice.
43800 * nis/rpcsvc/nis.x: Likewise.
43801 * nis/rpcsvc/nis_callback.h: Likewise.
43802 * nis/rpcsvc/nis_callback.x: Likewise.
43803 * nis/rpcsvc/nis_object.x: Likewise.
43804 * nis/rpcsvc/nis_tags.h: Likewise.
43805 * nis/rpcsvc/yp.h: Likewise.
43806 * nis/rpcsvc/yp.x: Likewise.
43807 * nis/rpcsvc/ypupd.h: Likewise.
43808 * nis/yp_xdr.c: Likewise.
43809 * nis/ypupdate_xdr.c: Likewise.
43811 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43812 mainly the body of pmap_getport. Add parameters to specify timeouts.
43813 (pmap_getport): Use __libc_rpc_getport.
43814 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43815 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43816 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43818 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43823 2010-08-27 Roland McGrath <roland@redhat.com>
43825 * sysdeps/i386/i686/multiarch/Makefile
43826 (CFLAGS-varshift.c): New variable.
43828 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43830 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43831 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43835 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43837 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43839 * sysdeps/x86_64/strlen.S: Unroll the loop.
43840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43841 strlen-sse2 strlen-sse2-bsf.
43842 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43843 __strlen_no_bsf if bit_Slow_BSF is set.
43844 (__strlen_sse42): Removed.
43845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43846 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43848 2010-08-25 Roland McGrath <roland@redhat.com>
43850 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43851 * sysdeps/x86_64/multiarch/varshift.c: New file.
43852 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43853 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43854 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43855 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43857 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43860 strlen-sse2 strlen-sse2-bsf.
43861 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43862 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43863 (__strlen_sse2): Removed.
43864 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43867 bit_Slow_BSF for Atom.
43868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43869 (index_Slow_BSF): Define.
43870 (HAS_SLOW_BSF): Define.
43872 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43875 * resolv/res_init.c (__res_vinit): When no server address at all
43876 is given default to loopback.
43878 2010-08-24 Roland McGrath <roland@redhat.com>
43880 * configure.in: Remove config-name.h generation.
43881 * configure: Regenerated.
43882 * config-name.in: File removed.
43883 * scripts/config-uname.sh: New file.
43884 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43885 ($(objdir)config-name.h): New target.
43887 * sunrpc/rpc_parse.h: Avoid nested comment.
43889 2010-08-24 Richard Henderson <rth@redhat.com>
43890 Ulrich Drepper <drepper@redhat.com>
43891 H.J. Lu <hongjiu.lu@intel.com>
43893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43895 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43896 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43897 _mm_alignr_epi8 with _mm_loadu_si128.
43898 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43899 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43900 (__m128i_shift_right): Removed.
43901 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43902 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43903 * sysdeps/x86_64/multiarch/varshift.h: New file.
43904 * sysdeps/x86_64/multiarch/varshift.S: New file.
43906 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43908 * configure.in: Move assembler checks to before sysdep dir checking.
43910 2010-08-20 Petr Baudis <pasky@suse.cz>
43912 * LICENSES: Sync the sunrpc license.
43914 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43916 * sunrpc/auth_des.c: Update copyright notice once again.
43917 * sunrpc/auth_none.c: Likewise.
43918 * sunrpc/auth_unix.c: Likewise.
43919 * sunrpc/authdes_prot.c: Likewise.
43920 * sunrpc/authuxprot.c: Likewise.
43921 * sunrpc/bindrsvprt.c: Likewise.
43922 * sunrpc/clnt_gen.c: Likewise.
43923 * sunrpc/clnt_perr.c: Likewise.
43924 * sunrpc/clnt_raw.c: Likewise.
43925 * sunrpc/clnt_simp.c: Likewise.
43926 * sunrpc/clnt_tcp.c: Likewise.
43927 * sunrpc/clnt_udp.c: Likewise.
43928 * sunrpc/clnt_unix.c: Likewise.
43929 * sunrpc/des_crypt.c: Likewise.
43930 * sunrpc/des_soft.c: Likewise.
43931 * sunrpc/get_myaddr.c: Likewise.
43932 * sunrpc/getrpcport.c: Likewise.
43933 * sunrpc/key_call.c: Likewise.
43934 * sunrpc/key_prot.c: Likewise.
43935 * sunrpc/openchild.c: Likewise.
43936 * sunrpc/pm_getmaps.c: Likewise.
43937 * sunrpc/pm_getport.c: Likewise.
43938 * sunrpc/pmap_clnt.c: Likewise.
43939 * sunrpc/pmap_prot.c: Likewise.
43940 * sunrpc/pmap_prot2.c: Likewise.
43941 * sunrpc/pmap_rmt.c: Likewise.
43942 * sunrpc/rpc/auth.h: Likewise.
43943 * sunrpc/rpc/auth_unix.h: Likewise.
43944 * sunrpc/rpc/clnt.h: Likewise.
43945 * sunrpc/rpc/des_crypt.h: Likewise.
43946 * sunrpc/rpc/key_prot.h: Likewise.
43947 * sunrpc/rpc/netdb.h: Likewise.
43948 * sunrpc/rpc/pmap_clnt.h: Likewise.
43949 * sunrpc/rpc/pmap_prot.h: Likewise.
43950 * sunrpc/rpc/pmap_rmt.h: Likewise.
43951 * sunrpc/rpc/rpc.h: Likewise.
43952 * sunrpc/rpc/rpc_des.h: Likewise.
43953 * sunrpc/rpc/rpc_msg.h: Likewise.
43954 * sunrpc/rpc/svc.h: Likewise.
43955 * sunrpc/rpc/svc_auth.h: Likewise.
43956 * sunrpc/rpc/types.h: Likewise.
43957 * sunrpc/rpc/xdr.h: Likewise.
43958 * sunrpc/rpc_clntout.c: Likewise.
43959 * sunrpc/rpc_cmsg.c: Likewise.
43960 * sunrpc/rpc_common.c: Likewise.
43961 * sunrpc/rpc_cout.c: Likewise.
43962 * sunrpc/rpc_dtable.c: Likewise.
43963 * sunrpc/rpc_hout.c: Likewise.
43964 * sunrpc/rpc_main.c: Likewise.
43965 * sunrpc/rpc_parse.c: Likewise.
43966 * sunrpc/rpc_parse.h: Likewise.
43967 * sunrpc/rpc_prot.c: Likewise.
43968 * sunrpc/rpc_sample.c: Likewise.
43969 * sunrpc/rpc_scan.c: Likewise.
43970 * sunrpc/rpc_scan.h: Likewise.
43971 * sunrpc/rpc_svcout.c: Likewise.
43972 * sunrpc/rpc_tblout.c: Likewise.
43973 * sunrpc/rpc_util.c: Likewise.
43974 * sunrpc/rpc_util.h: Likewise.
43975 * sunrpc/rpcinfo.c: Likewise.
43976 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43977 * sunrpc/rpcsvc/key_prot.x: Likewise.
43978 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43979 * sunrpc/rpcsvc/mount.x: Likewise.
43980 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43981 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43982 * sunrpc/rpcsvc/rex.x: Likewise.
43983 * sunrpc/rpcsvc/rstat.x: Likewise.
43984 * sunrpc/rpcsvc/rusers.x: Likewise.
43985 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43986 * sunrpc/rpcsvc/spray.x: Likewise.
43987 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43988 * sunrpc/rtime.c: Likewise.
43989 * sunrpc/svc.c: Likewise.
43990 * sunrpc/svc_auth.c: Likewise.
43991 * sunrpc/svc_authux.c: Likewise.
43992 * sunrpc/svc_raw.c: Likewise.
43993 * sunrpc/svc_run.c: Likewise.
43994 * sunrpc/svc_simple.c: Likewise.
43995 * sunrpc/svc_tcp.c: Likewise.
43996 * sunrpc/svc_udp.c: Likewise.
43997 * sunrpc/svc_unix.c: Likewise.
43998 * sunrpc/svcauth_des.c: Likewise.
43999 * sunrpc/xcrypt.c: Likewise.
44000 * sunrpc/xdr.c: Likewise.
44001 * sunrpc/xdr_array.c: Likewise.
44002 * sunrpc/xdr_float.c: Likewise.
44003 * sunrpc/xdr_mem.c: Likewise.
44004 * sunrpc/xdr_rec.c: Likewise.
44005 * sunrpc/xdr_ref.c: Likewise.
44006 * sunrpc/xdr_sizeof.c: Likewise.
44007 * sunrpc/xdr_stdio.c: Likewise.
44009 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44012 2010-08-19 Andreas Schwab <schwab@redhat.com>
44014 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44016 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44018 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44019 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44020 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44021 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44022 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44023 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44024 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44025 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44027 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44028 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44029 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44030 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44031 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44033 2010-07-26 Anton Blanchard <anton@samba.org>
44035 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44036 * malloc/arena.c (heap_trim): Likewise.
44038 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44040 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44043 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44045 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44047 * sysdeps/i386/elf/Makefile: New file.
44049 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44051 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44052 from fanotify_init.
44053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44056 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44058 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44060 * sysdeps/multiarch/strcmp.S: Likewise.
44062 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44064 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44065 strncase_l-nonascii.
44066 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44067 Add strncase_l-ssse3.
44068 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44069 * sysdeps/x86_64/strcmp.S: Likewise.
44070 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44071 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44072 * sysdeps/x86_64/strncase.S: New file.
44073 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44074 * sysdeps/x86_64/strncase_l.S: New file.
44075 * string/Makefile (strop-tests): Add strncasecmp.
44076 * string/test-strncasecmp.c: New file.
44078 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44081 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44084 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44086 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44088 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44090 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44092 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44094 2010-05-01 Alan Modra <amodra@gmail.com>
44096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44097 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44098 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44099 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44100 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44101 tidying. Don't tail-call __sigjmp_save for static lib.
44102 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44104 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44105 (CALL_MCOUNT): Add eh info, and nop after bl.
44106 (TAIL_CALL_SYSCALL_ERROR): New macro.
44107 (PSEUDO_RET): Use it.
44108 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44109 Correct save location of integer regs and cr.
44110 (_dl_profile_resolve): Correct cr save location. Delete nops
44111 after bl when SHARED. Reduce cfi size a little by better
44112 placement of cfi directives.
44113 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44114 make a stack frame. Instead use parm save area as a temp.
44115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44116 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44118 Don't make a stack frame for parent, use parm save area.
44119 Increase child stack frame to 112 bytes. Don't save unused reg,
44120 and adjust reg usage. Set up cfi on error recovery and
44121 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44123 (__makecontext): Add dummy nop after jump to exit.
44124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44125 Use correct parm save area and cr save, reduce stack frame.
44126 Correct cfi for possible PSEUDO_RET frame setup.
44127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44128 Branch to local label emitted by PSEUDO_RET rather than
44131 2010-08-12 Andreas Schwab <schwab@redhat.com>
44134 * locale/programs/locale.c (print_assignment): New function.
44135 (show_locale_vars): Use it.
44137 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44139 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44141 (struct statfs64): Likewise.
44142 (_STATFS_F_FLAGS): Define.
44143 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44144 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44145 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44146 (ST_VALID): Define locally.
44147 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44148 __statvfs_getflags, use the provided value.
44149 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44150 __ASSUME_STATFS_F_FLAGS.
44152 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44154 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44155 Add sys/fanotify.h.
44156 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44157 fanotify_mask for GLIBC_2.13.
44158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44159 fanotify_init and fanotify_mark.
44160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44161 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44163 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44165 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44166 prlimit64 for GLIBC_2.13.
44167 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44173 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44177 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44180 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44181 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44183 * nss/Makefile: Add rules to build and run tst-nss-test1.
44184 * shlib-versions: Add entry for libnss_test1.
44185 * nss/nss_test1.c: New file.
44186 * nss/tst-nss-test1.c: New file.
44188 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44189 (__nss_configure_lookup): Set appropriate entry in
44190 __nss_configure_lookup to true.
44191 * nss/nsswitch.h: Define enum with indeces of databases in
44192 databases and __nss_database_custom arrays. Declare
44193 __nss_database_custom.
44194 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44195 to avoid using nscd when custom rules are installed.
44196 * nss/getXXbyYY_r.c: Likewise.
44197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44199 * nss/nss_files/files-parse.c: Whitespace fixes.
44201 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44204 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44205 * posix/fnmatch_loop.c: Likewise.
44207 2010-07-17 Andi Kleen <ak@linux.intel.com>
44209 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44210 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44211 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44212 * Versions.def [GLIBC_2.13]: Add.
44214 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44217 Also fail if tpwd after pwuid call is NULL.
44219 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44221 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44222 when converting to ms.
44224 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44226 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44227 EOPNOTSUPP errors with ENOTTY.
44228 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44229 EOPNOTSUPP errors with ENOTTY.
44231 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44233 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44234 Add strcasecmp_l-ssse3.
44235 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44237 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44238 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44239 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44241 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44243 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44245 * string/Makefile (strop-tests): Add strcasecmp.
44246 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44247 strcasecmp_l-nonascii.
44248 (gen-as-const-headers): Add locale-defines.sym.
44249 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44250 * sysdeps/x86_64/strcasecmp.S: New file.
44251 * sysdeps/x86_64/strcasecmp_l.S: New file.
44252 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44253 * sysdeps/x86_64/locale-defines.sym: New file.
44254 * string/test-strcasecmp.c: New file.
44256 * string/test-strcasestr.c: Test both ends of the range of characters.
44257 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44259 2010-07-29 Roland McGrath <roland@redhat.com>
44262 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44264 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44266 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44269 2010-07-27 Andreas Schwab <schwab@redhat.com>
44271 * manual/memory.texi (Malloc Tunable Parameters): Document
44274 2010-07-26 Roland McGrath <roland@redhat.com>
44277 * configure.in (-fgnu89-inline check): Set and substitute
44278 gnu89_inline, not libc_cv_gnu89_inline.
44279 * configure: Regenerated.
44280 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44282 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44284 * string/test-strnlen.c: New file.
44285 * string/Makefile (strop-tests): Add strnlen.
44286 * string/tester.c (test_strnlen): Add a few more test cases.
44287 * string/tst-strlen.c: Better error reporting.
44289 * sysdeps/x86_64/strnlen.S: New file.
44291 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44294 lower-latency instructions.
44296 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44298 * string/test-strcasestr.c: New file.
44299 * string/test-strstr.c: New file.
44300 * string/Makefile (strop-tests): Add strstr and strcasestr.
44301 * string/str-two-way.h: Don't undefine MAX.
44302 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44304 2010-07-21 Andreas Schwab <schwab@redhat.com>
44306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44307 strcasestr-nonascii.
44308 (CFLAGS-strcasestr-nonascii.c): Define.
44309 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44311 Remove unused attribute.
44313 2010-07-20 Roland McGrath <roland@redhat.com>
44315 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44316 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44317 ld.so.cache was broken. With it, there is no way to disable dsocaps
44318 like LD_HWCAP_MASK can disable hwcaps.
44320 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44322 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44324 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44326 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44327 call in strcasestr.
44328 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44329 __strcasestr_sse42_nonascii.
44330 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44331 strcasestr-nonascii.c.
44332 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44334 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44341 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44346 2010-07-06 Andreas Schwab <schwab@redhat.com>
44349 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44352 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44355 _PC_PIPE_BUF using F_GETPIPE_SZ.
44357 2010-07-05 Roland McGrath <roland@redhat.com>
44359 * manual/arith.texi (Rounding Functions): Fix rint description
44360 implicit in round description.
44362 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44364 * elf/Makefile: Fix linking for a few tests to make recent linker
44367 2010-06-30 Andreas Schwab <schwab@redhat.com>
44369 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44370 $(common-objpfx)libc_nonshared.a.
44372 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44374 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44375 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44376 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44377 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44378 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44379 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44380 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44381 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44396 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44397 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44398 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44399 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44400 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44401 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44402 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44403 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44404 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44405 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44406 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44407 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44423 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44425 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44426 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44427 * string/memmove.c (memmove): Renamed to ...
44428 (MEMMOVE): ...this. Default to memmove.
44429 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44430 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44433 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44434 mempcpy-ssse3-back memmove-ssse3-back.
44435 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44438 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44439 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44440 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44441 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44442 * sysdeps/x86_64/multiarch/memmove.c: New file.
44443 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44444 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44445 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44446 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44447 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44450 (index_Fast_Copy_Backward): Define.
44451 (HAS_ARCH_FEATURE): Define.
44452 (HAS_FAST_REP_STRING): Define.
44453 (HAS_FAST_COPY_BACKWARD): Define.
44455 2010-06-21 Andreas Schwab <schwab@redhat.com>
44457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44458 Restore proper fallback handling.
44460 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44463 * posix/group_member.c (__group_member): Correct checking loop.
44465 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44466 OOM in getpwuid_r correctly. Return error number when the caller
44467 should return, otherwise -1.
44468 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44469 call returning > 0 value.
44470 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44472 2010-06-07 Andreas Schwab <schwab@redhat.com>
44474 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44475 libc_nonshared.a from targets in modules-names.
44477 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44479 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44482 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44484 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44485 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44487 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44489 2010-06-02 Andreas Schwab <schwab@redhat.com>
44491 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44493 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44504 2010-06-14 Roland McGrath <roland@redhat.com>
44506 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44508 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44510 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44511 __REDIRECT followed by __THROW.
44512 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44513 * posix/getopt.h (getopt): Likewise.
44515 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44517 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44518 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44519 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44521 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44522 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44524 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44526 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44528 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44532 Properly check family and model.
44534 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44536 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44538 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44540 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44542 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44544 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44547 2010-05-19 Andreas Schwab <schwab@redhat.com>
44549 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44552 2010-05-21 Andreas Schwab <schwab@redhat.com>
44554 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44555 and internal_recvmmsg.
44556 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44557 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44558 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44559 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44561 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44562 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44563 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44565 2010-05-20 Andreas Schwab <schwab@redhat.com>
44567 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44569 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44571 POWER7 optimizations.
44572 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44573 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44575 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44577 * version.h: Update for 2.13 development version.
44579 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44581 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44582 exceptions. Return 0.
44584 2010-05-07 Roland McGrath <roland@redhat.com>
44586 * elf/ldconfig.c (main): Add a const.
44588 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44590 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44591 (args_options): Add no-idn option.
44592 (ahosts_keys_int): Add idn_flags to ai_flags.
44593 (parse_option): Handle 'i' option to clear idn_flags.
44595 * malloc/malloc.c (_int_free): Possible race in the most recently
44596 added check. Only act on the data if no current modification
44599 See ChangeLog.17 for earlier changes.